Merge pull request #330041 from Sigmanificient/1oom-1-10-1

_1oom: 1.8.1 -> 1.10.1
This commit is contained in:
Peder Bergebakken Sundt 2024-08-14 02:12:32 +02:00 committed by GitHub
commit 1f0b55c5cc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,20 +1,48 @@
{ lib, stdenv, fetchFromGitHub, gitUpdater, autoreconfHook, allegro, libsamplerate, libX11, libXext, SDL, SDL_mixer, SDL2, SDL2_mixer, readline }:
{
lib,
stdenv,
fetchFromGitHub,
gitUpdater,
autoreconfHook,
allegro,
libsamplerate,
libX11,
libXext,
SDL,
SDL_mixer,
SDL2,
SDL2_mixer,
readline,
}:
stdenv.mkDerivation rec {
pname = "1oom";
version = "1.8.1";
version = "1.10.1";
src = fetchFromGitHub {
owner = "1oom-fork";
repo = "1oom";
rev = "refs/tags/f${version}";
hash = "sha256-sBVcPR4+MDjyOLgrB4VcVy0cDyyG5MVY9vNhWwqAhBA=";
rev = "refs/tags/v${version}";
hash = "sha256-M8UpdIOOMUMNY0e+Cxx/uoLBWKc2x7cv2d4VyLwcMng=";
};
nativeBuildInputs = [ autoreconfHook ];
buildInputs = [ allegro libsamplerate libX11 libXext SDL SDL_mixer SDL2 SDL2_mixer readline ];
buildInputs = [
allegro
libsamplerate
libX11
libXext
SDL
SDL_mixer
SDL2
SDL2_mixer
readline
];
outputs = [ "out" "doc" ];
outputs = [
"out"
"doc"
];
postInstall = ''
install -d $doc/share/doc/${pname}
@ -22,9 +50,7 @@ stdenv.mkDerivation rec {
HACKING NEWS PHILOSOPHY README.md doc/*.txt
'';
passthru.updateScript = gitUpdater {
rev-prefix = "f";
};
passthru.updateScript = gitUpdater { rev-prefix = "f"; };
meta = with lib; {
homepage = "https://github.com/1oom-fork/1oom";