nixpkgs/pkgs/development/ocaml-modules/rresult/default.nix
zowoq 31f5dd3f36 treewide: editorconfig fixes
- remove trailing whitespace
- use spaces for indentation
2021-01-20 09:11:11 +10:00

25 lines
704 B
Nix

{ stdenv, lib, fetchurl, ocaml, findlib, ocamlbuild, topkg, result }:
stdenv.mkDerivation rec {
name = "ocaml${ocaml.version}-rresult-${version}";
version = "0.6.0";
src = fetchurl {
url = "https://erratique.ch/software/rresult/releases/rresult-${version}.tbz";
sha256 = "1k69a3gvrk7f2cshwjzvk7818f0bwxhacgd14wxy6d4gmrggci86";
};
buildInputs = [ ocaml findlib ocamlbuild topkg ];
propagatedBuildInputs = [ result ];
inherit (topkg) buildPhase installPhase;
meta = {
license = lib.licenses.isc;
homepage = "https://erratique.ch/software/rresult";
description = "Result value combinators for OCaml";
maintainers = [ lib.maintainers.vbgl ];
inherit (ocaml.meta) platforms;
};
}