Merge pull request #260215 from cafkafk/cafk-xsel-main
xsel: 2020-05-27 -> 1.2.1, add mainProgram, maintainer
This commit is contained in:
commit
3450544266
1 changed files with 20 additions and 10 deletions
|
@ -1,24 +1,34 @@
|
||||||
{ stdenv, lib, fetchFromGitHub, libX11, autoreconfHook }:
|
{
|
||||||
|
lib,
|
||||||
|
stdenv,
|
||||||
|
fetchFromGitHub,
|
||||||
|
pkg-config,
|
||||||
|
autoreconfHook,
|
||||||
|
libX11,
|
||||||
|
libXt
|
||||||
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation (finalAttrs: {
|
||||||
pname = "xsel-unstable";
|
pname = "xsel";
|
||||||
version = "2020-05-27";
|
version = "1.2.1";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "kfish";
|
owner = "kfish";
|
||||||
repo = "xsel";
|
repo = "xsel";
|
||||||
rev = "062e6d373537c60829fa9b5dcddbcd942986b3c3";
|
rev = finalAttrs.version;
|
||||||
sha256 = "0fbf80zsc22vcqp59r9fdx4icxhrkv7l3lphw83326jrmkzy6kri";
|
hash = "sha256-F2w/Ad8IWxJNH90/0a9+1M8bLfn1M3m4TH3PNpQmEFI=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ autoreconfHook ];
|
nativeBuildInputs = [pkg-config autoreconfHook];
|
||||||
buildInputs = [ libX11 ];
|
buildInputs = [libX11 libXt];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Command-line program for getting and setting the contents of the X selection";
|
description = "Command-line program for getting and setting the contents of the X selection";
|
||||||
homepage = "http://www.kfish.org/software/xsel";
|
homepage = "http://www.kfish.org/software/xsel";
|
||||||
|
changelog = "https://github.com/kfish/xsel/releases/tag/${finalAttrs.version}";
|
||||||
license = licenses.mit;
|
license = licenses.mit;
|
||||||
maintainers = [ ];
|
maintainers = with maintainers; [cafkafk];
|
||||||
platforms = lib.platforms.unix;
|
platforms = lib.platforms.unix;
|
||||||
|
mainProgram = "xsel";
|
||||||
};
|
};
|
||||||
}
|
})
|
||||||
|
|
Loading…
Reference in a new issue