diff --git a/pkgs/tools/networking/inadyn/default.nix b/pkgs/tools/networking/inadyn/default.nix index 1963454f142c..4f9e8b045b0d 100644 --- a/pkgs/tools/networking/inadyn/default.nix +++ b/pkgs/tools/networking/inadyn/default.nix @@ -1,23 +1,18 @@ -{ stdenv, fetchurl, gnutls33, autoreconfHook }: +{ stdenv, fetchurl, gnutls, autoreconfHook, pkgconfig, libite, libconfuse }: let - version = "1.99.15"; + version = "2.0"; in stdenv.mkDerivation { name = "inadyn-${version}"; src = fetchurl { - url = "https://github.com/troglobit/inadyn/releases/download/${version}/inadyn-${version}.tar.xz"; - sha256 = "05f7k9wpr0fn44y0pvdrv8xyilygmq3kjhvrwlj6dgg9ackdhkmm"; + url = "https://github.com/troglobit/inadyn/releases/download/v${version}/inadyn-${version}.tar.xz"; + sha256 = "16nmbxj337vkqkk6f7vx7fa8mczjv6dl3ybaxy16c23h486y0mzh"; }; - preConfigure = '' - export makeFlags=prefix=$out - ''; - - buildInputs = [ gnutls33 autoreconfHook ]; - - NIX_CFLAGS_COMPILE = "-Wno-error=cpp"; + nativeBuildInputs = [ autoreconfHook pkgconfig ]; + buildInputs = [ gnutls libite libconfuse ]; meta = { homepage = http://inadyn.sourceforge.net/;