nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at 20.03 26 lines 912 B view raw
1{ lib, fetchurl, buildDunePackage 2, alcotest, git, mtime, nocrypto 3, angstrom, astring, cstruct, decompress, digestif, encore, duff, fmt 4, fpath, hex, ke, logs, lru, ocaml_lwt, ocamlgraph, ocplib-endian, uri, rresult 5}: 6 7buildDunePackage rec { 8 pname = "git"; 9 version = "2.1.2"; 10 11 src = fetchurl { 12 url = "https://github.com/mirage/ocaml-git/releases/download/${version}/git-${version}.tbz"; 13 sha256 = "0yyclsh255k7pvc2fcsdi8k2fcrr0by2nz6g3sqnwlimjyp7mz5j"; 14 }; 15 16 propagatedBuildInputs = [ angstrom astring cstruct decompress digestif encore duff fmt fpath hex ke logs lru ocaml_lwt ocamlgraph ocplib-endian uri rresult ]; 17 checkInputs = lib.optionals doCheck [ alcotest git mtime nocrypto ]; 18 doCheck = true; 19 20 meta = { 21 description = "Git format and protocol in pure OCaml"; 22 license = lib.licenses.isc; 23 maintainers = [ lib.maintainers.vbgl ]; 24 homepage = "https://github.com/mirage/ocaml-git"; 25 }; 26}