Files

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

61 lines
1.3 KiB
Nix
Raw Permalink Normal View History

2025-10-09 14:15:47 +02:00
{
stdenv,
lib,
fetchpatch2,
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=";
};
patches = [
(fetchpatch2 {
url = "https://github.com/supercollider/sc3-plugins/commit/3dc56bf7fcc1f2261afc13f96da762b78bcbfa51.patch";
hash = "sha256-lvXvGunfmjt6i+XPog14IKdnH1Qk8vefxplSDkXXXHU=";
})
];
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 = [ ];
license = licenses.gpl2Plus;
platforms = platforms.linux;
};
}