Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / pysecuritas / default.nix
blob0c777bca224d756b7da3c46164ece81b71a7ceff
1 { lib
2 , buildPythonPackage
3 , fetchPypi
4 , pythonOlder
5 , requests
6 , xmltodict
7 }:
9 buildPythonPackage rec {
10   pname = "pysecuritas";
11   version = "0.1.6";
12   format = "setuptools";
14   disabled = pythonOlder "3.6";
16   src = fetchPypi {
17     inherit pname version;
18     sha256 = "W3DLZCXUH9y5NPipFEu6URmKN+oVXMgeDF1rfKtxRng=";
19   };
21   propagatedBuildInputs = [
22     xmltodict
23     requests
24   ];
26   # Project doesn't ship tests with PyPI releases
27   # https://github.com/Cebeerre/pysecuritas/issues/13
28   doCheck = false;
30   pythonImportsCheck = [
31     "pysecuritas"
32   ];
34   meta = with lib; {
35     description = "Python client to access Securitas Direct Mobile API";
36     mainProgram = "pysecuritas";
37     homepage = "https://github.com/Cebeerre/pysecuritas";
38     license = licenses.mit;
39     maintainers = with maintainers; [ fab ];
40   };