pipenv: fix dependencies
- setup_requires belong in nativeBuildInputs - requests is only for Python 2. We offer only a Python 3 version of pipenv - setting PYTHONPATH is not needed because the magical sed expression injects the dependencies in the executables. Otherwise, we would use NIX_PYTHONPATH. - PIP_IGNORE_INSTALLED was needed because of PYTHONPATH, but since we do not set that anymore we can remove.
This commit is contained in:
parent
8310e6430a
commit
7f63ecfff9
@ -1,6 +1,7 @@
|
||||
{ lib
|
||||
, buildPythonApplication
|
||||
, flake8
|
||||
, certifi
|
||||
, setuptools
|
||||
, invoke
|
||||
, parver
|
||||
, pip
|
||||
@ -21,23 +22,18 @@ buildPythonApplication rec {
|
||||
|
||||
LC_ALL = "en_US.UTF-8";
|
||||
|
||||
nativeBuildInputs = [ invoke parver ];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
flake8
|
||||
invoke
|
||||
parver
|
||||
certifi
|
||||
setuptools
|
||||
pip
|
||||
requests
|
||||
virtualenv
|
||||
virtualenv-clone
|
||||
];
|
||||
|
||||
doCheck = false;
|
||||
|
||||
makeWrapperArgs = [
|
||||
"--set PYTHONPATH \".:$PYTHONPATH\""
|
||||
"--set PIP_IGNORE_INSTALLED 1"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python Development Workflow for Humans";
|
||||
license = licenses.mit;
|
||||
|
Loading…
Reference in New Issue
Block a user