depot/third_party/nixpkgs/pkgs/development/libraries/libcerf/default.nix
Default email 410b979fe2 Project import generated by Copybara.
GitOrigin-RevId: a64e169e396460d6b5763a1de1dd197df8421688
2023-03-24 01:07:29 +01:00

25 lines
679 B
Nix

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