mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-24 06:08:16 +03:00
merecat: use finalAttrs pattern
This commit is contained in:
parent
1f49598875
commit
54fa4a6f23
@ -10,15 +10,15 @@
|
||||
, nixosTests
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "merecat";
|
||||
version = "2.31";
|
||||
|
||||
# Or, already reconf'd: ftp://ftp.troglobit.com/merecat/merecat-${version}.tar.xz
|
||||
# Or, already reconf'd: ftp://ftp.troglobit.com/merecat/merecat-${finalAttrs.version}.tar.xz
|
||||
src = fetchFromGitHub {
|
||||
owner = "troglobit";
|
||||
repo = "merecat";
|
||||
rev = "v${version}";
|
||||
rev = "v${finalAttrs.version}";
|
||||
hash = "sha256-oIzOXUnCFqd3HPyKp58r+enRRpaE7f9hqNITtxCCB7I=";
|
||||
};
|
||||
|
||||
@ -49,4 +49,4 @@ stdenv.mkDerivation rec {
|
||||
# Strange header and/or linker errors
|
||||
broken = stdenv.isDarwin;
|
||||
};
|
||||
}
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user