mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 23:13:19 +00:00
Merge pull request #119079 from fabaff/pyclimacell
This commit is contained in:
commit
395cb3c91a
39
pkgs/development/python-modules/pyclimacell/default.nix
Normal file
39
pkgs/development/python-modules/pyclimacell/default.nix
Normal file
@ -0,0 +1,39 @@
|
||||
{ lib
|
||||
, aiohttp
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, pytz
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pyclimacell";
|
||||
version = "0.18.0";
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "raman325";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "0pxlh3lwd1az6v7vbaz9kv6ngqxf34iddp7vr0d0p8apbvinwrha";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
aiohttp
|
||||
pytz
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "pyclimacell" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python client for ClimaCell API";
|
||||
homepage = "https://github.com/raman325/pyclimacell";
|
||||
license = with licenses; [ mit ];
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
@ -122,7 +122,7 @@
|
||||
"clickatell" = ps: with ps; [ ];
|
||||
"clicksend" = ps: with ps; [ ];
|
||||
"clicksend_tts" = ps: with ps; [ ];
|
||||
"climacell" = ps: with ps; [ ]; # missing inputs: pyclimacell
|
||||
"climacell" = ps: with ps; [ pyclimacell ];
|
||||
"climate" = ps: with ps; [ ];
|
||||
"cloud" = ps: with ps; [ aiohttp-cors hass-nabucasa ];
|
||||
"cloudflare" = ps: with ps; [ pycfdns ];
|
||||
|
@ -5615,6 +5615,8 @@ in {
|
||||
|
||||
PyChromecast = callPackage ../development/python-modules/pychromecast { };
|
||||
|
||||
pyclimacell = callPackage ../development/python-modules/pyclimacell { };
|
||||
|
||||
pyclipper = callPackage ../development/python-modules/pyclipper { };
|
||||
|
||||
pycm = callPackage ../development/python-modules/pycm { };
|
||||
|
Loading…
Reference in New Issue
Block a user