Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at netboot-syslinux-multiplatform 39 lines 759 B view raw
1{ lib 2, fetchurl 3, buildDunePackage 4, camlp-streams 5, ppx_cstruct 6, cstruct 7, decompress 8}: 9 10buildDunePackage rec { 11 pname = "tar"; 12 version = "2.2.2"; 13 src = fetchurl { 14 url = "https://github.com/mirage/ocaml-tar/releases/download/v${version}/tar-${version}.tbz"; 15 hash = "sha256-Q+41LPFZFHi9sXKFV3F13FZZNO3KXRSElEmr+nH58Uw="; 16 }; 17 18 duneVersion = "3"; 19 minimalOCamlVersion = "4.08"; 20 21 propagatedBuildInputs = [ 22 camlp-streams 23 cstruct 24 decompress 25 ]; 26 27 buildInputs = [ 28 ppx_cstruct 29 ]; 30 31 doCheck = true; 32 33 meta = { 34 description = "Decode and encode tar format files in pure OCaml"; 35 homepage = "https://github.com/mirage/ocaml-tar"; 36 license = lib.licenses.mit; 37 maintainers = [ lib.maintainers.ulrikstrid ]; 38 }; 39}