diff --git a/pkgs/development/libraries/libcerf/default.nix b/pkgs/development/libraries/libcerf/default.nix index 287c9a61b9c7..7a3b96314189 100644 --- a/pkgs/development/libraries/libcerf/default.nix +++ b/pkgs/development/libraries/libcerf/default.nix @@ -1,16 +1,20 @@ -{ stdenv, lib, fetchurl, cmake, perl }: +{ stdenv, lib, fetchurl, cmake, perl, gnuplot }: stdenv.mkDerivation rec { pname = "libcerf"; - version = "2.0"; + version = "2.1"; src = fetchurl { url = "https://jugit.fz-juelich.de/mlz/libcerf/-/archive/v${version}/libcerf-v${version}.tar.gz"; - sha256 = "05lpaxmy6275nbzvf1ahxcfymyph89pvlgg8h9sp9iwal4g8nvn8"; + sha256 = "sha256-ihzYt/rgS4KpUWglISm4wbrKCYooX/jT8leB3q0Ut1o="; }; 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";