forked from mirrors/nixpkgs
c9824f0173
Upstream has moved the src tarball download location and homepage for `libcerf`, so the current package is broken. While fixing it, let's upgrade to the latest version, which is built with cmake now. Co-Authored-By: Jon <jonringer@users.noreply.github.com>
22 lines
622 B
Nix
22 lines
622 B
Nix
{ stdenv, lib, fetchurl, cmake, perl }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "libcerf";
|
|
version = "1.13";
|
|
|
|
src = fetchurl {
|
|
url = "https://jugit.fz-juelich.de/mlz/libcerf/-/archive/v${version}/libcerf-v${version}.tar.gz";
|
|
sha256 = "01d3fr4qa0080xdgp66mjbsa884qivn9y83p7rdyz2l3my0rysg4";
|
|
};
|
|
|
|
nativeBuildInputs = [ cmake perl ];
|
|
|
|
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;
|
|
};
|
|
}
|