mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-08-27 10:44:36 +00:00
40 lines
911 B
Nix
40 lines
911 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
hatchling,
|
|
hatch-vcs,
|
|
}:
|
|
|
|
buildPythonPackage (finalAttrs: {
|
|
pname = "argcomplete";
|
|
version = "3.7.2";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "kislyuk";
|
|
repo = "argcomplete";
|
|
tag = "v${finalAttrs.version}";
|
|
hash = "sha256-WKIhWlftH9xgdklljAOmW4XYMbclGrCFTtsxws2FRzg=";
|
|
};
|
|
|
|
build-system = [
|
|
hatchling
|
|
hatch-vcs
|
|
];
|
|
|
|
# Tries to build and install test packages which fails
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "argcomplete" ];
|
|
|
|
meta = {
|
|
description = "Bash tab completion for argparse";
|
|
homepage = "https://kislyuk.github.io/argcomplete/";
|
|
changelog = "https://github.com/kislyuk/argcomplete/blob/${finalAttrs.src.tag}/Changes.rst";
|
|
downloadPage = "https://github.com/kislyuk/argcomplete";
|
|
license = lib.licenses.asl20;
|
|
maintainers = with lib.maintainers; [ womfoo ];
|
|
};
|
|
})
|