Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 fetchurl, 4 ocaml, 5 buildDunePackage, 6 seq, 7 stdlib-shims, 8 ounit2, 9}: 10 11buildDunePackage rec { 12 pname = "fileutils"; 13 version = "0.6.6"; 14 15 src = fetchurl { 16 url = "https://github.com/gildor478/ocaml-fileutils/releases/download/v${version}/fileutils-${version}.tbz"; 17 hash = "sha256-eW1XkeK/ezv/IAz1BXp6GHhDnrzXTtDxCIz4Z1bVK+Y="; 18 }; 19 20 minimalOCamlVersion = "4.14"; 21 22 propagatedBuildInputs = [ 23 seq 24 stdlib-shims 25 ]; 26 27 checkInputs = [ 28 ounit2 29 ]; 30 doCheck = lib.versionAtLeast ocaml.version "4.08"; 31 32 meta = with lib; { 33 description = "OCaml API to manipulate real files (POSIX like) and filenames"; 34 homepage = "https://github.com/gildor478/ocaml-fileutils"; 35 license = licenses.lgpl21Plus; 36 maintainers = with maintainers; [ vbgl ]; 37 }; 38}