3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #146747 from fabaff/pysecuritas

python3Packages.pysecuritas: init at 0.1.6
This commit is contained in:
Fabian Affolter 2021-11-22 09:42:51 +01:00 committed by GitHub
commit 99f18b84b6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 42 additions and 0 deletions

View file

@ -0,0 +1,40 @@
{ lib
, buildPythonPackage
, fetchPypi
, pythonOlder
, requests
, xmltodict
}:
buildPythonPackage rec {
pname = "pysecuritas";
version = "0.1.6";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
sha256 = "W3DLZCXUH9y5NPipFEu6URmKN+oVXMgeDF1rfKtxRng=";
};
propagatedBuildInputs = [
xmltodict
requests
];
# Project doesn't ship tests with PyPI releases
# https://github.com/Cebeerre/pysecuritas/issues/13
doCheck = false;
pythonImportsCheck = [
"pysecuritas"
];
meta = with lib; {
description = "Python client to access Securitas Direct Mobile API";
homepage = "https://github.com/Cebeerre/pysecuritas";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}

View file

@ -7095,6 +7095,8 @@ in {
pysearpc = toPythonModule pkgs.libsearpc;
pysecuritas = callPackage ../development/python-modules/pysecuritas { };
pysendfile = callPackage ../development/python-modules/pysendfile { };
pysensors = callPackage ../development/python-modules/pysensors { };