2022-03-10 19:12:11 +00:00
{ lib , stdenv , fetchurl , cmake , clang }:
stdenv . mkDerivation rec {
pname = " a l g l i b 3 " ;
2024-07-01 15:47:52 +00:00
version = " 4 . 0 2 . 0 " ;
2022-03-10 19:12:11 +00:00
src = fetchurl {
url = " h t t p s : / / w w w . a l g l i b . n e t / t r a n s l a t o r / r e / a l g l i b - ${ version } . c p p . g p l . t g z " ;
2024-07-01 15:47:52 +00:00
sha256 = " s h a 2 5 6 - U 7 / u k B X d w C 8 G k p e v F f S f b g b i y O f 7 C k D v 0 P U A L 8 B n A a g = " ;
2022-03-10 19:12:11 +00:00
} ;
nativeBuildInputs = [
cmake
clang
] ;
patches = [
./patch-alglib-CMakeLists.patch
] ;
meta = with lib ; {
description = " N u m e r i c a l a n a l y s i s a n d d a t a p r o c e s s i n g l i b r a r y " ;
homepage = " h t t p s : / / w w w . a l g l i b . n e t / " ;
license = lib . licenses . gpl2Plus ;
maintainers = [ maintainers . paperdigits ] ;
longDescription = ''
ALGLIB is a cross-platform numerical analysis and data processing library . It supports several programming languages ( C ++ , C #, Delphi) and several operating systems (Windows and POSIX, including Linux). ALGLIB features include:
* Data analysis ( classification/regression , statistics )
* Optimization and nonlinear solvers
* Interpolation and linear/nonlinear least-squares fitting
* Linear algebra ( direct algorithms , EVD/SVD ) , direct and iterative linear solvers
* Fast Fourier Transform and many other algorithms
'' ;
} ;
}