mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 09:23:01 +00:00
Merge pull request #128971 from dotlambda/micloud-init
pythonPackages.micloud: init at 0.3
This commit is contained in:
commit
642f236637
37
pkgs/development/python-modules/micloud/default.nix
Normal file
37
pkgs/development/python-modules/micloud/default.nix
Normal file
@ -0,0 +1,37 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, click
|
||||
, requests
|
||||
, tzlocal
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "micloud";
|
||||
version = "0.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Squachen";
|
||||
repo = "micloud";
|
||||
rev = "v_${version}";
|
||||
sha256 = "0267zyr79nfb5f9rwdwq3ym258yrpxx1b71xiqmszyz5s83mcixm";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
click
|
||||
requests
|
||||
tzlocal
|
||||
];
|
||||
|
||||
# tests require credentials
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [ "micloud" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Xiaomi cloud connect library";
|
||||
homepage = "https://github.com/Squachen/micloud";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ dotlambda ];
|
||||
};
|
||||
}
|
@ -5231,6 +5231,8 @@ in {
|
||||
|
||||
phonenumbers = callPackage ../development/python-modules/phonenumbers { };
|
||||
|
||||
micloud = callPackage ../development/python-modules/micloud { };
|
||||
|
||||
netmap = callPackage ../development/python-modules/netmap { };
|
||||
|
||||
openapi-core = callPackage ../development/python-modules/openapi-core { };
|
||||
|
Loading…
Reference in New Issue
Block a user