getoptions: init at 3.3.0

This commit is contained in:
Matthias Riße 2022-04-07 18:06:33 +02:00 committed by Matthias Riße
parent a62b1ef977
commit e824dfe501
3 changed files with 41 additions and 0 deletions

View file

@ -7758,6 +7758,12 @@
githubId = 1711539;
name = "matklad";
};
matrss = {
name = "Matthias Riße";
email = "matthias.risze@t-online.de";
github = "matrss";
githubId = 9308656;
};
matt-snider = {
email = "matt.snider@protonmail.com";
github = "matt-snider";

View file

@ -0,0 +1,33 @@
{ lib, stdenvNoCC, fetchFromGitHub, shellcheck, shellspec, busybox-sandbox-shell, ksh, mksh, yash, zsh }:
stdenvNoCC.mkDerivation rec {
pname = "getoptions";
version = "3.3.0";
src = fetchFromGitHub {
owner = "ko1nksm";
repo = "getoptions";
rev = "v${version}";
hash = "sha256-kUQ0dPjPr/A/btgFQu13ZLklnI284Ij74hCYbGgzF3A=";
};
makeFlags = [ "PREFIX=${placeholder "out"}" ];
doCheck = true;
checkInputs = [ shellcheck shellspec busybox-sandbox-shell ksh mksh yash zsh ];
preCheck = ''
sed -i '/shellspec -s posh/d' Makefile
'';
checkTarget = "check testall";
meta = with lib; {
description = "An elegant option/argument parser for shell scripts (full support for bash and all POSIX shells)";
homepage = "https://github.com/ko1nksm/getoptions";
license = licenses.cc0;
platforms = platforms.all;
maintainers = with maintainers; [ matrss ];
};
}

View file

@ -5818,6 +5818,8 @@ with pkgs;
getopt = callPackage ../tools/misc/getopt { };
getoptions = callPackage ../tools/misc/getoptions { };
gexiv2 = callPackage ../development/libraries/gexiv2 { };
gftp = callPackage ../applications/networking/ftp/gftp {