2021-01-15 13:21:58 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, puredata }:
|
2015-03-16 14:39:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "maxlib";
|
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";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "http://puredata.info/downloads/maxlib";
|
2021-01-15 13:21:58 +00:00
|
|
|
license = lib.licenses.gpl2;
|
|
|
|
maintainers = [ lib.maintainers.magnetophon ];
|
|
|
|
platforms = lib.platforms.linux;
|
2015-03-16 14:39:52 +00:00
|
|
|
};
|
|
|
|
}
|