Files
nixpkgs/pkgs/by-name/mc/mcaimi-st/package.nix
quantenzitrone 3c289c8179 various: rename references from libXft to libxft
this shouldn't create any rebuilds
2026-02-06 00:25:41 +01:00

54 lines
935 B
Nix

{
lib,
stdenv,
fetchFromGitHub,
fontconfig,
libx11,
libxext,
libxft,
ncurses,
pkg-config,
nix-update-script,
}:
stdenv.mkDerivation {
pname = "mcaimi-st";
version = "0-unstable-2025-09-22";
src = fetchFromGitHub {
owner = "mcaimi";
repo = "st";
rev = "667ded8e13457b0ba9d84b98545885e5a3e9dcc7";
hash = "sha256-LbMxZhNs0sfgTm0R+BqxZpUPjs0Y3a2H40BYdMzO2CU=";
};
nativeBuildInputs = [
pkg-config
];
buildInputs = [
fontconfig
libx11
libxext
libxft
ncurses
];
installFlags = [
"TERMINFO=$(out)/share/terminfo"
"PREFIX=$(out)"
];
passthru.updateScript = nix-update-script {
extraArgs = [ "--version=branch" ];
};
meta = {
homepage = "https://github.com/mcaimi/st";
description = "Suckless Terminal fork";
mainProgram = "st";
license = lib.licenses.mit;
maintainers = [ ];
platforms = lib.platforms.linux;
};
}