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