diff options
author | Fabian Affolter <mail@fabian-affolter.ch> | 2022-11-27 09:03:10 +0100 |
---|---|---|
committer | Bjørn Forsman <bjorn.forsman@gmail.com> | 2023-01-08 06:43:38 +0100 |
commit | eb7e233c1607f9c8ea1a9685e209885649fcbee4 (patch) | |
tree | ad6eb3d93b55dbfb3d87bd5f57849b30f93a3a3e | |
parent | c1b8dd67d8eca631f5170484164f9ab99024727b (diff) |
python310Packages.sanic-routing: add changelog to meta
(cherry picked from commit 22c724cd5a3465c84f2b8a07df5d04e3f85d215d)
-rw-r--r-- | pkgs/development/python-modules/sanic-routing/default.nix | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/pkgs/development/python-modules/sanic-routing/default.nix b/pkgs/development/python-modules/sanic-routing/default.nix index cb06b5d1f2b3..e17f9df8b880 100644 --- a/pkgs/development/python-modules/sanic-routing/default.nix +++ b/pkgs/development/python-modules/sanic-routing/default.nix @@ -3,25 +3,36 @@ , fetchFromGitHub , pytestCheckHook , pytest-asyncio +, pythonOlder }: buildPythonPackage rec { pname = "sanic-routing"; version = "22.3.0"; + format = "setuptools"; + + disabled = pythonOlder "3.7"; src = fetchFromGitHub { owner = "sanic-org"; repo = "sanic-routing"; - rev = "v${version}"; + rev = "refs/tags/v${version}"; hash = "sha256-dX+uxrVjtPxX0ba3WUE/JKgj0PZzvFdKr/lXQgASN6Y="; }; - checkInputs = [ pytestCheckHook pytest-asyncio ]; - pythonImportsCheck = [ "sanic_routing" ]; + checkInputs = [ + pytest-asyncio + pytestCheckHook + ]; + + pythonImportsCheck = [ + "sanic_routing" + ]; meta = with lib; { description = "Core routing component for the Sanic web framework"; homepage = "https://github.com/sanic-org/sanic-routing"; + changelog = "https://github.com/sanic-org/sanic-routing/releases/tag/v${version}"; license = licenses.mit; maintainers = with maintainers; [ AluisioASG ]; }; |