blob: 3d7657f601eb253b880d1514c3d398a80b2a5440 (
plain)
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
40
41
42
43
44
45
46
47
48
49
50
|
{
lib,
buildPythonPackage,
fetchPypi,
more-itertools,
pytestCheckHook,
setuptools,
setuptools-scm,
}:
buildPythonPackage rec {
pname = "path";
version = "17.1.1";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-Lfy/7ItNlg80acUqzxMxE8KovxKse5jWKfqRr4ckjUI=";
};
postPatch = ''
sed -i "/coherent\.licensed/d" pyproject.toml
'';
nativeBuildInputs = [
setuptools
setuptools-scm
];
nativeCheckInputs = [
more-itertools
pytestCheckHook
];
disabledTests = [
# creates a file, checks when it was last accessed/modified
# AssertionError: assert 1650036414.0 == 1650036414.960688
"test_utime"
];
pythonImportsCheck = [ "path" ];
meta = {
description = "Object-oriented file system path manipulation";
homepage = "https://github.com/jaraco/path";
changelog = "https://github.com/jaraco/path/blob/v${version}/NEWS.rst";
license = lib.licenses.mit;
maintainers = [ ];
};
}
|