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