about summary refs log tree commit diff
path: root/pkgs/tools/wayland/sirula
diff options
context:
space:
mode:
authorTom <twitchyliquid64@ciphersink.net>2021-08-01 15:28:44 -0700
committertomberek <tomberek@users.noreply.github.com>2021-08-02 22:00:11 -0400
commitfc8a8266d798da8e1bcf432f451db0155356b788 (patch)
tree8b734999a14f2016720b82b316282303519e595c /pkgs/tools/wayland/sirula
parent8e88b57e054c5ffcfb7222c5c2e44673fbf7ed5f (diff)
sirula: init at unstable-2021-07-11
This commit packages sirula, a simple app launcher for wayland.
Diffstat (limited to 'pkgs/tools/wayland/sirula')
-rw-r--r--pkgs/tools/wayland/sirula/default.nix32
1 files changed, 32 insertions, 0 deletions
diff --git a/pkgs/tools/wayland/sirula/default.nix b/pkgs/tools/wayland/sirula/default.nix
new file mode 100644
index 0000000000000..b58f37368f034
--- /dev/null
+++ b/pkgs/tools/wayland/sirula/default.nix
@@ -0,0 +1,32 @@
+{ lib
+, fetchFromGitHub
+, rustPlatform
+, pkg-config
+, gtk3
+, gtk-layer-shell
+}:
+
+rustPlatform.buildRustPackage rec {
+  pname = "sirula";
+  version = "unstable-2021-07-11";
+
+  src = fetchFromGitHub {
+    owner = "DorianRudolph";
+    repo = "sirula";
+    rev = "574725bc307fc704c42380cd0fa50b0b80c4764d";
+    sha256 = "1m58j1hymjw4l2z1jdfirw1vb3rblc1qffpvc2lqy99frfz0dlvp";
+  };
+
+  cargoSha256 = "0wk90p20qkbpr866h8cvdshr8cl2kmc3dh2zxws5mlsh3sx2ld4w";
+
+  nativeBuildInputs = [ pkg-config ];
+
+  buildInputs = [ gtk3 gtk-layer-shell ];
+
+  meta = with lib; {
+    description = "Simple app launcher for wayland written in rust";
+    homepage = "https://github.com/DorianRudolph/sirula";
+    license = with licenses; [ gpl3Plus ];
+    maintainers = with maintainers; [ twitchyliquid64 ];
+  };
+}