f34ce41345
GitOrigin-RevId: b73c2221a46c13557b1b3be9c2070cc42cf01eb3
41 lines
1 KiB
Nix
41 lines
1 KiB
Nix
{ stdenv, lib, fetchurl, cmake, supercollider, fftw, gitUpdater }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "sc3-plugins";
|
|
version = "3.13.0";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/supercollider/sc3-plugins/releases/download/Version-${version}/sc3-plugins-${version}-Source.tar.bz2";
|
|
sha256 = "sha256-+N7rhh1ALipy21HUC0jEQ2kCYbWlOveJg9TPe6dnF6I=";
|
|
};
|
|
|
|
strictDeps = true;
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
buildInputs = [
|
|
supercollider
|
|
fftw
|
|
];
|
|
|
|
cmakeFlags = [
|
|
"-DSC_PATH=${supercollider}/include/SuperCollider"
|
|
"-DSUPERNOVA=ON"
|
|
];
|
|
|
|
stripDebugList = [ "lib" "share" ];
|
|
|
|
passthru.updateScript = gitUpdater {
|
|
url = "https://github.com/supercollider/sc3-plugins.git";
|
|
rev-prefix = "Version-";
|
|
ignoredVersions = "rc|beta";
|
|
};
|
|
|
|
meta = with lib; {
|
|
description = "Community plugins for SuperCollider";
|
|
homepage = "https://supercollider.github.io/sc3-plugins/";
|
|
maintainers = with maintainers; [ ];
|
|
license = licenses.gpl2Plus;
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|