2023-02-22 10:55:15 +00:00
|
|
|
{ stdenv, lib, fetchurl, cmake, supercollider, fftw, gitUpdater }:
|
2022-04-27 09:35:20 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "sc3-plugins";
|
2023-04-29 16:46:19 +00:00
|
|
|
version = "3.13.0";
|
2022-04-27 09:35:20 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/supercollider/sc3-plugins/releases/download/Version-${version}/sc3-plugins-${version}-Source.tar.bz2";
|
2023-04-29 16:46:19 +00:00
|
|
|
sha256 = "sha256-+N7rhh1ALipy21HUC0jEQ2kCYbWlOveJg9TPe6dnF6I=";
|
2022-04-27 09:35:20 +00:00
|
|
|
};
|
|
|
|
|
2023-02-22 10:55:15 +00:00
|
|
|
strictDeps = true;
|
|
|
|
|
2022-04-27 09:35:20 +00:00
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
supercollider
|
|
|
|
fftw
|
|
|
|
];
|
|
|
|
|
|
|
|
cmakeFlags = [
|
|
|
|
"-DSC_PATH=${supercollider}/include/SuperCollider"
|
|
|
|
"-DSUPERNOVA=ON"
|
|
|
|
];
|
|
|
|
|
|
|
|
stripDebugList = [ "lib" "share" ];
|
|
|
|
|
2023-02-22 10:55:15 +00:00
|
|
|
passthru.updateScript = gitUpdater {
|
|
|
|
url = "https://github.com/supercollider/sc3-plugins.git";
|
|
|
|
rev-prefix = "Version-";
|
|
|
|
ignoredVersions = "rc|beta";
|
|
|
|
};
|
|
|
|
|
2022-04-27 09:35:20 +00:00
|
|
|
meta = with lib; {
|
|
|
|
description = "Community plugins for SuperCollider";
|
|
|
|
homepage = "https://supercollider.github.io/sc3-plugins/";
|
|
|
|
maintainers = with maintainers; [ lilyinstarlight ];
|
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|