gitfs: add darwin build
This commit is contained in:
parent
fdc5e71988
commit
92cde6f032
@ -14,6 +14,12 @@ python3Packages.buildPythonApplication rec {
|
|||||||
patchPhase = ''
|
patchPhase = ''
|
||||||
# requirement checks are unnecessary at runtime
|
# requirement checks are unnecessary at runtime
|
||||||
echo > requirements.txt
|
echo > requirements.txt
|
||||||
|
|
||||||
|
# NOTE: As of gitfs 0.5.2, The pygit2 release that upstream uses is a major
|
||||||
|
# version behind the one packaged in nixpkgs.
|
||||||
|
substituteInPlace gitfs/mounter.py --replace \
|
||||||
|
'from pygit2.remote import RemoteCallbacks' \
|
||||||
|
'from pygit2 import RemoteCallbacks'
|
||||||
'';
|
'';
|
||||||
|
|
||||||
checkInputs = with python3Packages; [ pytest pytestcov mock ];
|
checkInputs = with python3Packages; [ pytest pytestcov mock ];
|
||||||
@ -31,7 +37,7 @@ python3Packages.buildPythonApplication rec {
|
|||||||
'';
|
'';
|
||||||
homepage = "https://github.com/PressLabs/gitfs";
|
homepage = "https://github.com/PressLabs/gitfs";
|
||||||
license = lib.licenses.asl20;
|
license = lib.licenses.asl20;
|
||||||
platforms = lib.platforms.linux;
|
platforms = lib.platforms.unix;
|
||||||
maintainers = [ lib.maintainers.robbinch ];
|
maintainers = [ lib.maintainers.robbinch ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user