idanyn: 2.1 -> 2.2.1

Fixes the build with glibc 2.26.

Tracking issue: #31696
This commit is contained in:
Orivej Desh 2017-11-16 12:38:14 +00:00
parent d86ff8103e
commit 34f4b97a50

View File

@ -1,33 +1,28 @@
{ stdenv, fetchurl, fetchpatch, autoreconfHook, pkgconfig { stdenv, fetchFromGitHub, fetchpatch, autoreconfHook, pkgconfig
, gnutls, libite, libconfuse }: , gnutls, libite, libconfuse }:
let stdenv.mkDerivation rec {
version = "2.1";
in
stdenv.mkDerivation {
name = "inadyn-${version}"; name = "inadyn-${version}";
version = "2.2.1";
src = fetchurl { src = fetchFromGitHub {
url = "https://github.com/troglobit/inadyn/releases/download/v${version}/inadyn-${version}.tar.xz"; owner = "troglobit";
sha256 = "1b5khr2y5q1x2mn08zrnjf9hsals4y403mhsc1s7016w3my9lqw7"; repo = "inadyn";
rev = "v${version}";
sha256 = "1nkrvd33mnj98m86g3xs27l88l2678qjzjhwpq1k9n8v9k255pd6";
}; };
patches = [
./remove-unused-macro.patch
(fetchpatch {
url = "https://github.com/troglobit/inadyn/commit/ed3a7761015441b5d5cacd691b7aa114da048bef.patch";
sha256 = "1passghmjd7gmrfcqkfqw9lvg8l22s91nm65ys3n3rylzsgaaq8i";
})
];
nativeBuildInputs = [ autoreconfHook pkgconfig ]; nativeBuildInputs = [ autoreconfHook pkgconfig ];
buildInputs = [ gnutls libite libconfuse ]; buildInputs = [ gnutls libite libconfuse ];
meta = { enableParallelBuilding = true;
homepage = http://inadyn.sourceforge.net/;
meta = with stdenv.lib; {
homepage = http://troglobit.com/project/inadyn/;
description = "Free dynamic DNS client"; description = "Free dynamic DNS client";
license = stdenv.lib.licenses.gpl2Plus; license = licenses.gpl2Plus;
maintainers = with stdenv.lib.maintainers; [viric]; maintainers = with maintainers; [ viric ];
platforms = with stdenv.lib.platforms; linux; platforms = platforms.linux;
}; };
} }