about summary refs log tree commit diff
path: root/pkgs/development/python-modules/pathlib-abc/default.nix
blob: 891b6d348561e47d25e26719b8ce0e015f53c693 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
{ lib
, buildPythonPackage
, fetchPypi
, pythonOlder
, hatchling
, pytestCheckHook
}:

buildPythonPackage rec {
  pname = "pathlib-abc";
  version = "0.1.1";
  pyproject = true;

  disabled = pythonOlder "3.8";

  src = fetchPypi {
    pname = "pathlib_abc";
    inherit version;
    hash = "sha256-CE573ZGbD3d0kUqeZM2GobOYYPgfeB3XJCWGMfKRWr4=";
  };

  build-system = [
    hatchling
  ];

  pythonImportsCheck = [
    "pathlib_abc"
  ];

  nativeCheckInputs = [
    pytestCheckHook
  ];

  meta = with lib; {
    description = "Python base classes for rich path objects";
    homepage = "https://github.com/barneygale/pathlib-abc";
    changelog = "https://github.com/barneygale/pathlib-abc/blob/${version}/CHANGES.rst";
    license = licenses.psfl;
    maintainers = with maintainers; [ ];
  };
}