nixpkgs/pkgs/by-name/li/libcerf/package.nix
2025-04-26 04:56:39 +00:00

36 lines
702 B
Nix

{
stdenv,
lib,
fetchurl,
cmake,
perl,
gnuplot,
}:
stdenv.mkDerivation rec {
pname = "libcerf";
version = "3.0";
src = fetchurl {
url = "https://jugit.fz-juelich.de/mlz/libcerf/-/archive/v${version}/libcerf-v${version}.tar.gz";
sha256 = "sha256-xhCPvaia839YgRnAxUK2wegkhFo2vqL6MfftLMGiRts=";
};
nativeBuildInputs = [
cmake
perl
];
passthru.tests = {
inherit gnuplot;
};
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;
};
}