mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 16:33:15 +00:00
infnoise: use finalAttrs.finalPackage
This commit is contained in:
parent
039acd3e8b
commit
5968338068
@ -1,7 +1,7 @@
|
|||||||
{ lib, stdenv, fetchFromGitHub, fetchpatch, libftdi
|
{ lib, stdenv, fetchFromGitHub, fetchpatch, libftdi
|
||||||
, infnoise, testers }:
|
, testers }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation (finalAttrs: {
|
||||||
pname = "infnoise";
|
pname = "infnoise";
|
||||||
version = "0.3.2";
|
version = "0.3.2";
|
||||||
|
|
||||||
@ -23,8 +23,8 @@ stdenv.mkDerivation rec {
|
|||||||
})
|
})
|
||||||
];
|
];
|
||||||
|
|
||||||
GIT_COMMIT = src.rev;
|
GIT_COMMIT = finalAttrs.src.rev;
|
||||||
GIT_VERSION = version;
|
GIT_VERSION = finalAttrs.version;
|
||||||
GIT_DATE = "2019-08-12";
|
GIT_DATE = "2019-08-12";
|
||||||
|
|
||||||
buildInputs = [ libftdi ];
|
buildInputs = [ libftdi ];
|
||||||
@ -43,7 +43,7 @@ stdenv.mkDerivation rec {
|
|||||||
'';
|
'';
|
||||||
|
|
||||||
passthru = {
|
passthru = {
|
||||||
tests.version = testers.testVersion { package = infnoise; };
|
tests.version = testers.testVersion { package = finalAttrs.finalPackage; };
|
||||||
};
|
};
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
@ -57,4 +57,4 @@ stdenv.mkDerivation rec {
|
|||||||
maintainers = with maintainers; [ StijnDW zhaofengli ];
|
maintainers = with maintainers; [ StijnDW zhaofengli ];
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
};
|
};
|
||||||
}
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user