3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/audio/pd-plugins/maxlib/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

34 lines
788 B
Nix
Raw Normal View History

2021-01-15 13:21:58 +00:00
{ lib, stdenv, fetchFromGitHub, puredata }:
stdenv.mkDerivation rec {
pname = "maxlib";
2017-12-07 12:42:14 +00:00
version = "1.5.7";
2017-12-07 12:42:14 +00:00
src = fetchFromGitHub {
owner = "electrickery";
repo = "pd-maxlib";
rev = "v${version}";
sha256 = "10w9qfgn26lj3zqjksf2r1wsjpf5xy4dx22jay9l6idy9q62mxsn";
};
buildInputs = [ puredata ];
hardeningDisable = [ "format" ];
2016-02-09 23:06:16 +00:00
2017-12-07 12:42:14 +00:00
makeFlags = [ "prefix=$(out)" ];
postInstall = ''
2017-12-07 12:42:14 +00:00
mv $out/lib/pd-externals/maxlib/ $out
rm -rf $out/local/
2017-12-07 12:42:14 +00:00
rm -rf $out/lib/
'';
meta = {
2015-03-16 18:34:36 +00:00
description = "A library of non-tilde externals for puredata, by Miller Puckette";
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;
};
}