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