blob: 1dd2c16cb56e261a2a31bf7bc2cb16990613cd87 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
{ buildGoModule, fetchFromGitHub, lib, wl-clipboard, makeWrapper }:
buildGoModule rec {
pname = "clipman";
version = "1.0.1";
src = fetchFromGitHub {
owner = "yory8";
repo = pname;
rev = "v${version}";
sha256 = "1qv7mncb8ggyxrxqxax3gbcfxzk8b4zj2n8rp2xpghsynw4j740w";
};
modSha256 = "0qwrj6wqy32v65k3sbp24frhrcq6wfk38ckmy6wfmhgcix47fzj2";
nativeBuildInputs = [ makeWrapper ];
postInstall = ''
wrapProgram $out/bin/clipman \
--prefix PATH : ${lib.makeBinPath [ wl-clipboard ]}
'';
meta = with lib; {
homepage = https://github.com/yory8/clipman;
license = licenses.gpl3;
maintainers = with maintainers; [ ma27 ];
description = "A simple clipboard manager for Wayland";
platforms = platforms.linux;
};
}
|