From 3ebf1a36f6a3ee6ce62fdab5ada7d86a0ea167f5 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sun, 2 Apr 2023 15:56:04 +0200 Subject: [PATCH] python310Packages.pytest-instafail: add changelog to meta - use lib --- .../python-modules/pytest-instafail/default.nix | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/pytest-instafail/default.nix b/pkgs/development/python-modules/pytest-instafail/default.nix index 50342ca518c4..69b9a8b17c8e 100644 --- a/pkgs/development/python-modules/pytest-instafail/default.nix +++ b/pkgs/development/python-modules/pytest-instafail/default.nix @@ -15,10 +15,12 @@ buildPythonPackage rec { nativeCheckInputs = [ pytestCheckHook ]; pythonImportsCheck = [ "pytest_instafail" ]; - meta = { + + meta = with lib; { description = "pytest plugin that shows failures and errors instantly instead of waiting until the end of test session"; homepage = "https://github.com/pytest-dev/pytest-instafail"; - license = lib.licenses.bsd3; - maintainers = [ lib.maintainers.jacg ]; + changelog = "https://github.com/pytest-dev/pytest-instafail/blob/v${version}/CHANGES.rst"; + license = licenses.bsd3; + maintainers = with maintainers; [ jacg ]; }; }