mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-08-26 02:05:02 +00:00
https://github.com/AutoActuary/locate/releases/tag/1.1.2 Assisted-by: pi coding agent / Mika (OpenAI gpt-5.6-sol)
39 lines
837 B
Nix
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 ];
|
|
};
|
|
})
|