ansible-later: 2.0.22 -> 2.0.23
[NixPkgs.git] / pkgs / development / python-modules / lazy-object-proxy / default.nix
blob0619a62fa32d93e9758ecc5590989c70bb6bfe4a
1 { lib
2 , buildPythonPackage
3 , fetchPypi
4 , pytestCheckHook
5 , setuptools-scm
6 }:
8 buildPythonPackage rec {
9   pname = "lazy-object-proxy";
10   version = "1.7.1";
12   src = fetchPypi {
13     inherit pname version;
14     sha256 = "d609c75b986def706743cdebe5e47553f4a5a1da9c5ff66d76013ef396b5a8a4";
15   };
17   nativeBuildInputs = [
18     setuptools-scm
19   ];
21   postPatch = ''
22     substituteInPlace pyproject.toml --replace ",<6.0" ""
23     substituteInPlace setup.cfg --replace ",<6.0" ""
24   '';
26   checkInputs = [
27     pytestCheckHook
28   ];
30   # Broken tests. Seem to be fixed upstream according to Travis.
31   doCheck = false;
33   meta = with lib; {
34     description = "A fast and thorough lazy object proxy";
35     homepage = "https://github.com/ionelmc/python-lazy-object-proxy";
36     license = with licenses; [ bsd2 ];
37   };