git.iko.soy/typeable/nixpkgs
on master help sign in
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>

commitc9824f01735e21df61e77e53d6a62d2713667f67 authorBenjamin Hipple <bhipple@protonmail.com> dateFri 29 Nov 2019, 17:25 (7 years ago) parent71e0979
1 file changed+9−6
pkgs/development/libraries/libcerf/default.nix+9−6
pkgs/development/libraries/libcerf/default.nix+9−6
@@ -1,16 +1,19 @@
1−{ stdenv, lib, fetchurl }:
1+{ stdenv, lib, fetchurl, cmake, perl }:
22
3−stdenv.mkDerivation {
4− name = "libcerf-1.5";
3+stdenv.mkDerivation rec {
4+ pname = "libcerf";
5+ version = "1.13";
56
67 src = fetchurl {
7− url = "http://apps.jcns.fz-juelich.de/src/libcerf/libcerf-1.5.tgz";
8− sha256 = "11jwr8ql4a9kmv04ycgwk4dsqnlv4l65a8aa0x1i3y7zwx3w2vg3";
8+ url = "https://jugit.fz-juelich.de/mlz/libcerf/-/archive/v${version}/libcerf-v${version}.tar.gz";
9+ sha256 = "01d3fr4qa0080xdgp66mjbsa884qivn9y83p7rdyz2l3my0rysg4";
910 };
1011
12+ nativeBuildInputs = [ cmake perl ];
13+
1114 meta = with lib; {
1215 description = "Complex error (erf), Dawson, Faddeeva, and Voigt function library";
13− homepage = http://apps.jcns.fz-juelich.de/doku/sc/libcerf;
16+ homepage = https://jugit.fz-juelich.de/mlz/libcerf;
1417 license = licenses.mit;
1518 maintainers = with maintainers; [ orivej ];
1619 platforms = platforms.all;