From f05bd97e61e4e7e2264af78705472affe03836fb Mon Sep 17 00:00:00 2001 From: natsukium Date: Tue, 25 Jul 2023 14:22:57 +0900 Subject: [PATCH] pdm: 2.7.4 -> 2.8.0 Changelog: https://github.com/pdm-project/pdm/releases/tag/2.8.0 --- pkgs/tools/package-management/pdm/default.nix | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/pkgs/tools/package-management/pdm/default.nix b/pkgs/tools/package-management/pdm/default.nix index 7b689480c2a6..8e057daaa2a3 100644 --- a/pkgs/tools/package-management/pdm/default.nix +++ b/pkgs/tools/package-management/pdm/default.nix @@ -1,4 +1,10 @@ -{ lib, python3, fetchFromGitHub, fetchPypi, nix-update-script }: +{ lib +, stdenv +, python3 +, fetchFromGitHub +, fetchPypi +, nix-update-script +}: let python = python3.override { # override resolvelib due to @@ -24,13 +30,13 @@ in with python.pkgs; buildPythonApplication rec { pname = "pdm"; - version = "2.7.4"; + version = "2.8.0"; format = "pyproject"; disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; - hash = "sha256-x3+N8cy31wHwBeOkMNpLihlqKCTiPmnS1avrr69uUM4="; + hash = "sha256-BgsWKP2kZfLEHgZNISyp66Yww0ajMF4RWuI6TCzwJNo="; }; nativeBuildInputs = [ @@ -39,7 +45,6 @@ buildPythonApplication rec { propagatedBuildInputs = [ blinker - cacheyou certifi cachecontrol findpython @@ -70,7 +75,7 @@ buildPythonApplication rec { pytest-rerunfailures pytest-xdist pytest-httpserver - ]; + ] ++ lib.optional stdenv.isLinux first; pytestFlagsArray = [ "-m 'not network'"