Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 8310e6430adf
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 7f63ecfff9f8
Choose a head ref
  • 1 commit
  • 1 file changed
  • 1 contributor

Commits on Oct 22, 2019

  1. 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.
    FRidh authored and Jon committed Oct 22, 2019

    Verified

    This commit was signed with the committer’s verified signature. The key has expired.
    thoughtpolice Austin Seipp
    Copy the full SHA
    7f63ecf View commit details
Showing with 6 additions and 10 deletions.
  1. +6 −10 pkgs/development/tools/pipenv/default.nix
16 changes: 6 additions & 10 deletions pkgs/development/tools/pipenv/default.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{ lib
, buildPythonApplication
, flake8
, certifi
, setuptools
, invoke
, parver
, pip
@@ -21,23 +22,18 @@ buildPythonApplication rec {

LC_ALL = "en_US.UTF-8";

nativeBuildInputs = [ invoke parver ];

propagatedBuildInputs = [
flake8
invoke
parver
certifi
setuptools
pip
requests
virtualenv
virtualenv-clone
];

doCheck = false;

makeWrapperArgs = [
"--set PYTHONPATH \".:$PYTHONPATH\""
"--set PIP_IGNORE_INSTALLED 1"
];

meta = with lib; {
description = "Python Development Workflow for Humans";
license = licenses.mit;