at 18.09-beta 26 lines 663 B view raw
1{ libX11, libXfixes, stdenv, fetchFromGitHub }: 2stdenv.mkDerivation rec { 3 name = "clipnotify-${version}"; 4 version = "git-2018-02-20"; 5 6 src = fetchFromGitHub { 7 owner = "cdown"; 8 repo = "clipnotify"; 9 rev = "9cb223fbe494c5b71678a9eae704c21a97e3bddd"; 10 sha256 = "1x9avjq0fgw0svcbw6b6873qnsqxbacls9sipmcv86xia4bxh8dn"; 11 }; 12 13 buildInputs = [ libX11 libXfixes ]; 14 15 installPhase = '' 16 mkdir -p $out/bin 17 cp clipnotify $out/bin 18 ''; 19 20 meta = with stdenv.lib; { 21 description = "Notify on new X clipboard events"; 22 inherit (src.meta) homepage; 23 maintainers = with maintainers; [ jb55 ]; 24 license = licenses.publicDomain; 25 }; 26}