lol
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

at master 71 lines 1.5 kB view raw
1{ 2 lib, 3 stdenv, 4 fetchurl, 5 puredata, 6}: 7 8stdenv.mkDerivation { 9 pname = "mrpeach"; 10 version = "1.1"; 11 12 # this was to only usable url I could find: 13 # - The main url changes hash: http://pure-data.cvs.sourceforge.net/viewvc/pure-data/externals/mrpeach/?view=tar 14 # - There are lot's of places where this SW is available as part of a big pkg: pd-extended, pd-l2ork 15 # - It's just 211K 16 17 src = fetchurl { 18 url = "http://slackonly.com/pub/korgie/sources/pd_mrpeach-2011.10.21.tar.gz"; 19 sha256 = "12jqba3jsdrk20ib9wc2wiivki88ypcd4mkzgsri9siywbbz9w8x"; 20 }; 21 22 buildInputs = [ puredata ]; 23 24 hardeningDisable = [ "format" ]; 25 26 postPatch = '' 27 for D in net osc 28 do 29 sed -i "s@prefix = /usr/local@prefix = $out@g" $D/Makefile 30 for i in ${puredata}/include/pd/*; do 31 ln -s $i $D/ 32 done 33 done 34 ''; 35 36 buildPhase = '' 37 runHook preBuild 38 for D in net osc 39 do 40 cd $D 41 make 42 cd .. 43 done 44 runHook postBuild 45 ''; 46 47 installPhase = '' 48 runHook preInstall 49 for D in net osc 50 do 51 cd $D 52 make install 53 cd .. 54 done 55 runHook postInstall 56 ''; 57 58 preFixup = '' 59 mv $out/lib/pd-externals/net $out 60 mv $out/lib/pd-externals/osc $out 61 rm -rf $out/lib 62 ''; 63 64 meta = { 65 description = "Collection of Pd objectclasses for OSC-messages"; 66 homepage = "http://puredata.info/downloads/osc"; 67 license = lib.licenses.gpl2; 68 maintainers = [ lib.maintainers.magnetophon ]; 69 platforms = lib.platforms.linux; 70 }; 71}