Merge pull request #119126 from fabaff/pycomfoconnect
[NixPkgs.git] / pkgs / development / ocaml-modules / iso8601 / default.nix
blobd1b55609bc4aee42f8c5ac7a1a42ee3c5112d83a
1 { stdenv, lib, fetchzip, ocaml, findlib, ocamlbuild }:
3 let version = "0.2.4"; in
5 stdenv.mkDerivation {
6   pname = "ocaml-iso8601";
7   inherit version;
8   src = fetchzip {
9     url = "https://github.com/sagotch/ISO8601.ml/archive/${version}.tar.gz";
10     sha256 = "0ypdd1p04xdjxxx3b61wp7abswfrq3vcvwwaxvywxwqljw0dhydi";
11   };
13   buildInputs = [ ocaml findlib ocamlbuild ];
14   createFindlibDestdir = true;
16   meta = {
17     homepage = "https://ocaml-community.github.io/ISO8601.ml/";
18     description = "ISO 8601 and RFC 3999 date parsing for OCaml";
19     license = lib.licenses.mit;
20     platforms = ocaml.meta.platforms or [];
21     maintainers = with lib.maintainers; [ vbgl ];
22   };