diff options
author | symphorien <symphorien@users.noreply.github.com> | 2018-09-03 22:28:15 +0000 |
---|---|---|
committer | xeji <36407913+xeji@users.noreply.github.com> | 2018-09-04 00:28:15 +0200 |
commit | 6c8cea6315d98881d6183ae0df0e41380eb36cc4 (patch) | |
tree | 52e6a10b80bc268df551be5ed2e9caabd36cdbb4 /pkgs/tools/misc/hdaps-gl | |
parent | e8fe244a7111c11ccaf69d075baba36a5b419bf4 (diff) |
hdaps-gl: init at 0.0.5 (#45986)
Diffstat (limited to 'pkgs/tools/misc/hdaps-gl')
-rw-r--r-- | pkgs/tools/misc/hdaps-gl/default.nix | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/pkgs/tools/misc/hdaps-gl/default.nix b/pkgs/tools/misc/hdaps-gl/default.nix new file mode 100644 index 0000000000000..8b19cd0389515 --- /dev/null +++ b/pkgs/tools/misc/hdaps-gl/default.nix @@ -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 ]; + }; +} |