Skip to content

Commit

Permalink
st-snazzy: rename from siduck76-st
Browse files Browse the repository at this point in the history
0.pre+unstable=2021-08-20 -> 0.8.5
  • Loading branch information
pouya-abbassi committed Nov 29, 2024
1 parent a599b17 commit bca041d
Show file tree
Hide file tree
Showing 5 changed files with 56 additions and 52 deletions.
2 changes: 2 additions & 0 deletions nixos/doc/manual/release-notes/rl-2505.section.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@
add `vimPlugins.notmuch-vim` to your (Neo)vim configuration if you want the
vim plugin.

- `siduck76-st` has been renamed to `st-snazzy`, like the project's [flake](https://github.com/siduck/st/blob/main/flake.nix).

<!-- To avoid merge conflicts, consider adding your item at an arbitrary place in the list instead. -->

## Other Notable Changes {#sec-release-25.05-notable-changes}
Expand Down
51 changes: 0 additions & 51 deletions pkgs/applications/terminal-emulators/st/siduck76-st.nix

This file was deleted.

53 changes: 53 additions & 0 deletions pkgs/by-name/st/st-snazzy/package.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
{ lib
, stdenv
, fetchFromGitHub
, fontconfig
, harfbuzz
, libX11
, libXft
, ncurses
, gd
, glib
, pkg-config
}:

stdenv.mkDerivation {
pname = "st-snazzy";
version = "0.8.5";

src = fetchFromGitHub {
owner = "siduck";
repo = "st";
rev = "a7582f96afdee6bf0793cd0d8f84b755fd6aabf6";
hash = "sha256-wohkmDsm26kqFGQKuY6NuBQsifT7nZNgrLqLFsU+Vog=";
};

nativeBuildInputs = [
pkg-config
];
buildInputs = [
fontconfig
harfbuzz
libX11
libXft
ncurses
gd
glib
];

installPhase = ''
runHook preInstall
TERMINFO=$out/share/terminfo make install PREFIX=$out
runHook postInstall
'';

meta = {
homepage = "https://github.com/siduck/st";
description = "snazzy terminal (suckless + beautiful)";
license = lib.licenses.mit;
maintainers = [ ];
platforms = lib.platforms.linux;
};
}
1 change: 1 addition & 0 deletions pkgs/top-level/aliases.nix
Original file line number Diff line number Diff line change
Expand Up @@ -1134,6 +1134,7 @@ mapAliases {
sexp = sexpp; # Added 2023-07-03
inherit (libsForQt5.mauiPackages) shelf; # added 2022-05-17
shipyard = jumppad; # Added 2023-06-06
siduck76-st = st-snazzy; # Added 2024-11-30
signal-desktop-beta = throw "signal-desktop-beta has been removed to make the signal-desktop package easier to maintain";
shout = nodePackages.shout; # Added unknown; moved 2024-10-19
sky = throw "'sky' has been removed because its upstream website disappeared"; # Added 2024-07-21
Expand Down
1 change: 0 additions & 1 deletion pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -1577,7 +1577,6 @@ with pkgs;
};
xst = callPackage ../applications/terminal-emulators/st/xst.nix { };
mcaimi-st = callPackage ../applications/terminal-emulators/st/mcaimi-st.nix { };
siduck76-st = callPackage ../applications/terminal-emulators/st/siduck76-st.nix { };

stupidterm = callPackage ../applications/terminal-emulators/stupidterm {
gtk = gtk3;
Expand Down

0 comments on commit bca041d

Please sign in to comment.