uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
54
pkgs/development/libraries/pangolin/default.nix
Normal file
54
pkgs/development/libraries/pangolin/default.nix
Normal file
|
|
@ -0,0 +1,54 @@
|
|||
{ stdenv, lib, fetchFromGitHub, cmake, pkg-config, doxygen, libGL, glew
|
||||
, xorg, ffmpeg, libjpeg, libpng, libtiff, eigen
|
||||
, Carbon ? null, Cocoa ? null
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "pangolin";
|
||||
|
||||
version = "0.6";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "stevenlovegrove";
|
||||
repo = "Pangolin";
|
||||
rev = "v${version}";
|
||||
sha256 = "0abjajxj7lc2yajshimar4w8kf8115prsjnhy83s6jc7cbz63wj8";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake pkg-config doxygen ];
|
||||
|
||||
buildInputs = [
|
||||
libGL
|
||||
glew
|
||||
xorg.libX11
|
||||
ffmpeg
|
||||
libjpeg
|
||||
libpng
|
||||
libtiff
|
||||
eigen
|
||||
]
|
||||
++ lib.optionals stdenv.isDarwin [ Carbon Cocoa ];
|
||||
|
||||
# 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;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue