blob: 74bd082e9e408fed44ef45ef7a9426f879540580 (
plain)
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
31
32
33
34
35
36
|
{
libx11,
libxfixes,
lib,
stdenv,
fetchFromGitHub,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "clipnotify";
version = "0-unstable-2018-02-20";
src = fetchFromGitHub {
owner = "cdown";
repo = "clipnotify";
rev = "9cb223fbe494c5b71678a9eae704c21a97e3bddd";
sha256 = "1x9avjq0fgw0svcbw6b6873qnsqxbacls9sipmcv86xia4bxh8dn";
};
buildInputs = [
libx11
libxfixes
];
installPhase = ''
mkdir -p $out/bin
cp clipnotify $out/bin
'';
meta = {
description = "Notify on new X clipboard events";
inherit (finalAttrs.src.meta) homepage;
maintainers = with lib.maintainers; [ jb55 ];
license = lib.licenses.publicDomain;
mainProgram = "clipnotify";
};
})
|