python3Packages.pypca: init at 0.0.13

This commit is contained in:
Fabian Affolter 2021-06-20 13:57:50 +02:00
parent 9770439689
commit af72b540e6
2 changed files with 37 additions and 0 deletions

View file

@ -0,0 +1,35 @@
{ lib
, buildPythonPackage
, colorlog
, fetchPypi
, pythonOlder
, pyserial
}:
buildPythonPackage rec {
pname = "pypca";
version = "0.0.13";
disabled = pythonOlder "3.5";
src = fetchPypi {
inherit pname version;
sha256 = "0y0p2rm22x21mykipiv42fjc79b0969qsbhk3cqkrdnqwh5psbdl";
};
propagatedBuildInputs = [
colorlog
pyserial
];
# Project has no tests
doCheck = false;
pythonImportsCheck = [ "pypca" ];
meta = with lib; {
description = "Python library for interacting with the PCA 301 smart plugs";
homepage = "https://github.com/majuss/pypca";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}

View file

@ -6236,6 +6236,8 @@ in {
pypblib = callPackage ../development/python-modules/pypblib { };
pypca = callPackage ../development/python-modules/pypca { };
pypcap = callPackage ../development/python-modules/pypcap { };
pypck = callPackage ../development/python-modules/pypck { };