nixpkgs/pkgs/development/tools/pipenv/default.nix
Daniel Garzon a08252919a pipenv: fix package (#60045)
* pipenv: add virualenv to propagatedBuildInputs.

* pipenv: add current directory to PYTHONPATH.

* pipenv: remove pew from propagatedBuildInputs.
2019-04-26 12:05:25 +02:00

37 lines
712 B
Nix

{ stdenv, python3Packages, pew }:
with python3Packages;
buildPythonApplication rec {
pname = "pipenv";
version = "2018.11.26";
src = fetchPypi {
inherit pname version;
sha256 = "0ip8zsrwmhrankrix0shig9g8q2knmr7b63sh7lqa8a5x03fcwx6";
};
LC_ALL = "en_US.UTF-8";
propagatedBuildInputs = [
flake8
invoke
parver
pip
requests
virtualenv
];
doCheck = false;
makeWrapperArgs = [
"--set PYTHONPATH \".:$PYTHONPATH\""
"--set PIP_IGNORE_INSTALLED 1"
];
meta = with stdenv.lib; {
description = "Python Development Workflow for Humans";
license = licenses.mit;
platforms = platforms.all;
maintainers = with maintainers; [ berdario ];
};
}