depot/third_party/nixpkgs/pkgs/development/python-modules/jaraco-path/default.nix
Default email f34ce41345 Project import generated by Copybara.
GitOrigin-RevId: b73c2221a46c13557b1b3be9c2070cc42cf01eb3
2024-07-27 08:49:29 +02:00

34 lines
782 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools-scm,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "jaraco-path";
version = "3.7.0";
pyproject = true;
src = fetchFromGitHub {
owner = "jaraco";
repo = "jaraco.path";
rev = "refs/tags/v${version}";
hash = "sha256-P22sA138guKTlOxSxUJ0mU41W16984yYlkZea06juOM=";
};
build-system = [ setuptools-scm ];
pythonImportsCheck = [ "jaraco.path" ];
nativeCheckInputs = [ pytestCheckHook ];
meta = {
changelog = "https://github.com/jaraco/jaraco.path/blob/${src.rev}/NEWS.rst";
description = "Miscellaneous path functions";
homepage = "https://github.com/jaraco/jaraco.path";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ dotlambda ];
};
}