From 4629209e393125c373272fa043adcb49f5b8a98c Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Fri, 9 Jun 2023 00:47:18 +0200 Subject: [PATCH] python310Packages.pdm-backend: 2.0.7 -> 2.1.0 https://github.com/pdm-project/pdm-backend/releases/tag/2.1.0 --- .../development/python-modules/pdm-backend/default.nix | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/pdm-backend/default.nix b/pkgs/development/python-modules/pdm-backend/default.nix index b8f46c9595bd..19ba24ef6991 100644 --- a/pkgs/development/python-modules/pdm-backend/default.nix +++ b/pkgs/development/python-modules/pdm-backend/default.nix @@ -15,16 +15,18 @@ buildPythonPackage rec { pname = "pdm-backend"; - version = "2.0.7"; + version = "2.1.0"; format = "pyproject"; src = fetchFromGitHub { owner = "pdm-project"; repo = "pdm-backend"; rev = "refs/tags/${version}"; - hash = "sha256-+d5EkpF9rZksoR5lahN7XE/jAQpNz7IjWueFYPPGyQs="; + hash = "sha256-asW5L9jS++9ovq7WFh0rU7aB7R2rwi5ce80Hxk9NrI4="; }; + env.PDM_BUILD_SCM_VERSION = version; + propagatedBuildInputs = lib.optionals (pythonOlder "3.10") [ importlib-metadata ]; @@ -40,6 +42,10 @@ buildPythonPackage rec { setuptools ]; + preCheck = '' + unset PDM_BUILD_SCM_VERSION + ''; + setupHook = ./setup-hook.sh; meta = with lib; {