From 08f873b0c5aba1bfbee5d230d0e0488ebd81abde Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Tue, 20 Dec 2022 18:08:19 +0100 Subject: [PATCH] python310Packages.webauthn: add changelog to meta --- .../development/python-modules/webauthn/default.nix | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/webauthn/default.nix b/pkgs/development/python-modules/webauthn/default.nix index 8b551f1c66a0..7ddddced2a8a 100644 --- a/pkgs/development/python-modules/webauthn/default.nix +++ b/pkgs/development/python-modules/webauthn/default.nix @@ -12,13 +12,15 @@ buildPythonPackage rec { pname = "webauthn"; version = "1.6.0"; - disabled = pythonOlder "3"; + format = "setuptools"; + + disabled = pythonOlder "3.7"; src = fetchFromGitHub { owner = "duo-labs"; repo = "py_webauthn"; rev = "refs/tags/v${version}"; - sha256 = "sha256-Ts0zKnQg1EaBNB9xQmzOpEVwDSFwHNjIhEP1jTwEOFI="; + hash = "sha256-Ts0zKnQg1EaBNB9xQmzOpEVwDSFwHNjIhEP1jTwEOFI="; }; propagatedBuildInputs = [ @@ -32,11 +34,14 @@ buildPythonPackage rec { pytestCheckHook ]; - pythonImportsCheck = [ "webauthn" ]; + pythonImportsCheck = [ + "webauthn" + ]; meta = with lib; { - homepage = "https://github.com/duo-labs/py_webauthn"; description = "Implementation of the WebAuthn API"; + homepage = "https://github.com/duo-labs/py_webauthn"; + changelog = "https://github.com/duo-labs/py_webauthn/blob/v${version}/CHANGELOG.md"; license = licenses.bsd3; maintainers = with maintainers; [ SuperSandro2000 ]; };