3a4df29a92
GitOrigin-RevId: 3d7435c638baffaa826b85459df0fff47f12317d
26 lines
624 B
Nix
26 lines
624 B
Nix
{ lib, fetchFromGitLab, buildDunePackage, uri }:
|
|
|
|
buildDunePackage rec {
|
|
pname = "resto";
|
|
version = "0.7";
|
|
src = fetchFromGitLab {
|
|
owner = "nomadic-labs";
|
|
repo = "resto";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-aX7w/rsoOmbni8BOXa0WnoQ47Y5zl91vWvMobuNFT3Y=";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|