at 24.11-pre 688 B view raw
1{ lib, buildDunePackage, fetchFromGitHub 2, uri, cohttp, lwt, cohttp-lwt, github-data, yojson, stringext 3}: 4 5buildDunePackage rec { 6 pname = "github"; 7 version = "4.4.1"; 8 9 src = fetchFromGitHub { 10 owner = "mirage"; 11 repo = "ocaml-github"; 12 rev = version; 13 sha256 = "sha256-psUIiIvjVV2NTlBtHnBisWreaKKnsqIjKT2+mLnfsxg="; 14 }; 15 16 duneVersion = "3"; 17 18 propagatedBuildInputs = [ 19 uri 20 cohttp 21 lwt 22 cohttp-lwt 23 github-data 24 yojson 25 stringext 26 ]; 27 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 }; 34}