blob: 9eaae90f46ed187612304614d895e48f22c6ae62 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
{ lib
, buildPythonPackage
, fetchPypi
, pytestCheckHook
, setuptools_scm
}:
buildPythonPackage rec {
pname = "lazy-object-proxy";
version = "1.6.0";
src = fetchPypi {
inherit pname version;
sha256 = "489000d368377571c6f982fba6497f2aa13c6d1facc40660963da62f5c379726";
};
nativeBuildInputs = [
setuptools_scm
];
postPatch = ''
substituteInPlace pyproject.toml --replace ",<6.0" ""
substituteInPlace setup.cfg --replace ",<6.0" ""
'';
checkInputs = [
pytestCheckHook
];
# Broken tests. Seem to be fixed upstream according to Travis.
doCheck = false;
meta = with lib; {
description = "A fast and thorough lazy object proxy";
homepage = "https://github.com/ionelmc/python-lazy-object-proxy";
license = with licenses; [ bsd2 ];
};
}
|