nixpkgs/pkgs/by-name/li/libcerf/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

26 lines
679 B
Nix
Raw Normal View History

{ stdenv, lib, fetchurl, cmake, perl, gnuplot }:
stdenv.mkDerivation rec {
pname = "libcerf";
2023-08-23 07:03:17 +00:00
version = "2.4";
src = fetchurl {
url = "https://jugit.fz-juelich.de/mlz/libcerf/-/archive/v${version}/libcerf-v${version}.tar.gz";
2023-08-23 07:03:17 +00:00
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;
};
}