From 45bbc2e2fcf0513172921e0451940b73cf32b71a Mon Sep 17 00:00:00 2001 From: Nikita Ursol Date: Sat, 6 Feb 2021 11:48:12 +0200 Subject: [PATCH] xst: 0.7.2 -> 0.8.4.1 --- .../applications/terminal-emulators/st/xst.nix | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-) diff --git a/pkgs/applications/terminal-emulators/st/xst.nix b/pkgs/applications/terminal-emulators/st/xst.nix index 9634a3be6b6..baa71a09b9e 100644 --- a/pkgs/applications/terminal-emulators/st/xst.nix +++ b/pkgs/applications/terminal-emulators/st/xst.nix @@ -1,18 +1,14 @@ { lib, stdenv, fetchFromGitHub, pkg-config, libX11, ncurses, libXext, libXft, fontconfig }: -with lib; - -let - version = "0.7.2"; - name = "xst-${version}"; -in stdenv.mkDerivation { - inherit name; +stdenv.mkDerivation rec { + pname = "xst"; + version = "0.8.4.1"; src = fetchFromGitHub { owner = "gnotclub"; - repo = "xst"; + repo = pname; rev = "v${version}"; - sha256 = "1fplgy30gyrwkjsw3z947327r98i13zd1whwkplpj9fzckhb9vs9"; + sha256 = "nOJcOghtzFkl7B/4XeXptn2TdrGQ4QTKBo+t+9npxOA="; }; nativeBuildInputs = [ pkg-config ]; @@ -22,8 +18,8 @@ in stdenv.mkDerivation { TERMINFO=$out/share/terminfo make install PREFIX=$out ''; - meta = { - homepage = "https://github.com/neeasade/xst"; + meta = with lib; { + homepage = "https://github.com/gnotclub/xst"; description = "Simple terminal fork that can load config from Xresources"; license = licenses.mit; maintainers = [ maintainers.vyp ];