Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at release-19.03 23 lines 735 B view raw
1{ stdenv, fetchurl, ocaml, findlib, ocamlbuild, topkg, astring }: 2 3stdenv.mkDerivation { 4 name = "ocaml${ocaml.version}-fpath-0.7.2"; 5 src = fetchurl { 6 url = http://erratique.ch/software/fpath/releases/fpath-0.7.2.tbz; 7 sha256 = "1hr05d8bpqmqcfdavn4rjk9rxr7v2zl84866f5knjifrm60sxqic"; 8 }; 9 10 buildInputs = [ ocaml findlib ocamlbuild topkg ]; 11 12 propagatedBuildInputs = [ astring ]; 13 14 inherit (topkg) buildPhase installPhase; 15 16 meta = { 17 description = "An OCaml module for handling file system paths with POSIX and Windows conventions"; 18 homepage = http://erratique.ch/software/fpath; 19 license = stdenv.lib.licenses.isc; 20 maintainers = [ stdenv.lib.maintainers.vbgl ]; 21 inherit (ocaml.meta) platforms; 22 }; 23}