10 buildPythonPackage rec {
11 pname = "xdg-base-dirs";
15 disabled = pythonOlder "3.10";
17 src = fetchFromGitHub {
18 owner = "srstevenson";
19 repo = "xdg-base-dirs";
20 rev = "refs/tags/${version}";
21 hash = "sha256-iXK9WURTfmpl5vd7RsT0ptwfrb5UQQFqMMCu3+vL+EY=";
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/${version}";
39 license = licenses.isc;
40 maintainers = with maintainers; [ figsoda ];