mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-10 19:55:41 +03:00
vigra: format with nixfmt-rfc-style
This commit is contained in:
parent
8b93d36ef7
commit
13d2eec810
1 changed files with 21 additions and 17 deletions
|
@ -1,17 +1,18 @@
|
|||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, boost
|
||||
, cmake
|
||||
, fftw
|
||||
, fftwSinglePrec
|
||||
, hdf5
|
||||
, ilmbase
|
||||
, libjpeg
|
||||
, libpng
|
||||
, libtiff
|
||||
, openexr
|
||||
, python3
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
boost,
|
||||
cmake,
|
||||
fftw,
|
||||
fftwSinglePrec,
|
||||
hdf5,
|
||||
ilmbase,
|
||||
libjpeg,
|
||||
libpng,
|
||||
libtiff,
|
||||
openexr,
|
||||
python3,
|
||||
}:
|
||||
|
||||
let
|
||||
|
@ -46,9 +47,12 @@ stdenv.mkDerivation rec {
|
|||
|
||||
preConfigure = "cmakeFlags+=\" -DVIGRANUMPY_INSTALL_DIR=$out/${python.sitePackages}\"";
|
||||
|
||||
cmakeFlags = [ "-DWITH_OPENEXR=1" ]
|
||||
++ lib.optionals (stdenv.hostPlatform.system == "x86_64-linux")
|
||||
[ "-DCMAKE_CXX_FLAGS=-fPIC" "-DCMAKE_C_FLAGS=-fPIC" ];
|
||||
cmakeFlags =
|
||||
[ "-DWITH_OPENEXR=1" ]
|
||||
++ lib.optionals (stdenv.hostPlatform.system == "x86_64-linux") [
|
||||
"-DCMAKE_CXX_FLAGS=-fPIC"
|
||||
"-DCMAKE_C_FLAGS=-fPIC"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Novel computer vision C++ library with customizable algorithms and data structures";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue