nixpkgs/pkgs/tools/misc/xclip/default.nix
Rob Vermaas 1ecb2a8782 Fix xclip hash, make revision explicit, in stead of depending on HEAD.
(cherry picked from commit c9ef3b51a3e910f3850ab10378c8b58f0d2d97e8)
2016-02-17 12:00:20 +00:00

22 lines
634 B
Nix

{ stdenv, fetchsvn, xlibsWrapper, libXmu, autoreconfHook }:
stdenv.mkDerivation rec {
# The last release from 2012, 0.12, lacks '-targets'
name = "xclip-0.12-svn-20140209";
src = fetchsvn {
url = "svn://svn.code.sf.net/p/xclip/code/trunk";
rev = "87";
sha256 = "1rbcdgr73916wvzfgqjs1jhgzk8qs1yw2iiqy7ifrkjafhi37w6b";
};
buildInputs = [ xlibsWrapper libXmu autoreconfHook ];
meta = {
description = "Tool to access the X clipboard from a console application";
homepage = http://sourceforge.net/projects/xclip/;
license = stdenv.lib.licenses.gpl2;
platforms = stdenv.lib.platforms.all;
};
}