mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-21 05:00:16 +00:00
pipreqs: use python3
This commit is contained in:
parent
11ab3049e9
commit
cc5a3cb547
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue