mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 22:03:54 +03:00
rofimoji: init at 4.3.0
This commit is contained in:
parent
d93e6842d4
commit
2870231e08
45
pkgs/applications/misc/rofimoji/default.nix
Normal file
45
pkgs/applications/misc/rofimoji/default.nix
Normal file
@ -0,0 +1,45 @@
|
||||
{ buildPythonApplication
|
||||
, fetchFromGitHub
|
||||
, lib
|
||||
|
||||
, waylandSupport ? true
|
||||
, x11Support ? true
|
||||
|
||||
, ConfigArgParse
|
||||
, pyxdg
|
||||
, rofi
|
||||
, wl-clipboard
|
||||
, wtype
|
||||
, xdotool
|
||||
, xsel
|
||||
}:
|
||||
|
||||
buildPythonApplication rec {
|
||||
pname = "rofimoji";
|
||||
version = "4.3.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "fdw";
|
||||
repo = "rofimoji";
|
||||
rev = version;
|
||||
sha256 = "08ayndpifr04njpijc5n5ii5nvibfpab39p6ngyyj0pb43792a8j";
|
||||
};
|
||||
|
||||
# `rofi` and the `waylandSupport` and `x11Support` dependencies
|
||||
# contain binaries needed at runtime.
|
||||
propagatedBuildInputs = with lib; [ ConfigArgParse pyxdg rofi ]
|
||||
++ optionals waylandSupport [ wl-clipboard wtype ]
|
||||
++ optionals x11Support [ xdotool xsel ];
|
||||
|
||||
# The 'extractors' sub-module is used for development
|
||||
# and has additional dependencies.
|
||||
postPatch = "rm -rf extractors";
|
||||
|
||||
meta = with lib; {
|
||||
description = "A simple emoji and character picker for rofi";
|
||||
homepage = "https://github.com/fdw/rofimoji";
|
||||
license = licenses.mit;
|
||||
platforms = platforms.linux;
|
||||
maintainers = with maintainers; [ justinlovinger ];
|
||||
};
|
||||
}
|
@ -23077,6 +23077,10 @@ in
|
||||
|
||||
rofi-systemd = callPackage ../tools/system/rofi-systemd { };
|
||||
|
||||
rofimoji = callPackage ../applications/misc/rofimoji {
|
||||
inherit (python3Packages) buildPythonApplication ConfigArgParse pyxdg;
|
||||
};
|
||||
|
||||
rootlesskit = callPackage ../tools/virtualization/rootlesskit {};
|
||||
|
||||
rpcs3 = libsForQt514.callPackage ../misc/emulators/rpcs3 { };
|
||||
|
Loading…
Reference in New Issue
Block a user