Loading pkgs/development/python-modules/gotailwind/default.nix +27 −32 Original line number Diff line number Diff line { lib , aiohttp , aresponses , awesomeversion , backoff , buildPythonPackage , fetchFromGitHub , mashumaro , orjson , poetry-core , pytest-asyncio , pytestCheckHook , pythonOlder , syrupy , typer , yarl , zeroconf { lib, aiohttp, aresponses, awesomeversion, backoff, buildPythonPackage, fetchFromGitHub, mashumaro, orjson, poetry-core, pytest-asyncio, pytestCheckHook, pythonOlder, syrupy, typer, yarl, zeroconf, }: buildPythonPackage rec { pname = "gotailwind"; version = "0.2.2"; version = "0.2.3"; pyproject = true; disabled = pythonOlder "3.11"; Loading @@ -28,21 +29,19 @@ buildPythonPackage rec { owner = "frenck"; repo = "python-gotailwind"; rev = "refs/tags/v${version}"; hash = "sha256-JtMBud3iON4xLc9dQdXniv51EBqs7zkat8cYm3q0uEE="; hash = "sha256-FRFcFn5aRg+H9M6ZwEfLO1Dwcybvs0ODQv2ruCG+4v0="; }; postPatch = '' # Upstream doesn't set a version for the pyproject.toml substituteInPlace pyproject.toml \ --replace "0.0.0" "${version}" \ --replace "--cov" "" --replace-fail "0.0.0" "${version}" \ --replace-fail "--cov" "" ''; nativeBuildInputs = [ poetry-core ]; build-system = [ poetry-core ]; propagatedBuildInputs = [ dependencies = [ aiohttp awesomeversion backoff Loading @@ -53,9 +52,7 @@ buildPythonPackage rec { ]; passthru.optional-dependencies = { cli = [ typer ]; cli = [ typer ]; }; nativeCheckInputs = [ Loading @@ -65,16 +62,14 @@ buildPythonPackage rec { syrupy ]; pythonImportsCheck = [ "gotailwind" ]; pythonImportsCheck = [ "gotailwind" ]; meta = with lib; { description = "Modul to communicate with Tailwind garage door openers"; mainProgram = "tailwind"; homepage = "https://github.com/frenck/python-gotailwind"; changelog = "https://github.com/frenck/python-gotailwind/releases/tag/v$version"; license = licenses.mit; maintainers = with maintainers; [ fab ]; mainProgram = "tailwind"; }; } Loading
pkgs/development/python-modules/gotailwind/default.nix +27 −32 Original line number Diff line number Diff line { lib , aiohttp , aresponses , awesomeversion , backoff , buildPythonPackage , fetchFromGitHub , mashumaro , orjson , poetry-core , pytest-asyncio , pytestCheckHook , pythonOlder , syrupy , typer , yarl , zeroconf { lib, aiohttp, aresponses, awesomeversion, backoff, buildPythonPackage, fetchFromGitHub, mashumaro, orjson, poetry-core, pytest-asyncio, pytestCheckHook, pythonOlder, syrupy, typer, yarl, zeroconf, }: buildPythonPackage rec { pname = "gotailwind"; version = "0.2.2"; version = "0.2.3"; pyproject = true; disabled = pythonOlder "3.11"; Loading @@ -28,21 +29,19 @@ buildPythonPackage rec { owner = "frenck"; repo = "python-gotailwind"; rev = "refs/tags/v${version}"; hash = "sha256-JtMBud3iON4xLc9dQdXniv51EBqs7zkat8cYm3q0uEE="; hash = "sha256-FRFcFn5aRg+H9M6ZwEfLO1Dwcybvs0ODQv2ruCG+4v0="; }; postPatch = '' # Upstream doesn't set a version for the pyproject.toml substituteInPlace pyproject.toml \ --replace "0.0.0" "${version}" \ --replace "--cov" "" --replace-fail "0.0.0" "${version}" \ --replace-fail "--cov" "" ''; nativeBuildInputs = [ poetry-core ]; build-system = [ poetry-core ]; propagatedBuildInputs = [ dependencies = [ aiohttp awesomeversion backoff Loading @@ -53,9 +52,7 @@ buildPythonPackage rec { ]; passthru.optional-dependencies = { cli = [ typer ]; cli = [ typer ]; }; nativeCheckInputs = [ Loading @@ -65,16 +62,14 @@ buildPythonPackage rec { syrupy ]; pythonImportsCheck = [ "gotailwind" ]; pythonImportsCheck = [ "gotailwind" ]; meta = with lib; { description = "Modul to communicate with Tailwind garage door openers"; mainProgram = "tailwind"; homepage = "https://github.com/frenck/python-gotailwind"; changelog = "https://github.com/frenck/python-gotailwind/releases/tag/v$version"; license = licenses.mit; maintainers = with maintainers; [ fab ]; mainProgram = "tailwind"; }; }