My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/development/python-modules/pysecuritas/default.nix

40 lines
790 B

{ 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 ];
};
}