mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-11 16:23:26 +00:00
python3Packages.virtualenv: 20.4.7 -> 20.7.2
This commit is contained in:
parent
e37a1bc679
commit
85f10d689b
@ -1,6 +1,9 @@
|
||||
{ buildPythonPackage
|
||||
, appdirs
|
||||
, contextlib2
|
||||
{ stdenv
|
||||
, lib
|
||||
, buildPythonPackage
|
||||
, pythonOlder
|
||||
, isPy27
|
||||
, backports-entry-points-selectable
|
||||
, cython
|
||||
, distlib
|
||||
, fetchPypi
|
||||
@ -8,26 +11,23 @@
|
||||
, flaky
|
||||
, importlib-metadata
|
||||
, importlib-resources
|
||||
, isPy27
|
||||
, lib
|
||||
, pathlib2
|
||||
, platformdirs
|
||||
, pytest-freezegun
|
||||
, pytest-mock
|
||||
, pytest-timeout
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, setuptools-scm
|
||||
, six
|
||||
, stdenv
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "virtualenv";
|
||||
version = "20.4.7";
|
||||
version = "20.7.2";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "14fdf849f80dbb29a4eb6caa9875d476ee2a5cf76a5f5415fa2f1606010ab467";
|
||||
sha256 = "9ef4e8ee4710826e98ff3075c9a4739e2cb1040de6a2a8d35db0055840dc96a0";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
@ -35,13 +35,12 @@ buildPythonPackage rec {
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
appdirs
|
||||
backports-entry-points-selectable
|
||||
distlib
|
||||
filelock
|
||||
platformdirs
|
||||
six
|
||||
] ++ lib.optionals isPy27 [
|
||||
contextlib2
|
||||
] ++ lib.optionals (isPy27 && !stdenv.hostPlatform.isWindows) [
|
||||
] ++ lib.optionals (pythonOlder "3.4" && !stdenv.hostPlatform.isWindows) [
|
||||
pathlib2
|
||||
] ++ lib.optionals (pythonOlder "3.7") [
|
||||
importlib-resources
|
||||
|
Loading…
Reference in New Issue
Block a user