nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 43 lines 975 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 pytestCheckHook, 6 requests, 7 setuptools, 8}: 9 10buildPythonPackage (finalAttrs: { 11 pname = "python-fsutil"; 12 version = "0.16.0"; 13 pyproject = true; 14 15 src = fetchFromGitHub { 16 owner = "fabiocaccamo"; 17 repo = "python-fsutil"; 18 tag = finalAttrs.version; 19 hash = "sha256-1XYyfBuaUED+xnVrILEtB+fUpc8sk4BDzGp8Hln/rlc="; 20 }; 21 22 build-system = [ setuptools ]; 23 24 dependencies = [ requests ]; 25 26 nativeCheckInputs = [ pytestCheckHook ]; 27 28 disabledTests = [ 29 # Tests require network access 30 "test_download_file" 31 "test_read_file_from_url" 32 ]; 33 34 pythonImportsCheck = [ "fsutil" ]; 35 36 meta = { 37 description = "Module with file-system utilities"; 38 homepage = "https://github.com/fabiocaccamo/python-fsutil"; 39 changelog = "https://github.com/fabiocaccamo/python-fsutil/blob/${finalAttrs.src.tag}/CHANGELOG.md"; 40 license = lib.licenses.mit; 41 maintainers = with lib.maintainers; [ fab ]; 42 }; 43})