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 }:
let
version = "2.1";
in
stdenv.mkDerivation {
stdenv.mkDerivation rec {
name = "inadyn-${version}";
version = "2.2.1";
src = fetchurl {
url = "https://github.com/troglobit/inadyn/releases/download/v${version}/inadyn-${version}.tar.xz";
sha256 = "1b5khr2y5q1x2mn08zrnjf9hsals4y403mhsc1s7016w3my9lqw7";
src = fetchFromGitHub {
owner = "troglobit";
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 ];
buildInputs = [ gnutls libite libconfuse ];
meta = {
homepage = http://inadyn.sourceforge.net/;
enableParallelBuilding = true;
meta = with stdenv.lib; {
homepage = http://troglobit.com/project/inadyn/;
description = "Free dynamic DNS client";
license = stdenv.lib.licenses.gpl2Plus;
maintainers = with stdenv.lib.maintainers; [viric];
platforms = with stdenv.lib.platforms; linux;
license = licenses.gpl2Plus;
maintainers = with maintainers; [ viric ];
platforms = platforms.linux;
};
}