2015-03-16 14:39:52 +00:00
|
|
|
{ stdenv, fetchurl, autoconf, automake, puredata }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "zexy-${version}";
|
|
|
|
version = "2.2.4";
|
|
|
|
|
|
|
|
src = fetchurl {
|
2018-06-28 19:43:35 +01:00
|
|
|
url = "https://puredata.info/downloads/zexy/releases/${version}/${name}.tar.gz";
|
2015-03-16 14:39:52 +00:00
|
|
|
sha256 = "1xpgl82c2lc6zfswjsa7z10yhv5jb7a4znzh3nc7ffrzm1z8vylp";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ autoconf automake puredata ];
|
|
|
|
|
2017-08-12 17:18:14 +01:00
|
|
|
preBuild = ''
|
|
|
|
export LD=$CXX
|
2015-03-16 14:39:52 +00:00
|
|
|
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 = {
|
2015-03-16 18:34:36 +00:00
|
|
|
description = "The swiss army knife for puredata";
|
2015-03-16 14:39:52 +00:00
|
|
|
homepage = http://puredata.info/downloads/zexy;
|
|
|
|
license = stdenv.lib.licenses.gpl2;
|
|
|
|
maintainers = [ stdenv.lib.maintainers.magnetophon ];
|
|
|
|
platforms = stdenv.lib.platforms.linux;
|
|
|
|
};
|
|
|
|
}
|