2016-09-20 03:06:30 +00:00
|
|
|
{stdenv, lib, fetchFromGitHub, libX11, autoreconfHook }:
|
2004-09-21 16:27:31 +00:00
|
|
|
|
2016-09-20 03:06:30 +00:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "xsel-unstable-${version}";
|
|
|
|
|
|
|
|
version = "2016-09-02";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "kfish";
|
|
|
|
repo = "xsel";
|
|
|
|
rev = "aa7f57eed805adb09e9c59c8ea841870e8206b81";
|
|
|
|
sha256 = "04mrc8j0rr7iy1k6brfxnx26pmxm800gh4nqrxn6j2lz6vd5y9m5";
|
2004-09-21 16:27:31 +00:00
|
|
|
};
|
|
|
|
|
2017-09-05 21:26:13 +00:00
|
|
|
nativeBuildInputs = [ autoreconfHook ];
|
|
|
|
buildInputs = [ libX11 ];
|
2016-09-20 03:06:30 +00:00
|
|
|
|
|
|
|
# We need a README file, otherwise autoconf complains.
|
|
|
|
postUnpack = ''
|
|
|
|
mv $sourceRoot/README{.md,}
|
|
|
|
'';
|
2016-08-02 16:06:29 +00:00
|
|
|
|
2016-09-20 03:06:30 +00:00
|
|
|
meta = with lib; {
|
|
|
|
description = "Command-line program for getting and setting the contents of the X selection";
|
2017-08-01 20:03:30 +00:00
|
|
|
homepage = http://www.kfish.org/software/xsel;
|
2016-09-20 03:06:30 +00:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = [ maintainers.cstrahan ];
|
|
|
|
platforms = lib.platforms.unix;
|
2016-08-02 16:06:29 +00:00
|
|
|
};
|
2004-09-21 16:27:31 +00:00
|
|
|
}
|