diff options
Diffstat (limited to 'nixpkgs/pkgs/development/python-modules/python-otbr-api/default.nix')
-rw-r--r-- | nixpkgs/pkgs/development/python-modules/python-otbr-api/default.nix | 20 |
1 files changed, 4 insertions, 16 deletions
diff --git a/nixpkgs/pkgs/development/python-modules/python-otbr-api/default.nix b/nixpkgs/pkgs/development/python-modules/python-otbr-api/default.nix index d6137cf191e2..675f72d5e035 100644 --- a/nixpkgs/pkgs/development/python-modules/python-otbr-api/default.nix +++ b/nixpkgs/pkgs/development/python-modules/python-otbr-api/default.nix @@ -4,41 +4,29 @@ , buildPythonPackage , cryptography , fetchFromGitHub -, fetchpatch , pytest-asyncio , pytestCheckHook , pythonOlder , setuptools , voluptuous -, wheel }: buildPythonPackage rec { pname = "python-otbr-api"; - version = "2.5.0"; - format = "pyproject"; + version = "2.6.0"; + pyproject = true; disabled = pythonOlder "3.9"; src = fetchFromGitHub { owner = "home-assistant-libs"; - repo = pname; + repo = "python-otbr-api"; rev = "refs/tags/${version}"; - hash = "sha256-bPN2h60ypjlKpXs1xDS7bZcGRXvatA3EdlAX/HLxxTM="; + hash = "sha256-RMj4NdEbMIxh2PDzbhUWgmcdzRXY8RxcQNN/bbGOW5Q="; }; - patches = [ - # https://github.com/home-assistant-libs/python-otbr-api/pull/68 - (fetchpatch { - name = "relax-setuptools-dependency.patch"; - url = "https://github.com/home-assistant-libs/python-otbr-api/commit/37eb19c12d17ac7d040ded035d8401def872fbda.patch"; - hash = "sha256-JGsaLQNbUfz0uK/MeGnR2XTJDs4RnTOEg7BavfDPArg="; - }) - ]; - nativeBuildInputs = [ setuptools - wheel ]; propagatedBuildInputs = [ |