Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

ocamlPackages.rresult: init at 0.5.0

Rresult is an OCaml module for handling computation results and errors in an
explicit and declarative manner without resorting to exceptions.

Homepage: http://erratique.ch/software/rresult

+26
+24
pkgs/development/ocaml-modules/rresult/default.nix
···
··· 1 + { stdenv, fetchurl, ocaml, findlib, ocamlbuild, opam, topkg }: 2 + 3 + stdenv.mkDerivation rec { 4 + name = "ocaml${ocaml.version}-rresult-${version}"; 5 + version = "0.5.0"; 6 + src = fetchurl { 7 + url = "http://erratique.ch/software/rresult/releases/rresult-${version}.tbz"; 8 + sha256 = "1xxycxhdhaq8p9vhwi93s2mlxjwgm44fcxybx5vghzgbankz9yhm"; 9 + }; 10 + 11 + unpackCmd = "tar xjf $src"; 12 + 13 + buildInputs = [ ocaml findlib ocamlbuild topkg opam ]; 14 + 15 + inherit (topkg) buildPhase installPhase; 16 + 17 + meta = { 18 + license = stdenv.lib.licenses.isc; 19 + homepage = http://erratique.ch/software/rresult; 20 + description = "Result value combinators for OCaml"; 21 + maintainers = [ stdenv.lib.maintainers.vbgl ]; 22 + inherit (ocaml.meta) platforms; 23 + }; 24 + }
+2
pkgs/top-level/ocaml-packages.nix
··· 494 495 re = callPackage ../development/ocaml-modules/re { }; 496 497 safepass = callPackage ../development/ocaml-modules/safepass { }; 498 499 sedlex = callPackage ../development/ocaml-modules/sedlex { };
··· 494 495 re = callPackage ../development/ocaml-modules/re { }; 496 497 + rresult = callPackage ../development/ocaml-modules/rresult { }; 498 + 499 safepass = callPackage ../development/ocaml-modules/safepass { }; 500 501 sedlex = callPackage ../development/ocaml-modules/sedlex { };