monkeysAudio: give stdenv.mkDerivation a function
This commit is contained in:
parent
742f2ff317
commit
90036927a9
1 changed files with 3 additions and 3 deletions
|
@ -4,13 +4,13 @@
|
||||||
, cmake
|
, cmake
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation (finalAttrs: {
|
||||||
version = "10.22";
|
version = "10.22";
|
||||||
pname = "monkeys-audio";
|
pname = "monkeys-audio";
|
||||||
|
|
||||||
src = fetchzip {
|
src = fetchzip {
|
||||||
url = "https://monkeysaudio.com/files/MAC_${
|
url = "https://monkeysaudio.com/files/MAC_${
|
||||||
builtins.concatStringsSep "" (lib.strings.splitString "." version)}_SDK.zip";
|
builtins.concatStringsSep "" (lib.strings.splitString "." finalAttrs.version)}_SDK.zip";
|
||||||
sha256 = "sha256-JmDH9IudtuJdu1kSDI1RNaYiIgmPgH4RT2Myz9ihQH4=";
|
sha256 = "sha256-JmDH9IudtuJdu1kSDI1RNaYiIgmPgH4RT2Myz9ihQH4=";
|
||||||
stripRoot = false;
|
stripRoot = false;
|
||||||
};
|
};
|
||||||
|
@ -28,4 +28,4 @@ stdenv.mkDerivation rec {
|
||||||
license = licenses.free;
|
license = licenses.free;
|
||||||
maintainers = with maintainers; [ doronbehar ];
|
maintainers = with maintainers; [ doronbehar ];
|
||||||
};
|
};
|
||||||
}
|
})
|
||||||
|
|
Loading…
Reference in a new issue