mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-12 03:56:17 +03:00
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:
commit
a9b9bc99d4
@ -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 = [
|
||||
|
Loading…
Reference in New Issue
Block a user