linux_xanmod: 5.11.14 -> 5.11.15
[NixPkgs.git] / pkgs / development / python-modules / funcsigs / default.nix
blob8a7335accda4015a96ccfcdf47cc72ee0060a462
1 { lib, buildPythonPackage, fetchPypi
2 , isPyPy, isPy3k, unittest2
3 }:
5 buildPythonPackage rec {
6   pname = "funcsigs";
7   version = "1.0.2";
9   src = fetchPypi {
10     inherit pname version;
11     sha256 = "0l4g5818ffyfmfs1a924811azhjj8ax9xd1cffr1mzd3ycn0zfx7";
12   };
14   buildInputs = [ unittest2 ];
16   # https://github.com/testing-cabal/funcsigs/issues/10
17   patches = lib.optional (isPyPy && isPy3k) [ ./fix-pypy3-tests.patch ];
19   meta = with lib; {
20     description = "Python function signatures from PEP362 for Python 2.6, 2.7 and 3.2+";
21     homepage = "https://github.com/aliles/funcsigs";
22     maintainers = with maintainers; [ ];
23     license = licenses.asl20;
24   };