mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 15:33:13 +00:00
gengetopt: 2.22.6 -> 2.23
https://www.gnu.org/software/gengetopt/NEWS * deps, parallel build
This commit is contained in:
parent
0c20b6a9df
commit
a3baa41e0b
@ -1,17 +1,25 @@
|
||||
{ fetchurl, stdenv }:
|
||||
{ fetchurl, stdenv, texinfo, help2man }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "gengetopt-2.22.6";
|
||||
pname = "gengetopt";
|
||||
version = "2.23";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnu/gengetopt/${name}.tar.gz";
|
||||
sha256 = "1xq1kcfs6hri101ss4dhym0jn96z4v6jdvx288mfywadc245mc1h";
|
||||
url = "mirror://gnu/${pname}/${pname}-${version}.tar.xz";
|
||||
sha256 = "1b44fn0apsgawyqa4alx2qj5hls334mhbszxsy6rfr0q074swhdr";
|
||||
};
|
||||
|
||||
doCheck = true;
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
nativeBuildInputs = [ texinfo help2man ];
|
||||
|
||||
#Fix, see #28255
|
||||
postPatch = ''
|
||||
sed -e 's/set -o posix/set +o posix/' -i configure
|
||||
substituteInPlace configure --replace \
|
||||
'set -o posix' \
|
||||
'set +o posix'
|
||||
'';
|
||||
|
||||
meta = {
|
||||
|
Loading…
Reference in New Issue
Block a user