patch: Update to 2.7.1
Also disable the tests on FreeBSD. http://hydra.nixos.org/build/3070072
This commit is contained in:
parent
0008138201
commit
c0ae221bb0
@ -1,11 +1,11 @@
|
|||||||
{ stdenv, fetchurl, ed }:
|
{ stdenv, fetchurl, ed }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "patch-2.7";
|
name = "patch-2.7.1";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://gnu/patch/${name}.tar.gz";
|
url = "mirror://gnu/patch/${name}.tar.gz";
|
||||||
sha256 = "0j10lq37ywcc4qiakan6wpm00abfrnnccq3ags129ad0z9b9zhjr";
|
sha256 = "1m9r83b5c154xnxbvgjg4lfff58xjapanj6dmmivqx1liik2hpy0";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = stdenv.lib.optional doCheck ed;
|
buildInputs = stdenv.lib.optional doCheck ed;
|
||||||
@ -14,7 +14,8 @@ stdenv.mkDerivation rec {
|
|||||||
configureFlags = [ "ac_cv_func_strnlen_working=yes" ];
|
configureFlags = [ "ac_cv_func_strnlen_working=yes" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
doCheck = true;
|
# Tests fail on FreeBSD due to a Bashism in the tests.
|
||||||
|
doCheck = !stdenv.isFreeBSD;
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "GNU Patch, a program to apply differences to files";
|
description = "GNU Patch, a program to apply differences to files";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user