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