2021-01-11 07:54:33 +00:00
|
|
|
{ libX11, libXfixes, lib, stdenv, fetchFromGitHub }:
|
2018-07-13 20:46:59 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "clipnotify";
|
2021-11-10 21:21:47 +00:00
|
|
|
version = "unstable-2018-02-20";
|
2018-07-13 20:46:59 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "cdown";
|
2021-11-10 21:21:47 +00:00
|
|
|
repo = "clipnotify";
|
|
|
|
rev = "9cb223fbe494c5b71678a9eae704c21a97e3bddd";
|
2018-07-13 20:46:59 +01:00
|
|
|
sha256 = "1x9avjq0fgw0svcbw6b6873qnsqxbacls9sipmcv86xia4bxh8dn";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ libX11 libXfixes ];
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
mkdir -p $out/bin
|
|
|
|
cp clipnotify $out/bin
|
|
|
|
'';
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2018-07-13 20:46:59 +01:00
|
|
|
description = "Notify on new X clipboard events";
|
|
|
|
inherit (src.meta) homepage;
|
|
|
|
maintainers = with maintainers; [ jb55 ];
|
|
|
|
license = licenses.publicDomain;
|
|
|
|
};
|
|
|
|
}
|