mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 16:33:15 +00:00
Merge pull request #333748 from identinet/yeahconsole-0.1.3
yeahconsole: init at 0.1.3
This commit is contained in:
commit
c865becfbe
36
pkgs/by-name/ye/yeahconsole/package.nix
Normal file
36
pkgs/by-name/ye/yeahconsole/package.nix
Normal 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;
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user