1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 setuptools, 6 docopt, 7 pytestCheckHook, 8 hypothesis, 9}: 10 11buildPythonPackage { 12 pname = "docopt-subcommands"; 13 version = "4.0.0-unstable-2020-01-06"; 14 pyproject = true; 15 16 src = fetchFromGitHub { 17 owner = "abingham"; 18 repo = "docopt-subcommands"; 19 rev = "5693cbac24701c53e55fa182c1d563736e6a0557"; # no tags 20 hash = "sha256-bNFmRMzyC9BQB/J0ACqYxkS7lHG4CWd5/by7QgCopFo="; 21 }; 22 23 build-system = [ setuptools ]; 24 25 dependencies = [ docopt ]; 26 27 pythonImportsCheck = [ "docopt_subcommands" ]; 28 29 nativeCheckInputs = [ 30 pytestCheckHook 31 hypothesis 32 ]; 33 34 meta = { 35 description = "Create subcommand-based CLI programs with docopt"; 36 homepage = "https://github.com/abingham/docopt-subcommands"; 37 license = lib.licenses.mit; 38 maintainers = with lib.maintainers; [ sigmanificient ]; 39 }; 40}