2017-07-31 23:52:50 +01:00
|
|
|
{ stdenv, fetchurl, fetchpatch, autoreconfHook, pkgconfig
|
|
|
|
, gnutls, libite, libconfuse }:
|
2011-04-07 21:26:26 +01:00
|
|
|
|
2014-10-10 16:01:10 +01:00
|
|
|
let
|
2017-07-31 23:52:50 +01:00
|
|
|
version = "2.1";
|
2014-10-10 16:01:10 +01:00
|
|
|
in
|
|
|
|
stdenv.mkDerivation {
|
2015-05-30 18:34:55 +01:00
|
|
|
name = "inadyn-${version}";
|
2011-04-07 21:26:26 +01:00
|
|
|
|
2016-01-15 15:13:57 +00:00
|
|
|
src = fetchurl {
|
2016-09-18 23:28:46 +01:00
|
|
|
url = "https://github.com/troglobit/inadyn/releases/download/v${version}/inadyn-${version}.tar.xz";
|
2017-07-31 23:52:50 +01:00
|
|
|
sha256 = "1b5khr2y5q1x2mn08zrnjf9hsals4y403mhsc1s7016w3my9lqw7";
|
2011-04-07 21:26:26 +01:00
|
|
|
};
|
|
|
|
|
2017-07-31 23:52:50 +01:00
|
|
|
patches = [
|
|
|
|
./remove-unused-macro.patch
|
|
|
|
(fetchpatch {
|
|
|
|
url = "https://github.com/troglobit/inadyn/commit/ed3a7761015441b5d5cacd691b7aa114da048bef.patch";
|
|
|
|
sha256 = "1passghmjd7gmrfcqkfqw9lvg8l22s91nm65ys3n3rylzsgaaq8i";
|
|
|
|
})
|
|
|
|
];
|
|
|
|
|
2016-09-18 23:28:46 +01:00
|
|
|
nativeBuildInputs = [ autoreconfHook pkgconfig ];
|
|
|
|
buildInputs = [ gnutls libite libconfuse ];
|
2014-11-26 22:37:50 +00:00
|
|
|
|
2011-04-07 21:26:26 +01:00
|
|
|
meta = {
|
|
|
|
homepage = http://inadyn.sourceforge.net/;
|
|
|
|
description = "Free dynamic DNS client";
|
2014-06-19 05:19:00 +01:00
|
|
|
license = stdenv.lib.licenses.gpl2Plus;
|
2011-04-07 21:26:26 +01:00
|
|
|
maintainers = with stdenv.lib.maintainers; [viric];
|
2016-09-01 18:39:33 +01:00
|
|
|
platforms = with stdenv.lib.platforms; linux;
|
2011-04-07 21:26:26 +01:00
|
|
|
};
|
|
|
|
}
|