nixpkgs/pkgs/development/ocaml-modules/github/unix.nix

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

26 lines
446 B
Nix
Raw Normal View History

2023-05-03 13:41:44 +02:00
{ lib, buildDunePackage, github
, cohttp, cohttp-lwt-unix, stringext, cmdliner, lwt
}:
buildDunePackage {
pname = "github-unix";
inherit (github) version src;
postPatch = ''
substituteInPlace unix/dune --replace 'github bytes' 'github'
'';
2023-05-03 13:41:44 +02:00
propagatedBuildInputs = [
github
cohttp
cohttp-lwt-unix
stringext
cmdliner
lwt
];
meta = github.meta // {
description = "GitHub APIv3 Unix library";
};
}