mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-06 13:03:34 +00:00
6e8611a7bc
Co-authored-by: Weijia Wang <9713184+wegank@users.noreply.github.com>
34 lines
872 B
Nix
34 lines
872 B
Nix
{ lib, stdenv, fetchFromGitHub, puredata }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "cyclone";
|
|
version = "unstable-2023-09-12";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "porres";
|
|
repo = "pd-cyclone";
|
|
rev = "7c470fb03db66057a2198843b635ac3f1abde84d";
|
|
hash = "sha256-ixfnmeoRzV0qEOOIxCV1361t3d59fwxjHWhz9uXQ2ps=";
|
|
};
|
|
|
|
buildInputs = [ puredata ];
|
|
|
|
makeFlags = [
|
|
"pdincludepath=${puredata}/include/pd"
|
|
"prefix=$(out)"
|
|
];
|
|
|
|
postInstall = ''
|
|
mv "$out/lib/pd-externals/cyclone" "$out/"
|
|
rm -rf $out/lib
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description = "A library of PureData classes, bringing some level of compatibility between Max/MSP and Pd environments";
|
|
homepage = "http://puredata.info/downloads/cyclone";
|
|
license = licenses.tcltk;
|
|
maintainers = with maintainers; [ magnetophon carlthome ];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|