xdg-basedir-compliant: XDG Basedir

[ bsd3, library, system ] [ Propose Tags ]

See README.md


[Skip to Readme]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

Versions [RSS] 1.0.2, 1.1.0, 1.2.0
Change log CHANGELOG
Dependencies base (>=4.7 && <5), bytestring, directory, filepath, path, polysemy, polysemy-plugin, polysemy-zoo, split [details]
License BSD-3-Clause
Copyright 2022 Pierre Thierry
Author Pierre Thierry
Maintainer pierre@nothos.net
Category System
Home page https://github.com/kephas/xdg-basedir-compliant#readme
Bug tracker https://github.com/kephas/xdg-basedir-compliant/issues
Source repo head: git clone https://github.com/kephas/xdg-basedir-compliant
Uploaded by kephasp at 2022-10-28T12:16:52Z
Distributions NixOS:1.2.0
Downloads 162 total (11 in the last 30 days)
Rating 2.0 (votes: 1) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2022-10-28 [all 1 reports]

Readme for xdg-basedir-compliant-1.1.0

[back to package description]

XDG Basedir implementation

This is a compliant implementation of the XDG Base Directory Specification.

Compliance

  • $XDG_DATA_HOME
    • get path
    • read file
    • write file
  • $XDG_CONFIG_HOME
    • get path
    • read file
    • write file
  • $XDG_STATE_HOME
    • get path
    • read file
    • write file
  • $XDG_DATA_DIRS
    • get path list
    • read best file
    • merge files
  • $XDG_CONFIG_DIRS
    • get path list
    • read best file
    • merge files
  • $XDG_CACHE_HOME
    • get path
    • read file
    • write file
  • $XDG_RUNTIME_DIR
    • get path
    • read file
    • write file
  • treat relative paths as invalid

Build

You can build the project with:

hpack
cabal build

If you have Nix installed, shell.nix provides an environment with all the needed dependencies. It is suitable for nix-direnv.