2021-01-17 00:15:33 +00:00
|
|
|
{ lib, stdenv, fetchurl, autoconf, automake, puredata }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "zexy";
|
|
|
|
version = "2.2.4";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://puredata.info/downloads/zexy/releases/${version}/${pname}-${version}.tar.gz";
|
|
|
|
sha256 = "1xpgl82c2lc6zfswjsa7z10yhv5jb7a4znzh3nc7ffrzm1z8vylp";
|
|
|
|
};
|
|
|
|
|
2022-04-03 18:54:34 +00:00
|
|
|
nativeBuildInputs = [ autoconf automake ];
|
|
|
|
buildInputs = [ puredata ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
preBuild = ''
|
|
|
|
export LD=$CXX
|
|
|
|
cd src/
|
|
|
|
for i in ${puredata}/include/pd/*; do
|
|
|
|
ln -s $i .
|
|
|
|
done
|
|
|
|
./bootstrap.sh
|
|
|
|
./configure --enable-lpt=no --prefix=$out
|
|
|
|
'';
|
|
|
|
|
|
|
|
postInstall = ''
|
|
|
|
mv $out/lib/pd/extra/zexy $out
|
|
|
|
rm -rf $out/lib
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "The swiss army knife for puredata";
|
|
|
|
homepage = "http://puredata.info/downloads/zexy";
|
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
|
|
|
};
|
|
|
|
}
|