mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 13:41:26 +00:00
46420bbaa3
treewide replacement of stdenv.mkDerivation rec { name = "*-${version}"; version = "*"; to pname
27 lines
653 B
Nix
27 lines
653 B
Nix
{ libX11, libXfixes, stdenv, fetchFromGitHub }:
|
|
stdenv.mkDerivation rec {
|
|
pname = "clipnotify";
|
|
version = "git-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 = with stdenv.lib; {
|
|
description = "Notify on new X clipboard events";
|
|
inherit (src.meta) homepage;
|
|
maintainers = with maintainers; [ jb55 ];
|
|
license = licenses.publicDomain;
|
|
};
|
|
}
|