gitfs: Switch to Python 3

Supported since 0.5 at least
This commit is contained in:
Jan Tojnar 2020-02-06 00:20:47 +01:00 committed by Frederik Rietdijk
parent a41b9c64af
commit 2cd32ebf4f

View file

@ -1,6 +1,6 @@
{ stdenv, fetchFromGitHub, python2Packages }:
{ stdenv, fetchFromGitHub, python3Packages }:
python2Packages.buildPythonApplication rec {
python3Packages.buildPythonApplication rec {
pname = "gitfs";
version = "0.5.2";
@ -16,8 +16,8 @@ python2Packages.buildPythonApplication rec {
echo > requirements.txt
'';
buildInputs = with python2Packages; [ pytest pytestcov mock ];
propagatedBuildInputs = with python2Packages; [ atomiclong fusepy pygit2 ];
checkInputs = with python3Packages; [ pytest pytestcov mock ];
propagatedBuildInputs = with python3Packages; [ atomiclong fusepy pygit2 six ];
checkPhase = "py.test";
doCheck = false;