pkgs/development/libraries: stdenv.lib -> lib
This commit is contained in:
committed by
Jonathan Ringer
parent
046d24424e
commit
66e44425c6
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchFromGitHub, cmake
|
||||
{ lib, stdenv, fetchFromGitHub, cmake
|
||||
, qhull, flann, boost, vtk, eigen, pkg-config, qtbase
|
||||
, libusb1, libpcap, libXt, libpng, Cocoa, AGL, OpenGL
|
||||
}:
|
||||
@@ -16,18 +16,18 @@ stdenv.mkDerivation rec {
|
||||
nativeBuildInputs = [ pkg-config cmake ];
|
||||
buildInputs = [ qhull flann boost eigen libusb1 libpcap
|
||||
libpng vtk qtbase libXt ]
|
||||
++ stdenv.lib.optionals stdenv.isDarwin [ Cocoa AGL ];
|
||||
++ lib.optionals stdenv.isDarwin [ Cocoa AGL ];
|
||||
|
||||
cmakeFlags = stdenv.lib.optionals stdenv.isDarwin [
|
||||
cmakeFlags = lib.optionals stdenv.isDarwin [
|
||||
"-DOPENGL_INCLUDE_DIR=${OpenGL}/Library/Frameworks"
|
||||
];
|
||||
|
||||
meta = {
|
||||
homepage = "https://pointclouds.org/";
|
||||
broken = stdenv.lib.versionAtLeast qtbase.version "5.15";
|
||||
broken = lib.versionAtLeast qtbase.version "5.15";
|
||||
description = "Open project for 2D/3D image and point cloud processing";
|
||||
license = stdenv.lib.licenses.bsd3;
|
||||
maintainers = with stdenv.lib.maintainers; [viric];
|
||||
platforms = with stdenv.lib.platforms; linux ++ darwin;
|
||||
license = lib.licenses.bsd3;
|
||||
maintainers = with lib.maintainers; [viric];
|
||||
platforms = with lib.platforms; linux ++ darwin;
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user