about summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/faraday/default.nix
blob: 34c8fcbfcbcd0cc453f82c30dbe7f9f73a914eac (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{ stdenv, fetchFromGitHub, buildDunePackage, alcotest }:

buildDunePackage rec {
  pname = "faraday";
  version = "0.5.0";

  minimumOCamlVersion = "4.02";

  src = fetchFromGitHub {
    owner = "inhabitedtype";
    repo = pname;
    rev = version;
    sha256 = "1kql0il1frsbx6rvwqd7ahi4m14ik6la5an6c2w4x7k00ndm4d7n";
  };

  buildInputs = [ alcotest ];
  doCheck = true;

  meta = {
    description = "Serialization library built for speed and memory efficiency";
    license = stdenv.lib.licenses.bsd3;
    maintainers = [ stdenv.lib.maintainers.vbgl ];
    inherit (src.meta) homepage;
  };
}