From e7ebafeb0227dfe72de8bf516c4c9d1b67ee6b07 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Mon, 5 Dec 2022 09:55:12 +0100 Subject: [PATCH] python310Packages.slowapi: add changelog to meta --- pkgs/development/python-modules/slowapi/default.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/slowapi/default.nix b/pkgs/development/python-modules/slowapi/default.nix index 6880053f4900..f018de1ef273 100644 --- a/pkgs/development/python-modules/slowapi/default.nix +++ b/pkgs/development/python-modules/slowapi/default.nix @@ -23,8 +23,8 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "laurentS"; repo = pname; - rev = "v${version}"; - sha256 = "sha256-3ZkQnroHMCHuTPH/cvi/iWndvdyQ/ZJQ2Qtu1CZyeGg="; + rev = "refs/tags/v${version}"; + hash = "sha256-3ZkQnroHMCHuTPH/cvi/iWndvdyQ/ZJQ2Qtu1CZyeGg="; }; nativeBuildInputs = [ @@ -65,6 +65,7 @@ buildPythonPackage rec { meta = with lib; { description = "Python library for API rate limiting"; homepage = "https://github.com/laurentS/slowapi"; + changelog = "https://github.com/laurentS/slowapi/blob/v${version}/CHANGELOG.md"; license = with licenses; [ mit ]; maintainers = with maintainers; [ fab ]; };