diff options
author | Alyssa Ross <hi@alyssa.is> | 2023-11-21 16:12:21 +0100 |
---|---|---|
committer | Alyssa Ross <hi@alyssa.is> | 2023-11-21 16:12:48 +0100 |
commit | 048a4cd441a59cbf89defb18bb45c9f0b4429b35 (patch) | |
tree | f8f5850ff05521ab82d65745894714a8796cbfb6 /pkgs/tools/misc/xsel | |
parent | 030c5028b07afcedce7c5956015c629486cc79d9 (diff) | |
parent | 4c2d05dd6435d449a3651a6dd314d9411b5f8146 (diff) | |
download | nixpkgs-rootfs.tar nixpkgs-rootfs.tar.gz nixpkgs-rootfs.tar.bz2 nixpkgs-rootfs.tar.lz nixpkgs-rootfs.tar.xz nixpkgs-rootfs.tar.zst nixpkgs-rootfs.zip |
Signed-off-by: Alyssa Ross <hi@alyssa.is>
Diffstat (limited to 'pkgs/tools/misc/xsel')
-rw-r--r-- | pkgs/tools/misc/xsel/default.nix | 30 |
1 files changed, 20 insertions, 10 deletions
diff --git a/pkgs/tools/misc/xsel/default.nix b/pkgs/tools/misc/xsel/default.nix index 69061eb15b8..f32d0a81a61 100644 --- a/pkgs/tools/misc/xsel/default.nix +++ b/pkgs/tools/misc/xsel/default.nix @@ -1,24 +1,34 @@ -{ stdenv, lib, fetchFromGitHub, libX11, autoreconfHook }: +{ + lib, + stdenv, + fetchFromGitHub, + pkg-config, + autoreconfHook, + libX11, + libXt +}: -stdenv.mkDerivation { - pname = "xsel-unstable"; - version = "2020-05-27"; +stdenv.mkDerivation (finalAttrs: { + pname = "xsel"; + version = "1.2.1"; src = fetchFromGitHub { owner = "kfish"; repo = "xsel"; - rev = "062e6d373537c60829fa9b5dcddbcd942986b3c3"; - sha256 = "0fbf80zsc22vcqp59r9fdx4icxhrkv7l3lphw83326jrmkzy6kri"; + rev = finalAttrs.version; + hash = "sha256-F2w/Ad8IWxJNH90/0a9+1M8bLfn1M3m4TH3PNpQmEFI="; }; - nativeBuildInputs = [ autoreconfHook ]; - buildInputs = [ libX11 ]; + nativeBuildInputs = [pkg-config autoreconfHook]; + buildInputs = [libX11 libXt]; meta = with lib; { description = "Command-line program for getting and setting the contents of the X selection"; homepage = "http://www.kfish.org/software/xsel"; + changelog = "https://github.com/kfish/xsel/releases/tag/${finalAttrs.version}"; license = licenses.mit; - maintainers = [ maintainers.cstrahan ]; + maintainers = with maintainers; [cafkafk]; platforms = lib.platforms.unix; + mainProgram = "xsel"; }; -} +}) |