xwax: init at version 1.9 (#377421)
[NixPkgs.git] / pkgs / development / python-modules / pathlib-abc / default.nix
blobaccc436e79682b7461682aa213a9f785b9ccb4c2
2   lib,
3   buildPythonPackage,
4   fetchPypi,
5   pythonOlder,
6   hatchling,
7   pytestCheckHook,
8 }:
10 buildPythonPackage rec {
11   pname = "pathlib-abc";
12   version = "0.3.1";
13   pyproject = true;
15   disabled = pythonOlder "3.8";
17   src = fetchPypi {
18     pname = "pathlib_abc";
19     inherit version;
20     hash = "sha256-gROV0nk6HGdf95wyRtPWtBoPlqOhR5wulsVrClFAIic=";
21   };
23   build-system = [ hatchling ];
25   pythonImportsCheck = [ "pathlib_abc" ];
27   nativeCheckInputs = [ pytestCheckHook ];
29   meta = with lib; {
30     description = "Python base classes for rich path objects";
31     homepage = "https://github.com/barneygale/pathlib-abc";
32     changelog = "https://github.com/barneygale/pathlib-abc/blob/${version}/CHANGES.rst";
33     license = licenses.psfl;
34     maintainers = [ ];
35   };