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