Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at release-19.03 27 lines 716 B view raw
1{ stdenv, fetchFromGitHub, buildDunePackage 2, astring, decompress, fmt, hex, logs, mstruct, ocaml_lwt, ocamlgraph, uri 3, alcotest, mtime, nocrypto 4}: 5 6buildDunePackage rec { 7 pname = "git"; 8 version = "1.11.5"; 9 10 src = fetchFromGitHub { 11 owner = "mirage"; 12 repo = "ocaml-git"; 13 rev = version; 14 sha256 = "0r1bxpxjjnl9hh8xbabsxl7svzvd19hfy73a2y1m4kljmw64dpfh"; 15 }; 16 17 buildInputs = [ alcotest mtime nocrypto ]; 18 propagatedBuildInputs = [ astring decompress fmt hex logs mstruct ocaml_lwt ocamlgraph uri ]; 19 doCheck = true; 20 21 meta = { 22 description = "Git format and protocol in pure OCaml"; 23 license = stdenv.lib.licenses.isc; 24 maintainers = [ stdenv.lib.maintainers.vbgl ]; 25 inherit (src.meta) homepage; 26 }; 27}