depot/third_party/nixpkgs/pkgs/development/ocaml-modules/resto/default.nix
Default email f34ce41345 Project import generated by Copybara.
GitOrigin-RevId: b73c2221a46c13557b1b3be9c2070cc42cf01eb3
2024-07-27 08:49:29 +02:00

27 lines
641 B
Nix

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