1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-29 09:02:46 +00:00
nixpkgs/pkgs/tools/misc/hdaps-gl/default.nix
Symphorien Gibol c8c3181845 hdapsgl: 0.5.0 -> 0.7.0
We now package a fork on github because:
* gentoo does it
* the fork is owned by the same organisation as the one we take hdapsd
from.
2020-04-11 17:37:06 +02:00

25 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 ];
};
}