git.iko.soy/typeable/nixpkgs
on master help sign in
rofimoji: init at 4.3.0
commit2870231e08557463c6c2f09c6bebab24a3ff0542 authorJustin Lovinger <git@justinlovinger.com> dateSun 27 Sep 2020, 18:37 (6 years ago) parentd93e684
2 files changed+49
pkgs/applications/misc/rofimoji/default.nix+45 pkgs/top-level/all-packages.nix+4
pkgs/applications/misc/rofimoji/default.nixnew file+45
@@ -0,0 +1,45 @@
1+{ buildPythonApplication
2+, fetchFromGitHub
3+, lib
4+
5+, waylandSupport ? true
6+, x11Support ? true
7+
8+, ConfigArgParse
9+, pyxdg
10+, rofi
11+, wl-clipboard
12+, wtype
13+, xdotool
14+, xsel
15+}:
16+
17+buildPythonApplication rec {
18+ pname = "rofimoji";
19+ version = "4.3.0";
20+
21+ src = fetchFromGitHub {
22+ owner = "fdw";
23+ repo = "rofimoji";
24+ rev = version;
25+ sha256 = "08ayndpifr04njpijc5n5ii5nvibfpab39p6ngyyj0pb43792a8j";
26+ };
27+
28+ # `rofi` and the `waylandSupport` and `x11Support` dependencies
29+ # contain binaries needed at runtime.
30+ propagatedBuildInputs = with lib; [ ConfigArgParse pyxdg rofi ]
31+ ++ optionals waylandSupport [ wl-clipboard wtype ]
32+ ++ optionals x11Support [ xdotool xsel ];
33+
34+ # The 'extractors' sub-module is used for development
35+ # and has additional dependencies.
36+ postPatch = "rm -rf extractors";
37+
38+ meta = with lib; {
39+ description = "A simple emoji and character picker for rofi";
40+ homepage = "https://github.com/fdw/rofimoji";
41+ license = licenses.mit;
42+ platforms = platforms.linux;
43+ maintainers = with maintainers; [ justinlovinger ];
44+ };
45+}
pkgs/top-level/all-packages.nix+4
@@ -23077,6 +23077,10 @@ in
2307723077
2307823078 rofi-systemd = callPackage ../tools/system/rofi-systemd { };
2307923079
23080+ rofimoji = callPackage ../applications/misc/rofimoji {
23081+ inherit (python3Packages) buildPythonApplication ConfigArgParse pyxdg;
23082+ };
23083+
2308023084 rootlesskit = callPackage ../tools/virtualization/rootlesskit {};
2308123085
2308223086 rpcs3 = libsForQt514.callPackage ../misc/emulators/rpcs3 { };