Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
43 lines
1.2 KiB
Nix
43 lines
1.2 KiB
Nix
{
|
|
lib,
|
|
fetchFromGitHub,
|
|
buildDunePackage,
|
|
fpath,
|
|
}:
|
|
|
|
buildDunePackage rec {
|
|
pname = "directories";
|
|
version = "0.6";
|
|
|
|
minimalOCamlVersion = "4.14";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "OCamlPro";
|
|
repo = pname;
|
|
tag = version;
|
|
hash = "sha256-c/9ChiSODD1K7YsMj65tjErAwXeWvEQ8BkAcUvsr19c=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
fpath
|
|
];
|
|
|
|
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.
|
|
'';
|
|
changelog = "https://raw.githubusercontent.com/OCamlPro/directories/refs/tags/${src.tag}/CHANGES.md";
|
|
license = lib.licenses.isc;
|
|
maintainers = with lib.maintainers; [ bcc32 ];
|
|
};
|
|
}
|