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