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