mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-20 12:42:24 +00:00
ocaml-iso8601: init at 0.2.4
OCaml library for ISO 8601 and RFC 3999 date parsing. Homepage: http://sagotch.github.io/ISO8601.ml/
This commit is contained in:
parent
23efd0e617
commit
48e7eb65f2
22
pkgs/development/ocaml-modules/iso8601/default.nix
Normal file
22
pkgs/development/ocaml-modules/iso8601/default.nix
Normal file
|
@ -0,0 +1,22 @@
|
|||
{ stdenv, fetchzip, ocaml, findlib }:
|
||||
|
||||
let version = "0.2.4"; in
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "ocaml-iso8601-${version}";
|
||||
src = fetchzip {
|
||||
url = "https://github.com/sagotch/ISO8601.ml/archive/${version}.tar.gz";
|
||||
sha256 = "0ypdd1p04xdjxxx3b61wp7abswfrq3vcvwwaxvywxwqljw0dhydi";
|
||||
};
|
||||
|
||||
buildInputs = [ ocaml findlib ];
|
||||
createFindlibDestdir = true;
|
||||
|
||||
meta = {
|
||||
homepage = http://sagotch.github.io/ISO8601.ml/;
|
||||
description = "ISO 8601 and RFC 3999 date parsing for OCaml";
|
||||
license = stdenv.lib.licenses.mit;
|
||||
platforms = ocaml.meta.platforms;
|
||||
maintainers = with stdenv.lib.maintainers; [ vbgl ];
|
||||
};
|
||||
}
|
|
@ -4522,6 +4522,8 @@ let
|
|||
|
||||
ipaddr = callPackage ../development/ocaml-modules/ipaddr { };
|
||||
|
||||
iso8601 = callPackage ../development/ocaml-modules/iso8601 { };
|
||||
|
||||
javalib = callPackage ../development/ocaml-modules/javalib {
|
||||
extlib = ocaml_extlib_maximal;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue