diff options
author | Jonathan Ringer <jonringer117@gmail.com> | 2022-01-11 13:28:02 -0800 |
---|---|---|
committer | Jonathan Ringer <jonringer@users.noreply.github.com> | 2022-01-14 17:09:01 -0800 |
commit | cf47e66aab1d42a0fb8c773b1ac5ff1d67d1b2a6 (patch) | |
tree | dd7529cc0b40339111652ff34a646d4986845bcb /pkgs/development/python-modules/funcsigs | |
parent | 4b86ccc596d58b04a6194347cf45494f01b943b5 (diff) |
python3Packages.funcsigs: disable tests, avoid unittest2
Diffstat (limited to 'pkgs/development/python-modules/funcsigs')
-rw-r--r-- | pkgs/development/python-modules/funcsigs/default.nix | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/pkgs/development/python-modules/funcsigs/default.nix b/pkgs/development/python-modules/funcsigs/default.nix index 8a7335accda40..115d358cb7869 100644 --- a/pkgs/development/python-modules/funcsigs/default.nix +++ b/pkgs/development/python-modules/funcsigs/default.nix @@ -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"; |