nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 45 lines 1.3 kB view raw
1{ 2 lib, 3 fetchFromGitHub, 4 buildDunePackage, 5 fpath, 6}: 7 8buildDunePackage (finalAttrs: { 9 pname = "directories"; 10 version = "0.7"; 11 12 minimalOCamlVersion = "4.14"; 13 14 src = fetchFromGitHub { 15 owner = "OCamlPro"; 16 repo = "directories"; 17 tag = finalAttrs.version; 18 hash = "sha256-6qPdHqkZ0xREOTFOe5sGfz2ysDX+9JZDrEmJvenBcqw="; 19 }; 20 21 propagatedBuildInputs = [ 22 fpath 23 ]; 24 25 meta = { 26 homepage = "https://github.com/OCamlPro/directories"; 27 description = "OCaml library that provides configuration, cache and data paths (and more!) following the suitable conventions on Linux, macOS and Windows"; 28 longDescription = '' 29 directories is an OCaml library that provides configuration, cache and 30 data paths (and more!) following the suitable conventions on Linux, macOS 31 and Windows. It is inspired by similar libraries for other languages such 32 as directories-jvm. 33 34 The following conventions are used: XDG Base Directory Specification and 35 xdg-user-dirs on Linux, Known Folders on Windows, Standard Directories on 36 macOS. 37 ''; 38 changelog = "https://raw.githubusercontent.com/OCamlPro/directories/${finalAttrs.version}/CHANGES.md"; 39 license = lib.licenses.isc; 40 maintainers = with lib.maintainers; [ 41 bcc32 42 redianthus 43 ]; 44 }; 45})