python310Packages.sigtools: reenable tests
This commit is contained in:
parent
c6c9ecf5e8
commit
2f65646b1a
@ -1,13 +1,12 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pythonOlder
|
||||
, sphinx
|
||||
, mock
|
||||
, coverage
|
||||
, unittest2
|
||||
, repeated-test
|
||||
, unittestCheckHook
|
||||
, attrs
|
||||
, funcsigs
|
||||
, six
|
||||
, setuptools-scm
|
||||
}:
|
||||
|
||||
@ -16,6 +15,8 @@ buildPythonPackage rec {
|
||||
version = "4.0.1";
|
||||
format = "pyproject";
|
||||
|
||||
disabled = pythonOlder "3.4";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "sha256-S44TWpzU0uoA2mcMCTNy105nK6OruH9MmNjnPepURFw=";
|
||||
@ -29,12 +30,12 @@ buildPythonPackage rec {
|
||||
attrs
|
||||
];
|
||||
|
||||
patchPhase = ''sed -i s/test_suite="'"sigtools.tests"'"/test_suite="'"unittest2.collector"'"/ setup.py'';
|
||||
|
||||
# repeated_test no longer exists in nixpkgs
|
||||
# Also see: https://github.com/epsy/sigtools/issues/26
|
||||
doCheck = false;
|
||||
checkInputs = [ sphinx mock coverage unittest2 ];
|
||||
checkInputs = [
|
||||
mock
|
||||
repeated-test
|
||||
sphinx
|
||||
unittestCheckHook
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Utilities for working with 3.3's inspect.Signature objects.";
|
||||
|
Loading…
Reference in New Issue
Block a user