mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 17:33:09 +00:00
mididings: stay with python2
This commit is contained in:
parent
a6284f721d
commit
4c61dc3247
@ -1,6 +1,6 @@
|
||||
{ lib, pythonPackages, fetchFromGitHub, pkg-config, glib, alsa-lib, libjack2 }:
|
||||
{ lib, python2Packages, fetchFromGitHub, pkg-config, glib, alsa-lib, libjack2 }:
|
||||
|
||||
pythonPackages.buildPythonApplication {
|
||||
python2Packages.buildPythonApplication {
|
||||
version = "2015-11-17";
|
||||
pname = "mididings";
|
||||
|
||||
@ -12,8 +12,8 @@ pythonPackages.buildPythonApplication {
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
buildInputs = [ glib alsa-lib libjack2 pythonPackages.boost ];
|
||||
propagatedBuildInputs = with pythonPackages; [ decorator ]
|
||||
buildInputs = [ glib alsa-lib libjack2 python2Packages.boost ];
|
||||
propagatedBuildInputs = with python2Packages; [ decorator ]
|
||||
# for livedings
|
||||
++ [ tkinter pyliblo ]
|
||||
# for mididings.extra
|
||||
@ -25,7 +25,7 @@ pythonPackages.buildPythonApplication {
|
||||
|
||||
preBuild = with lib.versions; ''
|
||||
substituteInPlace setup.py \
|
||||
--replace boost_python "boost_python${major pythonPackages.python.version}${minor pythonPackages.python.version}"
|
||||
--replace boost_python "boost_python${major python2Packages.python.version}${minor python2Packages.python.version}"
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
|
Loading…
Reference in New Issue
Block a user