2021-01-15 22:18:51 +00:00
|
|
|
{ libX11, libXfixes, lib, stdenv, fetchFromGitHub }:
|
2020-04-24 23:36:52 +00:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "clipnotify";
|
2021-12-06 16:07:01 +00:00
|
|
|
version = "unstable-2018-02-20";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "cdown";
|
2021-12-06 16:07:01 +00:00
|
|
|
repo = "clipnotify";
|
|
|
|
rev = "9cb223fbe494c5b71678a9eae704c21a97e3bddd";
|
2020-04-24 23:36:52 +00:00
|
|
|
sha256 = "1x9avjq0fgw0svcbw6b6873qnsqxbacls9sipmcv86xia4bxh8dn";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ libX11 libXfixes ];
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
mkdir -p $out/bin
|
|
|
|
cp clipnotify $out/bin
|
|
|
|
'';
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Notify on new X clipboard events";
|
|
|
|
inherit (src.meta) homepage;
|
|
|
|
maintainers = with maintainers; [ jb55 ];
|
|
|
|
license = licenses.publicDomain;
|
|
|
|
};
|
|
|
|
}
|