depot/third_party/nixpkgs/pkgs/tools/misc/hdaps-gl/default.nix
Default email 5c370c0b2a Project import generated by Copybara.
GitOrigin-RevId: 33d1e753c82ffc557b4a585c77de43d4c922ebb5
2024-05-15 17:35:15 +02:00

24 lines
714 B
Nix

{ lib, stdenv, fetchFromGitHub, autoreconfHook, freeglut, libGL, libGLU }:
stdenv.mkDerivation rec {
pname = "hdaps-gl";
version = "0.0.7";
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.gpl2Only;
platforms = platforms.linux;
maintainers = [ maintainers.symphorien ];
mainProgram = "hdaps-gl";
};
}