mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-04 03:25:02 +00:00
7f63ecfff9
- 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.
44 lines
726 B
Nix
44 lines
726 B
Nix
{ lib
|
|
, buildPythonApplication
|
|
, certifi
|
|
, setuptools
|
|
, invoke
|
|
, parver
|
|
, pip
|
|
, requests
|
|
, virtualenv
|
|
, fetchPypi
|
|
, virtualenv-clone
|
|
}:
|
|
|
|
buildPythonApplication rec {
|
|
pname = "pipenv";
|
|
version = "2018.11.26";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "0ip8zsrwmhrankrix0shig9g8q2knmr7b63sh7lqa8a5x03fcwx6";
|
|
};
|
|
|
|
LC_ALL = "en_US.UTF-8";
|
|
|
|
nativeBuildInputs = [ invoke parver ];
|
|
|
|
propagatedBuildInputs = [
|
|
certifi
|
|
setuptools
|
|
pip
|
|
virtualenv
|
|
virtualenv-clone
|
|
];
|
|
|
|
doCheck = false;
|
|
|
|
meta = with lib; {
|
|
description = "Python Development Workflow for Humans";
|
|
license = licenses.mit;
|
|
platforms = platforms.all;
|
|
maintainers = with maintainers; [ berdario ];
|
|
};
|
|
}
|