fedora-csb-system-manager
1{
2 lib,
3 buildGoModule,
4 fetchFromGitHub,
5}:
6
7buildGoModule rec {
8 pname = "cliphist-cleanup";
9 version = "0.1.0";
10
11 src = fetchFromGitHub {
12 owner = "vdemeester";
13 repo = "x";
14 rev = "be677194b497b7610395f9f269418224a9ad999d";
15 hash = "sha256-AfmqSrI7XicmM+tiAvB6bcAR4HHbQmxqeTTEyEXgdng=";
16 };
17
18 vendorHash = "sha256-hocnLCzWN8srQcO3BMNkd2lt0m54Qe7sqAhUxVZlz1k=";
19
20 # Build only the cliphist-cleanup command
21 subPackages = [ "cmd/cliphist-cleanup" ];
22
23 meta = {
24 description = "Clean up cliphist clipboard history by pattern matching";
25 homepage = "https://github.com/vdemeester/x";
26 license = lib.licenses.mit;
27 platforms = lib.platforms.linux;
28 mainProgram = "cliphist-cleanup";
29 };
30}