diff --git a/pkgs/development/python-modules/docopt-ng/default.nix b/pkgs/development/python-modules/docopt-ng/default.nix new file mode 100644 index 000000000000..7a18bfbc7cfa --- /dev/null +++ b/pkgs/development/python-modules/docopt-ng/default.nix @@ -0,0 +1,24 @@ +{ lib +, buildPythonPackage +, fetchPypi +}: + +buildPythonPackage rec { + pname = "docopt-ng"; + version = "0.7.2"; + + src = fetchPypi { + inherit pname version; + sha256 = "sha256-hs7qAy8M+lnmB3brDPOKxzZTWBAihyMg9H3IdGeNckQ="; + }; + + pythonImportsCheck = [ "docopt" ]; + doCheck = false; # no tests in the package + + meta = with lib; { + description = "More-magic command line arguments parser. Now with more maintenance!"; + homepage = "https://github.com/bazaar-projects/docopt-ng"; + license = licenses.mit; + maintainers = with maintainers; [ fgaz ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 86042f35b2b2..67b6fefd7263 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -2165,6 +2165,8 @@ in { docopt = callPackage ../development/python-modules/docopt { }; + docopt-ng = callPackage ../development/python-modules/docopt-ng { }; + docplex = callPackage ../development/python-modules/docplex { }; docrep = callPackage ../development/python-modules/docrep { };