forked from mirrors/nixpkgs
python3Packages.pypca: init at 0.0.13
This commit is contained in:
parent
9770439689
commit
af72b540e6
35
pkgs/development/python-modules/pypca/default.nix
Normal file
35
pkgs/development/python-modules/pypca/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue