python.pkgs.importlib-resources: invoke tests differently
Follow what upstream does. That solves the issue previously encountered.
This commit is contained in:
parent
245f7fb1fc
commit
e039310f96
@ -5,6 +5,7 @@
|
|||||||
, typing
|
, typing
|
||||||
, isPy3k
|
, isPy3k
|
||||||
, pythonOlder
|
, pythonOlder
|
||||||
|
, python
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
@ -21,8 +22,9 @@ buildPythonPackage rec {
|
|||||||
++ lib.optional (pythonOlder "3.5") typing
|
++ lib.optional (pythonOlder "3.5") typing
|
||||||
;
|
;
|
||||||
|
|
||||||
# https://gitlab.com/python-devs/importlib_resources/issues/69
|
checkPhase = ''
|
||||||
doCheck = !isPy3k;
|
${python.interpreter} -m unittest discover
|
||||||
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Read resources from Python packages";
|
description = "Read resources from Python packages";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user