nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 66 lines 1.5 kB view raw
1{ 2 stdenv, 3 lib, 4 fetchpatch2, 5 fetchurl, 6 cmake, 7 supercollider, 8 fftw, 9 gitUpdater, 10}: 11 12stdenv.mkDerivation rec { 13 pname = "sc3-plugins"; 14 version = "3.13.0"; 15 16 src = fetchurl { 17 url = "https://github.com/supercollider/sc3-plugins/releases/download/Version-${version}/sc3-plugins-${version}-Source.tar.bz2"; 18 sha256 = "sha256-+N7rhh1ALipy21HUC0jEQ2kCYbWlOveJg9TPe6dnF6I="; 19 }; 20 21 patches = [ 22 (fetchpatch2 { 23 url = "https://github.com/supercollider/sc3-plugins/commit/3dc56bf7fcc1f2261afc13f96da762b78bcbfa51.patch"; 24 hash = "sha256-lvXvGunfmjt6i+XPog14IKdnH1Qk8vefxplSDkXXXHU="; 25 }) 26 27 # Fix build with GCC 15 28 (fetchpatch2 { 29 url = "https://github.com/supercollider/sc3-plugins/commit/deaa55a7204bedf65a2000a463ae87a481bf3eb8.patch"; 30 hash = "sha256-d8+4ZmedAwVt/AlU/YKqQF+80shEa8DiPnvMwJtW/RM="; 31 }) 32 ]; 33 34 strictDeps = true; 35 36 nativeBuildInputs = [ cmake ]; 37 38 buildInputs = [ 39 supercollider 40 fftw 41 ]; 42 43 cmakeFlags = [ 44 "-DSC_PATH=${supercollider}/include/SuperCollider" 45 "-DSUPERNOVA=ON" 46 ]; 47 48 stripDebugList = [ 49 "lib" 50 "share" 51 ]; 52 53 passthru.updateScript = gitUpdater { 54 url = "https://github.com/supercollider/sc3-plugins.git"; 55 rev-prefix = "Version-"; 56 ignoredVersions = "rc|beta"; 57 }; 58 59 meta = { 60 description = "Community plugins for SuperCollider"; 61 homepage = "https://supercollider.github.io/sc3-plugins/"; 62 maintainers = [ ]; 63 license = lib.licenses.gpl2Plus; 64 platforms = lib.platforms.linux; 65 }; 66}