1{ lib
2, buildPythonPackage
3, fetchFromGitLab
4}:
5
6buildPythonPackage rec {
7 pname = "pyxdg";
8 version = "0.28";
9
10 src = fetchFromGitLab {
11 domain = "gitlab.freedesktop.org";
12 owner = "xdg";
13 repo = pname;
14 rev = "rel-${version}";
15 sha256 = "sha256-TrFQzfkXabmfpGYwhxD1UVY1F645KycfSPPrMJFAe+0=";
16 };
17
18 # Tests failed (errors=4, failures=4) on NixOS
19 doCheck = false;
20
21 pythonImportsCheck = [ "xdg" ];
22
23 meta = with lib; {
24 homepage = "http://freedesktop.org/wiki/Software/pyxdg";
25 description = "Contains implementations of freedesktop.org standards";
26 license = licenses.lgpl2;
27 maintainers = with maintainers; [ domenkozar ];
28 };
29}