depot/third_party/nixpkgs/pkgs/development/ocaml-modules/resto/default.nix
Default email 92b3d6365d Project import generated by Copybara.
GitOrigin-RevId: 412b9917cea092f3d39f9cd5dead4effd5bc4053
2022-10-30 16:09:59 +01:00

26 lines
624 B
Nix

{ lib, fetchFromGitLab, buildDunePackage, uri }:
buildDunePackage rec {
pname = "resto";
version = "1.0";
src = fetchFromGitLab {
owner = "nomadic-labs";
repo = "resto";
rev = "v${version}";
sha256 = "sha256-DIm7fmISsCgRDi4p3NsUk7Cvs/dHpIKMdAOVdYLX2mc=";
};
propagatedBuildInputs = [
uri
];
# resto has infinite recursion in their tests
doCheck = false;
meta = {
description = "A minimal OCaml library for type-safe HTTP/JSON RPCs";
homepage = "https://gitlab.com/nomadic-labs/resto";
license = lib.licenses.mit;
maintainers = [ lib.maintainers.ulrikstrid ];
};
}