Merge pull request #181590 from fabaff/pyialarm-bump

python310Packages.pyialarm: 2.0.0 -> 2.2.0
This commit is contained in:
Fabian Affolter 2022-07-15 16:04:32 +02:00 committed by GitHub
commit 380aee0f1e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 41 additions and 5 deletions

View file

@ -0,0 +1,32 @@
{ lib
, buildPythonPackage
, fetchPypi
, pythonOlder
}:
buildPythonPackage rec {
pname = "dicttoxml2";
version = "2.0.0";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-8/Zbv8WxDP5Bn4hgd7hTstmYv7amTlTxhQoKvzYrG/I=";
};
# Module has no tests
doCheck = false;
pythonImportsCheck = [
"dicttoxml2"
];
meta = with lib;{
description = "Converts a Python dictionary or other native data type into a valid XML string";
homepage = "https://pypi.org/project/dicttoxml2/";
license = licenses.gpl2Only;
maintainers = with maintainers; [ fab ];
};
}

View file

@ -1,6 +1,6 @@
{ lib
, buildPythonPackage
, dicttoxml
, dicttoxml2
, fetchFromGitHub
, pythonOlder
, xmltodict
@ -8,25 +8,27 @@
buildPythonPackage rec {
pname = "pyialarm";
version = "2.0.0";
version = "2.2.0";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "RyuzakiKK";
repo = pname;
rev = "v${version}";
sha256 = "sha256-rJS6KgEy4iuiY6QRue6K6woyGefuTN7/4RLCu8cb8M4=";
hash = "sha256-rOdeYewjoFVbHdNPHN6ZC2g6X5yr84/JFE6tGSDIoRU=";
};
propagatedBuildInputs = [
dicttoxml
dicttoxml2
xmltodict
];
# Project has no tests
doCheck = false;
pythonImportsCheck = [ "pyialarm" ];
pythonImportsCheck = [
"pyialarm"
];
meta = with lib; {
description = "Python library to interface with Antifurto365 iAlarm systems";

View file

@ -2280,6 +2280,8 @@ in {
dicttoxml = callPackage ../development/python-modules/dicttoxml { };
dicttoxml2 = callPackage ../development/python-modules/dicttoxml2 { };
diff-cover = callPackage ../development/python-modules/diff-cover { };
diff-match-patch = callPackage ../development/python-modules/diff-match-patch { };