10 buildPythonPackage rec {
11 pname = "xdg-base-dirs";
15 disabled = pythonOlder "3.10";
17 src = fetchFromGitHub {
18 owner = "srstevenson";
19 repo = "xdg-base-dirs";
21 hash = "sha256-nbdF1tjVqlxwiGW0pySS6HyJbmNuQ7mVdQYfhofO4Dk=";
24 nativeBuildInputs = [ poetry-core ];
26 nativeCheckInputs = [ pytestCheckHook ];
28 pythonImportsCheck = [ "xdg_base_dirs" ];
30 # remove coverage flags from pytest config
32 sed -i /addopts/d pyproject.toml
36 description = "Implementation of the XDG Base Directory Specification in Python";
37 homepage = "https://github.com/srstevenson/xdg-base-dirs";
38 changelog = "https://github.com/srstevenson/xdg-base-dirs/releases/tag/${src.rev}";
39 license = licenses.isc;
40 maintainers = with maintainers; [ figsoda ];