2020-04-24 23:36:52 +00:00
|
|
|
{ stdenv, lib, fetchurl, cmake, perl }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "libcerf";
|
2020-10-11 12:50:04 +00:00
|
|
|
version = "2.0";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://jugit.fz-juelich.de/mlz/libcerf/-/archive/v${version}/libcerf-v${version}.tar.gz";
|
2020-10-11 12:50:04 +00:00
|
|
|
sha256 = "05lpaxmy6275nbzvf1ahxcfymyph89pvlgg8h9sp9iwal4g8nvn8";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ cmake perl ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Complex error (erf), Dawson, Faddeeva, and Voigt function library";
|
|
|
|
homepage = "https://jugit.fz-juelich.de/mlz/libcerf";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ orivej ];
|
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|