python3Packages.sense-energy: init at 0.9.0
This commit is contained in:
parent
b0cf786b96
commit
f21ae7bf32
2 changed files with 41 additions and 0 deletions
39
pkgs/development/python-modules/sense-energy/default.nix
Normal file
39
pkgs/development/python-modules/sense-energy/default.nix
Normal file
|
@ -0,0 +1,39 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, aiohttp
|
||||
, requests
|
||||
, websocket-client
|
||||
, websockets
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "sense-energy";
|
||||
version = "0.9.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "scottbonline";
|
||||
repo = "sense";
|
||||
rev = version;
|
||||
sha256 = "1lbarsa9wpm7hnhgf2g253w0gs80cn989dnj4aqmic57x5isikhz";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
aiohttp
|
||||
requests
|
||||
websocket-client
|
||||
websockets
|
||||
];
|
||||
|
||||
# no tests implemented
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [ "sense_energy" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "API for the Sense Energy Monitor";
|
||||
homepage = "https://github.com/scottbonline/sense";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ dotlambda ];
|
||||
};
|
||||
}
|
|
@ -7722,6 +7722,8 @@ in {
|
|||
|
||||
sendgrid = callPackage ../development/python-modules/sendgrid { };
|
||||
|
||||
sense-energy = callPackage ../development/python-modules/sense-energy { };
|
||||
|
||||
sentencepiece = callPackage ../development/python-modules/sentencepiece {
|
||||
inherit (pkgs) sentencepiece;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue