pipenv: 2024.2.0 -> 2024.4.0 (#383880)
This commit is contained in:
@@ -6,6 +6,8 @@
|
||||
installShellFiles,
|
||||
pipenv,
|
||||
runCommand,
|
||||
versionCheckHook,
|
||||
writableTmpDirAsHomeHook,
|
||||
}:
|
||||
|
||||
with python3.pkgs;
|
||||
@@ -31,22 +33,24 @@ let
|
||||
in
|
||||
buildPythonApplication rec {
|
||||
pname = "pipenv";
|
||||
version = "2024.2.0";
|
||||
format = "pyproject";
|
||||
version = "2024.4.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "pypa";
|
||||
repo = "pipenv";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-5gq1kXVNAMH/AeovpUStcZffXN4GfXj3wJ7lW4qebRM=";
|
||||
hash = "sha256-SyRkOKZ1q1j37hqdkNkEZI5e/WbBgLL5iglrvT2V5Fs=";
|
||||
};
|
||||
|
||||
env.LC_ALL = "en_US.UTF-8";
|
||||
|
||||
build-system = [
|
||||
setuptools
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
installShellFiles
|
||||
setuptools
|
||||
wheel
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
@@ -60,17 +64,17 @@ buildPythonApplication rec {
|
||||
|
||||
propagatedBuildInputs = runtimeDeps python3.pkgs;
|
||||
|
||||
preCheck = ''
|
||||
export HOME="$TMPDIR"
|
||||
'';
|
||||
|
||||
nativeCheckInputs = [
|
||||
mock
|
||||
pytestCheckHook
|
||||
pytest-xdist
|
||||
pytest-cov-stub
|
||||
pytz
|
||||
requests
|
||||
versionCheckHook
|
||||
writableTmpDirAsHomeHook
|
||||
];
|
||||
versionCheckProgramArg = [ "--version" ];
|
||||
|
||||
disabledTests = [
|
||||
# this test wants access to the internet
|
||||
@@ -103,10 +107,11 @@ buildPythonApplication rec {
|
||||
--fish <(_PIPENV_COMPLETE=fish_source $out/bin/pipenv)
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
meta = {
|
||||
description = "Python Development Workflow for Humans";
|
||||
license = licenses.mit;
|
||||
platforms = platforms.all;
|
||||
maintainers = with maintainers; [ berdario ];
|
||||
license = lib.licenses.mit;
|
||||
platforms = lib.platforms.all;
|
||||
maintainers = with lib.maintainers; [ berdario ];
|
||||
mainProgram = "pipenv";
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user