depot/third_party/nixpkgs/pkgs/development/ocaml-modules/ocsigen-ppx-rpc/default.nix

26 lines
554 B
Nix
Raw Normal View History

{ lib, buildDunePackage, fetchFromGitHub, ppxlib }:
buildDunePackage rec {
pname = "ocsigen-ppx-rpc";
version = "1.0";
duneVersion = "3";
src = fetchFromGitHub {
owner = "ocsigen";
repo = pname;
rev = version;
sha256 = "sha256:0qgasd89ayamgl2rfyxsipznmwa3pjllkyq9qg0g1f41h8ixpsfh";
};
propagatedBuildInputs = [ ppxlib ];
meta = {
inherit (src.meta) homepage;
description = "Syntax for RPCs for Eliom and Ocsigen Start";
license = lib.licenses.lgpl21Only;
maintainers = [ lib.maintainers.vbgl ];
};
}