depot/third_party/nixpkgs/pkgs/development/libraries/libcerf/default.nix
Default email 92b3d6365d Project import generated by Copybara.
GitOrigin-RevId: 412b9917cea092f3d39f9cd5dead4effd5bc4053
2022-10-30 16:09:59 +01:00

25 lines
679 B
Nix

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