inadyn: 2.0 -> 2.1, fix build with libite 1.9

This commit is contained in:
Franz Pletz
2017-08-01 06:16:03 +02:00
parent 694dbaeeb5
commit 46a4fa9274
2 changed files with 254 additions and 3 deletions
+12 -3
View File
@@ -1,16 +1,25 @@
{ stdenv, fetchurl, gnutls, autoreconfHook, pkgconfig, libite, libconfuse }:
{ stdenv, fetchurl, fetchpatch, autoreconfHook, pkgconfig
, gnutls, libite, libconfuse }:
let
version = "2.0";
version = "2.1";
in
stdenv.mkDerivation {
name = "inadyn-${version}";
src = fetchurl {
url = "https://github.com/troglobit/inadyn/releases/download/v${version}/inadyn-${version}.tar.xz";
sha256 = "16nmbxj337vkqkk6f7vx7fa8mczjv6dl3ybaxy16c23h486y0mzh";
sha256 = "1b5khr2y5q1x2mn08zrnjf9hsals4y403mhsc1s7016w3my9lqw7";
};
patches = [
./remove-unused-macro.patch
(fetchpatch {
url = "https://github.com/troglobit/inadyn/commit/ed3a7761015441b5d5cacd691b7aa114da048bef.patch";
sha256 = "1passghmjd7gmrfcqkfqw9lvg8l22s91nm65ys3n3rylzsgaaq8i";
})
];
nativeBuildInputs = [ autoreconfHook pkgconfig ];
buildInputs = [ gnutls libite libconfuse ];