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:
parent
e8fe244a71
commit
6c8cea6315
25
pkgs/tools/misc/hdaps-gl/default.nix
Normal file
25
pkgs/tools/misc/hdaps-gl/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue