python3Packages.satel-integra: init at 0.3.7
This commit is contained in:
@@ -0,0 +1,45 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
pythonOlder,
|
||||
setuptools,
|
||||
click,
|
||||
pytestCheckHook,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "satel-integra";
|
||||
version = "0.3.7";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "c-soft";
|
||||
repo = "satel_integra";
|
||||
tag = version;
|
||||
hash = "sha256-nCFb8NaZQ6TO4aXCSpbbHGkJr3nJVkt1R4hi9mts070=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace setup.py \
|
||||
--replace "'pytest-runner'," ""
|
||||
'';
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
dependencies = [ click ];
|
||||
|
||||
nativeCheckInputs = [ pytestCheckHook ];
|
||||
|
||||
pythonImportsCheck = [ "satel_integra" ];
|
||||
|
||||
meta = {
|
||||
description = "Communication library and basic testing tool for Satel Integra alarm system";
|
||||
homepage = "https://github.com/c-soft/satel_integra";
|
||||
changelog = "https://github.com/c-soft/satel_integra/releases/tag/${version}";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = [ lib.maintainers.jamiemagee ];
|
||||
};
|
||||
}
|
||||
@@ -15894,6 +15894,8 @@ self: super: with self; {
|
||||
|
||||
sasmodels = callPackage ../development/python-modules/sasmodels { };
|
||||
|
||||
satel-integra = callPackage ../development/python-modules/satel-integra { };
|
||||
|
||||
sbom2dot = callPackage ../development/python-modules/sbom2dot { };
|
||||
|
||||
sbom4files = callPackage ../development/python-modules/sbom4files { };
|
||||
|
||||
Reference in New Issue
Block a user