1{ stdenv, lib, fetchurl, cmake, perl }:
2
3stdenv.mkDerivation rec {
4 pname = "libcerf";
5 version = "1.13";
6
7 src = fetchurl {
8 url = "https://jugit.fz-juelich.de/mlz/libcerf/-/archive/v${version}/libcerf-v${version}.tar.gz";
9 sha256 = "01d3fr4qa0080xdgp66mjbsa884qivn9y83p7rdyz2l3my0rysg4";
10 };
11
12 nativeBuildInputs = [ cmake perl ];
13
14 meta = with lib; {
15 description = "Complex error (erf), Dawson, Faddeeva, and Voigt function library";
16 homepage = https://jugit.fz-juelich.de/mlz/libcerf;
17 license = licenses.mit;
18 maintainers = with maintainers; [ orivej ];
19 platforms = platforms.all;
20 };
21}