mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-29 17:10:48 +00:00
gitfs: use python2
This commit is contained in:
parent
fc9e2b60b5
commit
af11ff4cdd
|
@ -1,6 +1,6 @@
|
||||||
{ stdenv, fetchFromGitHub, pythonPackages }:
|
{ stdenv, fetchFromGitHub, python2Packages }:
|
||||||
|
|
||||||
pythonPackages.buildPythonApplication rec {
|
python2Packages.buildPythonApplication rec {
|
||||||
name = "gitfs-0.2.5";
|
name = "gitfs-0.2.5";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
|
@ -15,7 +15,12 @@ pythonPackages.buildPythonApplication rec {
|
||||||
echo > requirements.txt
|
echo > requirements.txt
|
||||||
'';
|
'';
|
||||||
|
|
||||||
propagatedBuildInputs = with pythonPackages; [ atomiclong fusepy pygit2 ];
|
buildInputs = with python2Packages; [ pytest pytestcov mock ];
|
||||||
|
propagatedBuildInputs = with python2Packages; [ atomiclong fusepy pygit2 ];
|
||||||
|
|
||||||
|
checkPhase = ''
|
||||||
|
py.test
|
||||||
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "A FUSE filesystem that fully integrates with git";
|
description = "A FUSE filesystem that fully integrates with git";
|
||||||
|
@ -29,4 +34,4 @@ pythonPackages.buildPythonApplication rec {
|
||||||
platforms = stdenv.lib.platforms.linux;
|
platforms = stdenv.lib.platforms.linux;
|
||||||
maintainers = [ stdenv.lib.maintainers.robbinch ];
|
maintainers = [ stdenv.lib.maintainers.robbinch ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue