python310Packages.nbxmpp: update inputs

This commit is contained in:
Fabian Affolter 2023-08-16 23:44:08 +02:00
parent dc8c003764
commit 5f30e78315

View file

@ -1,20 +1,22 @@
{ lib { lib
, buildPythonPackage , buildPythonPackage
, pythonOlder
, fetchFromGitLab , fetchFromGitLab
, gobject-introspection , gobject-introspection
, idna , idna
, libsoup_3 , libsoup_3
, packaging
, precis-i18n , precis-i18n
, pygobject3 , pygobject3
, pyopenssl , pyopenssl
, setuptools
, pytestCheckHook , pytestCheckHook
, pythonOlder
, setuptools
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "nbxmpp"; pname = "nbxmpp";
version = "4.3.2"; version = "4.3.2";
format = "pyproject";
disabled = pythonOlder "3.10"; disabled = pythonOlder "3.10";
@ -22,15 +24,14 @@ buildPythonPackage rec {
domain = "dev.gajim.org"; domain = "dev.gajim.org";
owner = "gajim"; owner = "gajim";
repo = "python-nbxmpp"; repo = "python-nbxmpp";
rev = version; rev = "refs/tags/${version}";
hash = "sha256-vSLWaGYST1nut+0KAzURRKsr6XRtmYYTrkJiQEK3wa4="; hash = "sha256-vSLWaGYST1nut+0KAzURRKsr6XRtmYYTrkJiQEK3wa4=";
}; };
format = "pyproject";
nativeBuildInputs = [ nativeBuildInputs = [
# required for pythonImportsCheck otherwise libsoup cannot be found # required for pythonImportsCheck otherwise libsoup cannot be found
gobject-introspection gobject-introspection
setuptools
]; ];
buildInputs = [ buildInputs = [
@ -41,16 +42,18 @@ buildPythonPackage rec {
gobject-introspection gobject-introspection
idna idna
libsoup_3 libsoup_3
packaging
pygobject3 pygobject3
pyopenssl pyopenssl
setuptools
]; ];
nativeCheckInputs = [ nativeCheckInputs = [
pytestCheckHook pytestCheckHook
]; ];
pythonImportsCheck = [ "nbxmpp" ]; pythonImportsCheck = [
"nbxmpp"
];
meta = with lib; { meta = with lib; {
homepage = "https://dev.gajim.org/gajim/python-nbxmpp"; homepage = "https://dev.gajim.org/gajim/python-nbxmpp";