summary refs log tree commit diff
path: root/pkgs/tools/misc/fbmark/default.nix
blob: fe8bca0e22409546a3bcefd68f3517fe3eb5eb11 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{ lib, stdenv, fetchFromGitHub }:

stdenv.mkDerivation rec {
  pname = "fbmark";
  version = "0.3";

  src = fetchFromGitHub {
    owner = "caramelli";
    repo = pname;
    rev = "v${version}";
    sha256 = "0n2czl2sy1k6r5ri0hp7jgq84xcwrx4x43bqvw1b4na99mqhyahn";
  };

  makeFlags = [ "PREFIX=$(out)" ];

  meta = with lib; {
    description = "Linux Framebuffer Benchmark";
    homepage = "https://github.com/caramelli/fbmark";
    license = licenses.gpl3Plus;
    maintainers = with maintainers; [ davidak ];
    platforms = platforms.linux;
  };
}