2023-05-24 13:37:59 +00:00
|
|
|
{ lib, buildDunePackage, github
|
|
|
|
, cohttp, cohttp-lwt-unix, stringext, cmdliner, lwt
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildDunePackage {
|
|
|
|
pname = "github-unix";
|
|
|
|
inherit (github) version src;
|
|
|
|
|
2023-07-15 17:15:38 +00:00
|
|
|
postPatch = ''
|
|
|
|
substituteInPlace unix/dune --replace 'github bytes' 'github'
|
|
|
|
'';
|
2023-05-24 13:37:59 +00:00
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
github
|
|
|
|
cohttp
|
|
|
|
cohttp-lwt-unix
|
|
|
|
stringext
|
|
|
|
cmdliner
|
|
|
|
lwt
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = github.meta // {
|
|
|
|
description = "GitHub APIv3 Unix library";
|
|
|
|
};
|
|
|
|
}
|