Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / eufylife-ble-client / default.nix
blobd6216634232a2a00241acbc6e93094b4bd3b12d7
1 { lib
2 , bleak
3 , bleak-retry-connector
4 , buildPythonPackage
5 , cryptography
6 , fetchPypi
7 , poetry-core
8 , pythonOlder
9 }:
11 buildPythonPackage rec {
12   pname = "eufylife-ble-client";
13   version = "0.1.8";
14   format = "pyproject";
16   disabled = pythonOlder "3.9";
18   src = fetchPypi {
19     pname = "eufylife_ble_client";
20     inherit version;
21     hash = "sha256-1pnT5B+m2/IDqHqOIZdDx8WwBdZpJe1Bj/HaxY+VW1Y=";
22   };
24   nativeBuildInputs = [
25     poetry-core
26   ];
28   propagatedBuildInputs = [
29     bleak
30     bleak-retry-connector
31     cryptography
32   ];
34   # Module has no tests
35   doCheck = false;
37   pythonImportsCheck = [
38     "eufylife_ble_client"
39   ];
41   meta = with lib; {
42     description = "Module for parsing data from Eufy smart scales";
43     homepage = "https://github.com/bdr99/eufylife-ble-client";
44     license = with licenses; [ mit ];
45     maintainers = with maintainers; [ fab ];
46   };