Merge pull request #236756 from mweinelt/pdm-backend-1.1.0

python310Packages.pdm-backend: 2.0.7 -> 2.1.0
This commit is contained in:
Nick Cao 2023-06-09 08:07:38 -06:00 committed by GitHub
commit ae766d59b0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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; {