depot/third_party/nixpkgs/pkgs/tools/misc/hdaps-gl/default.nix
Default email f34ce41345 Project import generated by Copybara.
GitOrigin-RevId: b73c2221a46c13557b1b3be9c2070cc42cf01eb3
2024-07-27 08:49:29 +02:00

24 lines
712 B
Nix

{ lib, stdenv, fetchFromGitHub, autoreconfHook, libglut, 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 = [ libglut 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";
};
}