mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 15:33:13 +00:00
Merge pull request #146747 from fabaff/pysecuritas
python3Packages.pysecuritas: init at 0.1.6
This commit is contained in:
commit
99f18b84b6
40
pkgs/development/python-modules/pysecuritas/default.nix
Normal file
40
pkgs/development/python-modules/pysecuritas/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user