nixpkgs/pkgs/development/python-modules/pathlib-abc/default.nix
2024-03-26 19:46:38 +00:00

42 lines
800 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, pythonOlder
, hatchling
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "pathlib-abc";
version = "0.2.0";
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchPypi {
pname = "pathlib_abc";
inherit version;
hash = "sha256-ua9rOf1RMhSFZ47DgD0KEeAqIuhp6AUsrLbo9l3nuGI=";
};
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; [ ];
};
}