about summary refs log tree commit diff
path: root/nixpkgs/pkgs/tools/misc/hdaps-gl/default.nix
blob: 41de7ef5d28b089c56cdd9492a2dd229105c9e92 (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
24
{ lib, stdenv, fetchFromGitHub, autoreconfHook, freeglut, libGL, libGLU }:

let version = "0.0.7"; in
stdenv.mkDerivation {
      pname = "hdaps-gl";
      inherit version;
      src = fetchFromGitHub {
            owner = "linux-thinkpad";
            repo = "hdaps-gl";
            rev = version;
            sha256 = "0jywsrcr1wzkjig5cvz014c3r026sbwscbkv7zh1014lkjm0kyyh";
      };

      nativeBuildInputs = [ autoreconfHook ];
      buildInputs = [ freeglut libGL libGLU ];

      meta = with lib; {
            description = "GL-based laptop model that rotates in real-time via hdaps";
            homepage = "https://github.com/linux-thinkpad/hdaps-gl";
            license = licenses.gpl2;
            platforms = platforms.linux;
            maintainers = [ maintainers.symphorien ];
      };
}