Skip to content

Commit 5785b6b

Browse files
authored
cliphist: 0.5.0 -> 0.6.1 (#348887)
2 parents 2986e3c + 49473d4 commit 5785b6b

File tree

2 files changed

+10
-7
lines changed

2 files changed

+10
-7
lines changed

pkgs/tools/wayland/cliphist/default.nix renamed to pkgs/by-name/cl/cliphist/package.nix

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,25 +2,30 @@
22
lib,
33
buildGoModule,
44
fetchFromGitHub,
5+
nix-update-script,
56
}:
67

78
buildGoModule rec {
89
pname = "cliphist";
9-
version = "0.5.0";
10+
version = "0.6.1";
1011

1112
src = fetchFromGitHub {
1213
owner = "sentriz";
13-
repo = pname;
14-
rev = "v${version}";
15-
sha256 = "sha256-U78G7X9x3GQg3qcBINni8jWa0wSXQu+TjYChuRPPcLE=";
14+
repo = "cliphist";
15+
rev = "refs/tags/v${version}";
16+
hash = "sha256-tImRbWjYCdIY8wVMibc5g5/qYZGwgT9pl4pWvY7BDlI=";
1617
};
1718

18-
vendorHash = "sha256-O4jOFWygmFxm8ydOq1xtB1DESyWpFGXeSp8a6tT+too=";
19+
vendorHash = "sha256-gG8v3JFncadfCEUa7iR6Sw8nifFNTciDaeBszOlGntU=";
1920

2021
postInstall = ''
2122
cp ${src}/contrib/* $out/bin/
2223
'';
2324

25+
passthru = {
26+
updateScript = nix-update-script { };
27+
};
28+
2429
meta = with lib; {
2530
description = "Wayland clipboard manager";
2631
homepage = "https://github.com/sentriz/cliphist";

pkgs/top-level/all-packages.nix

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4416,8 +4416,6 @@ with pkgs;
44164416

44174417
clapboard = callPackage ../tools/wayland/clapboard { };
44184418

4419-
cliphist = callPackage ../tools/wayland/cliphist { };
4420-
44214419
clipman = callPackage ../tools/wayland/clipman { };
44224420

44234421
kabeljau = callPackage ../games/kabeljau { };

0 commit comments

Comments
 (0)