python3Packages.xdg: init at 4.0.1
This commit is contained in:
parent
c9f09584bc
commit
44df87416d
34
pkgs/development/python-modules/xdg/default.nix
Normal file
34
pkgs/development/python-modules/xdg/default.nix
Normal 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 ];
|
||||||
|
};
|
||||||
|
}
|
@ -3943,6 +3943,8 @@ in {
|
|||||||
|
|
||||||
colored = callPackage ../development/python-modules/colored { };
|
colored = callPackage ../development/python-modules/colored { };
|
||||||
|
|
||||||
|
xdg = callPackage ../development/python-modules/xdg { };
|
||||||
|
|
||||||
xdis = callPackage ../development/python-modules/xdis { };
|
xdis = callPackage ../development/python-modules/xdis { };
|
||||||
|
|
||||||
xnd = callPackage ../development/python-modules/xnd { };
|
xnd = callPackage ../development/python-modules/xnd { };
|
||||||
|
Loading…
x
Reference in New Issue
Block a user