diff options
author | Joe Hermaszewski <git@monoid.al> | 2017-08-08 09:57:10 +0100 |
---|---|---|
committer | Joe Hermaszewski <git@monoid.al> | 2017-08-08 09:57:10 +0100 |
commit | 4b1bcf8724c1b9a9409a88e930c10f0a50d19b1d (patch) | |
tree | 2a3e6bef1aee4b5fe6c757fb749b635a92e2298f /pkgs/development/libraries/pangolin | |
parent | 87b215d5f72cd51ea2b649e452c107c9e14f4abf (diff) | |
download | nixpkgs-4b1bcf8724c1b9a9409a88e930c10f0a50d19b1d.tar nixpkgs-4b1bcf8724c1b9a9409a88e930c10f0a50d19b1d.tar.gz nixpkgs-4b1bcf8724c1b9a9409a88e930c10f0a50d19b1d.tar.bz2 nixpkgs-4b1bcf8724c1b9a9409a88e930c10f0a50d19b1d.tar.lz nixpkgs-4b1bcf8724c1b9a9409a88e930c10f0a50d19b1d.tar.xz nixpkgs-4b1bcf8724c1b9a9409a88e930c10f0a50d19b1d.tar.zst nixpkgs-4b1bcf8724c1b9a9409a88e930c10f0a50d19b1d.zip |
pangolin: init at 2017-08-02
Diffstat (limited to 'pkgs/development/libraries/pangolin')
-rw-r--r-- | pkgs/development/libraries/pangolin/default.nix | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/pkgs/development/libraries/pangolin/default.nix b/pkgs/development/libraries/pangolin/default.nix new file mode 100644 index 00000000000..f5b2f4c2b99 --- /dev/null +++ b/pkgs/development/libraries/pangolin/default.nix @@ -0,0 +1,54 @@ +{ stdenv, fetchFromGitHub, cmake, pkgconfig, doxygen, mesa_noglu, glew, xorg +, ffmpeg, python3 , libjpeg, libpng, libtiff, eigen }: + +stdenv.mkDerivation rec { + name = "pangolin-${version}"; + + version = "2017-08-02"; + + src = fetchFromGitHub { + owner = "stevenlovegrove"; + repo = "Pangolin"; + rev = "f05a8cdc4f0e32cc1664a430f1f85e60e233c407"; + sha256 = "0pfbaarlsw7f7cmsppm7m13nz0k530wwwyczy2l9k448p3v7x9j0"; + }; + + nativeBuildInputs = [ cmake pkgconfig doxygen ]; + + buildInputs = [ + mesa_noglu + glew + xorg.libX11 + ffmpeg + python3 + libjpeg + libpng + libtiff + eigen + ]; + + enableParallelBuilding = true; + + # The tests use cmake's findPackage to find the installed version of + # pangolin, which isn't what we want (or available). + doCheck = false; + cmakeFlags = [ "-DBUILD_TESTS=OFF" ]; + + meta = { + description = "A lightweight portable rapid development library for managing OpenGL display / interaction and abstracting video input"; + longDescription = '' + Pangolin is a lightweight portable rapid development library for managing + OpenGL display / interaction and abstracting video input. At its heart is + a simple OpenGl viewport manager which can help to modularise 3D + visualisation without adding to its complexity, and offers an advanced + but intuitive 3D navigation handler. Pangolin also provides a mechanism + for manipulating program variables through config files and ui + integration, and has a flexible real-time plotter for visualising + graphical data. + ''; + homepage = https://github.com/stevenlovegrove/Pangolin; + license = stdenv.lib.licenses.mit; + maintainers = [ stdenv.lib.maintainers.expipiplus1 ]; + platforms = stdenv.lib.platforms.all; + }; +} |