python312Packages.pymfy: refactor (#340505)

This commit is contained in:
Fabian Affolter
2024-09-08 20:01:44 +02:00
committed by GitHub
@@ -13,20 +13,22 @@
buildPythonPackage rec {
pname = "pymfy";
version = "0.11.0";
format = "pyproject";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "tetienne";
repo = "somfy-open-api";
rev = "v${version}";
sha256 = "0wpjwjmywfyqgwvfa5kwcjpaljc32qa088kk88nl9nqdvc31mzhv";
rev = "refs/tags/v${version}";
hash = "sha256-G/4aBtsN20QtQnMiBBQWg0mqrmR8FuU2f9g77qvk8nI=";
};
nativeBuildInputs = [ poetry-core ];
pythonRelaxDeps = [ "requests-oauthlib" ];
propagatedBuildInputs = [
build-system = [ poetry-core ];
dependencies = [
requests
requests-oauthlib
];
@@ -41,7 +43,8 @@ buildPythonPackage rec {
meta = with lib; {
description = "Python client for the Somfy Open API";
homepage = "https://github.com/tetienne/somfy-open-api";
license = with licenses; [ gpl3Only ];
changelog = "https://github.com/tetienne/somfy-open-api/releases/tag/v${version}";
license = licenses.gpl3Only;
maintainers = with maintainers; [ fab ];
};
}