inadyn: fix & update from 1.99.10 to 1.99.13

This commit is contained in:
Pascal Wittmann 2015-05-14 19:36:09 +02:00
parent 21c73b63b8
commit 9ac11fb2ef

View File

@ -1,21 +1,23 @@
{ stdenv, fetchurl, gnutls }:
{ stdenv, fetchFromGitHub, gnutls33 }:
let
ver = "1.99.10";
version = "1.99.13";
in
stdenv.mkDerivation {
name = "inadyn-${ver}";
name = "inadny-${version}";
src = fetchurl {
url = "https://github.com/troglobit/inadyn/archive/${ver}.tar.gz";
sha256 = "0m3qnnq99siwf1ybcvbzdawk68lxf61vd13fw1f2ssl2m07hfxg3";
src = fetchFromGitHub {
repo = "inadyn";
owner = "troglobit";
rev = version;
sha256 = "19z8si66b2kwb7y29qpd8y45rhg5wrycwkdgjqqp98sg5yq8p7v0";
};
preConfigure = ''
export makeFlags=prefix=$out
'';
buildInputs = [ gnutls ];
buildInputs = [ gnutls33 ];
NIX_CFLAGS_COMPILE = "-Wno-error=cpp";