Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
41 lines
869 B
Nix
41 lines
869 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
setuptools,
|
|
docopt,
|
|
pytestCheckHook,
|
|
hypothesis,
|
|
}:
|
|
|
|
buildPythonPackage {
|
|
pname = "docopt-subcommands";
|
|
version = "4.0.0-unstable-2020-01-06";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "abingham";
|
|
repo = "docopt-subcommands";
|
|
rev = "5693cbac24701c53e55fa182c1d563736e6a0557"; # no tags
|
|
hash = "sha256-bNFmRMzyC9BQB/J0ACqYxkS7lHG4CWd5/by7QgCopFo=";
|
|
};
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
dependencies = [ docopt ];
|
|
|
|
pythonImportsCheck = [ "docopt_subcommands" ];
|
|
|
|
nativeCheckInputs = [
|
|
pytestCheckHook
|
|
hypothesis
|
|
];
|
|
|
|
meta = {
|
|
description = "Create subcommand-based CLI programs with docopt";
|
|
homepage = "https://github.com/abingham/docopt-subcommands";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [ sigmanificient ];
|
|
};
|
|
}
|