{ pkgs ? import { } , fetchFromGitea ? pkgs.fetchFromGitea , pkg-config ? pkgs.pkg-config , libX11 ? pkgs.xorg.libX11 , libXft ? pkgs.xorg.libXft }: pkgs.stdenv.mkDerivation { pname = "st"; name = "st"; src = fetchFromGitea { domain = "git.bitlab21.com"; owner = "sam"; repo = "st"; rev = "0e926487c85227aad9eed6667b91e149018014b8"; sha256 = "sha256-aUquoUotLKJDxOISIcx0RUybNvBrytc7+EF7PE1MRJU="; }; nativeBuildInputs = [ pkg-config ]; buildInputs = [ libX11 libXft ]; buildPhase = '' make ''; installPhase = '' mkdir -p $out/bin mv st $out/bin ''; }