1{ lib
2, appdirs
3, buildPythonPackage
4, fetchPypi
5, packaging
6, pytestCheckHook
7, pythonOlder
8, setuptools-scm
9}:
10
11buildPythonPackage rec {
12 pname = "path";
13 version = "16.7.1";
14 format = "pyproject";
15
16 disabled = pythonOlder "3.7";
17
18 src = fetchPypi {
19 inherit pname version;
20 hash = "sha256-K0d/WIcDPzy+oc/YVT7mpqSY6yVAoZ9KoIKCKq3Oowo=";
21 };
22
23 nativeBuildInputs = [
24 setuptools-scm
25 ];
26
27 nativeCheckInputs = [
28 pytestCheckHook
29 ];
30
31 disabledTests = [
32 # creates a file, checks when it was last accessed/modified
33 # AssertionError: assert 1650036414.0 == 1650036414.960688
34 "test_utime"
35 ];
36
37 pythonImportsCheck = [
38 "path"
39 ];
40
41 meta = with lib; {
42 description = "Object-oriented file system path manipulation";
43 homepage = "https://github.com/jaraco/path";
44 changelog = "https://github.com/jaraco/path/blob/v${version}/NEWS.rst";
45 license = licenses.mit;
46 maintainers = with maintainers; [ ];
47 };
48}