From 2cd32ebf4f156110af26fd41eb85805c194e9f22 Mon Sep 17 00:00:00 2001 From: Jan Tojnar Date: Thu, 6 Feb 2020 00:20:47 +0100 Subject: gitfs: Switch to Python 3 Supported since 0.5 at least --- pkgs/tools/filesystems/gitfs/default.nix | 8 ++++---- 1 file 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; -- cgit 1.4.1