1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 hatchling,
6 pytestCheckHook,
7}:
8
9buildPythonPackage rec {
10 pname = "pathlib-abc";
11 version = "0.5.2";
12 pyproject = true;
13
14 src = fetchFromGitHub {
15 owner = "barneygale";
16 repo = "pathlib-abc";
17 tag = version;
18 hash = "sha256-Amr5yrdmS0jx1dnakstgE7JFs4QzNK150aG51GUrc2Y=";
19 };
20
21 build-system = [ hatchling ];
22
23 pythonImportsCheck = [ "pathlib_abc" ];
24
25 nativeCheckInputs = [ pytestCheckHook ];
26
27 meta = {
28 description = "Python base classes for rich path objects";
29 homepage = "https://github.com/barneygale/pathlib-abc";
30 changelog = "https://github.com/barneygale/pathlib-abc/blob/${src.tag}/CHANGES.rst";
31 license = lib.licenses.psfl;
32 maintainers = [ ];
33 };
34}