From dbde849102c4e60d948f84298bac4700f3f1b490 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 25 Feb 2023 10:42:36 +0100 Subject: [PATCH] devpi-client: 5.2.3 -> 6.0.3 Changelog: https://github.com/devpi/devpi/blob/client-6.0.3/client/CHANGELOG --- .../tools/devpi-client/default.nix | 39 ++++++++----------- 1 file changed, 16 insertions(+), 23 deletions(-) diff --git a/pkgs/development/tools/devpi-client/default.nix b/pkgs/development/tools/devpi-client/default.nix index 344456abe11c..906711a81386 100644 --- a/pkgs/development/tools/devpi-client/default.nix +++ b/pkgs/development/tools/devpi-client/default.nix @@ -1,32 +1,19 @@ { lib -, argon2-cffi-bindings -, buildPythonApplication -, check-manifest -, devpi-common , devpi-server -, fetchPypi , git , glibcLocales -, mercurial -, mock -, pkginfo -, pluggy -, py -, pytestCheckHook -, setuptools -, sphinx -, tox -, webtest -, wheel +, python3 }: -buildPythonApplication rec { +python3.pkgs.buildPythonApplication rec { pname = "devpi-client"; - version = "5.2.3"; + version = "6.0.3"; - src = fetchPypi { + format = "setuptools"; + + src = python3.pkgs.fetchPypi { inherit pname version; - hash = "sha256-Ni6ybpUTankkkYYcwnKNFKYwmp1MTxOnucPm/TneWOw="; + hash = "sha256-csdQUxnopH+kYtoqdvyXKNW3fGkQNSREJYxjes9Dgi8="; }; postPatch = '' @@ -38,12 +25,16 @@ buildPythonApplication rec { glibcLocales ]; - propagatedBuildInputs = [ + propagatedBuildInputs = with python3.pkgs; [ argon2-cffi-bindings + build check-manifest devpi-common + iniconfig + pep517 pkginfo pluggy + platformdirs py setuptools ]; @@ -51,14 +42,16 @@ buildPythonApplication rec { nativeCheckInputs = [ devpi-server git + ] ++ (with python3.pkgs; [ mercurial mock + pypitoken pytestCheckHook sphinx - tox + virtualenv webtest wheel - ]; + ]); preCheck = '' export HOME=$(mktemp -d);