linux_xanmod: 5.11.14 -> 5.11.15
[NixPkgs.git] / pkgs / tools / misc / hdaps-gl / default.nix
blob41de7ef5d28b089c56cdd9492a2dd229105c9e92
1 { lib, stdenv, fetchFromGitHub, autoreconfHook, freeglut, libGL, libGLU }:
3 let version = "0.0.7"; in
4 stdenv.mkDerivation {
5       pname = "hdaps-gl";
6       inherit version;
7       src = fetchFromGitHub {
8             owner = "linux-thinkpad";
9             repo = "hdaps-gl";
10             rev = version;
11             sha256 = "0jywsrcr1wzkjig5cvz014c3r026sbwscbkv7zh1014lkjm0kyyh";
12       };
14       nativeBuildInputs = [ autoreconfHook ];
15       buildInputs = [ freeglut libGL libGLU ];
17       meta = with lib; {
18             description = "GL-based laptop model that rotates in real-time via hdaps";
19             homepage = "https://github.com/linux-thinkpad/hdaps-gl";
20             license = licenses.gpl2;
21             platforms = platforms.linux;
22             maintainers = [ maintainers.symphorien ];
23       };