ranger: use python3
This commit is contained in:
parent
b55c02e878
commit
62eb7c102f
@ -1,11 +1,11 @@
|
|||||||
{ stdenv, fetchFromGitHub, pythonPackages, file, less
|
{ stdenv, fetchFromGitHub, python3Packages, file, less
|
||||||
, imagePreviewSupport ? true, w3m ? null}:
|
, imagePreviewSupport ? true, w3m ? null}:
|
||||||
|
|
||||||
with stdenv.lib;
|
with stdenv.lib;
|
||||||
|
|
||||||
assert imagePreviewSupport -> w3m != null;
|
assert imagePreviewSupport -> w3m != null;
|
||||||
|
|
||||||
pythonPackages.buildPythonApplication rec {
|
python3Packages.buildPythonApplication rec {
|
||||||
name = "ranger-${version}";
|
name = "ranger-${version}";
|
||||||
version = "1.9.1";
|
version = "1.9.1";
|
||||||
|
|
||||||
@ -16,7 +16,7 @@ pythonPackages.buildPythonApplication rec {
|
|||||||
sha256= "1zhds37j1scxa9b183qbrjwxqldrdk581c5xiy81vg17sndb1kqj";
|
sha256= "1zhds37j1scxa9b183qbrjwxqldrdk581c5xiy81vg17sndb1kqj";
|
||||||
};
|
};
|
||||||
|
|
||||||
checkInputs = with pythonPackages; [ pytest ];
|
checkInputs = with python3Packages; [ pytest ];
|
||||||
propagatedBuildInputs = [ file ];
|
propagatedBuildInputs = [ file ];
|
||||||
|
|
||||||
checkPhase = ''
|
checkPhase = ''
|
||||||
|
Loading…
x
Reference in New Issue
Block a user