about summary refs log tree commit diff
diff options
context:
space:
mode:
authorFabian Affolter <mail@fabian-affolter.ch>2023-01-04 08:46:53 +0100
committerGitHub <noreply@github.com>2023-01-04 08:46:53 +0100
commit066eb0f8c03dc71753c3f496cb4465e982337a23 (patch)
treed95703d128526a7529e9104d5082124d6643b734
parent3d6576089f783af356143bd262b7e30af110b2fa (diff)
python39Packages.inscriptis: add changelog to meta
-rw-r--r--pkgs/development/python-modules/inscriptis/default.nix12
1 files changed, 9 insertions, 3 deletions
diff --git a/pkgs/development/python-modules/inscriptis/default.nix b/pkgs/development/python-modules/inscriptis/default.nix
index b22a402c9e933..42de39b4ef4b2 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 ];
   };