depot/third_party/nixpkgs/pkgs/development/interpreters/supercollider/plugins/sc3-plugins.nix
Default email 22017988c6 Project import generated by Copybara.
GitOrigin-RevId: c777cdf5c564015d5f63b09cc93bef4178b19b01
2022-04-27 11:35:20 +02:00

33 lines
850 B
Nix

{ stdenv, lib, fetchurl, cmake, supercollider, fftw }:
stdenv.mkDerivation rec {
pname = "sc3-plugins";
version = "3.11.1";
src = fetchurl {
url = "https://github.com/supercollider/sc3-plugins/releases/download/Version-${version}/sc3-plugins-${version}-Source.tar.bz2";
sha256 = "sha256-JjUmu7PJ+x3yRibr+Av2gTREng51fPo7Rk+B4y2JvkQ=";
};
nativeBuildInputs = [ cmake ];
buildInputs = [
supercollider
fftw
];
cmakeFlags = [
"-DSC_PATH=${supercollider}/include/SuperCollider"
"-DSUPERNOVA=ON"
];
stripDebugList = [ "lib" "share" ];
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;
};
}