python3Packages.xlib: 0.31 -> 0.33

This commit is contained in:
Martin Weinelt 2022-12-30 20:13:57 +01:00
parent 0a0a2908f0
commit 671ba422dd

View File

@ -13,24 +13,29 @@
buildPythonPackage rec {
pname = "xlib";
version = "0.31";
version = "0.33";
src = fetchFromGitHub {
owner = "python-xlib";
repo = "python-xlib";
rev = version;
sha256 = "155p9xhsk01z9vdml74h07svlqy6gljnx9c6qbydcr14lwghwn06";
rev = "refs/tags/${version}";
hash = "sha256-u06OWlMIOUzHOVS4hvm72jGgTSXWUqMvEQd8bTpFog0=";
};
patches = [
./fix-no-protocol-specified.patch
nativeBuildInputs = [
setuptools-scm
];
nativeBuildInputs = [ setuptools-scm ];
buildInputs = [ xorg.libX11 ];
propagatedBuildInputs = [ six ];
buildInputs = [
xorg.libX11
];
propagatedBuildInputs = [
six
];
doCheck = !stdenv.isDarwin;
checkInputs = [
pytestCheckHook
mock
@ -46,9 +51,11 @@ buildPythonPackage rec {
];
meta = with lib; {
changelog = "https://github.com/python-xlib/python-xlib/releases/tag/${version}";
description = "Fully functional X client library for Python programs";
homepage = "http://python-xlib.sourceforge.net/";
license = licenses.gpl2Plus;
homepage = "https://github.com/python-xlib/python-xlib";
license = licenses.lgpl21Plus;
maintainers = with maintainers; [ ];
};
}