Merge pull request #181590 from fabaff/pyialarm-bump
python310Packages.pyialarm: 2.0.0 -> 2.2.0
This commit is contained in:
commit
380aee0f1e
3 changed files with 41 additions and 5 deletions
32
pkgs/development/python-modules/dicttoxml2/default.nix
Normal file
32
pkgs/development/python-modules/dicttoxml2/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
|
@ -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";
|
||||
|
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue