nixpkgs/pkgs/applications/audio/pd-plugins/cyclone/default.nix

34 lines
828 B
Nix
Raw Normal View History

2021-01-15 13:21:58 +00:00
{ lib, stdenv, fetchFromGitHub, puredata }:
stdenv.mkDerivation rec {
pname = "cyclone";
2017-12-07 12:41:25 +00:00
version = "0.3beta-2";
2017-12-07 12:41:25 +00:00
src = fetchFromGitHub {
owner = "porres";
repo = "pd-cyclone";
rev = "cyclone${version}";
sha256 = "192jrq3bdsv626js1ymq10gwp9wwcszjs63ys6ap9ig8xdkbhr3q";
};
buildInputs = [ puredata ];
2017-12-07 12:41:25 +00:00
makeFlags = [
"pdincludepath=${puredata}/include/pd"
"prefix=$(out)"
];
2016-02-09 01:26:02 +00:00
2017-12-07 12:41:25 +00:00
postInstall = ''
mv "$out/lib/pd-externals/cyclone" "$out/"
rm -rf $out/lib
'';
meta = {
2015-03-16 18:34:36 +00:00
description = "A library of PureData classes, bringing some level of compatibility between Max/MSP and Pd environments";
homepage = "http://puredata.info/downloads/cyclone";
2021-01-15 13:21:58 +00:00
license = lib.licenses.tcltk;
maintainers = [ lib.maintainers.magnetophon ];
platforms = lib.platforms.linux;
};
}