Merge pull request #294655 from chuangzhu/pure-protobuf-3.0.1

python3Packages.pure-protobuf: 2.3.0 -> 3.0.1
This commit is contained in:
Weijia Wang 2024-04-01 00:56:27 +02:00 committed by GitHub
commit a9b9bc99d4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -4,18 +4,20 @@
, fetchFromGitHub
, poetry-core
, poetry-dynamic-versioning
, pydantic
, typing-extensions
, pytestCheckHook
, pytest-benchmark
, typing-extensions
, pytest-cov
, pydantic
}:
buildPythonPackage rec {
pname = "pure-protobuf";
version = "3.0.1"; # Komikku not launching w/ 3.0.0, #280551
version = "3.0.1";
format = "pyproject";
disabled = pythonOlder "3.7";
# < 3.10 requires get-annotations which isn't packaged yet
disabled = pythonOlder "3.10";
src = fetchFromGitHub {
owner = "eigenein";
@ -24,13 +26,10 @@ buildPythonPackage rec {
hash = "sha256-sGKnta+agrpJkQB0twFkqRreD5WB2O/06g75N0ic4mc=";
};
postPatch = ''
sed -i "/addopts =/d" pyproject.toml
'';
build-system = [
poetry-core
poetry-dynamic-versioning
typing-extensions
];
dependencies = [
@ -41,6 +40,7 @@ buildPythonPackage rec {
pydantic
pytestCheckHook
pytest-benchmark
pytest-cov
];
pytestFlagsArray = [