about summary refs log tree commit diff
path: root/pkgs/development/python-modules/clintermission
diff options
context:
space:
mode:
authorSandro Jäckel <sandro.jaeckel@gmail.com>2020-10-16 21:05:26 +0200
committerSandro Jäckel <sandro.jaeckel@gmail.com>2020-10-18 12:01:28 +0200
commit29dcb8276c2069485418292c06c0a7af99486b7d (patch)
treedfd38414d6df8c99f81072656b9204d9970f9c49 /pkgs/development/python-modules/clintermission
parent90fd589286687725e72d4518866317afa7dac6b6 (diff)
clintermission: init at 0.2.0
Diffstat (limited to 'pkgs/development/python-modules/clintermission')
-rw-r--r--pkgs/development/python-modules/clintermission/default.nix29
1 files changed, 29 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/clintermission/default.nix b/pkgs/development/python-modules/clintermission/default.nix
new file mode 100644
index 0000000000000..04e97f4c66937
--- /dev/null
+++ b/pkgs/development/python-modules/clintermission/default.nix
@@ -0,0 +1,29 @@
+{ lib, buildPythonApplication, fetchFromGitHub, isPy3k, prompt_toolkit }:
+
+buildPythonApplication rec {
+  pname = "clintermission";
+  version = "0.2.0";
+
+  src = fetchFromGitHub {
+    owner = "sebageek";
+    repo = pname;
+    rev = "v${version}";
+    sha256 = "09wl0rpw6c9hab51rs957z64b0v9j4fcbqbn726wnapf4z5w6yxv";
+  };
+
+  propagatedBuildInputs = [ prompt_toolkit ];
+
+  disabled = !isPy3k;
+
+  # repo contains no tests
+  doCheck = false;
+
+  pythonImportsCheck = [ "clintermission" ];
+
+  meta = with lib; {
+    description = "Non-fullscreen command-line selection menu";
+    homepage = "https://github.com/sebageek/clintermission";
+    license = licenses.asl20;
+    maintainers = with maintainers; [ SuperSandro2000 ];
+  };
+}