2021-01-17 00:15:33 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, puredata }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "maxlib";
|
|
|
|
version = "1.5.7";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "electrickery";
|
|
|
|
repo = "pd-maxlib";
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "10w9qfgn26lj3zqjksf2r1wsjpf5xy4dx22jay9l6idy9q62mxsn";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ puredata ];
|
|
|
|
|
|
|
|
hardeningDisable = [ "format" ];
|
|
|
|
|
|
|
|
makeFlags = [ "prefix=$(out)" ];
|
|
|
|
|
|
|
|
postInstall = ''
|
|
|
|
mv $out/lib/pd-externals/maxlib/ $out
|
|
|
|
rm -rf $out/local/
|
|
|
|
rm -rf $out/lib/
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "Library of non-tilde externals for puredata, by Miller Puckette";
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "http://puredata.info/downloads/maxlib";
|
2021-01-17 00:15:33 +00:00
|
|
|
license = lib.licenses.gpl2;
|
|
|
|
maintainers = [ lib.maintainers.magnetophon ];
|
|
|
|
platforms = lib.platforms.linux;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|