depot/third_party/nixpkgs/pkgs/applications/audio/pd-plugins/maxlib/default.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

33 lines
786 B
Nix

{ lib, stdenv, fetchFromGitHub, puredata }:
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 = {
description = "Library of non-tilde externals for puredata, by Miller Puckette";
homepage = "http://puredata.info/downloads/maxlib";
license = lib.licenses.gpl2;
maintainers = [ lib.maintainers.magnetophon ];
platforms = lib.platforms.linux;
};
}