From 066eb0f8c03dc71753c3f496cb4465e982337a23 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Wed, 4 Jan 2023 08:46:53 +0100 Subject: [PATCH] python39Packages.inscriptis: add changelog to meta --- .../python-modules/inscriptis/default.nix | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/inscriptis/default.nix b/pkgs/development/python-modules/inscriptis/default.nix index b22a402c9e93..42de39b4ef4b 100644 --- a/pkgs/development/python-modules/inscriptis/default.nix +++ b/pkgs/development/python-modules/inscriptis/default.nix @@ -3,6 +3,7 @@ , fetchFromGitHub , lxml , pytestCheckHook +, pythonOlder , requests }: @@ -11,11 +12,13 @@ buildPythonPackage rec { version = "2.3.2"; format = "setuptools"; + disabled = pythonOlder "3.7"; + src = fetchFromGitHub { owner = "weblyzard"; repo = "inscriptis"; rev = "refs/tags/${version}"; - sha256 = "sha256-grsyHqt7ahiNsYKcZN/c5cJaag/nTWTBcaHaXnW1SpU="; + hash = "sha256-grsyHqt7ahiNsYKcZN/c5cJaag/nTWTBcaHaXnW1SpU="; }; propagatedBuildInputs = [ @@ -27,11 +30,14 @@ buildPythonPackage rec { pytestCheckHook ]; - pythonImportsCheck = [ "inscriptis" ]; + pythonImportsCheck = [ + "inscriptis" + ]; meta = with lib; { - description = "inscriptis - HTML to text converter"; + description = "HTML to text converter"; homepage = "https://github.com/weblyzard/inscriptis"; + changelog = "https://github.com/weblyzard/inscriptis/releases/tag/${version}"; license = licenses.asl20; maintainers = with maintainers; [ SuperSandro2000 ]; };