Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes the build with glibc 2.26. Tracking issue: #31696
- Loading branch information
Showing
1 changed file
with
16 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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; | ||
}; | ||
} |