mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-28 06:14:26 +03:00
Merge pull request #6931 from svenkeidel/a2jmidid-python-path
a2jmidid: wrap python path for a2j_control, fixes #6916
This commit is contained in:
commit
b1295c6b48
@ -1,4 +1,5 @@
|
||||
{ stdenv, fetchurl, alsaLib, dbus, jack2, pkgconfig, python }:
|
||||
{ stdenv, fetchurl, makeWrapper, pkgconfig, alsaLib, dbus, jack2
|
||||
, python, pythonDBus }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "a2jmidid-${version}";
|
||||
@ -9,13 +10,16 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "0pzm0qk5ilqhwz74pydg1jwrds27vm47185dakdrxidb5bv3b5ia";
|
||||
};
|
||||
|
||||
buildInputs = [ alsaLib dbus jack2 pkgconfig python ];
|
||||
buildInputs = [ makeWrapper pkgconfig alsaLib dbus jack2 python pythonDBus ];
|
||||
|
||||
configurePhase = "python waf configure --prefix=$out";
|
||||
|
||||
buildPhase = "python waf";
|
||||
|
||||
installPhase = "python waf install";
|
||||
installPhase = ''
|
||||
python waf install
|
||||
wrapProgram $out/bin/a2j_control --set PYTHONPATH $PYTHONPATH
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = http://home.gna.org/a2jmidid;
|
||||
|
Loading…
Reference in New Issue
Block a user