about summary refs log tree commit diff
path: root/pkgs/applications/misc/rofimoji/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/applications/misc/rofimoji/default.nix')
-rw-r--r--pkgs/applications/misc/rofimoji/default.nix13
1 files changed, 8 insertions, 5 deletions
diff --git a/pkgs/applications/misc/rofimoji/default.nix b/pkgs/applications/misc/rofimoji/default.nix
index 371da82e2b070..eca870ed2ad0b 100644
--- a/pkgs/applications/misc/rofimoji/default.nix
+++ b/pkgs/applications/misc/rofimoji/default.nix
@@ -2,6 +2,7 @@
 , fetchFromGitHub
 , lib
 , python3
+, installShellFiles
 
 , waylandSupport ? true
 , x11Support ? true
@@ -16,18 +17,19 @@
 
 buildPythonApplication rec {
   pname = "rofimoji";
-  version = "5.6.0";
+  version = "6.0.0";
   format = "pyproject";
 
   src = fetchFromGitHub {
     owner = "fdw";
     repo = "rofimoji";
     rev = "refs/tags/${version}";
-    sha256 = "sha256-6W/59DjxrgejHSkNxpruDAws812Vjyf+GePDPbXzVbc=";
+    sha256 = "sha256-8gaoPn43uurZBCex5AQXHShgw46Fx3YM4BIVDjTN8OY=";
   };
 
   nativeBuildInputs = [
-    python3.pkgs.setuptools
+    python3.pkgs.poetry-core
+    installShellFiles
   ];
 
   # `rofi` and the `waylandSupport` and `x11Support` dependencies
@@ -42,8 +44,9 @@ buildPythonApplication rec {
     rm -rf extractors
   '';
 
-  # no tests executed
-  doCheck = false;
+  postInstall = ''
+    installManPage src/picker/docs/rofimoji.1
+  '';
 
   meta = with lib; {
     description = "A simple emoji and character picker for rofi";