Files
Gerhard Schwanzer c38cd58039 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)
2026-07-20 07:57:48 +02:00

39 lines
837 B
Nix

{
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 ];
};
})