mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-11-06 02:06:46 +01:00
0f4cee585a
ocamlPackages.resto: init at 0.6.1 ocamlPackages.resto-acl: init at 0.6.1 ocamlPackages.resto-json: init at 0.6.1 ocamlPackages.resto-directory: init at 0.6.1 ocamlPackages.resto-cohttp: init at 0.6.1 ocamlPackages.ezresto: init at 0.6.1 ocamlPackages.ezresto-directory: init at 0.6.1 ocamlPackages.resto-cohttp-server: init at 0.6.1 ocamlPackages.resto-cohttp-client: init at 0.6.1 ocamlPackages.resto-cohttp-self-serving-client: init at 0.6.1
29 lines
647 B
Nix
29 lines
647 B
Nix
{ lib, fetchFromGitLab, buildDunePackage, uri }:
|
|
|
|
buildDunePackage rec {
|
|
pname = "resto";
|
|
version = "0.6.1";
|
|
src = fetchFromGitLab {
|
|
owner = "nomadic-labs";
|
|
repo = "resto";
|
|
rev = "v${version}";
|
|
sha256 = "13h3zga7h2jhgbyda1q53szbpxcz3vvy3c51mlqk3jh9jq2wrn87";
|
|
};
|
|
|
|
useDune2 = true;
|
|
|
|
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 ];
|
|
};
|
|
}
|