nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at devShellTools-shell 43 lines 962 B view raw
1{ 2 lib, 3 stdenv, 4 fetchFromGitHub, 5 puredata, 6}: 7 8stdenv.mkDerivation { 9 pname = "cyclone"; 10 version = "unstable-2023-09-12"; 11 12 src = fetchFromGitHub { 13 owner = "porres"; 14 repo = "pd-cyclone"; 15 rev = "7c470fb03db66057a2198843b635ac3f1abde84d"; 16 hash = "sha256-ixfnmeoRzV0qEOOIxCV1361t3d59fwxjHWhz9uXQ2ps="; 17 }; 18 19 buildInputs = [ puredata ]; 20 21 makeFlags = [ 22 "pdincludepath=${puredata}/include/pd" 23 "prefix=$(out)" 24 ]; 25 26 env.NIX_CFLAGS_COMPILE = "-Wno-error=incompatible-pointer-types"; 27 28 postInstall = '' 29 mv "$out/lib/pd-externals/cyclone" "$out/" 30 rm -rf $out/lib 31 ''; 32 33 meta = { 34 description = "Library of PureData classes, bringing some level of compatibility between Max/MSP and Pd environments"; 35 homepage = "http://puredata.info/downloads/cyclone"; 36 license = lib.licenses.tcltk; 37 maintainers = with lib.maintainers; [ 38 magnetophon 39 carlthome 40 ]; 41 platforms = lib.platforms.linux; 42 }; 43}