diff options
author | Bobby Rong <rjl931189261@126.com> | 2022-01-15 13:32:04 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-15 13:32:04 +0800 |
commit | 3e73fd0bd1f8d42f5a10e1e49996165e1e369a81 (patch) | |
tree | cf041f2d4d017676365a6349bdccc910291ac703 /pkgs/applications/terminal-emulators | |
parent | 6aff25df1129511f7b39f1439a8413fc6dc3edab (diff) | |
parent | 07151cbba5c93c433db261e9a291d3312a56166a (diff) |
Merge pull request #154867 from sikmir/st
st: 0.8.4 → 0.8.5
Diffstat (limited to 'pkgs/applications/terminal-emulators')
-rw-r--r-- | pkgs/applications/terminal-emulators/st/default.nix | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/pkgs/applications/terminal-emulators/st/default.nix b/pkgs/applications/terminal-emulators/st/default.nix index 3a2180ce8d82e..35baec9d0e449 100644 --- a/pkgs/applications/terminal-emulators/st/default.nix +++ b/pkgs/applications/terminal-emulators/st/default.nix @@ -15,11 +15,11 @@ stdenv.mkDerivation rec { pname = "st"; - version = "0.8.4"; + version = "0.8.5"; src = fetchurl { url = "https://dl.suckless.org/st/${pname}-${version}.tar.gz"; - hash = "sha256-1C087OtNamXjLpClM249RG22EsP72evBeAvGyaAzRqY="; + hash = "sha256-6mgyID7QL/dBgry4raqexFTI+YnnkjLLhZZl4vVEqzc="; }; inherit patches; @@ -49,19 +49,17 @@ stdenv.mkDerivation rec { libXft ] ++ extraLibs; - installPhase = '' - runHook preInstall - - TERMINFO=$out/share/terminfo make install PREFIX=$out - - runHook postInstall + preInstall = '' + export TERMINFO=$out/share/terminfo ''; + installFlags = [ "PREFIX=$(out)" ]; + meta = with lib; { homepage = "https://st.suckless.org/"; description = "Simple Terminal for X from Suckless.org Community"; license = licenses.mit; maintainers = with maintainers; [ andsild ]; - platforms = platforms.linux ++ platforms.darwin; + platforms = platforms.unix; }; } |