gitfs: drop (#522910)

This commit is contained in:
Fernando Rodrigues
2026-05-22 18:58:42 +00:00
committed by GitHub
2 changed files with 1 additions and 60 deletions

View File

@@ -1,60 +0,0 @@
{
lib,
fetchFromGitHub,
python3Packages,
}:
python3Packages.buildPythonApplication rec {
pname = "gitfs";
version = "0.5.2";
format = "setuptools";
src = fetchFromGitHub {
owner = "PressLabs";
repo = "gitfs";
rev = version;
sha256 = "1jzwdwan8ndvp2lw6j7zbvg5k9rgf2d8dcxjrwc6bwyk59xdxn4p";
};
patchPhase = ''
# requirement checks are unnecessary at runtime
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'
'';
nativeCheckInputs = with python3Packages; [
pytestCheckHook
pytest-cov-stub
mock
];
propagatedBuildInputs = with python3Packages; [
atomiclong
fusepy
pygit2
six
];
pythonImportsCheck = [ "gitfs" ];
meta = {
description = "FUSE filesystem that fully integrates with git";
longDescription = ''
A git remote repository's branch can be mounted locally,
and any subsequent changes made to the files will be
automatically committed to the remote.
'';
homepage = "https://github.com/PressLabs/gitfs";
license = lib.licenses.asl20;
platforms = lib.platforms.unix;
maintainers = [ lib.maintainers.robbinch ];
mainProgram = "gitfs";
# requires <=python39, otherwise you get this at runtime:
# AttributeError: module 'collections' has no attribute 'MutableMapping'
broken = true;
};
}

View File

@@ -851,6 +851,7 @@ mapAliases {
gimp3-with-plugins = gimp-with-plugins; # Added 2025-10-03
gimp3Plugins = gimpPlugins; # Added 2025-10-03
gitAndTools = throw "gitAndTools has been removed, as the packages are now available at the top level"; # Converted to throw 2025-10-26
gitfs = throw "'gitfs' has been removed, as it is broken and unmaintained upstream"; # Added 2026-05-22
gitversion = throw "'gitversion' has been removed because it produced a broken build and was unmaintained"; # Added 2025-08-30
gjay = throw "'gjay' has been removed as it is unmaintained upstream"; # Added 2025-05-25
glabels = throw "'glabels' has been removed because it is no longer maintained. Consider using 'glabels-qt', which is an active fork."; # Added 2025-09-16