mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-16 06:47:09 +03:00
Merge pull request #185484 from fabaff/tesla-wall-connector-fix
This commit is contained in:
commit
8c5f78fe99
@ -22,7 +22,7 @@ buildPythonPackage rec {
|
||||
owner = "einarhauks";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "sha256-JBtlGd9aHY8ikhpJ5v7ZcNu3BfLdBmOBZCMa6C0s6gE=";
|
||||
hash = "sha256-JBtlGd9aHY8ikhpJ5v7ZcNu3BfLdBmOBZCMa6C0s6gE=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
@ -40,13 +40,17 @@ buildPythonPackage rec {
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace pyproject.toml \
|
||||
--replace 'backoff = "^1.11.1"' 'backoff = "*"'
|
||||
'';
|
||||
|
||||
pythonImportsCheck = [
|
||||
"tesla_wall_connector"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python library for communicating with a Tesla Wall Connector";
|
||||
description = "Library for communicating with a Tesla Wall Connector";
|
||||
homepage = "https://github.com/einarhauks/tesla-wall-connector";
|
||||
license = with licenses; [ mit ];
|
||||
maintainers = with maintainers; [ fab ];
|
||||
|
Loading…
Reference in New Issue
Block a user