Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 fetchurl, 4 buildDunePackage, 5 camlp-streams, 6 decompress, 7}: 8 9buildDunePackage rec { 10 pname = "tar"; 11 version = "3.3.0"; 12 src = fetchurl { 13 url = "https://github.com/mirage/ocaml-tar/releases/download/v${version}/tar-${version}.tbz"; 14 hash = "sha256-89aw1nf9QP0euAvMxgu2EyIDWL5Y9mxfqL8CV/Pl65Y="; 15 }; 16 17 minimalOCamlVersion = "4.08"; 18 19 propagatedBuildInputs = [ 20 camlp-streams 21 decompress 22 ]; 23 24 doCheck = true; 25 26 meta = { 27 description = "Decode and encode tar format files in pure OCaml"; 28 homepage = "https://github.com/mirage/ocaml-tar"; 29 license = lib.licenses.mit; 30 maintainers = [ lib.maintainers.ulrikstrid ]; 31 }; 32}