nixpkgs/pkgs/tools/misc/xsel/default.nix

25 lines
688 B
Nix
Raw Normal View History

2020-10-08 13:52:51 +00:00
{ stdenv, lib, fetchFromGitHub, libX11, autoreconfHook }:
2019-08-13 21:52:01 +00:00
stdenv.mkDerivation {
pname = "xsel-unstable";
2020-10-08 13:52:51 +00:00
version = "2020-05-27";
src = fetchFromGitHub {
owner = "kfish";
repo = "xsel";
2020-10-08 13:52:51 +00:00
rev = "062e6d373537c60829fa9b5dcddbcd942986b3c3";
sha256 = "0fbf80zsc22vcqp59r9fdx4icxhrkv7l3lphw83326jrmkzy6kri";
};
nativeBuildInputs = [ autoreconfHook ];
buildInputs = [ libX11 ];
meta = with lib; {
description = "Command-line program for getting and setting the contents of the X selection";
homepage = "http://www.kfish.org/software/xsel";
license = licenses.mit;
maintainers = [ maintainers.cstrahan ];
platforms = lib.platforms.unix;
};
}