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 4ea415d
Show file tree
Hide file tree
Showing 2 changed files with 54 additions and 51 deletions.
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;
};
}

0 comments on commit 4ea415d

Please sign in to comment.