evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / development / ocaml-modules / ocaml-result / default.nix
blob2814c6c5280646a9974c46d8e75437b33c001c35
1 { lib, buildDunePackage, fetchurl }:
3 buildDunePackage rec {
4   pname = "result";
5   version = "1.5";
7   src = fetchurl {
8     url = "https://github.com/janestreet/result/releases/download/${version}/result-${version}.tbz";
9     sha256 = "0cpfp35fdwnv3p30a06wd0py3805qxmq3jmcynjc3x2qhlimwfkw";
10   };
12   meta = {
13     homepage = "https://github.com/janestreet/result";
14     description = "Compatibility Result module";
15     longDescription = ''
16       Projects that want to use the new result type defined in OCaml >= 4.03
17       while staying compatible with older version of OCaml should use the
18       Result module defined in this library.
19     '';
20     license = lib.licenses.bsd3;
21   };