python312Packages.dash-renderer: remove (#369714)
[NixPkgs.git] / pkgs / development / python-modules / micloud / default.nix
blobb6d325395c8fb8147ad4e0142e7679dda89537e8
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   click,
6   pycryptodome,
7   requests,
8   tzlocal,
9 }:
11 buildPythonPackage rec {
12   pname = "micloud";
13   version = "0.6";
14   format = "setuptools";
16   src = fetchFromGitHub {
17     owner = "Squachen";
18     repo = "micloud";
19     rev = "v_${version}";
20     hash = "sha256-IsNXFs1N+rKwqve2Pjp+wRTZCxHF4acEo6KyhsSKuqI=";
21   };
23   propagatedBuildInputs = [
24     click
25     pycryptodome
26     requests
27     tzlocal
28   ];
30   # tests require credentials
31   doCheck = false;
33   pythonImportsCheck = [ "micloud" ];
35   meta = with lib; {
36     description = "Xiaomi cloud connect library";
37     mainProgram = "micloud";
38     homepage = "https://github.com/Squachen/micloud";
39     license = licenses.mit;
40     maintainers = with maintainers; [ dotlambda ];
41   };