Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.09 742 B view raw
1{ stdenv 2, buildPythonPackage 3, fetchPypi 4, repeated_test 5, sphinx 6, mock 7, coverage 8, unittest2 9, funcsigs 10, six 11}: 12 13buildPythonPackage rec { 14 pname = "sigtools"; 15 version = "2.0.2"; 16 17 src = fetchPypi { 18 inherit pname version; 19 sha256 = "1b890f22ece64bc47d3d4e84c950581e83917794a6cf1548698145590e221aff"; 20 }; 21 22 buildInputs = [ repeated_test sphinx mock coverage unittest2 ]; 23 propagatedBuildInputs = [ funcsigs six ]; 24 25 patchPhase = ''sed -i s/test_suite="'"sigtools.tests"'"/test_suite="'"unittest2.collector"'"/ setup.py''; 26 27 meta = with stdenv.lib; { 28 description = "Utilities for working with 3.3's inspect.Signature objects."; 29 homepage = "https://pypi.python.org/pypi/sigtools"; 30 license = licenses.mit; 31 }; 32 33}