9 buildPythonPackage rec {
10 pname = "xdg-base-dirs";
14 disabled = pythonOlder "3.10";
16 src = fetchFromGitHub {
17 owner = "srstevenson";
18 repo = "xdg-base-dirs";
20 hash = "sha256-nbdF1tjVqlxwiGW0pySS6HyJbmNuQ7mVdQYfhofO4Dk=";
27 nativeCheckInputs = [ pytestCheckHook ];
29 pythonImportsCheck = [ "xdg_base_dirs" ];
31 # remove coverage flags from pytest config
33 sed -i /addopts/d pyproject.toml
37 description = "An implementation of the XDG Base Directory Specification in Python";
38 homepage = "https://github.com/srstevenson/xdg-base-dirs";
39 changelog = "https://github.com/srstevenson/xdg-base-dirs/releases/tag/${src.rev}";
40 license = licenses.isc;
41 maintainers = with maintainers; [ figsoda ];