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

26 lines
688 B
Nix
Raw Normal View History

{stdenv, lib, fetchFromGitHub, libX11, autoreconfHook }:
2019-08-13 21:52:01 +00:00
stdenv.mkDerivation {
pname = "xsel-unstable";
2019-11-02 17:30:51 +00:00
version = "2019-08-21";
src = fetchFromGitHub {
owner = "kfish";
repo = "xsel";
2019-11-02 17:30:51 +00:00
rev = "ef01f3c72a195dbce682184c842b81b17d7d7ad1";
sha256 = "191qa6022b7nww3bicfxpgp4d9x6c8s3sgixi780383ghkxds08c";
};
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;
};
}