cppcheck: use finalAttrs pattern

This commit is contained in:
Pol Dellaiera 2023-08-12 11:07:54 +02:00
parent f5d7bcf742
commit e0a830245b
No known key found for this signature in database
GPG Key ID: D476DFE9C67467CA

View File

@ -11,14 +11,14 @@
, pkg-config
}:
stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
pname = "cppcheck";
version = "2.11.1";
src = fetchFromGitHub {
owner = "danmar";
repo = "cppcheck";
rev = version;
rev = finalAttrs.version;
hash = "sha256-ZQ1EgnC2JBc0AvSW8PtgMzJoWSPt04Xfh8dqOU+KMfw=";
};
@ -69,4 +69,4 @@ stdenv.mkDerivation rec {
platforms = platforms.unix;
maintainers = with maintainers; [ joachifm ];
};
}
})