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: 11ab3049e92d
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: cc5a3cb54701
Choose a head ref
  • 1 commit
  • 1 file changed
  • 1 contributor

Commits on Nov 24, 2020

  1. pipreqs: use python3

    Jonathan Ringer committed Nov 24, 2020
    Copy the full SHA
    cc5a3cb View commit details
Showing with 6 additions and 5 deletions.
  1. +6 −5 pkgs/tools/misc/pipreqs/default.nix
11 changes: 6 additions & 5 deletions pkgs/tools/misc/pipreqs/default.nix
Original file line number Diff line number Diff line change
@@ -1,16 +1,17 @@
{ lib, python2Packages }:
{ lib, python3 }:

# Using python 2 because when packaging with python 3 pipreqs fails to parse python 2 code.
python2Packages.buildPythonApplication rec {
with python3.pkgs;

buildPythonApplication rec {
pname = "pipreqs";
version = "0.4.10";

src = python2Packages.fetchPypi {
src = fetchPypi {
inherit pname version;
sha256 = "0fdr3mbxjpmrxr7yfc1sn9kbpcyb0qwafimhhrrqvf989dj1sdcy";
};

propagatedBuildInputs = with python2Packages; [ yarg docopt ];
propagatedBuildInputs = [ yarg docopt ];

# Tests requires network access. Works fine without sandboxing
doCheck = false;