2010-01-22 17:00:44 +00:00
|
|
|
{ fetchurl, stdenv }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2013-12-11 08:01:00 +00:00
|
|
|
name = "gengetopt-2.22.6";
|
2010-01-22 17:00:44 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://gnu/gengetopt/${name}.tar.gz";
|
2013-12-11 08:01:00 +00:00
|
|
|
sha256 = "1xq1kcfs6hri101ss4dhym0jn96z4v6jdvx288mfywadc245mc1h";
|
2010-01-22 17:00:44 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
doCheck = true;
|
|
|
|
|
|
|
|
meta = {
|
2014-08-24 15:21:08 +01:00
|
|
|
description = "Command-line option parser generator";
|
2010-01-22 17:00:44 +00:00
|
|
|
|
|
|
|
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/;
|
|
|
|
|
2014-06-19 05:19:00 +01:00
|
|
|
license = stdenv.lib.licenses.gpl3Plus;
|
2010-01-22 17:00:44 +00:00
|
|
|
|
2013-08-16 22:44:33 +01:00
|
|
|
maintainers = [ ];
|
2010-01-22 17:00:44 +00:00
|
|
|
platforms = stdenv.lib.platforms.all;
|
|
|
|
};
|
|
|
|
}
|