mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-20 04:19:00 +02:00
pdm: 2.12.4 -> 2.13.2
Changelog: https://github.com/pdm-project/pdm/releases/tag/2.13.2
This commit is contained in:
parent
6c5a089eb9
commit
a579808735
|
@ -1,8 +1,6 @@
|
||||||
{ lib
|
{ lib
|
||||||
, stdenv
|
|
||||||
, python3
|
, python3
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, fetchpatch
|
|
||||||
, fetchPypi
|
, fetchPypi
|
||||||
, nix-update-script
|
, nix-update-script
|
||||||
, runtimeShell
|
, runtimeShell
|
||||||
|
@ -35,41 +33,46 @@ in
|
||||||
with python.pkgs;
|
with python.pkgs;
|
||||||
buildPythonApplication rec {
|
buildPythonApplication rec {
|
||||||
pname = "pdm";
|
pname = "pdm";
|
||||||
version = "2.12.4";
|
version = "2.13.2";
|
||||||
pyproject = true;
|
pyproject = true;
|
||||||
|
|
||||||
disabled = pythonOlder "3.8";
|
disabled = pythonOlder "3.8";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
hash = "sha256-0Eh3Ni+Vz5/8HSw4uFH2k3BuSSiEDkiYauV22tV0FJY=";
|
hash = "sha256-4oK/HK8KCD/A+16JrW9518V5/1LHu1juhYfqPVu54Uo=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
pdm-backend
|
|
||||||
installShellFiles
|
installShellFiles
|
||||||
];
|
];
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
build-system = [
|
||||||
|
pdm-backend
|
||||||
|
];
|
||||||
|
|
||||||
|
dependencies = [
|
||||||
blinker
|
blinker
|
||||||
certifi
|
|
||||||
cachecontrol
|
|
||||||
dep-logic
|
dep-logic
|
||||||
|
filelock
|
||||||
findpython
|
findpython
|
||||||
|
hishel
|
||||||
|
httpx
|
||||||
installer
|
installer
|
||||||
|
msgpack
|
||||||
packaging
|
packaging
|
||||||
|
pbs-installer
|
||||||
platformdirs
|
platformdirs
|
||||||
pyproject-hooks
|
pyproject-hooks
|
||||||
python-dotenv
|
python-dotenv
|
||||||
requests-toolbelt
|
|
||||||
resolvelib
|
resolvelib
|
||||||
rich
|
rich
|
||||||
shellingham
|
shellingham
|
||||||
tomlkit
|
tomlkit
|
||||||
unearth
|
unearth
|
||||||
virtualenv
|
virtualenv
|
||||||
]
|
] ++ httpx.optional-dependencies.socks
|
||||||
++ cachecontrol.optional-dependencies.filecache
|
++ pbs-installer.optional-dependencies.install
|
||||||
++ lib.optionals (pythonOlder "3.11") [
|
++ lib.optionals (pythonOlder "3.11") [
|
||||||
tomli
|
tomli
|
||||||
]
|
]
|
||||||
|
@ -100,7 +103,6 @@ buildPythonApplication rec {
|
||||||
nativeCheckInputs = [
|
nativeCheckInputs = [
|
||||||
pytestCheckHook
|
pytestCheckHook
|
||||||
pytest-mock
|
pytest-mock
|
||||||
pytest-rerunfailures
|
|
||||||
pytest-xdist
|
pytest-xdist
|
||||||
pytest-httpserver
|
pytest-httpserver
|
||||||
] ++ lib.optional stdenv.isLinux first;
|
] ++ lib.optional stdenv.isLinux first;
|
||||||
|
@ -120,7 +122,9 @@ buildPythonApplication rec {
|
||||||
"test_convert_setup_py_project"
|
"test_convert_setup_py_project"
|
||||||
# pythonfinder isn't aware of nix's python infrastructure
|
# pythonfinder isn't aware of nix's python infrastructure
|
||||||
"test_use_wrapper_python"
|
"test_use_wrapper_python"
|
||||||
"test_use_invalid_wrapper_python"
|
|
||||||
|
# touches the network
|
||||||
|
"test_find_candidates_from_find_links"
|
||||||
];
|
];
|
||||||
|
|
||||||
__darwinAllowLocalNetworking = true;
|
__darwinAllowLocalNetworking = true;
|
||||||
|
|
Loading…
Reference in a new issue