emacsPackages.lsp-bridge: 0-unstable-2025-01-11 -> 0-unstable-2025-01-22 (#376531)
[NixPkgs.git] / pkgs / development / python-modules / funcsigs / default.nix
blobbafdd58d56ce5aed9d9134b37070a4cd91184e1a
2   lib,
3   buildPythonPackage,
4   fetchPypi,
5   isPyPy,
6   isPy3k,
7 }:
9 buildPythonPackage rec {
10   pname = "funcsigs";
11   version = "1.0.2";
12   format = "setuptools";
14   src = fetchPypi {
15     inherit pname version;
16     sha256 = "0l4g5818ffyfmfs1a924811azhjj8ax9xd1cffr1mzd3ycn0zfx7";
17   };
19   # https://github.com/testing-cabal/funcsigs/issues/10
20   patches = lib.optionals (isPyPy && isPy3k) [ ./fix-pypy3-tests.patch ];
22   # requires, unittest2 and package hasn't been maintained since 2013
23   doCheck = false;
25   pythonImportsCheck = [ "funcsigs" ];
27   meta = with lib; {
28     description = "Python function signatures from PEP362 for Python 2.6, 2.7 and 3.2+";
29     homepage = "https://github.com/aliles/funcsigs";
30     maintainers = [ ];
31     license = licenses.asl20;
32   };