mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-19 16:45:49 +01:00
Merge pull request #174056 from dotlambda/airtouch4pyapi-patch
python3Packages.airtouch4pyapi: make compatible with Home Assistant
This commit is contained in:
commit
cb06de526c
2 changed files with 9 additions and 1 deletions
|
@ -1,6 +1,7 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, fetchpatch
|
||||
, numpy
|
||||
, pythonOlder
|
||||
}:
|
||||
|
@ -20,6 +21,14 @@ buildPythonPackage rec {
|
|||
sha256 = "17c7fm72p085pg9msvsfdggbskvm12a6jlb5bw1cndrqsqcrxywx";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# https://github.com/LonePurpleWolf/airtouch4pyapi/pull/10
|
||||
(fetchpatch {
|
||||
url = "https://github.com/LonePurpleWolf/airtouch4pyapi/commit/5b5d91fad63495c83422e7a850897946ac95b25d.patch";
|
||||
hash = "sha256-tVlCLXuOJSqjbs0jj0iHCIXWZE8wmMV3ChzmE6uq3SM=";
|
||||
})
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
numpy
|
||||
];
|
||||
|
|
|
@ -71,7 +71,6 @@ in lib.listToAttrs (map (component: lib.nameValuePair component (
|
|||
|
||||
meta = old.meta // {
|
||||
broken = lib.elem component [
|
||||
"airtouch4"
|
||||
"bsblan"
|
||||
"dnsip"
|
||||
"efergy"
|
||||
|
|
Loading…
Reference in a new issue