Merge pull request #333748 from identinet/yeahconsole-0.1.3

yeahconsole: init at 0.1.3
This commit is contained in:
Florian 2024-08-12 17:40:44 +02:00 committed by GitHub
commit c865becfbe
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -0,0 +1,36 @@
{
lib,
stdenv,
fetchFromGitHub,
libX11,
libXrandr,
}:
stdenv.mkDerivation rec {
pname = "yeahconsole";
version = "0.1.3";
src = fetchFromGitHub {
owner = "jceb";
repo = pname;
rev = "v${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;
};
}