about summary refs log tree commit diff
path: root/pkgs/development/python-modules/clintermission/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python-modules/clintermission/default.nix')
-rw-r--r--pkgs/development/python-modules/clintermission/default.nix14
1 files changed, 8 insertions, 6 deletions
diff --git a/pkgs/development/python-modules/clintermission/default.nix b/pkgs/development/python-modules/clintermission/default.nix
index b5df005978c4d..c4bf46135aa8c 100644
--- a/pkgs/development/python-modules/clintermission/default.nix
+++ b/pkgs/development/python-modules/clintermission/default.nix
@@ -1,21 +1,22 @@
 { lib
 , buildPythonPackage
 , fetchFromGitHub
-, isPy3k
-, prompt-toolkit }:
+, pythonOlder
+, prompt-toolkit
+}:
 
 buildPythonPackage rec {
   pname = "clintermission";
-  version = "0.2.0";
+  version = "0.3.0";
   format = "setuptools";
 
-  disabled = !isPy3k;
+  disabled = pythonOlder "3.7";
 
   src = fetchFromGitHub {
     owner = "sebageek";
     repo = pname;
-    rev = "v${version}";
-    sha256 = "09wl0rpw6c9hab51rs957z64b0v9j4fcbqbn726wnapf4z5w6yxv";
+    rev = "refs/tags/v${version}";
+    hash = "sha256-HPeO9K91a0MacSUN0SR0lPEWRTQgP/cF1FZaNvZLxAg=";
   };
 
   propagatedBuildInputs = [
@@ -32,6 +33,7 @@ buildPythonPackage rec {
   meta = with lib; {
     description = "Non-fullscreen command-line selection menu";
     homepage = "https://github.com/sebageek/clintermission";
+    changelog = "https://github.com/sebageek/clintermission/releases/tag/v${version}";
     license = licenses.asl20;
     maintainers = with maintainers; [ SuperSandro2000 ];
   };