summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/commandparse
diff options
context:
space:
mode:
authorFabian Affolter <mail@fabian-affolter.ch>2021-01-03 13:22:52 +0100
committerFabian Affolter <mail@fabian-affolter.ch>2021-01-03 13:22:52 +0100
commit13e6f7df36d3c8a3c040817700de0fcb4064018e (patch)
tree6755423375594ef26b08ae8636d0b518ad72138c /pkgs/development/python-modules/commandparse
parentd4a76b1f5fb48896a3348c394196e7552e3eb9ef (diff)
python3Packages.commandparse: init at 1.1.1
Diffstat (limited to 'pkgs/development/python-modules/commandparse')
-rw-r--r--pkgs/development/python-modules/commandparse/default.nix25
1 files changed, 25 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/commandparse/default.nix b/pkgs/development/python-modules/commandparse/default.nix
new file mode 100644
index 000000000000..68da870f4e2d
--- /dev/null
+++ b/pkgs/development/python-modules/commandparse/default.nix
@@ -0,0 +1,25 @@
+{ lib
+, buildPythonPackage
+, fetchPypi
+}:
+
+buildPythonPackage rec {
+ pname = "commandparse";
+ version = "1.1.1";
+
+ src = fetchPypi {
+ inherit pname version;
+ sha256 = "06mcxc0vs5qdcywalgyx5zm18z4xcsrg5g0wsqqv5qawkrvmvl53";
+ };
+
+ # tests only distributed upstream source, not PyPi
+ doCheck = false;
+ pythonImportsCheck = [ "commandparse" ];
+
+ meta = with lib; {
+ description = "Python module to parse command based CLI application";
+ homepage = "https://github.com/flgy/commandparse";
+ license = with licenses; [ mit ];
+ maintainers = [ maintainers.fab ];
+ };
+}