1ae14203fc
GitOrigin-RevId: 68398d2dd50efc2d878bf0f83bbc8bc323b6b0e0
33 lines
828 B
Nix
33 lines
828 B
Nix
{ lib, stdenv, fetchFromGitHub, puredata }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "cyclone";
|
|
version = "0.3beta-2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "porres";
|
|
repo = "pd-cyclone";
|
|
rev = "cyclone${version}";
|
|
sha256 = "192jrq3bdsv626js1ymq10gwp9wwcszjs63ys6ap9ig8xdkbhr3q";
|
|
};
|
|
|
|
buildInputs = [ puredata ];
|
|
|
|
makeFlags = [
|
|
"pdincludepath=${puredata}/include/pd"
|
|
"prefix=$(out)"
|
|
];
|
|
|
|
postInstall = ''
|
|
mv "$out/lib/pd-externals/cyclone" "$out/"
|
|
rm -rf $out/lib
|
|
'';
|
|
|
|
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 = lib.licenses.tcltk;
|
|
maintainers = [ lib.maintainers.magnetophon ];
|
|
platforms = lib.platforms.linux;
|
|
};
|
|
}
|