Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at netboot-syslinux-multiplatform 27 lines 687 B view raw
1{ stdenv, lib, fetchFromGitHub, ocaml, findlib, ocamlbuild }: 2 3stdenv.mkDerivation rec { 4 pname = "ocaml-iso8601"; 5 version = "0.2.4"; 6 7 src = fetchFromGitHub { 8 owner = "sagotch"; 9 repo = "ISO8601.ml"; 10 rev = version; 11 sha256 = "sha256-sXnYAJcU88797orzzfbA2XG91Lk8mDV677J1Am5o7Xo="; 12 }; 13 14 nativeBuildInputs = [ ocaml findlib ocamlbuild ]; 15 16 strictDeps = true; 17 18 createFindlibDestdir = true; 19 20 meta = { 21 homepage = "https://ocaml-community.github.io/ISO8601.ml/"; 22 description = "ISO 8601 and RFC 3999 date parsing for OCaml"; 23 license = lib.licenses.mit; 24 platforms = ocaml.meta.platforms or [ ]; 25 maintainers = with lib.maintainers; [ vbgl ]; 26 }; 27}