mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 21:33:03 +03:00
xsel: 1.2.0 -> git-2016-09-02
The last xsel release was in 2008. Since then, a number of bugs have been fixed. For example, pasting a large chunk of text (>4000 chars) into chrome would cause the current tab to hang indefinitely. A couple examples in the wild: https://github.com/kfish/xsel/issues/14 https://github.com/kfish/xsel/issues/13 https://github.com/kfish/xsel/pull/16 https://bugs.chromium.org/p/chromium/issues/detail?id=515401 https://github.com/electron/electron/issues/3116 https://github.com/neovim/neovim/issues/4719
This commit is contained in:
parent
3f02cbbcaf
commit
4a4fd2747c
@ -1,15 +1,29 @@
|
|||||||
{stdenv, fetchurl, xlibsWrapper}:
|
{stdenv, lib, fetchFromGitHub, libX11, autoreconfHook }:
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation rec {
|
||||||
name = "xsel-1.2.0";
|
name = "xsel-unstable-${version}";
|
||||||
src = fetchurl {
|
|
||||||
url = http://www.vergenet.net/~conrad/software/xsel/download/xsel-1.2.0.tar.gz;
|
version = "2016-09-02";
|
||||||
sha256 = "070lbcpw77j143jrbkh0y1v10ppn1jwmjf92800w7x42vh4cw9xr";
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "kfish";
|
||||||
|
repo = "xsel";
|
||||||
|
rev = "aa7f57eed805adb09e9c59c8ea841870e8206b81";
|
||||||
|
sha256 = "04mrc8j0rr7iy1k6brfxnx26pmxm800gh4nqrxn6j2lz6vd5y9m5";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [xlibsWrapper];
|
buildInputs = [ libX11 autoreconfHook ];
|
||||||
|
|
||||||
meta = {
|
# We need a README file, otherwise autoconf complains.
|
||||||
platforms = stdenv.lib.platforms.unix;
|
postUnpack = ''
|
||||||
|
mv $sourceRoot/README{.md,}
|
||||||
|
'';
|
||||||
|
|
||||||
|
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;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user