nixpkgs/pkgs/development/tools/misc/gengetopt/default.nix

30 lines
693 B
Nix
Raw Normal View History

{ fetchurl, stdenv }:
stdenv.mkDerivation rec {
name = "gengetopt-2.22.6";
src = fetchurl {
url = "mirror://gnu/gengetopt/${name}.tar.gz";
sha256 = "1xq1kcfs6hri101ss4dhym0jn96z4v6jdvx288mfywadc245mc1h";
};
doCheck = true;
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;
2013-08-16 22:44:33 +01:00
maintainers = [ ];
platforms = stdenv.lib.platforms.all;
};
}