mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-21 03:25:36 +00:00
pdm: 2.8.2 -> 2.9.1
Changelog: https://github.com/pdm-project/pdm/releases/tag/2.9.1
This commit is contained in:
parent
84e8b009ee
commit
e06224be9b
@ -4,6 +4,7 @@
|
||||
, fetchFromGitHub
|
||||
, fetchPypi
|
||||
, nix-update-script
|
||||
, runtimeShell
|
||||
}:
|
||||
let
|
||||
python = python3.override {
|
||||
@ -30,13 +31,13 @@ in
|
||||
with python.pkgs;
|
||||
buildPythonApplication rec {
|
||||
pname = "pdm";
|
||||
version = "2.8.2";
|
||||
version = "2.9.1";
|
||||
format = "pyproject";
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-uUjQC/YgaCsKxMgNIoyzBaKwFQ5JfuaTHaMOPMMFv9w=";
|
||||
hash = "sha256-/IAU3S/7cnF5qOwCQ8+sntOp3EU0i+HX+X0fKQrWD8s=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
@ -83,6 +84,8 @@ buildPythonApplication rec {
|
||||
|
||||
preCheck = ''
|
||||
export HOME=$TMPDIR
|
||||
substituteInPlace tests/cli/test_run.py \
|
||||
--replace "/bin/bash" "${runtimeShell}"
|
||||
'';
|
||||
|
||||
disabledTests = [
|
||||
|
Loading…
Reference in New Issue
Block a user