11 buildPythonPackage rec {
12 pname = "python-fsutil";
16 disabled = pythonOlder "3.8";
18 src = fetchFromGitHub {
19 owner = "fabiocaccamo";
20 repo = "python-fsutil";
21 rev = "refs/tags/${version}";
22 hash = "sha256-Cs78zpf3W5UZJkkUBEP6l6fi2J4OtJXGvqqQ8PWKx+8=";
25 nativeBuildInputs = [ setuptools ];
27 propagatedBuildInputs = [ requests ];
29 nativeCheckInputs = [ pytestCheckHook ];
31 pytestFlagsArray = [ "tests/test.py" ];
34 # Tests require network access
36 "test_read_file_from_url"
39 pythonImportsCheck = [ "fsutil" ];
42 description = "Module with file-system utilities";
43 homepage = "https://github.com/fabiocaccamo/python-fsutil";
44 changelog = "https://github.com/fabiocaccamo/python-fsutil/blob/${version}/CHANGELOG.md";
45 license = licenses.mit;
46 maintainers = with maintainers; [ fab ];