nixpkgs/pkgs/tools/misc/hdaps-gl/default.nix

24 lines
680 B
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub, autoreconfHook, freeglut, libGL, libGLU }:
2018-09-04 00:28:15 +02:00
2021-07-14 17:10:11 +02:00
stdenv.mkDerivation rec {
pname = "hdaps-gl";
version = "0.0.7";
src = fetchFromGitHub {
owner = "linux-thinkpad";
repo = "hdaps-gl";
rev = version;
sha256 = "0jywsrcr1wzkjig5cvz014c3r026sbwscbkv7zh1014lkjm0kyyh";
};
2018-09-04 00:28:15 +02:00
2021-07-14 17:10:11 +02:00
nativeBuildInputs = [ autoreconfHook ];
buildInputs = [ freeglut libGL libGLU ];
2018-09-04 00:28:15 +02:00
2021-07-14 17:10:11 +02:00
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.gpl2;
platforms = platforms.linux;
maintainers = [ maintainers.symphorien ];
};
2018-09-04 00:28:15 +02:00
}