mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-23 22:23:15 +00:00
46420bbaa3
treewide replacement of stdenv.mkDerivation rec { name = "*-${version}"; version = "*"; to pname
34 lines
802 B
Nix
34 lines
802 B
Nix
{ 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 = "A library of non-tilde externals for puredata, by Miller Puckette";
|
|
homepage = http://puredata.info/downloads/maxlib;
|
|
license = stdenv.lib.licenses.gpl2;
|
|
maintainers = [ stdenv.lib.maintainers.magnetophon ];
|
|
platforms = stdenv.lib.platforms.linux;
|
|
};
|
|
}
|