mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-18 02:44:30 +00:00
ocamlPackages.getopt: init at 20120615
Co-authored-by: sterni <sternenseemann@systemli.org> Co-authored-by: Vincent Laporte <vbgl@users.noreply.github.com>
This commit is contained in:
parent
6225d8487c
commit
f470e6ddd9
28
pkgs/development/ocaml-modules/getopt/default.nix
Normal file
28
pkgs/development/ocaml-modules/getopt/default.nix
Normal file
@ -0,0 +1,28 @@
|
||||
{ lib, fetchzip, stdenv, ocaml, findlib, ocamlbuild }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "ocaml${ocaml.version}-getopt";
|
||||
version = "20120615";
|
||||
|
||||
src = fetchzip {
|
||||
url = "https://download.ocamlcore.org/ocaml-getopt/ocaml-getopt/${version}/ocaml-getopt-${version}.tar.gz";
|
||||
sha256 = "0bng2mmdixpmj23xn8krlnaq66k22iclwz46r8zjrsrq3wcn1xgn";
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
ocaml
|
||||
findlib
|
||||
ocamlbuild
|
||||
];
|
||||
|
||||
doCheck = true;
|
||||
createFindlibDestdir = true;
|
||||
|
||||
meta = {
|
||||
inherit (ocaml.meta) platforms;
|
||||
homepage = "https://github.com/gildor478/ocaml-getopt";
|
||||
description = "Parsing of command line arguments (similar to GNU GetOpt) for OCaml";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = [ lib.maintainers.ulrikstrid ];
|
||||
};
|
||||
}
|
@ -407,6 +407,8 @@ let
|
||||
|
||||
genspio = callPackage ../development/ocaml-modules/genspio { };
|
||||
|
||||
getopt = callPackage ../development/ocaml-modules/getopt { };
|
||||
|
||||
gmap = callPackage ../development/ocaml-modules/gmap { };
|
||||
|
||||
gnuplot = callPackage ../development/ocaml-modules/gnuplot {
|
||||
|
Loading…
Reference in New Issue
Block a user