rofimoji: 4.3.0 -> 5.1.0

This commit is contained in:
wedens 2021-05-22 12:32:32 +07:00 committed by Matthieu Coudron
parent f8ed803385
commit 0de023b4f9
2 changed files with 4 additions and 6 deletions

View File

@ -6,7 +6,6 @@
, x11Support ? true
, ConfigArgParse
, pyxdg
, rofi
, wl-clipboard
, wtype
@ -16,18 +15,18 @@
buildPythonApplication rec {
pname = "rofimoji";
version = "4.3.0";
version = "5.1.0";
src = fetchFromGitHub {
owner = "fdw";
repo = "rofimoji";
rev = version;
sha256 = "08ayndpifr04njpijc5n5ii5nvibfpab39p6ngyyj0pb43792a8j";
sha256 = "sha256-bLV0hYDjVH11euvNHUHZFcCVywuceRljkCqyX4aANVs=";
};
# `rofi` and the `waylandSupport` and `x11Support` dependencies
# contain binaries needed at runtime.
propagatedBuildInputs = with lib; [ ConfigArgParse pyxdg rofi ]
propagatedBuildInputs = with lib; [ ConfigArgParse rofi ]
++ optionals waylandSupport [ wl-clipboard wtype ]
++ optionals x11Support [ xdotool xsel ];
@ -35,7 +34,6 @@ buildPythonApplication rec {
# and has additional dependencies.
postPatch = ''
rm -rf extractors
substituteInPlace setup.py --replace 'pyxdg==0.26' 'pyxdg'
'';
# no tests executed

View File

@ -26063,7 +26063,7 @@ in
rofi-systemd = callPackage ../tools/system/rofi-systemd { };
rofimoji = callPackage ../applications/misc/rofimoji {
inherit (python3Packages) buildPythonApplication ConfigArgParse pyxdg;
inherit (python3Packages) buildPythonApplication ConfigArgParse;
};
rootlesskit = callPackage ../tools/virtualization/rootlesskit {};