gitfs: Switch to Python 3
Supported since 0.5 at least
This commit is contained in:
parent
e8a766883f
commit
02f1740744
@ -1,6 +1,6 @@
|
|||||||
{ stdenv, fetchFromGitHub, python2Packages }:
|
{ stdenv, fetchFromGitHub, python3Packages }:
|
||||||
|
|
||||||
python2Packages.buildPythonApplication rec {
|
python3Packages.buildPythonApplication rec {
|
||||||
pname = "gitfs";
|
pname = "gitfs";
|
||||||
version = "0.5.2";
|
version = "0.5.2";
|
||||||
|
|
||||||
@ -16,8 +16,8 @@ python2Packages.buildPythonApplication rec {
|
|||||||
echo > requirements.txt
|
echo > requirements.txt
|
||||||
'';
|
'';
|
||||||
|
|
||||||
buildInputs = with python2Packages; [ pytest pytestcov mock ];
|
checkInputs = with python3Packages; [ pytest pytestcov mock ];
|
||||||
propagatedBuildInputs = with python2Packages; [ atomiclong fusepy pygit2 ];
|
propagatedBuildInputs = with python3Packages; [ atomiclong fusepy pygit2 six ];
|
||||||
|
|
||||||
checkPhase = "py.test";
|
checkPhase = "py.test";
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user