1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-04 03:25:02 +00:00
nixpkgs/pkgs/development/tools/pipenv/default.nix
Frederik Rietdijk 7f63ecfff9 pipenv: fix dependencies
- 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.
2019-10-22 07:59:15 -07:00

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 ];
};
}