mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 06:45:16 +01:00
3bc13a6170
cliphist has some scrips that do some of the work of integrating it with fzf, rofi & wofi. They weren't present in the derivation yet, so this commit is adding them. scripts: https://github.com/sentriz/cliphist/tree/master/contrib
32 lines
683 B
Nix
32 lines
683 B
Nix
{
|
|
lib,
|
|
buildGoModule,
|
|
fetchFromGitHub,
|
|
}:
|
|
|
|
buildGoModule rec {
|
|
pname = "cliphist";
|
|
version = "0.5.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "sentriz";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "sha256-U78G7X9x3GQg3qcBINni8jWa0wSXQu+TjYChuRPPcLE=";
|
|
};
|
|
|
|
vendorHash = "sha256-O4jOFWygmFxm8ydOq1xtB1DESyWpFGXeSp8a6tT+too=";
|
|
|
|
postInstall = ''
|
|
cp ${src}/contrib/* $out/bin/
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description = "Wayland clipboard manager";
|
|
homepage = "https://github.com/sentriz/cliphist";
|
|
license = licenses.gpl3Only;
|
|
platforms = platforms.linux;
|
|
maintainers = with maintainers; [ dit7ya ];
|
|
mainProgram = "cliphist";
|
|
};
|
|
}
|