mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 03:17:13 +00:00
9182927998
Thanks @orivej for providing this fix.
Fix #28255 (the build was broken since
2bc7b4e134
).
34 lines
772 B
Nix
34 lines
772 B
Nix
{ fetchurl, stdenv }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "gengetopt-2.22.6";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://gnu/gengetopt/${name}.tar.gz";
|
|
sha256 = "1xq1kcfs6hri101ss4dhym0jn96z4v6jdvx288mfywadc245mc1h";
|
|
};
|
|
|
|
doCheck = true;
|
|
|
|
postPatch = ''
|
|
sed -e 's/set -o posix/set +o posix/' -i configure
|
|
'';
|
|
|
|
meta = {
|
|
description = "Command-line option parser generator";
|
|
|
|
longDescription =
|
|
'' GNU Gengetopt program generates a C function that uses getopt_long
|
|
function to parse the command line options, to validate them and
|
|
fills a struct
|
|
'';
|
|
|
|
homepage = http://www.gnu.org/software/gengetopt/;
|
|
|
|
license = stdenv.lib.licenses.gpl3Plus;
|
|
|
|
maintainers = [ ];
|
|
platforms = stdenv.lib.platforms.all;
|
|
};
|
|
}
|