fa5436e0a7
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
36 lines
790 B
Nix
36 lines
790 B
Nix
{
|
|
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; [ ];
|
|
};
|
|
}
|