nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 40 lines 726 B view raw
1{ 2 buildDunePackage, 3 fetchpatch, 4 github, 5 cohttp, 6 cohttp-lwt-unix, 7 stringext, 8 cmdliner, 9 lwt, 10}: 11 12buildDunePackage { 13 pname = "github-unix"; 14 inherit (github) version src; 15 16 patches = [ 17 # Compatibility with yojson 3.0 18 (fetchpatch { 19 url = "https://github.com/mirage/ocaml-github/commit/487d7d413363921a8ffbb941610c2f71c811add8.patch"; 20 hash = "sha256-ThCsWRQKmlRg7rk8tlorsO87v8RWnBvocHDvgg/WWMA="; 21 }) 22 ]; 23 24 postPatch = '' 25 substituteInPlace unix/dune --replace 'github bytes' 'github' 26 ''; 27 28 propagatedBuildInputs = [ 29 github 30 cohttp 31 cohttp-lwt-unix 32 stringext 33 cmdliner 34 lwt 35 ]; 36 37 meta = github.meta // { 38 description = "GitHub APIv3 Unix library"; 39 }; 40}