2019-11-29 22:25:48 +00:00
|
|
|
{ stdenv, lib, fetchurl, cmake, perl }:
|
2017-12-10 16:47:36 +00:00
|
|
|
|
2019-11-29 22:25:48 +00:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "libcerf";
|
2020-08-03 13:46:14 +01:00
|
|
|
version = "2.0";
|
2017-12-10 16:47:36 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2019-11-29 22:25:48 +00:00
|
|
|
url = "https://jugit.fz-juelich.de/mlz/libcerf/-/archive/v${version}/libcerf-v${version}.tar.gz";
|
2020-08-03 13:46:14 +01:00
|
|
|
sha256 = "05lpaxmy6275nbzvf1ahxcfymyph89pvlgg8h9sp9iwal4g8nvn8";
|
2017-12-10 16:47:36 +00:00
|
|
|
};
|
|
|
|
|
2019-11-29 22:25:48 +00:00
|
|
|
nativeBuildInputs = [ cmake perl ];
|
|
|
|
|
2017-12-10 16:47:36 +00:00
|
|
|
meta = with lib; {
|
|
|
|
description = "Complex error (erf), Dawson, Faddeeva, and Voigt function library";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://jugit.fz-juelich.de/mlz/libcerf";
|
2017-12-10 16:47:36 +00:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ orivej ];
|
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|