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:
commit
ae766d59b0
1 changed files with 8 additions and 2 deletions
|
@ -15,16 +15,18 @@
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "pdm-backend";
|
pname = "pdm-backend";
|
||||||
version = "2.0.7";
|
version = "2.1.0";
|
||||||
format = "pyproject";
|
format = "pyproject";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "pdm-project";
|
owner = "pdm-project";
|
||||||
repo = "pdm-backend";
|
repo = "pdm-backend";
|
||||||
rev = "refs/tags/${version}";
|
rev = "refs/tags/${version}";
|
||||||
hash = "sha256-+d5EkpF9rZksoR5lahN7XE/jAQpNz7IjWueFYPPGyQs=";
|
hash = "sha256-asW5L9jS++9ovq7WFh0rU7aB7R2rwi5ce80Hxk9NrI4=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
env.PDM_BUILD_SCM_VERSION = version;
|
||||||
|
|
||||||
propagatedBuildInputs = lib.optionals (pythonOlder "3.10") [
|
propagatedBuildInputs = lib.optionals (pythonOlder "3.10") [
|
||||||
importlib-metadata
|
importlib-metadata
|
||||||
];
|
];
|
||||||
|
@ -40,6 +42,10 @@ buildPythonPackage rec {
|
||||||
setuptools
|
setuptools
|
||||||
];
|
];
|
||||||
|
|
||||||
|
preCheck = ''
|
||||||
|
unset PDM_BUILD_SCM_VERSION
|
||||||
|
'';
|
||||||
|
|
||||||
setupHook = ./setup-hook.sh;
|
setupHook = ./setup-hook.sh;
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
|
Loading…
Reference in a new issue