summary refs log tree commit diff
path: root/pkgs/tools
diff options
context:
space:
mode:
authorMaximilian Bosch <maximilian@mbosch.me>2023-04-29 13:22:03 +0200
committerMaximilian Bosch <maximilian@mbosch.me>2023-04-29 13:22:03 +0200
commit5a1e93e67ff04bf71d1c215295c8383c93f607c1 (patch)
tree7297fe1c8c1b1dcd0c386eae97351594a4231a88 /pkgs/tools
parent1314174d3a1d5c7787acdf9259873f275bcfec5b (diff)
downloadnixpkgs-5a1e93e67ff04bf71d1c215295c8383c93f607c1.tar
nixpkgs-5a1e93e67ff04bf71d1c215295c8383c93f607c1.tar.gz
nixpkgs-5a1e93e67ff04bf71d1c215295c8383c93f607c1.tar.bz2
nixpkgs-5a1e93e67ff04bf71d1c215295c8383c93f607c1.tar.lz
nixpkgs-5a1e93e67ff04bf71d1c215295c8383c93f607c1.tar.xz
nixpkgs-5a1e93e67ff04bf71d1c215295c8383c93f607c1.tar.zst
nixpkgs-5a1e93e67ff04bf71d1c215295c8383c93f607c1.zip
clipman: 1.6.1 -> 1.6.2, re-add myself as maintainer, install man-pages
ChangeLog: https://github.com/yory8/clipman/releases/tag/v1.6.2

While it's not the ideal tool, it's the closest one to what I want to
have (clipboard contents being retained after closing a terminal on sway),
so I guess I'll have to stick to it for now. And since I already
packaged it, I decided to just become a maintainer again.

There are no functional changes in this release, however the man-page
got improved. Adapted the package to also install it.
Diffstat (limited to 'pkgs/tools')
-rw-r--r--pkgs/tools/wayland/clipman/default.nix12
1 files changed, 8 insertions, 4 deletions
diff --git a/pkgs/tools/wayland/clipman/default.nix b/pkgs/tools/wayland/clipman/default.nix
index d91699ba729..1382e7d0838 100644
--- a/pkgs/tools/wayland/clipman/default.nix
+++ b/pkgs/tools/wayland/clipman/default.nix
@@ -3,35 +3,39 @@
 , lib
 , wl-clipboard
 , makeWrapper
+, installShellFiles
 }:
 
 buildGoModule rec {
   pname = "clipman";
-  version = "1.6.1";
+  version = "1.6.2";
 
   src = fetchFromGitHub {
     owner = "yory8";
     repo = pname;
     rev = "v${version}";
-    sha256 = "sha256-aZvtgeaS3xxl5/A/Pwlbu0sI7bw2MONbEIK42IDcMy0=";
+    sha256 = "sha256-lahya0w1bgcTnpxANxNT2MIWu5yVUdqQl19kQzwUdAw=";
   };
 
   vendorSha256 = "sha256-Z/sVCJz/igPDdeczC6pemLub6X6z4ZGlBwBmRsEnXKI=";
 
+  outputs = [ "out" "man" ];
+
   doCheck = false;
 
-  nativeBuildInputs = [ makeWrapper ];
+  nativeBuildInputs = [ makeWrapper installShellFiles ];
 
   postInstall = ''
     wrapProgram $out/bin/clipman \
       --prefix PATH : ${lib.makeBinPath [ wl-clipboard ]}
+    installManPage docs/*.1
   '';
 
   meta = with lib; {
     homepage = "https://github.com/yory8/clipman";
     description = "A simple clipboard manager for Wayland";
     license = licenses.gpl3Only;
-    maintainers = with maintainers; [ ];
+    maintainers = with maintainers; [ ma27 ];
     platforms = platforms.linux;
   };
 }