dsp: use finalAttrs

This commit is contained in:
Aaron Jheng 2023-09-23 11:01:30 +08:00
parent 4d419fa923
commit 217fe3a7ba
No known key found for this signature in database
GPG key ID: F6A547A869D050A3

View file

@ -15,14 +15,14 @@
, libpulseaudio
}:
stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
pname = "dsp";
version = "1.9";
src = fetchFromGitHub {
owner = "bmc0";
repo = "dsp";
rev = "v${version}";
rev = "v${finalAttrs.version}";
hash = "sha256-S1pzVQ/ceNsx0vGmzdDWw2TjPVLiRgzR4edFblWsekY=";
};
@ -47,6 +47,6 @@ stdenv.mkDerivation rec {
description = "An audio processing program with an interactive mode";
license = licenses.isc;
maintainers = with maintainers; [ aaronjheng ];
platforms = platforms.linux ++ platforms.darwin;
platforms = platforms.linux;
};
}
})