summaryrefslogtreecommitdiffstats
path: root/pkgs/tools/filesystems/gitfs
diff options
context:
space:
mode:
authorJan Tojnar <jtojnar@gmail.com>2020-02-06 00:20:47 +0100
committerFrederik Rietdijk <fridh@fridh.nl>2020-02-10 19:38:10 +0100
commit2cd32ebf4f156110af26fd41eb85805c194e9f22 (patch)
tree6eb6912d17ed1938500a18e307141a0ce0085607 /pkgs/tools/filesystems/gitfs
parenta41b9c64afb4c93caea23f1cadf3336397e4e7e1 (diff)
gitfs: Switch to Python 3
Supported since 0.5 at least
Diffstat (limited to 'pkgs/tools/filesystems/gitfs')
-rw-r--r--pkgs/tools/filesystems/gitfs/default.nix8
1 files changed, 4 insertions, 4 deletions
diff --git a/pkgs/tools/filesystems/gitfs/default.nix b/pkgs/tools/filesystems/gitfs/default.nix
index 5b3794146665..7c36e37b33fd 100644
--- a/pkgs/tools/filesystems/gitfs/default.nix
+++ b/pkgs/tools/filesystems/gitfs/default.nix
@@ -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;