2020-12-09 12:39:15 +00:00
|
|
|
{ lib
|
2020-04-24 23:36:52 +00:00
|
|
|
, buildPythonPackage
|
2020-12-09 12:39:15 +00:00
|
|
|
, fetchFromGitLab
|
|
|
|
, nose
|
2020-04-24 23:36:52 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pyxdg";
|
2020-12-09 12:39:15 +00:00
|
|
|
version = "0.27";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2020-12-09 12:39:15 +00:00
|
|
|
src = fetchFromGitLab {
|
|
|
|
domain = "gitlab.freedesktop.org";
|
|
|
|
owner = "xdg";
|
|
|
|
repo = pname;
|
|
|
|
rev = "rel-${version}";
|
|
|
|
sha256 = "1dg826vrc7ifkk4lnf648h61cqfamaqmngkn9hgmxnf9gqmkbn0k";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2020-12-09 12:39:15 +00:00
|
|
|
# Tests failed (errors=4, failures=4) on NixOS
|
2020-04-24 23:36:52 +00:00
|
|
|
doCheck = false;
|
|
|
|
|
2020-12-09 12:39:15 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "http://freedesktop.org/wiki/Software/pyxdg";
|
|
|
|
description = "Contains implementations of freedesktop.org standards";
|
|
|
|
license = licenses.lgpl2;
|
|
|
|
maintainers = with maintainers; [ domenkozar ];
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|