1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-09-11 15:08:33 +01:00

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>
This commit is contained in:
Benjamin Hipple 2019-11-29 17:25:48 -05:00 committed by Renaud
parent 71e097936b
commit c9824f0173

View file

@ -1,16 +1,19 @@
{ stdenv, lib, fetchurl }:
{ stdenv, lib, fetchurl, cmake, perl }:
stdenv.mkDerivation {
name = "libcerf-1.5";
stdenv.mkDerivation rec {
pname = "libcerf";
version = "1.13";
src = fetchurl {
url = "http://apps.jcns.fz-juelich.de/src/libcerf/libcerf-1.5.tgz";
sha256 = "11jwr8ql4a9kmv04ycgwk4dsqnlv4l65a8aa0x1i3y7zwx3w2vg3";
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 = http://apps.jcns.fz-juelich.de/doku/sc/libcerf;
homepage = https://jugit.fz-juelich.de/mlz/libcerf;
license = licenses.mit;
maintainers = with maintainers; [ orivej ];
platforms = platforms.all;