nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 stdenv,
4 fetchFromGitHub,
5 unstableGitUpdater,
6 bison,
7 flex,
8}:
9
10stdenv.mkDerivation (finalAttrs: {
11 pname = "fbset";
12 version = "2.1";
13
14 src = fetchFromGitHub {
15 owner = "sudipm-mukherjee";
16 repo = "fbset";
17 rev = "debian/${finalAttrs.version}-33";
18 hash = "sha256-nwWkQAA5+v5A8AmKg77mrSq2pXeSivxd0r7JyoBrs9A=";
19 };
20
21 nativeBuildInputs = [
22 bison
23 flex
24 ];
25
26 installFlags = [ "DESTDIR=$(out)" ];
27
28 passthru = {
29 updateScript = unstableGitUpdater { };
30 };
31
32 meta = {
33 description = "Framebuffer device maintenance program";
34 # NOTE: the website of the original author disappeared, the only remaining
35 # repository is maintained by the debian maintainer of the package at
36 # https://github.com/sudipm-mukherjee/fbset
37 homepage = "http://users.telenet.be/geertu/Linux/fbdev/";
38 license = lib.licenses.gpl2Only;
39 mainProgram = "fbset";
40 maintainers = with lib.maintainers; [ baloo ];
41 platforms = lib.platforms.linux;
42 };
43})