2024-07-27 06:49:29 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchFromGitHub,
|
|
|
|
setuptools-scm,
|
|
|
|
pytestCheckHook,
|
2024-09-19 14:19:46 +00:00
|
|
|
stdenv,
|
2024-07-27 06:49:29 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "jaraco-path";
|
2024-09-19 14:19:46 +00:00
|
|
|
version = "3.7.1";
|
2024-07-27 06:49:29 +00:00
|
|
|
pyproject = true;
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "jaraco";
|
|
|
|
repo = "jaraco.path";
|
|
|
|
rev = "refs/tags/v${version}";
|
2024-09-19 14:19:46 +00:00
|
|
|
hash = "sha256-i6FPM4aPfpwLdde1COXZNoKel3sRK8PXnkzy50XvVdw=";
|
2024-07-27 06:49:29 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
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 ];
|
2024-09-19 14:19:46 +00:00
|
|
|
broken = stdenv.isDarwin; # pyobjc is missing
|
2024-07-27 06:49:29 +00:00
|
|
|
};
|
|
|
|
}
|