diff --git a/pkgs/development/python-modules/xhtml2pdf/default.nix b/pkgs/development/python-modules/xhtml2pdf/default.nix
index 5e1661cd989e..931d08e12c1c 100644
--- a/pkgs/development/python-modules/xhtml2pdf/default.nix
+++ b/pkgs/development/python-modules/xhtml2pdf/default.nix
@@ -20,11 +20,9 @@ buildPythonPackage rec {
disabled = pythonOlder "3.7";
- # Tests are only available on GitHub
src = fetchFromGitHub {
owner = pname;
repo = pname;
- # Currently it is not possible to fetch from version as there is a branch with the same name
rev = "refs/tags/v${version}";
hash = "sha256-L/HCw+O8bidtE5nDdO+cLS54m64dlJL+9Gjcye5gM+w=";
};
@@ -51,6 +49,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "A PDF generator using HTML and CSS";
homepage = "https://github.com/xhtml2pdf/xhtml2pdf";
+ changelog = "https://github.com/xhtml2pdf/xhtml2pdf/releases/tag/v${version}";
license = licenses.asl20;
maintainers = with maintainers; [ ];
};