mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-15 06:14:57 +01:00
40ae5e072c
* ocamlPackages.wtf8: use minimalOCamlVersion * ocamlPackages.ppx_yojson_conv: minimalOCamlVersion * ocamlPackages.postgresql: use minimalOCamlVersion * ocamlPackages.opti: use minimalOCamlVersion * ocamlPackages.opam-repository: use minimalOCamlVersion * ocamlPackages.opam-format: use minimalOCamlVersion * ocamlPackages.lwt-dllist: use minimalOCamlVersion * ocamlPackages.lacaml: use minimalOCamlVersion * ocamlPackages.gnuplot: use minimalOCamlVersion * ocamlPackages.fix: use minimalOCamlVersion * ocamlPackages.eigen: use minimalOCamlVersion * ocamlPackages.earley: use minimalOCamlVersion * ocamlPackages.directories: use minimalOCamlVersion * ocamlPackages.cpuid: use minimalOCamlVersion * build-support/ocaml: deprecate minimumOCamlVersion * build-support/ocaml: deprecate minimumOCamlVersion --------- Co-authored-by: Vincent Laporte <Vincent.Laporte@gmail.com>
33 lines
1.1 KiB
Nix
33 lines
1.1 KiB
Nix
{ lib, fetchFromGitHub, buildDunePackage }:
|
|
|
|
buildDunePackage rec {
|
|
pname = "directories";
|
|
version = "0.5";
|
|
useDune2 = true;
|
|
|
|
minimalOCamlVersion = "4.07";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "ocamlpro";
|
|
repo = pname;
|
|
rev = version;
|
|
sha256 = "sha256-31CGhmmfOORJ1ewgp+IU+p1+f2kfX/W+lxK7EGU62vc=";
|
|
};
|
|
|
|
meta = {
|
|
homepage = "https://github.com/ocamlpro/directories";
|
|
description = "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 ];
|
|
};
|
|
}
|