1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-21 13:10:33 +00:00

hdaps-gl: init at 0.0.5 (#45986)

This commit is contained in:
symphorien 2018-09-03 22:28:15 +00:00 committed by xeji
parent e8fe244a71
commit 6c8cea6315
2 changed files with 27 additions and 0 deletions

View file

@ -0,0 +1,25 @@
{ stdenv, fetchzip, freeglut, libGL, libGLU }:
let version = "0.0.5"; in
stdenv.mkDerivation {
name = "hdaps-gl-${version}";
src = fetchzip {
url = "mirror://sourceforge/project/hdaps/hdaps-gl/hdaps-gl-${version}/hdaps-gl-${version}.tar.gz";
sha256 = "16fk4k0lvr4c95vd6c7qdylcqa1h5yjp3xm4xwipdjbp0bvsgxq4";
};
buildInputs = [ freeglut libGL libGLU ];
# the Makefile has no install target
installPhase = ''
install -Dt $out/bin ./hdaps-gl
'';
meta = with stdenv.lib; {
description = "GL-based laptop model that rotates in real-time via hdaps";
homepage = https://sourceforge.net/projects/hdaps/;
license = licenses.gpl2;
platforms = platforms.linux;
maintainers = [ maintainers.symphorien ];
};
}

View file

@ -3082,6 +3082,8 @@ with pkgs;
hdapsd = callPackage ../os-specific/linux/hdapsd { };
hdaps-gl = callPackage ../tools/misc/hdaps-gl { };
hddtemp = callPackage ../tools/misc/hddtemp { };
hdf4 = callPackage ../tools/misc/hdf4 {