forked from mirrors/nixpkgs
f2a20b6e52
Replace "waf" phases with wafHook that manages everything automatically. Should make things more modular. Packages affected here are: - a2jmidid - ams-lv2 - ardour - fomp - guitarix - ingen - jalv - mda-lv2 - non - patchage - hamster-time-tracker - kupfer - xiphos - xfce4-dockbarx-plugin - xfce4-namebar-plugin - dropbox - clasp - aubio - liliv - lv2 - lvtk - ntk - raul - sratom - suil - ganv - ndn-cxx - ns3 - serd - sord - termbox - wxmupen64plus - jackaudio - pflask - blockhash - glmark2 - weighttp
30 lines
890 B
Nix
30 lines
890 B
Nix
{ stdenv, fetchurl, makeWrapper, pkgconfig, alsaLib, dbus, libjack2
|
|
, wafHook
|
|
, python2Packages}:
|
|
|
|
let
|
|
inherit (python2Packages) python dbus-python;
|
|
in stdenv.mkDerivation rec {
|
|
name = "a2jmidid-${version}";
|
|
version = "8";
|
|
|
|
src = fetchurl {
|
|
url = "http://repo.or.cz/a2jmidid.git/snapshot/7383d268c4bfe85df9f10df6351677659211d1ca.tar.gz";
|
|
sha256 = "06dgf5655znbvrd7fhrv8msv6zw8vk0hjqglcqkh90960mnnmwz7";
|
|
};
|
|
|
|
nativeBuildInputs = [ pkgconfig wafHook ];
|
|
buildInputs = [ makeWrapper alsaLib dbus libjack2 python dbus-python ];
|
|
|
|
postInstall = ''
|
|
wrapProgram $out/bin/a2j_control --set PYTHONPATH $PYTHONPATH
|
|
'';
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "Daemon for exposing legacy ALSA sequencer applications in JACK MIDI system";
|
|
license = licenses.gpl2;
|
|
maintainers = [ maintainers.goibhniu ];
|
|
platforms = [ "i686-linux" "x86_64-linux" ];
|
|
};
|
|
}
|