lol
fork

Configure Feed

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

at 18.09-beta 38 lines 1.1 kB view raw
1{ stdenv, fetchurl, cmake, alsaLib, freepats }: 2 3stdenv.mkDerivation rec { 4 name = "wildmidi-0.4.2"; 5 6 src = fetchurl { 7 url = "https://github.com/Mindwerks/wildmidi/archive/${name}.tar.gz"; 8 sha256 = "178hm2wh5h7apkcb1a0dyla2ia8569php8ikz62rh0g6dp5l67am"; 9 }; 10 11 nativeBuildInputs = [ cmake ]; 12 13 buildInputs = [ alsaLib stdenv.cc.libc/*couldn't find libm*/ ]; 14 15 preConfigure = '' 16 substituteInPlace CMakeLists.txt \ 17 --replace /etc/wildmidi $out/etc 18 ''; 19 20 postInstall = '' 21 mkdir "$out"/etc 22 echo "dir ${freepats}" > "$out"/etc/wildmidi.cfg 23 echo "source ${freepats}/freepats.cfg" >> "$out"/etc/wildmidi.cfg 24 ''; 25 26 meta = with stdenv.lib; { 27 description = "Software MIDI player and library"; 28 longDescription = '' 29 WildMIDI is a simple software midi player which has a core softsynth 30 library that can be use with other applications. 31 ''; 32 homepage = http://wildmidi.sourceforge.net/; 33 # The library is LGPLv3, the wildmidi executable is GPLv3 34 license = licenses.lgpl3; 35 platforms = platforms.linux; 36 maintainers = [ maintainers.bjornfor ]; 37 }; 38}