depot/third_party/nixpkgs/pkgs/development/libraries/libcerf/default.nix
Default email 5e7c2d6cef Project import generated by Copybara.
GitOrigin-RevId: f99e5f03cc0aa231ab5950a15ed02afec45ed51a
2023-10-09 21:29:22 +02:00

25 lines
679 B
Nix

{ stdenv, lib, fetchurl, cmake, perl, gnuplot }:
stdenv.mkDerivation rec {
pname = "libcerf";
version = "2.4";
src = fetchurl {
url = "https://jugit.fz-juelich.de/mlz/libcerf/-/archive/v${version}/libcerf-v${version}.tar.gz";
sha256 = "sha256-CAswrlZMPavjuJJkUira9WR+x1QCFXK+5UkpaXsnbNw=";
};
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;
};
}