_1oom: 1.0 -> 1.8.1

This commit is contained in:
jopejoe1 2024-04-25 23:16:58 +02:00
parent ceb59e436e
commit 769549fe26

View File

@ -1,25 +1,25 @@
{ lib, stdenv, fetchFromGitLab, autoreconfHook, libsamplerate, SDL2, SDL2_mixer, readline }: { lib, stdenv, fetchFromGitHub, autoreconfHook, allegro, libsamplerate, libX11, libXext, SDL, SDL_mixer, SDL2, SDL2_mixer, readline }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "1oom"; pname = "1oom";
version = "1.0"; version = "1.8.1";
src = fetchFromGitLab { src = fetchFromGitHub {
owner = "KilgoreTroutMaskReplicant"; owner = "1oom-fork";
repo = pname; repo = "1oom";
rev = "v${version}"; rev = "refs/tags/f${version}";
sha256 = "sha256-+HwSykSyAGHtITVOu4nIG87kWwVxGyFXb/NRSjhWlvs="; hash = "sha256-sBVcPR4+MDjyOLgrB4VcVy0cDyyG5MVY9vNhWwqAhBA=";
}; };
nativeBuildInputs = [ autoreconfHook ]; nativeBuildInputs = [ autoreconfHook ];
buildInputs = [ libsamplerate SDL2 SDL2_mixer readline ]; buildInputs = [ allegro libsamplerate libX11 libXext SDL SDL_mixer SDL2 SDL2_mixer readline ];
outputs = [ "out" "doc" ]; outputs = [ "out" "doc" ];
postInstall = '' postInstall = ''
install -d $doc/share/doc/${pname} install -d $doc/share/doc/${pname}
install -t $doc/share/doc/${pname} \ install -t $doc/share/doc/${pname} \
HACKING NEWS PHILOSOPHY README doc/*.txt HACKING NEWS PHILOSOPHY README.md doc/*.txt
''; '';
meta = with lib; { meta = with lib; {