2020-04-11 13:00:00 +01:00
|
|
|
{ stdenv, fetchFromGitHub, autoreconfHook, freeglut, libGL, libGLU }:
|
2018-09-03 23:28:15 +01:00
|
|
|
|
2020-04-11 13:00:00 +01:00
|
|
|
let version = "0.0.7"; in
|
2018-09-03 23:28:15 +01:00
|
|
|
stdenv.mkDerivation {
|
2019-08-13 22:52:01 +01:00
|
|
|
pname = "hdaps-gl";
|
|
|
|
inherit version;
|
2020-04-11 13:00:00 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "linux-thinkpad";
|
|
|
|
repo = "hdaps-gl";
|
|
|
|
rev = version;
|
|
|
|
sha256 = "0jywsrcr1wzkjig5cvz014c3r026sbwscbkv7zh1014lkjm0kyyh";
|
2018-09-03 23:28:15 +01:00
|
|
|
};
|
|
|
|
|
2020-04-11 13:00:00 +01:00
|
|
|
nativeBuildInputs = [ autoreconfHook ];
|
2018-09-03 23:28:15 +01:00
|
|
|
buildInputs = [ freeglut libGL libGLU ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "GL-based laptop model that rotates in real-time via hdaps";
|
2020-04-11 13:00:00 +01:00
|
|
|
homepage = "https://github.com/linux-thinkpad/hdaps-gl";
|
2018-09-03 23:28:15 +01:00
|
|
|
license = licenses.gpl2;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = [ maintainers.symphorien ];
|
|
|
|
};
|
|
|
|
}
|