summary refs log tree commit diff
path: root/pkgs/development/python-modules/click-repl/default.nix
diff options
context:
space:
mode:
authorJames Kay <james@hadean.com>2018-11-06 11:56:07 +0000
committerJames Kay <james@hadean.com>2018-11-07 15:29:04 +0000
commita7c122bd65a13eb80f1694eee7dd7d4137a1b408 (patch)
treeed45ae3a90e06620deb89fe50fd84ed243d77a90 /pkgs/development/python-modules/click-repl/default.nix
parent19091a51786593b731f348910dfd05dde5d16c63 (diff)
downloadnixpkgs-a7c122bd65a13eb80f1694eee7dd7d4137a1b408.tar
nixpkgs-a7c122bd65a13eb80f1694eee7dd7d4137a1b408.tar.gz
nixpkgs-a7c122bd65a13eb80f1694eee7dd7d4137a1b408.tar.bz2
nixpkgs-a7c122bd65a13eb80f1694eee7dd7d4137a1b408.tar.lz
nixpkgs-a7c122bd65a13eb80f1694eee7dd7d4137a1b408.tar.xz
nixpkgs-a7c122bd65a13eb80f1694eee7dd7d4137a1b408.tar.zst
nixpkgs-a7c122bd65a13eb80f1694eee7dd7d4137a1b408.zip
pythonPackages.click-repl: init at 0.1.6
Diffstat (limited to 'pkgs/development/python-modules/click-repl/default.nix')
-rw-r--r--pkgs/development/python-modules/click-repl/default.nix20
1 files changed, 20 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/click-repl/default.nix b/pkgs/development/python-modules/click-repl/default.nix
new file mode 100644
index 00000000000..8a487ab2410
--- /dev/null
+++ b/pkgs/development/python-modules/click-repl/default.nix
@@ -0,0 +1,20 @@
+{ stdenv, buildPythonPackage, fetchPypi, click, prompt_toolkit }:
+
+buildPythonPackage rec {
+  pname = "click-repl";
+  version = "0.1.6";
+
+  src = fetchPypi {
+    inherit pname version;
+    sha256 = "1mcmz95595nrp4r58spy1ac993db26hk4q97isghbmn4md99vwmr";
+  };
+
+  propagatedBuildInputs = [ click prompt_toolkit ];
+
+  meta = with stdenv.lib; {
+    homepage = https://github.com/click-contrib/click-repl;
+    description = "Subcommand REPL for click apps";
+    license = licenses.mit;
+    maintainers = with maintainers; [ twey ];
+  };
+}