nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at netboot-syslinux-multiplatform 33 lines 1.1 kB view raw
1{ lib, fetchFromGitHub, buildDunePackage }: 2 3buildDunePackage rec { 4 pname = "directories"; 5 version = "0.5"; 6 useDune2 = true; 7 8 minimumOCamlVersion = "4.07"; 9 10 src = fetchFromGitHub { 11 owner = "ocamlpro"; 12 repo = pname; 13 rev = version; 14 sha256 = "sha256-31CGhmmfOORJ1ewgp+IU+p1+f2kfX/W+lxK7EGU62vc="; 15 }; 16 17 meta = { 18 homepage = "https://github.com/ocamlpro/directories"; 19 description = "An OCaml library that provides configuration, cache and data paths (and more!) following the suitable conventions on Linux, macOS and Windows"; 20 longDescription = '' 21 directories is an OCaml library that provides configuration, cache and 22 data paths (and more!) following the suitable conventions on Linux, macOS 23 and Windows. It is inspired by similar libraries for other languages such 24 as directories-jvm. 25 26 The following conventions are used: XDG Base Directory Specification and 27 xdg-user-dirs on Linux, Known Folders on Windows, Standard Directories on 28 macOS. 29 ''; 30 license = lib.licenses.isc; 31 maintainers = with lib.maintainers; [ bcc32 ]; 32 }; 33}