mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 08:23:09 +00:00
Merge pull request #330041 from Sigmanificient/1oom-1-10-1
_1oom: 1.8.1 -> 1.10.1
This commit is contained in:
commit
1f0b55c5cc
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user