python312Packages.vobject: 0.9.7 -> 0.9.8 (#353145)

This commit is contained in:
Robert Schütz
2024-11-30 09:21:06 -08:00
committed by GitHub
@@ -3,29 +3,42 @@
buildPythonPackage,
fetchPypi,
isPyPy,
python,
setuptools,
python-dateutil,
pytz,
six,
pytestCheckHook,
}:
buildPythonPackage rec {
version = "0.9.7";
format = "setuptools";
version = "0.9.8";
pname = "vobject";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-q3J7+B3oiYStpcEfBm8eFkmQPT49fskfHOloFyr9UlY=";
hash = "sha256-2wCn9NtJOXFV3YpoceiioBdabrpaZUww6RD4KylRS1g=";
};
disabled = isPyPy;
propagatedBuildInputs = [ python-dateutil ];
build-system = [ setuptools ];
checkPhase = "${python.interpreter} tests.py";
dependencies = [
python-dateutil
pytz
six
];
pythonImportsCheck = [ "vobject" ];
nativeCheckInputs = [ pytestCheckHook ];
pytestFlagsArray = [ "tests.py" ];
meta = with lib; {
description = "Module for reading vCard and vCalendar files";
homepage = "http://eventable.github.io/vobject/";
homepage = "https://github.com/py-vobject/vobject";
license = licenses.asl20;
maintainers = [ ];
};