mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 07:53:19 +00:00
Merge pull request #286708 from fabaff/nats-py-bump
python311Packages.nats-py: 2.6.0 -> 2.7.0
This commit is contained in:
commit
5461646fb3
@ -5,6 +5,7 @@
|
||||
, ed25519
|
||||
, fetchFromGitHub
|
||||
, nats-server
|
||||
, nkeys
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, setuptools
|
||||
@ -13,8 +14,8 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "nats-py";
|
||||
version = "2.6.0";
|
||||
format = "pyproject";
|
||||
version = "2.7.0";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
@ -22,23 +23,29 @@ buildPythonPackage rec {
|
||||
owner = "nats-io";
|
||||
repo = "nats.py";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-gpQXCihKvuXzCt1WNOd5W7RxxfVAvpaVP6OuHUiAQkw=";
|
||||
hash = "sha256-spKz0rKTI8hWdO6r8VLtP3G8tS9ANsjYRbinXOARCOQ=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace pyproject.toml \
|
||||
--replace '"--cov=nats", "--cov-report=html"' ""
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
setuptools
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
aiohttp
|
||||
ed25519
|
||||
];
|
||||
|
||||
passthru.optional-dependencies = {
|
||||
aiohttp = [
|
||||
aiohttp
|
||||
];
|
||||
nkeys = [
|
||||
nkeys
|
||||
];
|
||||
# fast_parse = [
|
||||
# fast-mail-parser
|
||||
# ];
|
||||
};
|
||||
|
||||
nativeCheckInputs = [
|
||||
nats-server
|
||||
pytestCheckHook
|
||||
|
Loading…
Reference in New Issue
Block a user