Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 fetchFromGitHub, 4 buildDunePackage, 5}: 6 7buildDunePackage rec { 8 pname = "getopt"; 9 version = "20230213"; 10 11 minimalOCamlVersion = "4.07"; 12 13 src = fetchFromGitHub { 14 owner = "scemama"; 15 repo = "ocaml-getopt"; 16 rev = version; 17 hash = "sha256-oYDm945LgjIW+8x7UrO4FlbHywnu8480aiEVvnjBxc8="; 18 }; 19 20 doCheck = true; 21 22 meta = { 23 homepage = "https://github.com/scemama/ocaml-getopt"; 24 description = "Parsing of command line arguments (similar to GNU GetOpt) for OCaml"; 25 license = lib.licenses.mit; 26 maintainers = [ lib.maintainers.ulrikstrid ]; 27 }; 28}