diff options
author | Vincent Laporte <Vincent.Laporte@gmail.com> | 2015-03-04 12:50:58 +0100 |
---|---|---|
committer | Vincent Laporte <Vincent.Laporte@gmail.com> | 2015-03-04 13:15:53 +0100 |
commit | 651a4c4e6eff03a4e1ec3b944434cab44bf657d0 (patch) | |
tree | 7f48e8cffbd5d16ea2170126e64920c5e890daf1 /pkgs/development/ocaml-modules/fileutils | |
parent | 030bd26af313d08ba4bac40f17b4fdf77f2e21f1 (diff) | |
download | nixlib-651a4c4e6eff03a4e1ec3b944434cab44bf657d0.tar nixlib-651a4c4e6eff03a4e1ec3b944434cab44bf657d0.tar.gz nixlib-651a4c4e6eff03a4e1ec3b944434cab44bf657d0.tar.bz2 nixlib-651a4c4e6eff03a4e1ec3b944434cab44bf657d0.tar.lz nixlib-651a4c4e6eff03a4e1ec3b944434cab44bf657d0.tar.xz nixlib-651a4c4e6eff03a4e1ec3b944434cab44bf657d0.tar.zst nixlib-651a4c4e6eff03a4e1ec3b944434cab44bf657d0.zip |
Adds ocaml-fileutils
ocaml-fileutils is a library of pure OCaml functions to manipulate real files and filenames. Homepage: http://ocaml-fileutils.forge.ocamlcore.org/
Diffstat (limited to 'pkgs/development/ocaml-modules/fileutils')
-rw-r--r-- | pkgs/development/ocaml-modules/fileutils/default.nix | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/pkgs/development/ocaml-modules/fileutils/default.nix b/pkgs/development/ocaml-modules/fileutils/default.nix new file mode 100644 index 000000000000..8c3c42758375 --- /dev/null +++ b/pkgs/development/ocaml-modules/fileutils/default.nix @@ -0,0 +1,22 @@ +{ stdenv, fetchurl, ocaml, findlib }: + +stdenv.mkDerivation { + name = "ocaml-fileutils-0.4.5"; + + src = fetchurl { + url = https://forge.ocamlcore.org/frs/download.php/1194/ocaml-fileutils-0.4.5.tar.gz; + sha256 = "0rlqmcgjrfjihjgw5cfmack169cag8054gh5yrqph15av3lx5cra"; + }; + + buildInputs = [ ocaml findlib ]; + + createFindlibDestdir = true; + + meta = { + homepage = https://forge.ocamlcore.org/projects/ocaml-fileutils/; + platforms = ocaml.meta.platforms; + description = "Library to provide pure OCaml functions to manipulate real file (POSIX like) and filename"; + license = stdenv.lib.licenses.lgpl21Plus; + maintainers = with stdenv.lib.maintainers; [ vbgl ]; + }; +} |