python3Packages.pymfy: rename requests-oauthlib
This commit is contained in:
@@ -6,13 +6,14 @@
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, requests
|
||||
, requests_oauthlib
|
||||
, requests-oauthlib
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pymfy";
|
||||
version = "0.11.0";
|
||||
format = "pyproject";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
@@ -22,11 +23,13 @@ buildPythonPackage rec {
|
||||
sha256 = "0wpjwjmywfyqgwvfa5kwcjpaljc32qa088kk88nl9nqdvc31mzhv";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ poetry-core ];
|
||||
nativeBuildInputs = [
|
||||
poetry-core
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
requests
|
||||
requests_oauthlib
|
||||
requests-oauthlib
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
@@ -34,7 +37,9 @@ buildPythonPackage rec {
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "pymfy" ];
|
||||
pythonImportsCheck = [
|
||||
"pymfy"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python client for the Somfy Open API";
|
||||
|
||||
Reference in New Issue
Block a user