pipenv: fix python loading issue (#56495)
This commit is contained in:
parent
8a8628f4dc
commit
b1f767ef90
|
@ -1,24 +1,35 @@
|
||||||
{ stdenv, python3Packages, pew }:
|
{ stdenv, python3Packages, pew }:
|
||||||
with python3Packages; buildPythonApplication rec {
|
with python3Packages;
|
||||||
name = "${pname}-${version}";
|
buildPythonApplication rec {
|
||||||
pname = "pipenv";
|
pname = "pipenv";
|
||||||
version = "2018.11.26";
|
version = "2018.11.26";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "0ip8zsrwmhrankrix0shig9g8q2knmr7b63sh7lqa8a5x03fcwx6";
|
sha256 = "0ip8zsrwmhrankrix0shig9g8q2knmr7b63sh7lqa8a5x03fcwx6";
|
||||||
};
|
};
|
||||||
|
|
||||||
LC_ALL = "en_US.UTF-8";
|
LC_ALL = "en_US.UTF-8";
|
||||||
|
|
||||||
propagatedBuildInputs = [ pew pip requests flake8 parver invoke ];
|
propagatedBuildInputs = [
|
||||||
|
flake8
|
||||||
|
invoke
|
||||||
|
parver
|
||||||
|
pew
|
||||||
|
pip
|
||||||
|
requests
|
||||||
|
];
|
||||||
|
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
makeWrapperArgs = [
|
||||||
description = "Python Development Workflow for Humans";
|
"--set PYTHONPATH \"$PYTHONPATH\""
|
||||||
license = licenses.mit;
|
];
|
||||||
platforms = platforms.all;
|
|
||||||
maintainers = with maintainers; [ berdario ];
|
meta = with stdenv.lib; {
|
||||||
};
|
description = "Python Development Workflow for Humans";
|
||||||
}
|
license = licenses.mit;
|
||||||
|
platforms = platforms.all;
|
||||||
|
maintainers = with maintainers; [ berdario ];
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue