about summary refs log tree commit diff
path: root/nixpkgs/pkgs/tools/misc/xsel/default.nix
blob: cd4d709fb7690091b24188583b78d78d4c9cabfd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{stdenv, lib, fetchFromGitHub, libX11, autoreconfHook }:

stdenv.mkDerivation rec {
  pname = "xsel-unstable";

  version = "2018-01-10";

  src = fetchFromGitHub {
    owner = "kfish";
    repo = "xsel";
    rev = "9bfc13d64b5acb92c6648c696a9d9260fcbecc65";
    sha256 = "05ms34by5hxznnpvmvhgp6llvlkz0zw4sq6c4bgwr82lj140lscm";
  };

  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;
  };
}