nixpkgs/pkgs/development/ocaml-modules/resto/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

28 lines
645 B
Nix
Raw Normal View History

{ lib, fetchFromGitLab, buildDunePackage, uri }:
buildDunePackage rec {
pname = "resto";
version = "1.0";
2023-01-09 09:34:14 +00:00
duneVersion = "3";
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 ];
};
}