diff --git a/pkgs/tools/misc/cunit/default.nix b/pkgs/tools/misc/cunit/default.nix index 3bfb7bf65f13..dfa6bf71bb44 100644 --- a/pkgs/tools/misc/cunit/default.nix +++ b/pkgs/tools/misc/cunit/default.nix @@ -1,11 +1,14 @@ -{ stdenv, fetchurl }: +{ stdenv, fetchurl, autoconf, automake, libtool, autoreconfHook}: stdenv.mkDerivation rec { - name = "CUnit-2.1-2"; + name = "CUnit-${version}"; + version = "2.1-3"; + + buildInputs = [autoconf automake libtool autoreconfHook]; src = fetchurl { - url = "mirror://sourceforge/cunit/${name}-src.tar.bz2"; - sha256 = "1slb2sybv886ys0qqikb8lzn0h9jcqfrv64lakdxmqbgncq5yw0z"; + url = "mirror://sourceforge/cunit/CUnit/${version}/${name}.tar.bz2"; + sha256 = "057j82da9vv4li4z5ri3227ybd18nzyq81f6gsvhifs5z0vr3cpm"; }; meta = {