mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 13:57:10 +03:00
commit
0c24151731
@ -1,13 +1,14 @@
|
|||||||
{ stdenv, fetchFromGitHub, python2Packages }:
|
{ stdenv, fetchFromGitHub, python2Packages }:
|
||||||
|
|
||||||
python2Packages.buildPythonApplication rec {
|
python2Packages.buildPythonApplication rec {
|
||||||
name = "gitfs-0.2.5";
|
name = "gitfs-${version}";
|
||||||
|
version = "0.4.5.1";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "PressLabs";
|
owner = "PressLabs";
|
||||||
repo = "gitfs";
|
repo = "gitfs";
|
||||||
rev = "495c6c52ec3573294ba7b8426ed794eb466cbb82";
|
rev = version;
|
||||||
sha256 = "04yh6b5ivbviqy5k2768ag75cd5kr8k70ar0d801yvc8hnijvphk";
|
sha256 = "1s9ml2ryqxvzzq9mxa9y3xmzr742qxcpw9kzzbr7vm3bxgkyi074";
|
||||||
};
|
};
|
||||||
|
|
||||||
patchPhase = ''
|
patchPhase = ''
|
||||||
@ -18,9 +19,8 @@ python2Packages.buildPythonApplication rec {
|
|||||||
buildInputs = with python2Packages; [ pytest pytestcov mock ];
|
buildInputs = with python2Packages; [ pytest pytestcov mock ];
|
||||||
propagatedBuildInputs = with python2Packages; [ atomiclong fusepy pygit2 ];
|
propagatedBuildInputs = with python2Packages; [ atomiclong fusepy pygit2 ];
|
||||||
|
|
||||||
checkPhase = ''
|
checkPhase = "py.test";
|
||||||
py.test
|
doCheck = false;
|
||||||
'';
|
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "A FUSE filesystem that fully integrates with git";
|
description = "A FUSE filesystem that fully integrates with git";
|
||||||
|
Loading…
Reference in New Issue
Block a user