about summary refs log tree commit diff
path: root/pkgs/tools/wayland
diff options
context:
space:
mode:
authorSandro <sandro.jaeckel@gmail.com>2021-09-22 21:58:46 +0200
committerGitHub <noreply@github.com>2021-09-22 21:58:46 +0200
commit586247ebaf8a28d1af28bc45643e2dfdfc3ac2b5 (patch)
tree14be4fd4274a93bbf935e8c7d9565f97d452b1c5 /pkgs/tools/wayland
parent0b8fefad6b666b8c975d56389045fbd3d65dd08f (diff)
parent2e4ab91111f40a72765eda1731286bab3d7d0185 (diff)
Merge pull request #138752 from dit7ya/master
cliphist: init at 0.1.0
Diffstat (limited to 'pkgs/tools/wayland')
-rw-r--r--pkgs/tools/wayland/cliphist/default.nix23
1 files changed, 23 insertions, 0 deletions
diff --git a/pkgs/tools/wayland/cliphist/default.nix b/pkgs/tools/wayland/cliphist/default.nix
new file mode 100644
index 0000000000000..44a870db387ce
--- /dev/null
+++ b/pkgs/tools/wayland/cliphist/default.nix
@@ -0,0 +1,23 @@
+{ lib, buildGoModule, fetchFromGitHub }:
+
+buildGoModule rec {
+  pname = "cliphist";
+  version = "0.1.0";
+
+  src = fetchFromGitHub {
+    owner = "sentriz";
+    repo = pname;
+    rev = "v${version}";
+    sha256 = "sha256-CZW7dhOd7E74VNjnvhxvSSUZQtbkGi4uRUM9YQCuJZw=";
+  };
+
+  vendorSha256 = "sha256-UrKSDvskGwHjwkb/fjvaJZ8xXFD98BFeSJxwJpc8A+M=";
+
+  meta = with lib; {
+    description = "Wayland clipboard manager";
+    homepage = "https://github.com/sentriz/cliphist";
+    license = licenses.gpl3Only;
+    platforms = platforms.linux;
+    maintainers = with maintainers; [ dit7ya ];
+  };
+}