2021-09-18 10:52:07 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchFromGitHub
|
|
|
|
, fontconfig
|
|
|
|
, libX11
|
|
|
|
, libXext
|
|
|
|
, libXft
|
|
|
|
, ncurses
|
|
|
|
, pkg-config
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "mcaimi-st";
|
2021-10-06 13:57:05 +00:00
|
|
|
version = "0.pre+unstable=2021-08-30";
|
2021-09-18 10:52:07 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "mcaimi";
|
|
|
|
repo = "st";
|
|
|
|
rev = "1a8cad03692ee6d32c03a136cdc76bdb169e15d8";
|
|
|
|
hash = "sha256-xyVEvD8s1J9Wj9NB4Gg+0ldvde7M8IVpzCOTttC1IY0=";
|
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
pkg-config
|
|
|
|
];
|
|
|
|
buildInputs = [
|
|
|
|
fontconfig
|
|
|
|
libX11
|
|
|
|
libXext
|
|
|
|
libXft
|
|
|
|
ncurses
|
|
|
|
];
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
runHook preInstall
|
|
|
|
|
|
|
|
TERMINFO=$out/share/terminfo make install PREFIX=$out
|
|
|
|
|
|
|
|
runHook postInstall
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://github.com/gnotclub/xst";
|
|
|
|
description = "Suckless Terminal fork";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "st";
|
2021-09-18 10:52:07 +00:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ AndersonTorres ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|