Merge pull request #186471 from Artturin/fsprop
This commit is contained in:
commit
c4e9b64e7b
2 changed files with 13 additions and 2 deletions
|
@ -2,6 +2,7 @@
|
|||
, glibcLocales
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, setuptools
|
||||
, six
|
||||
, appdirs
|
||||
, scandir ? null
|
||||
|
@ -32,7 +33,7 @@ buildPythonPackage rec {
|
|||
# strong cycle with paramaterized
|
||||
doCheck = false;
|
||||
checkInputs = [ pyftpdlib mock psutil pytestCheckHook ];
|
||||
propagatedBuildInputs = [ six appdirs pytz ]
|
||||
propagatedBuildInputs = [ six appdirs pytz setuptools ]
|
||||
++ lib.optionals (!isPy3k) [ backports_os ]
|
||||
++ lib.optionals (!pythonAtLeast "3.6") [ typing ]
|
||||
++ lib.optionals (!pythonAtLeast "3.5") [ scandir ]
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ lib, fetchurl, pkg-config, buildPythonPackage, isPy3k, at-spi2-core, pygobject3, gnome }:
|
||||
{ lib, fetchurl, pkg-config, buildPythonPackage, isPy3k, at-spi2-core, pygobject3, gnome, python }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pyatspi";
|
||||
|
@ -17,6 +17,16 @@ buildPythonPackage rec {
|
|||
pygobject3
|
||||
];
|
||||
|
||||
configureFlags = [
|
||||
"PYTHON=${python.pythonForBuild.interpreter}"
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
# useless python existence check for us
|
||||
substituteInPlace configure \
|
||||
--replace '&& ! which' '&& false'
|
||||
'';
|
||||
|
||||
disabled = !isPy3k;
|
||||
|
||||
passthru = {
|
||||
|
|
Loading…
Reference in a new issue