Merge pull request #245314 from natsukium/pdm/update
This commit is contained in:
commit
e27829d076
1 changed files with 10 additions and 5 deletions
|
@ -1,4 +1,10 @@
|
||||||
{ lib, python3, fetchFromGitHub, fetchPypi, nix-update-script }:
|
{ lib
|
||||||
|
, stdenv
|
||||||
|
, python3
|
||||||
|
, fetchFromGitHub
|
||||||
|
, fetchPypi
|
||||||
|
, nix-update-script
|
||||||
|
}:
|
||||||
let
|
let
|
||||||
python = python3.override {
|
python = python3.override {
|
||||||
# override resolvelib due to
|
# override resolvelib due to
|
||||||
|
@ -24,13 +30,13 @@ in
|
||||||
with python.pkgs;
|
with python.pkgs;
|
||||||
buildPythonApplication rec {
|
buildPythonApplication rec {
|
||||||
pname = "pdm";
|
pname = "pdm";
|
||||||
version = "2.7.4";
|
version = "2.8.0";
|
||||||
format = "pyproject";
|
format = "pyproject";
|
||||||
disabled = pythonOlder "3.7";
|
disabled = pythonOlder "3.7";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
hash = "sha256-x3+N8cy31wHwBeOkMNpLihlqKCTiPmnS1avrr69uUM4=";
|
hash = "sha256-BgsWKP2kZfLEHgZNISyp66Yww0ajMF4RWuI6TCzwJNo=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
|
@ -39,7 +45,6 @@ buildPythonApplication rec {
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
blinker
|
blinker
|
||||||
cacheyou
|
|
||||||
certifi
|
certifi
|
||||||
cachecontrol
|
cachecontrol
|
||||||
findpython
|
findpython
|
||||||
|
@ -70,7 +75,7 @@ buildPythonApplication rec {
|
||||||
pytest-rerunfailures
|
pytest-rerunfailures
|
||||||
pytest-xdist
|
pytest-xdist
|
||||||
pytest-httpserver
|
pytest-httpserver
|
||||||
];
|
] ++ lib.optional stdenv.isLinux first;
|
||||||
|
|
||||||
pytestFlagsArray = [
|
pytestFlagsArray = [
|
||||||
"-m 'not network'"
|
"-m 'not network'"
|
||||||
|
|
Loading…
Reference in a new issue