lol
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

python3Packages.ring-doorbell: rename requests-oauthlib

+11 -7
+11 -7
pkgs/development/python-modules/ring-doorbell/default.nix
··· 1 1 { lib 2 2 , buildPythonPackage 3 3 , fetchPypi 4 - , isPy3k 5 4 , oauthlib 6 5 , pytestCheckHook 6 + , pythonOlder 7 7 , pytz 8 8 , requests 9 9 , requests-mock 10 - , requests_oauthlib 10 + , requests-oauthlib 11 11 }: 12 12 13 13 buildPythonPackage rec { 14 14 pname = "ring-doorbell"; 15 15 version = "0.7.2"; 16 - disabled = !isPy3k; 16 + format = "setuptools"; 17 + 18 + disabled = pythonOlder "3.7"; 17 19 18 20 src = fetchPypi { 19 21 pname = "ring_doorbell"; 20 22 inherit version; 21 - sha256 = "0a7e82abf27086843eb39c0279f5dfccea6751ff848560e67154ca6fbfa4ef2b"; 23 + hash = "sha256-Cn6Cq/JwhoQ+s5wCefXfzOpnUf+EhWDmcVTKb7+k7ys="; 22 24 }; 23 25 24 26 propagatedBuildInputs = [ 25 27 oauthlib 26 28 pytz 27 29 requests 28 - requests_oauthlib 30 + requests-oauthlib 29 31 ]; 30 32 31 33 checkInputs = [ ··· 33 35 requests-mock 34 36 ]; 35 37 36 - pythonImportsCheck = [ "ring_doorbell" ]; 38 + pythonImportsCheck = [ 39 + "ring_doorbell" 40 + ]; 37 41 38 42 meta = with lib; { 43 + description = "Python library to communicate with Ring Door Bell"; 39 44 homepage = "https://github.com/tchellomello/python-ring-doorbell"; 40 - description = "A Python library to communicate with Ring Door Bell (https://ring.com/)"; 41 45 license = licenses.lgpl3Plus; 42 46 maintainers = with maintainers; [ graham33 ]; 43 47 };