mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-29 02:13:23 +00:00
25 lines
579 B
Nix
25 lines
579 B
Nix
{ lib, fetchFromGitHub, buildDunePackage }:
|
|
|
|
buildDunePackage rec {
|
|
pname = "getopt";
|
|
version = "20230213";
|
|
|
|
minimalOCamlVersion = "4.07";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "scemama";
|
|
repo = "ocaml-getopt";
|
|
rev = version;
|
|
hash = "sha256-oYDm945LgjIW+8x7UrO4FlbHywnu8480aiEVvnjBxc8=";
|
|
};
|
|
|
|
doCheck = true;
|
|
|
|
meta = {
|
|
homepage = "https://github.com/scemama/ocaml-getopt";
|
|
description = "Parsing of command line arguments (similar to GNU GetOpt) for OCaml";
|
|
license = lib.licenses.mit;
|
|
maintainers = [ lib.maintainers.ulrikstrid ];
|
|
};
|
|
}
|