depot/third_party/nixpkgs/pkgs/tools/misc/hdaps-gl/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

24 lines
806 B
Nix

{ 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 stdenv.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 ];
};
}