3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/tools/pipenv/default.nix

48 lines
793 B
Nix
Raw Normal View History

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