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

34 lines
802 B
Nix
Raw Normal View History

2017-12-07 12:42:14 +00:00
{ stdenv, fetchFromGitHub, puredata }:
stdenv.mkDerivation rec {
pname = "maxlib";
2017-12-07 12:42:14 +00:00
version = "1.5.7";
2017-12-07 12:42:14 +00:00
src = fetchFromGitHub {
owner = "electrickery";
repo = "pd-maxlib";
rev = "v${version}";
sha256 = "10w9qfgn26lj3zqjksf2r1wsjpf5xy4dx22jay9l6idy9q62mxsn";
};
buildInputs = [ puredata ];
hardeningDisable = [ "format" ];
2016-02-09 23:06:16 +00:00
2017-12-07 12:42:14 +00:00
makeFlags = [ "prefix=$(out)" ];
postInstall = ''
2017-12-07 12:42:14 +00:00
mv $out/lib/pd-externals/maxlib/ $out
rm -rf $out/local/
2017-12-07 12:42:14 +00:00
rm -rf $out/lib/
'';
meta = {
2015-03-16 18:34:36 +00:00
description = "A library of non-tilde externals for puredata, by Miller Puckette";
homepage = http://puredata.info/downloads/maxlib;
license = stdenv.lib.licenses.gpl2;
maintainers = [ stdenv.lib.maintainers.magnetophon ];
platforms = stdenv.lib.platforms.linux;
};
}