10 buildPythonPackage rec {
13 disabled = pythonOlder "3.7";
16 # the github source uses `xdg_base_dirs`, but pypi's sdist maintains `xdg` for compatibility.
17 # there are actually breaking changes in xdg_base_dirs,
18 # and libraries that want to support python 3.9 and below need to use xdg.
20 inherit pname version;
21 hash = "sha256-JCeAlPLUXoRtHrKKLruS17Z/wMq1JJ7jzojJX2SaHJI=";
24 nativeBuildInputs = [ poetry-core ];
26 propagatedBuildInputs = [ clikit ];
31 pythonImportsCheck = [ "xdg" ];
34 description = "XDG Base Directory Specification for Python";
35 homepage = "https://github.com/srstevenson/xdg";
36 license = licenses.isc;