mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-17 06:06:13 +03:00
warzone2100: use finalAttrs pattern
This commit is contained in:
parent
1aa139fa7d
commit
9159b54cf6
@ -44,12 +44,12 @@ let
|
||||
};
|
||||
in
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
inherit pname;
|
||||
version = "4.4.2";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/project/warzone2100/releases/${version}/warzone2100_src.tar.xz";
|
||||
url = "mirror://sourceforge/project/warzone2100/releases/${finalAttrs.version}/warzone2100_src.tar.xz";
|
||||
hash = "sha256-O5Yqxqp1vKYr8uvAZ1SdsI/kocOzg0KRCirCqqvLrN4=";
|
||||
};
|
||||
|
||||
@ -142,4 +142,4 @@ stdenv.mkDerivation rec {
|
||||
# https://github.com/Warzone2100/warzone2100/blob/master/macosx/README.md
|
||||
broken = stdenv.isDarwin;
|
||||
};
|
||||
}
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user