Merge pull request #148506 from fabaff/quantum-gateway

python3Packages.quantum-gateway: init at 0.0.6

authored by Fabian Affolter and committed by GitHub 8b79620a dd957819

+93 -1
+40
pkgs/development/python-modules/esprima/default.nix
··· 1 + { lib 2 + , buildPythonPackage 3 + , fetchFromGitHub 4 + , pythonOlder 5 + , pytestCheckHook 6 + }: 7 + 8 + buildPythonPackage rec { 9 + pname = "esprima"; 10 + version = "4.0.1"; 11 + format = "setuptools"; 12 + 13 + disabled = pythonOlder "3.7"; 14 + 15 + src = fetchFromGitHub { 16 + owner = "Kronuz"; 17 + repo = "esprima-python"; 18 + rev = "v${version}"; 19 + sha256 = "WtkPCReXhxyr6pOzE9gsdIeBlLk+nSnbxkS3OowEaHo="; 20 + }; 21 + 22 + checkInputs = [ 23 + pytestCheckHook 24 + ]; 25 + 26 + pytestFlagsArray = [ 27 + "test/__main__.py::TestEsprima" 28 + ]; 29 + 30 + pythonImportsCheck = [ 31 + "esprima" 32 + ]; 33 + 34 + meta = with lib; { 35 + description = "Python parser for standard-compliant ECMAScript"; 36 + homepage = "https://github.com/Kronuz/esprima-python"; 37 + license = licenses.bsd2; 38 + maintainers = with maintainers; [ fab ]; 39 + }; 40 + }
+48
pkgs/development/python-modules/quantum-gateway/default.nix
··· 1 + { lib 2 + , buildPythonPackage 3 + , esprima 4 + , fetchFromGitHub 5 + , pytestCheckHook 6 + , pythonOlder 7 + , requests 8 + , requests-mock 9 + , setuptools-scm 10 + , urllib3 11 + }: 12 + 13 + buildPythonPackage rec { 14 + pname = "quantum-gateway"; 15 + version = "0.0.6"; 16 + format = "setuptools"; 17 + 18 + disabled = pythonOlder "3.7"; 19 + 20 + src = fetchFromGitHub { 21 + owner = "cisasteelersfan"; 22 + repo = "quantum_gateway"; 23 + rev = version; 24 + sha256 = "f2LYOr9xJSfbA/1aHfll5lg7r05o855Zkkk9HuRamP8="; 25 + }; 26 + 27 + propagatedBuildInputs = [ 28 + urllib3 29 + esprima 30 + requests 31 + ]; 32 + 33 + checkInputs = [ 34 + requests-mock 35 + pytestCheckHook 36 + ]; 37 + 38 + pythonImportsCheck = [ 39 + "quantum_gateway" 40 + ]; 41 + 42 + meta = with lib; { 43 + description = "Python library for interacting with Verizon Fios Quantum gateway devices"; 44 + homepage = "https://github.com/cisasteelersfan/quantum_gateway"; 45 + license = with licenses; [ mit ]; 46 + maintainers = with maintainers; [ fab ]; 47 + }; 48 + }
+1 -1
pkgs/servers/home-assistant/component-packages.nix
··· 683 683 "qld_bushfire" = ps: with ps; [ georss-qld-bushfire-alert-client ]; 684 684 "qnap" = ps: with ps; [ ]; # missing inputs: qnapstats 685 685 "qrcode" = ps: with ps; [ pillow ]; # missing inputs: pyzbar 686 - "quantum_gateway" = ps: with ps; [ ]; # missing inputs: quantum-gateway 686 + "quantum_gateway" = ps: with ps; [ quantum-gateway ]; 687 687 "qvr_pro" = ps: with ps; [ ]; # missing inputs: pyqvrpro 688 688 "qwikswitch" = ps: with ps; [ ]; # missing inputs: pyqwikswitch 689 689 "rachio" = ps: with ps; [ pyturbojpeg aiohttp-cors hass-nabucasa rachiopy ];
+4
pkgs/top-level/python-packages.nix
··· 2560 2560 2561 2561 eradicate = callPackage ../development/python-modules/eradicate { }; 2562 2562 2563 + esprima = callPackage ../development/python-modules/esprima { }; 2564 + 2563 2565 escapism = callPackage ../development/python-modules/escapism { }; 2564 2566 2565 2567 etcd = callPackage ../development/python-modules/etcd { }; ··· 8201 8203 Quandl = callPackage ../development/python-modules/quandl { }; # alias for an older package which did not support Python 3 8202 8204 8203 8205 quantities = callPackage ../development/python-modules/quantities { }; 8206 + 8207 + quantum-gateway = callPackage ../development/python-modules/quantum-gateway { }; 8204 8208 8205 8209 querystring_parser = callPackage ../development/python-modules/querystring-parser { }; 8206 8210