2021-01-15 22:18:51 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, autoreconfHook, freeglut, libGL, libGLU }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-07-17 21:14:59 +00:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "hdaps-gl";
|
|
|
|
version = "0.0.7";
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "linux-thinkpad";
|
|
|
|
repo = "hdaps-gl";
|
|
|
|
rev = version;
|
|
|
|
sha256 = "0jywsrcr1wzkjig5cvz014c3r026sbwscbkv7zh1014lkjm0kyyh";
|
|
|
|
};
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-07-17 21:14:59 +00:00
|
|
|
nativeBuildInputs = [ autoreconfHook ];
|
|
|
|
buildInputs = [ freeglut libGL libGLU ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-07-17 21:14:59 +00:00
|
|
|
meta = with lib; {
|
|
|
|
description = "GL-based laptop model that rotates in real-time via hdaps";
|
|
|
|
homepage = "https://github.com/linux-thinkpad/hdaps-gl";
|
2024-05-15 15:35:15 +00:00
|
|
|
license = licenses.gpl2Only;
|
2021-07-17 21:14:59 +00:00
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = [ maintainers.symphorien ];
|
2024-01-02 11:29:13 +00:00
|
|
|
mainProgram = "hdaps-gl";
|
2021-07-17 21:14:59 +00:00
|
|
|
};
|
2020-04-24 23:36:52 +00:00
|
|
|
}
|