mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-11 08:13:04 +00:00
26 lines
441 B
Nix
26 lines
441 B
Nix
{ 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";
|
|
};
|
|
}
|