mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-03 11:02:05 +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.
|
with python3.pkgs;
|
||||||
python2Packages.buildPythonApplication rec {
|
|
||||||
|
buildPythonApplication rec {
|
||||||
pname = "pipreqs";
|
pname = "pipreqs";
|
||||||
version = "0.4.10";
|
version = "0.4.10";
|
||||||
|
|
||||||
src = python2Packages.fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "0fdr3mbxjpmrxr7yfc1sn9kbpcyb0qwafimhhrrqvf989dj1sdcy";
|
sha256 = "0fdr3mbxjpmrxr7yfc1sn9kbpcyb0qwafimhhrrqvf989dj1sdcy";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = with python2Packages; [ yarg docopt ];
|
propagatedBuildInputs = [ yarg docopt ];
|
||||||
|
|
||||||
# Tests requires network access. Works fine without sandboxing
|
# Tests requires network access. Works fine without sandboxing
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
|
Loading…
Reference in a new issue