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
|
{ lib
|
||||||
, buildPythonApplication
|
, buildPythonApplication
|
||||||
, flake8
|
, certifi
|
||||||
|
, setuptools
|
||||||
, invoke
|
, invoke
|
||||||
, parver
|
, parver
|
||||||
, pip
|
, pip
|
||||||
|
@ -21,23 +22,18 @@ buildPythonApplication rec {
|
||||||
|
|
||||||
LC_ALL = "en_US.UTF-8";
|
LC_ALL = "en_US.UTF-8";
|
||||||
|
|
||||||
|
nativeBuildInputs = [ invoke parver ];
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
flake8
|
certifi
|
||||||
invoke
|
setuptools
|
||||||
parver
|
|
||||||
pip
|
pip
|
||||||
requests
|
|
||||||
virtualenv
|
virtualenv
|
||||||
virtualenv-clone
|
virtualenv-clone
|
||||||
];
|
];
|
||||||
|
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
|
||||||
makeWrapperArgs = [
|
|
||||||
"--set PYTHONPATH \".:$PYTHONPATH\""
|
|
||||||
"--set PIP_IGNORE_INSTALLED 1"
|
|
||||||
];
|
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Python Development Workflow for Humans";
|
description = "Python Development Workflow for Humans";
|
||||||
license = licenses.mit;
|
license = licenses.mit;
|
||||||
|
|
Loading…
Reference in New Issue