forgejo-lts: 7.0.10 -> 7.0.11
[NixPkgs.git] / pkgs / development / ocaml-modules / github / default.nix
blobec1816f8e5ad349a46cca758beb5d2c696b709dc
1 { lib, buildDunePackage, fetchFromGitHub
2 , uri, cohttp, lwt, cohttp-lwt, github-data, yojson, stringext
3 }:
5 buildDunePackage rec {
6   pname = "github";
7   version = "4.4.1";
9   src = fetchFromGitHub {
10     owner = "mirage";
11     repo = "ocaml-github";
12     rev = version;
13     sha256 = "sha256-psUIiIvjVV2NTlBtHnBisWreaKKnsqIjKT2+mLnfsxg=";
14   };
16   duneVersion = "3";
18   propagatedBuildInputs = [
19     uri
20     cohttp
21     lwt
22     cohttp-lwt
23     github-data
24     yojson
25     stringext
26   ];
28   meta = with lib; {
29     homepage = "https://github.com/mirage/ocaml-github";
30     description = "GitHub APIv3 OCaml library";
31     license = licenses.mit;
32     maintainers = with maintainers; [ niols ];
33   };