diff options
author | Vincent Laporte <Vincent.Laporte@gmail.com> | 2017-01-19 05:51:49 +0000 |
---|---|---|
committer | Vincent Laporte <Vincent.Laporte@gmail.com> | 2017-01-19 05:51:49 +0000 |
commit | 75cea1db58e48cd8bba4b1a1d0e8a1d843a219c0 (patch) | |
tree | 705a49dfc87c1561961901acffb69db9c5c6fabd /pkgs/development/ocaml-modules | |
parent | 0baa434f2c13059b8845a30189a60d852a9c71e6 (diff) | |
download | nixpkgs-75cea1db58e48cd8bba4b1a1d0e8a1d843a219c0.tar nixpkgs-75cea1db58e48cd8bba4b1a1d0e8a1d843a219c0.tar.gz nixpkgs-75cea1db58e48cd8bba4b1a1d0e8a1d843a219c0.tar.bz2 nixpkgs-75cea1db58e48cd8bba4b1a1d0e8a1d843a219c0.tar.lz nixpkgs-75cea1db58e48cd8bba4b1a1d0e8a1d843a219c0.tar.xz nixpkgs-75cea1db58e48cd8bba4b1a1d0e8a1d843a219c0.tar.zst nixpkgs-75cea1db58e48cd8bba4b1a1d0e8a1d843a219c0.zip |
ocamlPackages.fpath: init at 0.7.1
Fpath is an OCaml module for handling file system paths with POSIX and Windows conventions. Homepage: http://erratique.ch/software/fpath
Diffstat (limited to 'pkgs/development/ocaml-modules')
-rw-r--r-- | pkgs/development/ocaml-modules/fpath/default.nix | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/pkgs/development/ocaml-modules/fpath/default.nix b/pkgs/development/ocaml-modules/fpath/default.nix new file mode 100644 index 00000000000..88f12003380 --- /dev/null +++ b/pkgs/development/ocaml-modules/fpath/default.nix @@ -0,0 +1,25 @@ +{ stdenv, fetchurl, ocaml, findlib, ocamlbuild, opam, topkg, astring }: + +stdenv.mkDerivation { + name = "ocaml${ocaml.version}-fpath-0.7.1"; + src = fetchurl { + url = http://erratique.ch/software/fpath/releases/fpath-0.7.1.tbz; + sha256 = "05134ij27xjl6gaqsc65yl19vfj6cjxq3mbm9bf4mija8grdpn6g"; + }; + + unpackCmd = "tar xjf $src"; + + buildInputs = [ ocaml findlib ocamlbuild opam topkg ]; + + propagatedBuildInputs = [ astring ]; + + inherit (topkg) buildPhase installPhase; + + meta = { + description = "An OCaml module for handling file system paths with POSIX and Windows conventions"; + homepage = http://erratique.ch/software/fpath; + license = stdenv.lib.licenses.isc; + maintainers = [ stdenv.lib.maintainers.vbgl ]; + inherit (ocaml.meta) platforms; + }; +} |