yeahconsole: init at 0.1.3

This commit is contained in:
Jan Christoph Ebersbach 2024-08-12 08:24:55 +02:00
parent 6f1f93fe7f
commit 731de59cb5
No known key found for this signature in database
GPG Key ID: 444912B0B381009F

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;
};
}