nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 43 lines 897 B view raw
1{ 2 stdenv, 3 lib, 4 fetchurl, 5 ocaml, 6 findlib, 7 ocamlbuild, 8 topkg, 9 astring, 10}: 11 12stdenv.mkDerivation rec { 13 pname = "ocaml${ocaml.version}-fpath"; 14 version = "0.7.3"; 15 16 src = fetchurl { 17 url = "https://erratique.ch/software/fpath/releases/fpath-${version}.tbz"; 18 sha256 = "03z7mj0sqdz465rc4drj1gr88l9q3nfs374yssvdjdyhjbqqzc0j"; 19 }; 20 21 nativeBuildInputs = [ 22 ocaml 23 findlib 24 ocamlbuild 25 topkg 26 ]; 27 buildInputs = [ topkg ]; 28 29 propagatedBuildInputs = [ astring ]; 30 31 strictDeps = true; 32 33 inherit (topkg) buildPhase installPhase; 34 35 meta = { 36 description = "OCaml module for handling file system paths with POSIX and Windows conventions"; 37 homepage = "https://erratique.ch/software/fpath"; 38 license = lib.licenses.isc; 39 maintainers = [ lib.maintainers.vbgl ]; 40 inherit (ocaml.meta) platforms; 41 broken = lib.versionOlder ocaml.version "4.03"; 42 }; 43}