summaryrefslogtreecommitdiffstats
path: root/pkgs/development/python-modules/airtouch4pyapi/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python-modules/airtouch4pyapi/default.nix')
-rw-r--r--pkgs/development/python-modules/airtouch4pyapi/default.nix9
1 files changed, 9 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/airtouch4pyapi/default.nix b/pkgs/development/python-modules/airtouch4pyapi/default.nix
index 193070ac7261..1c567181f9b4 100644
--- a/pkgs/development/python-modules/airtouch4pyapi/default.nix
+++ b/pkgs/development/python-modules/airtouch4pyapi/default.nix
@@ -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
];