Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
38 lines
761 B
Nix
38 lines
761 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchFromGitHub,
|
|
libX11,
|
|
libXrandr,
|
|
}:
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "yeahconsole";
|
|
version = "0.1.3";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "jceb";
|
|
repo = "yeahconsole";
|
|
tag = "v${finalAttrs.version}";
|
|
hash = "sha256-Ea6erNF9hEhDHlWLctu1SHFVoXXXsPeWUbvCBSZwn4s=";
|
|
};
|
|
|
|
buildInputs = [
|
|
libX11
|
|
libXrandr
|
|
];
|
|
|
|
preConfigure = ''
|
|
sed -i "s@PREFIX = /usr/local@PREFIX = $out@g" Makefile
|
|
'';
|
|
|
|
meta = {
|
|
description = "Turns an xterm into a gamelike console";
|
|
homepage = "https://github.com/jceb/yeahconsole";
|
|
license = lib.licenses.gpl2Only;
|
|
maintainers = with lib.maintainers; [ jceb ];
|
|
platforms = lib.platforms.all;
|
|
broken = stdenv.hostPlatform.isDarwin;
|
|
};
|
|
})
|