Merge pull request #283592 from adamjedrzejewski/fix-angband
angband: add meta.platforms, use finalAttrs pattern
This commit is contained in:
commit
0e69c429b0
1 changed files with 5 additions and 5 deletions
|
@ -2,18 +2,17 @@
|
|||
, enableSdl2 ? false, SDL2, SDL2_image, SDL2_sound, SDL2_mixer, SDL2_ttf
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "angband";
|
||||
version = "4.2.5";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "angband";
|
||||
repo = "angband";
|
||||
rev = version;
|
||||
sha256 = "sha256-XH2FUTJJaH5TqV2UD1CKKAXE4CRAb6zfg1UQ79a15k0=";
|
||||
rev = finalAttrs.version;
|
||||
hash = "sha256-XH2FUTJJaH5TqV2UD1CKKAXE4CRAb6zfg1UQ79a15k0=";
|
||||
};
|
||||
|
||||
|
||||
nativeBuildInputs = [ autoreconfHook ];
|
||||
buildInputs = [ ncurses5 ]
|
||||
++ lib.optionals enableSdl2 [
|
||||
|
@ -33,5 +32,6 @@ stdenv.mkDerivation rec {
|
|||
description = "A single-player roguelike dungeon exploration game";
|
||||
maintainers = [ maintainers.kenran ];
|
||||
license = licenses.gpl2;
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue