git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #98972 from JustinLovinger/rofimoji

rofimoji: init at 4.3.0, wtype: init at 2020-09-14

commit9f4962392aaddffde0c5c7fd4a941a676c89a514 authorWORLDofPEACE <worldofpeace@protonmail.ch> dateSun 27 Sep 2020, 19:02 (6 years ago) parent16b0dd62870231
4 files changed+91
maintainers/maintainer-list.nix+6 pkgs/applications/misc/rofimoji/default.nix+45 pkgs/tools/wayland/wtype/default.nix+34 pkgs/top-level/all-packages.nix+6
maintainers/maintainer-list.nix+6
@@ -4262,6 +4262,12 @@
42624262 githubId = 39434424;
42634263 name = "Felix Springer";
42644264 };
4265+ justinlovinger = {
4266+ email = "git@justinlovinger.com";
4267+ github = "JustinLovinger";
4268+ githubID = 7183441;
4269+ name = "Justin Lovinger";
4270+ };
42654271 justinwoo = {
42664272 email = "moomoowoo@gmail.com";
42674273 github = "justinwoo";
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/tools/wayland/wtype/default.nixnew file+34
@@ -0,0 +1,34 @@
1+{ lib
2+, stdenv
3+, fetchFromGitHub
4+
5+, meson
6+, ninja
7+, pkg-config
8+
9+, libxkbcommon
10+, wayland
11+}:
12+
13+stdenv.mkDerivation {
14+ pname = "wtype";
15+ version = "2020-09-14";
16+
17+ src = fetchFromGitHub {
18+ owner = "atx";
19+ repo = "wtype";
20+ rev = "74071228dea4047157ae82960a2541ecc431e4a1";
21+ sha256 = "1ncspxpnbwv1vkfmxs58q7aykjb6skaa1pg5sw5h798pss5j80rd";
22+ };
23+
24+ nativeBuildInputs = [ meson ninja pkg-config wayland ];
25+ buildInputs = [ libxkbcommon wayland ];
26+
27+ meta = with lib; {
28+ description = "xdotool type for wayland";
29+ homepage = "https://github.com/atx/wtype";
30+ license = licenses.mit;
31+ platforms = platforms.linux;
32+ maintainers = with maintainers; [ justinlovinger ];
33+ };
34+}
pkgs/top-level/all-packages.nix+6
@@ -3406,6 +3406,8 @@ in
34063406
34073407 wob = callPackage ../tools/misc/wob { };
34083408
3409+ wtype = callPackage ../tools/wayland/wtype { };
3410+
34093411 wrangler = callPackage ../development/tools/wrangler { };
34103412
34113413 xkcdpass = with pythonPackages; toPythonApplication xkcdpass;
@@ -23075,6 +23077,10 @@ in
2307523077
2307623078 rofi-systemd = callPackage ../tools/system/rofi-systemd { };
2307723079
23080+ rofimoji = callPackage ../applications/misc/rofimoji {
23081+ inherit (python3Packages) buildPythonApplication ConfigArgParse pyxdg;
23082+ };
23083+
2307823084 rootlesskit = callPackage ../tools/virtualization/rootlesskit {};
2307923085
2308023086 rpcs3 = libsForQt514.callPackage ../misc/emulators/rpcs3 { };