mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-17 06:06:13 +03:00
gnujump: use finalAttrs pattern
This commit is contained in:
parent
3170348e5b
commit
20ae40a0c6
@ -1,10 +1,10 @@
|
||||
{ lib, stdenv, makeDesktopItem, copyDesktopItems, fetchurl, SDL, SDL_image, SDL_mixer }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "gnujump";
|
||||
version = "1.0.8";
|
||||
src = fetchurl {
|
||||
url = "mirror://gnu/gnujump/${pname}-${version}.tar.gz";
|
||||
url = "mirror://gnu/gnujump/gnujump-${finalAttrs.version}.tar.gz";
|
||||
sha256 = "05syy9mzbyqcfnm0hrswlmhwlwx54f0l6zhcaq8c1c0f8dgzxhqk";
|
||||
};
|
||||
|
||||
@ -39,4 +39,4 @@ stdenv.mkDerivation rec {
|
||||
maintainers = with maintainers; [ fgaz ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user