From 5793c947c947f09f30e64f8e522817384775c2ed Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 1 Apr 2021 01:09:03 +0200 Subject: [PATCH 1/2] python3Packages.python-didl-lite: 1.2.5 -> 1.2.6 --- .../python-didl-lite/default.nix | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/pkgs/development/python-modules/python-didl-lite/default.nix b/pkgs/development/python-modules/python-didl-lite/default.nix index edde064a3335..64fcd189c749 100644 --- a/pkgs/development/python-modules/python-didl-lite/default.nix +++ b/pkgs/development/python-modules/python-didl-lite/default.nix @@ -1,17 +1,21 @@ -{ lib, buildPythonPackage, fetchFromGitHub, pythonOlder +{ lib +, buildPythonPackage +, fetchFromGitHub +, pythonOlder , defusedxml -, pytest }: +, pytestCheckHook +}: buildPythonPackage rec { pname = "python-didl-lite"; - version = "1.2.5"; + version = "1.2.6"; disabled = pythonOlder "3.5.3"; src = fetchFromGitHub { owner = "StevenLooman"; repo = pname; rev = version; - sha256 = "0wm831g8k9xahw20y0461cvy6lp45sxppicxah1rg9isdc3vy3nh"; + sha256 = "sha256-1rr26dnV5As15HeFLWEDBDYPiRDHkGfYOYFhSJi7iyU="; }; propagatedBuildInputs = [ @@ -19,12 +23,10 @@ buildPythonPackage rec { ]; checkInputs = [ - pytest + pytestCheckHook ]; - checkPhase = '' - py.test - ''; + pythonImportsCheck = [ "didl_lite" ]; meta = with lib; { description = "DIDL-Lite (Digital Item Declaration Language) tools for Python"; From f3f31e682e26d198b5457fce227bbc3f5914fe80 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 1 Apr 2021 01:09:41 +0200 Subject: [PATCH 2/2] python3Packages.async-upnp-client: 0.14.15 -> 0.16.0 --- .../async-upnp-client/default.nix | 23 ++++++++++++++----- 1 file changed, 17 insertions(+), 6 deletions(-) diff --git a/pkgs/development/python-modules/async-upnp-client/default.nix b/pkgs/development/python-modules/async-upnp-client/default.nix index 5f6d68b9ca53..a25916bc99c1 100644 --- a/pkgs/development/python-modules/async-upnp-client/default.nix +++ b/pkgs/development/python-modules/async-upnp-client/default.nix @@ -1,17 +1,26 @@ -{ lib, buildPythonPackage, fetchFromGitHub, pythonOlder -, voluptuous, aiohttp, async-timeout, python-didl-lite, defusedxml -, pytestCheckHook, pytest-asyncio }: +{ lib +, aiohttp +, async-timeout +, buildPythonPackage +, defusedxml +, fetchFromGitHub +, pytest-asyncio +, pytestCheckHook +, python-didl-lite +, pythonOlder +, voluptuous +}: buildPythonPackage rec { pname = "async-upnp-client"; - version = "0.14.15"; + version = "0.16.0"; disabled = pythonOlder "3.5"; src = fetchFromGitHub { owner = "StevenLooman"; repo = "async_upnp_client"; rev = version; - sha256 = "1mr65msdc51wq7326z3q41x79yi9dsmcjrmyzkgj9h9vgpxdk2nw"; + sha256 = "sha256-vgy/zn1Xm7Fm7u/YMe/nJa3tyRNKx/WHz0AHfhFaVKo="; }; propagatedBuildInputs = [ @@ -27,8 +36,10 @@ buildPythonPackage rec { pytest-asyncio ]; + pythonImportsCheck = [ "async_upnp_client" ]; + meta = with lib; { - description = "Asyncio UPnP Client library for Python/asyncio."; + description = "Asyncio UPnP Client library for Python"; homepage = "https://github.com/StevenLooman/async_upnp_client"; license = licenses.asl20; maintainers = with maintainers; [ hexa ];