biome: 1.9.2 -> 1.9.3 (#349335)
[NixPkgs.git] / pkgs / development / python-modules / quantum-gateway / default.nix
blobe39b66b42ae64b21a2eef5464bf5d2a33ae965d2
2   lib,
3   buildPythonPackage,
4   esprima,
5   fetchFromGitHub,
6   pytestCheckHook,
7   pythonOlder,
8   requests,
9   requests-mock,
10   urllib3,
13 buildPythonPackage rec {
14   pname = "quantum-gateway";
15   version = "0.0.8";
16   format = "setuptools";
18   disabled = pythonOlder "3.7";
20   src = fetchFromGitHub {
21     owner = "cisasteelersfan";
22     repo = "quantum_gateway";
23     rev = version;
24     hash = "sha256-jwLfth+UaisPR0p+UHfm6qMXT2eSYWnsYEp0BqyeI9U=";
25   };
27   propagatedBuildInputs = [
28     urllib3
29     esprima
30     requests
31   ];
33   nativeCheckInputs = [
34     requests-mock
35     pytestCheckHook
36   ];
38   pythonImportsCheck = [ "quantum_gateway" ];
40   disabledTests = [
41     # Tests require network features
42     "TestGateway3100"
43   ];
45   meta = with lib; {
46     description = "Python library for interacting with Verizon Fios Quantum gateway devices";
47     homepage = "https://github.com/cisasteelersfan/quantum_gateway";
48     license = with licenses; [ mit ];
49     maintainers = with maintainers; [ fab ];
50   };