2019-05-04 14:23:59 +01:00
|
|
|
{ lib
|
|
|
|
, buildPythonApplication
|
|
|
|
, flake8
|
|
|
|
, invoke
|
|
|
|
, parver
|
|
|
|
, pip
|
|
|
|
, requests
|
|
|
|
, virtualenv
|
|
|
|
, fetchPypi
|
|
|
|
, virtualenv-clone
|
|
|
|
}:
|
|
|
|
|
2019-03-06 17:56:44 +00:00
|
|
|
buildPythonApplication rec {
|
|
|
|
pname = "pipenv";
|
|
|
|
version = "2018.11.26";
|
2017-10-15 17:16:51 +01:00
|
|
|
|
2019-03-06 17:56:44 +00:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
sha256 = "0ip8zsrwmhrankrix0shig9g8q2knmr7b63sh7lqa8a5x03fcwx6";
|
|
|
|
};
|
2017-10-15 17:16:51 +01:00
|
|
|
|
2019-03-06 17:56:44 +00:00
|
|
|
LC_ALL = "en_US.UTF-8";
|
2017-10-15 17:16:51 +01:00
|
|
|
|
2019-03-06 17:56:44 +00:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
flake8
|
|
|
|
invoke
|
|
|
|
parver
|
|
|
|
pip
|
|
|
|
requests
|
2019-04-26 11:05:25 +01:00
|
|
|
virtualenv
|
2019-05-06 11:48:50 +01:00
|
|
|
virtualenv-clone
|
2019-03-06 17:56:44 +00:00
|
|
|
];
|
2017-10-15 17:16:51 +01:00
|
|
|
|
2019-03-06 17:56:44 +00:00
|
|
|
doCheck = false;
|
2017-10-15 17:16:51 +01:00
|
|
|
|
2019-03-06 17:56:44 +00:00
|
|
|
makeWrapperArgs = [
|
2019-04-26 11:05:25 +01:00
|
|
|
"--set PYTHONPATH \".:$PYTHONPATH\""
|
2019-04-06 05:39:33 +01:00
|
|
|
"--set PIP_IGNORE_INSTALLED 1"
|
2019-03-06 17:56:44 +00:00
|
|
|
];
|
|
|
|
|
2019-05-04 14:23:59 +01:00
|
|
|
meta = with lib; {
|
2019-03-06 17:56:44 +00:00
|
|
|
description = "Python Development Workflow for Humans";
|
|
|
|
license = licenses.mit;
|
|
|
|
platforms = platforms.all;
|
|
|
|
maintainers = with maintainers; [ berdario ];
|
|
|
|
};
|
|
|
|
}
|