python3Packages.python-juicenet: init at 1.0.2

This commit is contained in:
Robert Schütz 2021-06-24 00:10:16 +02:00
parent 630de311e4
commit cb6b93e299
2 changed files with 35 additions and 0 deletions

View file

@ -0,0 +1,33 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, aiohttp
}:
buildPythonPackage rec {
pname = "python-juicenet";
version = "1.0.2";
src = fetchFromGitHub {
owner = "jesserockz";
repo = "python-juicenet";
rev = "v${version}";
sha256 = "04547pj51ds31yhyc7ng47v9giz16h2s3wgb6szc8ivhb5rclqz2";
};
propagatedBuildInputs = [
aiohttp
];
# no tests implemented
doCheck = false;
pythonImportsCheck = [ "pyjuicenet" ];
meta = with lib; {
description = "Read and control Juicenet/Juicepoint/Juicebox based EVSE devices";
homepage = "https://github.com/jesserockz/python-juicenet";
license = licenses.mit;
maintainers = with maintainers; [ dotlambda ];
};
}

View file

@ -5351,6 +5351,8 @@ in {
python-izone = callPackage ../development/python-modules/python-izone { };
python-juicenet = callPackage ../development/python-modules/python-juicenet { };
python-openems = callPackage ../development/python-modules/python-openems { };
python-openzwave-mqtt = callPackage ../development/python-modules/python-openzwave-mqtt { };