2015-06-27 09:17:52 +02:00
|
|
|
{ stdenv, fetchurl, makeWrapper, pkgconfig, alsaLib, dbus, libjack2
|
2015-03-22 11:09:33 +01:00
|
|
|
, python, pythonDBus }:
|
2012-04-08 02:25:09 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "a2jmidid-${version}";
|
2013-12-15 10:08:31 +01:00
|
|
|
version = "8";
|
2012-04-08 02:25:09 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://download.gna.org/a2jmidid/${name}.tar.bz2";
|
2013-12-15 10:08:31 +01:00
|
|
|
sha256 = "0pzm0qk5ilqhwz74pydg1jwrds27vm47185dakdrxidb5bv3b5ia";
|
2012-04-08 02:25:09 +02:00
|
|
|
};
|
|
|
|
|
2015-06-27 09:17:52 +02:00
|
|
|
buildInputs = [ makeWrapper pkgconfig alsaLib dbus libjack2 python pythonDBus ];
|
2012-04-08 02:25:09 +02:00
|
|
|
|
|
|
|
configurePhase = "python waf configure --prefix=$out";
|
|
|
|
|
|
|
|
buildPhase = "python waf";
|
|
|
|
|
2015-03-22 11:09:33 +01:00
|
|
|
installPhase = ''
|
|
|
|
python waf install
|
|
|
|
wrapProgram $out/bin/a2j_control --set PYTHONPATH $PYTHONPATH
|
|
|
|
'';
|
2012-04-08 02:25:09 +02:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = http://home.gna.org/a2jmidid;
|
2013-10-05 16:22:46 +02:00
|
|
|
description = "Daemon for exposing legacy ALSA sequencer applications in JACK MIDI system";
|
2012-04-08 02:25:09 +02:00
|
|
|
license = licenses.gpl2;
|
|
|
|
maintainers = [ maintainers.goibhniu ];
|
2014-03-16 12:08:26 +01:00
|
|
|
platforms = platforms.linux;
|
2012-04-08 02:25:09 +02:00
|
|
|
};
|
|
|
|
}
|