about summary refs log tree commit diff
path: root/pkgs/tools/misc/wayshot
diff options
context:
space:
mode:
authorMostly Void <7rat13@gmail.com>2022-07-22 09:36:23 +0530
committerMostly Void <7rat13@gmail.com>2022-07-22 09:51:20 +0530
commit9f191401d42511748bee8e0bc1569273e36cd49b (patch)
tree19fb68df6af56285f497c2310581e9798e8a30ce /pkgs/tools/misc/wayshot
parent09da2863e0b983b2cb19fdd5bb46dfed75310090 (diff)
wayshot: init at 1.1.9
Diffstat (limited to 'pkgs/tools/misc/wayshot')
-rw-r--r--pkgs/tools/misc/wayshot/default.nix23
1 files changed, 23 insertions, 0 deletions
diff --git a/pkgs/tools/misc/wayshot/default.nix b/pkgs/tools/misc/wayshot/default.nix
new file mode 100644
index 0000000000000..659ad3add4100
--- /dev/null
+++ b/pkgs/tools/misc/wayshot/default.nix
@@ -0,0 +1,23 @@
+{ lib, fetchFromGitHub, rustPlatform }:
+
+rustPlatform.buildRustPackage rec {
+  pname = "wayshot";
+  version = "1.1.9";
+
+  src = fetchFromGitHub {
+    owner = "waycrate";
+    repo = pname;
+    rev = version;
+    hash = "sha256-4tzL/9p/qBCSWX+O7wZlKi9qb7mIt+hoxcQY7cWlFoU=";
+  };
+
+  cargoHash = "sha256-/FAI2VUoyQ1+3CuA7sEpeF5oeJdGB9CRZEp1leLnTh4=";
+
+  meta = with lib; {
+    description = "A native, blazing-fast screenshot tool for wlroots based compositors such as sway and river";
+    homepage = "https://github.com/waycrate/wayshot";
+    license = licenses.bsd2;
+    maintainers = [ maintainers.dit7ya ];
+    platforms = platforms.linux;
+  };
+}