mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
python3Packages.aiohasupervisor: 0.4.3 -> 0.5.0
https://github.com/home-assistant-libs/python-supervisor-client/releases/tag/0.5.0
This commit is contained in:
parent
5a6a726fc2
commit
cedb384656
1 changed files with 8 additions and 5 deletions
|
|
@ -6,6 +6,7 @@
|
|||
fetchFromGitHub,
|
||||
mashumaro,
|
||||
orjson,
|
||||
pyprojectVersionPatchHook,
|
||||
pytest-aiohttp,
|
||||
pytest-cov-stub,
|
||||
pytest-timeout,
|
||||
|
|
@ -16,23 +17,25 @@
|
|||
|
||||
buildPythonPackage rec {
|
||||
pname = "aiohasupervisor";
|
||||
version = "0.4.3";
|
||||
version = "0.5.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "home-assistant-libs";
|
||||
repo = "python-supervisor-client";
|
||||
tag = version;
|
||||
hash = "sha256-h22y62f+pdoHYKqPeKNGFkVS7/IMWbxaAoDLomwAB40=";
|
||||
hash = "sha256-qIj3kiKSo0aUj7b250c39FqxU3jV6uegmBlxR6wOkQ8=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace pyproject.toml \
|
||||
--replace-fail 'version = "0.0.0"' 'version = "${version}"' \
|
||||
--replace-fail "setuptools>=68.0,<82.1" "setuptools" \
|
||||
--replace-fail ', "wheel>=0.40,<0.47"' ""
|
||||
--replace-fail "setuptools>=68.0,<82.1" "setuptools"
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
pyprojectVersionPatchHook
|
||||
];
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
dependencies = [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue