python3Packages.pysmarty2: init at 0.10.2
This commit is contained in:
parent
3b0feaf8c2
commit
206937dab6
36
pkgs/development/python-modules/pysmarty2/default.nix
Normal file
36
pkgs/development/python-modules/pysmarty2/default.nix
Normal file
@ -0,0 +1,36 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
pymodbus,
|
||||
setuptools,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pysmarty2";
|
||||
version = "0.10.2";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "martinssipenko";
|
||||
repo = "pysmarty2";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-vDm+ThPHb6O+CoBiRAVCA01O7yQqVLcmVb+Ca2JSljY=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
dependencies = [ pymodbus ];
|
||||
|
||||
# Package has no tests
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [ "pysmarty2" ];
|
||||
|
||||
meta = {
|
||||
description = "Python API for Salda Smarty Modbus TCP";
|
||||
homepage = "https://github.com/martinssipenko/pysmarty2";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = [ lib.maintainers.jamiemagee ];
|
||||
};
|
||||
}
|
@ -14050,6 +14050,8 @@ self: super: with self; {
|
||||
|
||||
pysmartthings = callPackage ../development/python-modules/pysmartthings { };
|
||||
|
||||
pysmarty2 = callPackage ../development/python-modules/pysmarty2 { };
|
||||
|
||||
pysmb = callPackage ../development/python-modules/pysmb { };
|
||||
|
||||
pysmbc = callPackage ../development/python-modules/pysmbc { };
|
||||
|
Loading…
x
Reference in New Issue
Block a user