aboutsummaryrefslogtreecommitdiffstats
path: root/pkgs/development/python-modules/knack
diff options
context:
space:
mode:
authorStefan Siegl <stesie@brokenpipe.de>2018-09-10 18:33:48 +0200
committerStefan Siegl <stesie@brokenpipe.de>2018-09-10 18:33:48 +0200
commitb6714f59cce26ddc831ca4a213e8f56476184fb1 (patch)
tree48abe892298c6d9e77d48e9de7d848af9beee71d /pkgs/development/python-modules/knack
initial commit
Diffstat (limited to 'pkgs/development/python-modules/knack')
-rw-r--r--pkgs/development/python-modules/knack/default.nix33
1 files changed, 33 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/knack/default.nix b/pkgs/development/python-modules/knack/default.nix
new file mode 100644
index 0000000..6d5eeb6
--- /dev/null
+++ b/pkgs/development/python-modules/knack/default.nix
@@ -0,0 +1,33 @@
+{ stdenv, buildPythonPackage, fetchPypi
+, argcomplete
+, colorama
+, jmespath
+, pygments
+, pyyaml
+, six
+, tabulate
+}:
+
+buildPythonPackage rec {
+ pname = "knack";
+ version = "0.4.1";
+
+ src = fetchPypi {
+ inherit pname version;
+ sha256 = "182rp3y6y8b0lbsrpi9k5qvg9q7p1qffqp79sv9izygsq9lzsids";
+ };
+
+ # TODO (stesie): dependency enum34 for python < 3.4
+ propagatedBuildInputs = [ argcomplete colorama jmespath pygments pyyaml
+ six tabulate ];
+
+ doCheck = false;
+
+ meta = with stdenv.lib; {
+ description = "A Command-Line Interface framework";
+ homepage = https://github.com/microsoft/knack;
+ license = licenses.mit;
+ maintainers = with maintainers; [ stesie ];
+ };
+}
+