Skip to content

Commit

Permalink
Merge pull request #330041 from Sigmanificient/1oom-1-10-1
Browse files Browse the repository at this point in the history
_1oom: 1.8.1 -> 1.10.1
  • Loading branch information
pbsds authored Aug 14, 2024
2 parents b5fc4cd + a065bf0 commit 1f0b55c
Showing 1 changed file with 35 additions and 9 deletions.
44 changes: 35 additions & 9 deletions pkgs/games/1oom/default.nix
Original file line number Diff line number Diff line change
@@ -1,30 +1,56 @@
{ 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}
install -t $doc/share/doc/${pname} \
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";
Expand Down

0 comments on commit 1f0b55c

Please sign in to comment.