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

View File

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