jamesdsp: use finalAttrs pattern

This commit is contained in:
Pol Dellaiera 2023-08-15 19:31:44 +02:00
parent d20a72e913
commit 06139f23e0
No known key found for this signature in database
GPG Key ID: D476DFE9C67467CA

View File

@ -19,7 +19,7 @@
assert lib.asserts.assertMsg (usePipewire != usePulseaudio) "You need to enable one and only one of pulseaudio or pipewire support";
stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
pname = "jamesdsp";
version = "2.6.1";
@ -27,7 +27,7 @@ stdenv.mkDerivation rec {
owner = "Audio4Linux";
repo = "JDSP4Linux";
fetchSubmodules = true;
rev = version;
rev = finalAttrs.version;
hash = "sha256-XYJl94/PstWG5qaBQ2rXc/nG9bDeP3Q62zDYHmZvPaw=";
};
@ -84,4 +84,4 @@ stdenv.mkDerivation rec {
maintainers = with maintainers; [ pasqui23 rewine ];
platforms = platforms.linux;
};
}
})