fbset: init at 2.1

This commit is contained in:
Arthur Gautier 2024-01-10 22:01:18 -08:00 committed by Bjørn Forsman
parent 0b8f8e0cd9
commit 07ba912223
1 changed files with 42 additions and 0 deletions

View File

@ -0,0 +1,42 @@
{ lib
, stdenv
, fetchFromGitHub
, unstableGitUpdater
, bison
, flex
}:
stdenv.mkDerivation (finalAttrs: {
pname = "fbset";
version = "2.1";
src = fetchFromGitHub {
owner = "sudipm-mukherjee";
repo = "fbset";
rev = "debian/${finalAttrs.version}-33";
hash = "sha256-nwWkQAA5+v5A8AmKg77mrSq2pXeSivxd0r7JyoBrs9A=";
};
nativeBuildInputs = [
bison
flex
];
installFlags = [ "DESTDIR=$(out)" ];
passthru = {
updateScript = unstableGitUpdater { };
};
meta = with lib; {
description = "framebuffer device maintenance program";
# NOTE: the website of the original author disappeared, the only remaining
# repository is maintained by the debian maintainer of the package at
# https://github.com/sudipm-mukherjee/fbset
homepage = "http://users.telenet.be/geertu/Linux/fbdev/";
license = licenses.gpl2Only;
mainProgram = "fbset";
maintainers = with maintainers; [ baloo ];
platforms = platforms.linux;
};
})