biome: 1.9.2 -> 1.9.3 (#349335)
[NixPkgs.git] / pkgs / development / python-modules / pysecuritas / default.nix
blob118518859d0b155fee4ca24b71f0d351a9de3dd8
2   lib,
3   buildPythonPackage,
4   fetchPypi,
5   pythonOlder,
6   requests,
7   setuptools,
8   xmltodict,
9 }:
11 buildPythonPackage rec {
12   pname = "pysecuritas";
13   version = "0.1.6";
14   pyproject = true;
16   disabled = pythonOlder "3.6";
18   src = fetchPypi {
19     inherit pname version;
20     hash = "sha256-W3DLZCXUH9y5NPipFEu6URmKN+oVXMgeDF1rfKtxRng=";
21   };
23   build-system = [ setuptools ];
25   dependencies = [
26     xmltodict
27     requests
28   ];
30   # Project doesn't ship tests with PyPI releases
31   # https://github.com/Cebeerre/pysecuritas/issues/13
32   doCheck = false;
34   pythonImportsCheck = [ "pysecuritas" ];
36   meta = with lib; {
37     description = "Python client to access Securitas Direct Mobile API";
38     homepage = "https://github.com/Cebeerre/pysecuritas";
39     license = licenses.mit;
40     maintainers = with maintainers; [ fab ];
41     mainProgram = "pysecuritas";
42   };