Skip to content

Commit

Permalink
st-snazzy: rename from siduck76-st
Browse files Browse the repository at this point in the history
  • Loading branch information
pouya-abbassi committed Dec 1, 2024
1 parent 527c5d1 commit 9b44b60
Show file tree
Hide file tree
Showing 4 changed files with 57 additions and 51 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 @@ -58,6 +58,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.

54 changes: 54 additions & 0 deletions pkgs/by-name/st/st-snazzy/package.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
{
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 = [ lib.maintainers.pouya ];
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 @@ -1138,6 +1138,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

0 comments on commit 9b44b60

Please sign in to comment.