python3Packages.xdg: init at 4.0.1

This commit is contained in:
Jonathan Ringer 2020-03-25 17:04:56 -07:00
parent c9f09584bc
commit 44df87416d
2 changed files with 36 additions and 0 deletions

View File

@ -0,0 +1,34 @@
{ lib, buildPythonPackage, fetchFromGitHub, isPy27
, clikit
, poetry
, pytestCheckHook
}:
buildPythonPackage rec {
version = "4.0.1";
pname = "xdg";
disabled = isPy27;
format = "pyproject";
src = fetchFromGitHub {
owner = "srstevenson";
repo = pname;
rev = version;
sha256 = "13kgnbwam6wmdbig0m98vmyjcqrp0j62nmfknb6prr33ns2nxbs2";
};
nativeBuildInputs = [ poetry ];
propagatedBuildInputs = [
clikit
];
checkInputs = [ pytestCheckHook ];
meta = with lib; {
description = "XDG Base Directory Specification for Python";
homepage = "https://github.com/srstevenson/xdg";
license = licenses.isc;
maintainers = with maintainers; [ jonringer ];
};
}

View File

@ -3943,6 +3943,8 @@ in {
colored = callPackage ../development/python-modules/colored { };
xdg = callPackage ../development/python-modules/xdg { };
xdis = callPackage ../development/python-modules/xdis { };
xnd = callPackage ../development/python-modules/xnd { };