diff options
author | Bart Brouns <bart@magnetophon.nl> | 2015-03-16 15:39:52 +0100 |
---|---|---|
committer | Bart Brouns <bart@magnetophon.nl> | 2015-03-16 17:57:09 +0100 |
commit | 2479dc0c636995788301892b92c3c061477b4738 (patch) | |
tree | 54c303eb3ec6abd45bd0827ea34624d5689cd3a9 /pkgs/applications/audio/pd-plugins/cyclone | |
parent | 82ee506f43eb641bdca2a68ad1fa1bcc23d93ded (diff) | |
download | nixpkgs-2479dc0c636995788301892b92c3c061477b4738.tar nixpkgs-2479dc0c636995788301892b92c3c061477b4738.tar.gz nixpkgs-2479dc0c636995788301892b92c3c061477b4738.tar.bz2 nixpkgs-2479dc0c636995788301892b92c3c061477b4738.tar.lz nixpkgs-2479dc0c636995788301892b92c3c061477b4738.tar.xz nixpkgs-2479dc0c636995788301892b92c3c061477b4738.tar.zst nixpkgs-2479dc0c636995788301892b92c3c061477b4738.zip |
add puredata-with-plugins:
a wrapper for puredata, plus packages for the following plugins: cyclone helmholtz maxlib mrpeach puremapping timbreid zexy
Diffstat (limited to 'pkgs/applications/audio/pd-plugins/cyclone')
-rw-r--r-- | pkgs/applications/audio/pd-plugins/cyclone/default.nix | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/pkgs/applications/audio/pd-plugins/cyclone/default.nix b/pkgs/applications/audio/pd-plugins/cyclone/default.nix new file mode 100644 index 00000000000..30bdd534d40 --- /dev/null +++ b/pkgs/applications/audio/pd-plugins/cyclone/default.nix @@ -0,0 +1,41 @@ +{ stdenv, fetchurl, puredata }: + +stdenv.mkDerivation rec { + name = "cyclone-${version}"; + version = "0.1-alpha55"; + + src = fetchurl { + url = "http://downloads.sourceforge.net/project/pure-data/libraries/cyclone/${name}.tar.gz"; + sha256 = "1yys9xrlz09xgnqk2gqdl8vw6xj6l9d7km2lkihidgjql0jx5b5i"; + }; + + buildInputs = [ puredata ]; + + /*unpackPhase = ''*/ + /*unzip $src*/ + /*'';*/ + + patchPhase = '' + for file in `grep -r -l g_canvas.h` + do + sed -i 's|#include "g_canvas.h"|#include "${puredata}/include/pd/g_canvas.h"|g' $file + done + for file in `grep -r -l m_imp.h` + do + sed -i 's|#include "m_imp.h"|#include "${puredata}/include/pd/m_imp.h"|g' $file + done + ''; + + installPhase = '' + mkdir -p $out/cyclone + cp -r bin/* $out/cyclone + ''; + + meta = { + description = "A library of PureData classes, bringing some level of compatibility between Max/MSP and Pd environments."; + homepage = http://puredata.info/downloads/cyclone; + license = stdenv.lib.licenses.tcltk; + maintainers = [ stdenv.lib.maintainers.magnetophon ]; + platforms = stdenv.lib.platforms.linux; + }; +} |