1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-05 03:53:41 +00:00
nixpkgs/pkgs/development/libraries/libcerf/default.nix
Benjamin Hipple c9824f0173 libcerf: 1.5 -> 1.13 (#69218)
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>
2019-11-29 23:25:48 +01:00

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;
};
}