Loading pkgs/development/python-modules/rflink/default.nix +6 −18 Original line number Diff line number Diff line { lib , buildPythonPackage , fetchFromGitHub , fetchpatch , async-timeout , docopt , pyserial , pyserial-asyncio , setuptools , pytestCheckHook , pythonAtLeast , pythonOlder }: buildPythonPackage rec { pname = "rflink"; version = "0.0.63"; version = "0.0.65"; format = "setuptools"; disabled = pythonOlder "3.7"; src = fetchFromGitHub { owner = "aequitas"; repo = "python-rflink"; rev = "refs/tags/${version}"; sha256 = "sha256-BNKcXtsBB90KQe4HXmfJ7H3yepk1dEkozSEy5v8KSAA="; hash = "sha256-DUnhuA84nkmYkREa7vUiyLg7JUdEEeLewg3vFFlcar8="; }; patches = [ # https://github.com/aequitas/python-rflink/pull/70 (fetchpatch { name = "python311-compat.patch"; url = "https://github.com/aequitas/python-rflink/commit/ba807ddd2fde823b8d50bc50bb500a691d9e331f.patch"; hash = "sha256-4Wh7b7j8qsvzYKdFwaY+B5Jd8EkyjAe1awlY0BDu2YA="; }) ]; propagatedBuildInputs = [ async-timeout docopt Loading @@ -44,11 +36,6 @@ buildPythonPackage rec { pytestCheckHook ]; disabledTestPaths = lib.optionals (pythonAtLeast "3.10") [ # https://github.com/aequitas/python-rflink/issues/65 "tests/test_proxy.py" ]; postPatch = '' substituteInPlace setup.py \ --replace "version=version_from_git()" "version='${version}'" Loading @@ -61,6 +48,7 @@ buildPythonPackage rec { meta = with lib; { description = "Library and CLI tools for interacting with RFlink 433MHz transceiver"; homepage = "https://github.com/aequitas/python-rflink"; changelog = "https://github.com/aequitas/python-rflink/releases/tag/${version}"; license = licenses.mit; maintainers = with maintainers; [ dotlambda ]; }; Loading Loading
pkgs/development/python-modules/rflink/default.nix +6 −18 Original line number Diff line number Diff line { lib , buildPythonPackage , fetchFromGitHub , fetchpatch , async-timeout , docopt , pyserial , pyserial-asyncio , setuptools , pytestCheckHook , pythonAtLeast , pythonOlder }: buildPythonPackage rec { pname = "rflink"; version = "0.0.63"; version = "0.0.65"; format = "setuptools"; disabled = pythonOlder "3.7"; src = fetchFromGitHub { owner = "aequitas"; repo = "python-rflink"; rev = "refs/tags/${version}"; sha256 = "sha256-BNKcXtsBB90KQe4HXmfJ7H3yepk1dEkozSEy5v8KSAA="; hash = "sha256-DUnhuA84nkmYkREa7vUiyLg7JUdEEeLewg3vFFlcar8="; }; patches = [ # https://github.com/aequitas/python-rflink/pull/70 (fetchpatch { name = "python311-compat.patch"; url = "https://github.com/aequitas/python-rflink/commit/ba807ddd2fde823b8d50bc50bb500a691d9e331f.patch"; hash = "sha256-4Wh7b7j8qsvzYKdFwaY+B5Jd8EkyjAe1awlY0BDu2YA="; }) ]; propagatedBuildInputs = [ async-timeout docopt Loading @@ -44,11 +36,6 @@ buildPythonPackage rec { pytestCheckHook ]; disabledTestPaths = lib.optionals (pythonAtLeast "3.10") [ # https://github.com/aequitas/python-rflink/issues/65 "tests/test_proxy.py" ]; postPatch = '' substituteInPlace setup.py \ --replace "version=version_from_git()" "version='${version}'" Loading @@ -61,6 +48,7 @@ buildPythonPackage rec { meta = with lib; { description = "Library and CLI tools for interacting with RFlink 433MHz transceiver"; homepage = "https://github.com/aequitas/python-rflink"; changelog = "https://github.com/aequitas/python-rflink/releases/tag/${version}"; license = licenses.mit; maintainers = with maintainers; [ dotlambda ]; }; Loading