Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / universal-pathlib / default.nix
blob23667d02c28350073bfe33c1ecb1e5fd3e5cc420
1 { lib
2 , buildPythonPackage
3 , pythonOlder
4 , fetchPypi
5 , setuptools
6 , setuptools-scm
7 , fsspec
8 }:
10 buildPythonPackage rec {
11   pname = "universal-pathlib";
12   version = "0.1.4";
13   format = "pyproject";
15   disabled = pythonOlder "3.8";
17   src = fetchPypi {
18     pname = "universal_pathlib";
19     inherit version;
20     hash = "sha256-guXYbRaifg6hrcfYisvLqdAtWkVIgWMXT5bZrCidsuQ=";
21   };
23   nativeBuildInputs = [
24     setuptools
25     setuptools-scm
26   ];
28   propagatedBuildInputs = [
29     fsspec
30   ];
32   pythonImportsCheck = [ "upath" ];
34   meta = with lib; {
35     description = "Pathlib api extended to use fsspec backends";
36     homepage = "https://github.com/fsspec/universal_pathlib";
37     changelog = "https://github.com/fsspec/universal_pathlib/releases/tag/v${version}";
38     license = licenses.mit;
39     maintainers = with maintainers; [ figsoda ];
40   };