From eff04bbf40ef053142e4002032db60a7daa97e54 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sun, 21 Jan 2024 12:30:45 +0100 Subject: [PATCH] python311Packages.apispec-webframeworks: 0.5.2 -> 1.0.0 Diff: https://github.com/marshmallow-code/apispec-webframeworks/compare/refs/tags/0.5.2...1.0.0 Changelog: https://github.com/marshmallow-code/apispec-webframeworks/blob/1.0.0/CHANGELOG.rst --- .../apispec-webframeworks/default.nix | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/pkgs/development/python-modules/apispec-webframeworks/default.nix b/pkgs/development/python-modules/apispec-webframeworks/default.nix index 3211eed5aa3f..171deeebda8c 100644 --- a/pkgs/development/python-modules/apispec-webframeworks/default.nix +++ b/pkgs/development/python-modules/apispec-webframeworks/default.nix @@ -3,6 +3,7 @@ , bottle , buildPythonPackage , fetchFromGitHub +, flit-core , flask , mock , pytestCheckHook @@ -12,18 +13,22 @@ buildPythonPackage rec { pname = "apispec-webframeworks"; - version = "0.5.2"; - format = "setuptools"; + version = "1.0.0"; + pyproject = true; - disabled = pythonOlder "3.7"; + disabled = pythonOlder "3.8"; src = fetchFromGitHub { owner = "marshmallow-code"; repo = "apispec-webframeworks"; - rev = version; - hash = "sha256-ByNmmBLO99njw9JrT+cCW/K4NJBH92smAiIgg47Cvkk="; + rev = "refs/tags/${version}"; + hash = "sha256-zrsqIZ5ZogZsK1ZOL2uy8igS4T8a+19IwL5dMhKw7OA="; }; + nativeBuildInputs = [ + flit-core + ]; + propagatedBuildInputs = [ apispec ] ++ apispec.optional-dependencies.yaml;