3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/libraries/pangolin/default.nix

56 lines
1.7 KiB
Nix
Raw Normal View History

{ stdenv, lib, fetchFromGitHub, cmake, pkg-config, doxygen, libGL, glew
, xorg , ffmpeg_3, python3 , libjpeg, libpng, libtiff, eigen
2017-08-09 22:14:23 +01:00
, Carbon ? null, Cocoa ? null
}:
2017-08-08 09:57:10 +01:00
2019-08-13 22:52:01 +01:00
stdenv.mkDerivation {
pname = "pangolin";
2017-08-08 09:57:10 +01:00
version = "2017-08-02";
src = fetchFromGitHub {
owner = "stevenlovegrove";
repo = "Pangolin";
rev = "f05a8cdc4f0e32cc1664a430f1f85e60e233c407";
sha256 = "0pfbaarlsw7f7cmsppm7m13nz0k530wwwyczy2l9k448p3v7x9j0";
};
nativeBuildInputs = [ cmake pkg-config doxygen ];
2017-08-08 09:57:10 +01:00
2020-10-09 09:29:03 +01:00
buildInputs = [
libGL
glew
xorg.libX11
ffmpeg_3
python3
libjpeg
libpng
libtiff
eigen
2017-08-09 22:14:23 +01:00
]
++ lib.optionals stdenv.isDarwin [ Carbon Cocoa ];
2017-08-08 09:57:10 +01:00
# 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 = lib.licenses.mit;
maintainers = [ lib.maintainers.expipiplus1 ];
platforms = lib.platforms.all;
2017-08-08 09:57:10 +01:00
};
}