diff options
author | Aaron L. Zeng <me@bcc32.com> | 2021-02-22 14:16:22 -0500 |
---|---|---|
committer | Vincent Laporte <vbgl@users.noreply.github.com> | 2021-03-03 08:41:55 +0100 |
commit | 2517018ac2586c74cba2ef4e7bf1fd7fbc2e4ef1 (patch) | |
tree | ed73f513b02de6cd75aa41577f336621da9f014a /pkgs/development/ocaml-modules/directories | |
parent | 7393cb9fe4f03c55174708cad56c7ce9d623b040 (diff) | |
download | nixlib-2517018ac2586c74cba2ef4e7bf1fd7fbc2e4ef1.tar nixlib-2517018ac2586c74cba2ef4e7bf1fd7fbc2e4ef1.tar.gz nixlib-2517018ac2586c74cba2ef4e7bf1fd7fbc2e4ef1.tar.bz2 nixlib-2517018ac2586c74cba2ef4e7bf1fd7fbc2e4ef1.tar.lz nixlib-2517018ac2586c74cba2ef4e7bf1fd7fbc2e4ef1.tar.xz nixlib-2517018ac2586c74cba2ef4e7bf1fd7fbc2e4ef1.tar.zst nixlib-2517018ac2586c74cba2ef4e7bf1fd7fbc2e4ef1.zip |
ocamlPackages.directories: init at 0.2
Diffstat (limited to 'pkgs/development/ocaml-modules/directories')
-rw-r--r-- | pkgs/development/ocaml-modules/directories/default.nix | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/pkgs/development/ocaml-modules/directories/default.nix b/pkgs/development/ocaml-modules/directories/default.nix new file mode 100644 index 000000000000..eae11953113b --- /dev/null +++ b/pkgs/development/ocaml-modules/directories/default.nix @@ -0,0 +1,33 @@ +{ lib, fetchFromGitHub, buildDunePackage }: + +buildDunePackage rec { + pname = "directories"; + version = "0.2"; + useDune2 = true; + + minimumOCamlVersion = "4.07"; + + src = fetchFromGitHub { + owner = "ocamlpro"; + repo = pname; + rev = version; + sha256 = "0s7ginh0g0fhw8xf9v58cx99a8q9jqsf4i0p134m5qzf84qpjwff"; + }; + + meta = { + homepage = "https://github.com/ocamlpro/directories"; + description = "An OCaml library that provides configuration, cache and data paths (and more!) following the suitable conventions on Linux, macOS and Windows"; + longDescription = '' + directories is an OCaml library that provides configuration, cache and + data paths (and more!) following the suitable conventions on Linux, macOS + and Windows. It is inspired by similar libraries for other languages such + as directories-jvm. + + The following conventions are used: XDG Base Directory Specification and + xdg-user-dirs on Linux, Known Folders on Windows, Standard Directories on + macOS. + ''; + license = lib.licenses.isc; + maintainers = with lib.maintainers; [ bcc32 ]; + }; +} |