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