2021-01-15 13:21:58 +00:00
|
|
|
{ lib, stdenv, fetchurl, puredata }:
|
2015-03-16 14:39:52 +00:00
|
|
|
|
2019-08-13 22:52:01 +01:00
|
|
|
stdenv.mkDerivation {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "mrpeach";
|
2015-03-16 14:39:52 +00:00
|
|
|
version = "1.1";
|
|
|
|
|
|
|
|
# this was to only usable url I could find:
|
|
|
|
# - The main url changes hash: http://pure-data.cvs.sourceforge.net/viewvc/pure-data/externals/mrpeach/?view=tar
|
|
|
|
# - There are lot's of places where this SW is available as part of a big pkg: pd-extended, pd-l2ork
|
|
|
|
# - It's just 211K
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://slackonly.com/pub/korgie/sources/pd_mrpeach-2011.10.21.tar.gz";
|
|
|
|
sha256 = "12jqba3jsdrk20ib9wc2wiivki88ypcd4mkzgsri9siywbbz9w8x";
|
|
|
|
};
|
|
|
|
|
2016-02-12 12:35:48 +00:00
|
|
|
buildInputs = [ puredata ];
|
|
|
|
|
2016-02-26 17:38:15 +00:00
|
|
|
hardeningDisable = [ "format" ];
|
2015-03-16 14:39:52 +00:00
|
|
|
|
|
|
|
patchPhase = ''
|
|
|
|
for D in net osc
|
|
|
|
do
|
|
|
|
sed -i "s@prefix = /usr/local@prefix = $out@g" $D/Makefile
|
|
|
|
for i in ${puredata}/include/pd/*; do
|
|
|
|
ln -s $i $D/
|
|
|
|
done
|
|
|
|
done
|
|
|
|
'';
|
|
|
|
|
|
|
|
buildPhase = ''
|
|
|
|
for D in net osc
|
|
|
|
do
|
|
|
|
cd $D
|
|
|
|
make
|
|
|
|
cd ..
|
|
|
|
done
|
|
|
|
'';
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
for D in net osc
|
|
|
|
do
|
|
|
|
cd $D
|
|
|
|
make install
|
|
|
|
cd ..
|
|
|
|
done
|
|
|
|
'';
|
|
|
|
|
|
|
|
fixupPhase = ''
|
|
|
|
mv $out/lib/pd-externals/net $out
|
|
|
|
mv $out/lib/pd-externals/osc $out
|
|
|
|
rm -rf $out/lib
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
2015-03-16 18:34:36 +00:00
|
|
|
description = "A collection of Pd objectclasses for OSC-messages";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "http://puredata.info/downloads/osc";
|
2021-01-15 13:21:58 +00:00
|
|
|
license = lib.licenses.gpl2;
|
|
|
|
maintainers = [ lib.maintainers.magnetophon ];
|
|
|
|
platforms = lib.platforms.linux;
|
2015-03-16 14:39:52 +00:00
|
|
|
};
|
|
|
|
}
|