nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 hatchling,
6 hatch-vcs,
7}:
8
9buildPythonPackage rec {
10 pname = "argcomplete";
11 version = "3.6.3";
12 pyproject = true;
13
14 src = fetchFromGitHub {
15 owner = "kislyuk";
16 repo = "argcomplete";
17 tag = "v${version}";
18 hash = "sha256-GK78gW54cFE0yXra56wG8LnBL9CLbf0TuIgxFwA9zZY=";
19 };
20
21 build-system = [
22 hatchling
23 hatch-vcs
24 ];
25
26 # Tries to build and install test packages which fails
27 doCheck = false;
28
29 pythonImportsCheck = [ "argcomplete" ];
30
31 meta = {
32 description = "Bash tab completion for argparse";
33 homepage = "https://kislyuk.github.io/argcomplete/";
34 changelog = "https://github.com/kislyuk/argcomplete/blob/${src.tag}/Changes.rst";
35 downloadPage = "https://github.com/kislyuk/argcomplete";
36 license = lib.licenses.asl20;
37 maintainers = with lib.maintainers; [ womfoo ];
38 };
39}