Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 stdenv, 3 lib, 4 fetchurl, 5 cmake, 6 supercollider, 7 fftw, 8 gitUpdater, 9}: 10 11stdenv.mkDerivation rec { 12 pname = "sc3-plugins"; 13 version = "3.13.0"; 14 15 src = fetchurl { 16 url = "https://github.com/supercollider/sc3-plugins/releases/download/Version-${version}/sc3-plugins-${version}-Source.tar.bz2"; 17 sha256 = "sha256-+N7rhh1ALipy21HUC0jEQ2kCYbWlOveJg9TPe6dnF6I="; 18 }; 19 20 strictDeps = true; 21 22 nativeBuildInputs = [ cmake ]; 23 24 buildInputs = [ 25 supercollider 26 fftw 27 ]; 28 29 cmakeFlags = [ 30 "-DSC_PATH=${supercollider}/include/SuperCollider" 31 "-DSUPERNOVA=ON" 32 ]; 33 34 stripDebugList = [ 35 "lib" 36 "share" 37 ]; 38 39 passthru.updateScript = gitUpdater { 40 url = "https://github.com/supercollider/sc3-plugins.git"; 41 rev-prefix = "Version-"; 42 ignoredVersions = "rc|beta"; 43 }; 44 45 meta = with lib; { 46 description = "Community plugins for SuperCollider"; 47 homepage = "https://supercollider.github.io/sc3-plugins/"; 48 maintainers = [ ]; 49 license = licenses.gpl2Plus; 50 platforms = platforms.linux; 51 }; 52}