python3Packages.locate: init at 1.1.2

https://github.com/AutoActuary/locate/releases/tag/1.1.2

Assisted-by: pi coding agent / Mika (OpenAI gpt-5.6-sol)
This commit is contained in:
Gerhard Schwanzer
2026-07-17 10:39:58 +02:00
parent a32a4b2e99
commit c38cd58039
2 changed files with 40 additions and 0 deletions
@@ -0,0 +1,38 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
pytestCheckHook,
setuptools,
setuptools-scm,
}:
buildPythonPackage (finalAttrs: {
pname = "locate";
version = "1.1.2";
pyproject = true;
src = fetchFromGitHub {
owner = "AutoActuary";
repo = "locate";
tag = finalAttrs.version;
hash = "sha256-cPBxSjcX0y0Ul7B6yOY+U2ylrQ1oBV6t3lN4qyutGlE=";
};
build-system = [
setuptools
setuptools-scm
];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "locate" ];
meta = {
description = "Locate files relative to the current Python script";
homepage = "https://github.com/AutoActuary/locate";
changelog = "https://github.com/AutoActuary/locate/releases/tag/${finalAttrs.src.tag}";
license = lib.licenses.mit;
maintainers = [ lib.maintainers.geri1701 ];
};
})
+2
View File
@@ -9841,6 +9841,8 @@ self: super: with self; {
localzone = callPackage ../development/python-modules/localzone { };
locate = callPackage ../development/python-modules/locate { };
locationsharinglib = callPackage ../development/python-modules/locationsharinglib { };
locket = callPackage ../development/python-modules/locket { };