mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 00:12:56 +00:00
683f2f5ba2
* ocamlPackages.cohttp: fix for OCaml 5.0 * ocamlPackages.github-unix: fix for OCaml 5.0 Co-authored-by: Ulrik Strid <ulrik.strid@outlook.com>
26 lines
446 B
Nix
26 lines
446 B
Nix
{ 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'
|
|
'';
|
|
|
|
propagatedBuildInputs = [
|
|
github
|
|
cohttp
|
|
cohttp-lwt-unix
|
|
stringext
|
|
cmdliner
|
|
lwt
|
|
];
|
|
|
|
meta = github.meta // {
|
|
description = "GitHub APIv3 Unix library";
|
|
};
|
|
}
|