python3Packages.funcsigs: disable tests, avoid unittest2
This commit is contained in:
parent
4b86ccc596
commit
cf47e66aab
@ -1,5 +1,5 @@
|
||||
{ lib, buildPythonPackage, fetchPypi
|
||||
, isPyPy, isPy3k, unittest2
|
||||
, isPyPy, isPy3k
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
@ -11,11 +11,14 @@ buildPythonPackage rec {
|
||||
sha256 = "0l4g5818ffyfmfs1a924811azhjj8ax9xd1cffr1mzd3ycn0zfx7";
|
||||
};
|
||||
|
||||
buildInputs = [ unittest2 ];
|
||||
|
||||
# https://github.com/testing-cabal/funcsigs/issues/10
|
||||
patches = lib.optional (isPyPy && isPy3k) [ ./fix-pypy3-tests.patch ];
|
||||
|
||||
# requires, unittest2 and package hasn't been maintained since 2013
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [ "funcsigs" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python function signatures from PEP362 for Python 2.6, 2.7 and 3.2+";
|
||||
homepage = "https://github.com/aliles/funcsigs";
|
||||
|
Loading…
Reference in New Issue
Block a user