2023-11-08 06:29:02 +01:00
|
|
|
{ lib, fetchFromGitHub, buildDunePackage }:
|
2021-07-07 09:25:07 +02:00
|
|
|
|
2023-11-08 06:29:02 +01:00
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "getopt";
|
|
|
|
version = "20230213";
|
2021-07-07 09:25:07 +02:00
|
|
|
|
2023-11-08 06:29:02 +01:00
|
|
|
minimalOCamlVersion = "4.07";
|
2021-07-07 09:25:07 +02:00
|
|
|
|
2023-11-08 06:29:02 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "scemama";
|
|
|
|
repo = "ocaml-getopt";
|
|
|
|
rev = version;
|
|
|
|
hash = "sha256-oYDm945LgjIW+8x7UrO4FlbHywnu8480aiEVvnjBxc8=";
|
|
|
|
};
|
2022-02-22 10:59:04 +01:00
|
|
|
|
2021-07-07 09:25:07 +02:00
|
|
|
doCheck = true;
|
|
|
|
|
|
|
|
meta = {
|
2023-11-08 06:29:02 +01:00
|
|
|
homepage = "https://github.com/scemama/ocaml-getopt";
|
2021-07-07 09:25:07 +02:00
|
|
|
description = "Parsing of command line arguments (similar to GNU GetOpt) for OCaml";
|
|
|
|
license = lib.licenses.mit;
|
|
|
|
maintainers = [ lib.maintainers.ulrikstrid ];
|
|
|
|
};
|
|
|
|
}
|