19 resholve.mkDerivation rec {
22 src = fetchFromGitHub {
26 sha256 = "1hxkqf7jbrx24q18yxpnd3dxzh4xk6asymwkylp1x7zg6mcci87d";
31 # fix bug/typo; PRed upstream @
32 # https://github.com/git-ftp/git-ftp/pull/628
35 name = "fix-function-invocation-typo.patch";
36 url = "https://github.com/git-ftp/git-ftp/commit/cddf7cbba80e710758f6aac0ec0d77552ea8cd75.patch";
37 sha256 = "sha256-2B0QaMJi78Bg3bA1jp41aiyql1/LCryoaDs7+xmS1HY=";
42 make install-all prefix=$out
45 nativeBuildInputs = [ pandoc man ];
49 scripts = [ "bin/git-ftp" ];
50 interpreter = "${bash}/bin/bash";
63 # don't resolve impure system macOS security
64 # caution: will still be fragile if PATH is bad
65 # TODO: fixable once we figure out how to handle
66 # this entire class of problem...
67 "external" = [ "security" ];
70 # looks like run-time user/env/git-config controlled
72 "$hook" = true; # presumably git hooks given context
75 # TODO: rm when binlore/resholve handle git; manually
76 # checked and see no obvious subexec for now
77 "cannot:${git}/bin/git"
79 Mild uncertainty here. There *are* commandlikes in
80 the arguments (especially wait & cd), but I think they are
81 fine as-is, because I'm reading them as:
83 2. running on the remote anyways
85 See https://github.com/git-ftp/git-ftp/blob/057f7d8e9f00ffc5a8c6ceaa4be30af2939df41a/git-ftp#L1214-L1221
87 "cannot:${lftp}/bin/lftp"
93 description = "Git powered FTP client written as shell script";
94 homepage = "https://git-ftp.github.io/";
95 license = licenses.gpl3;
96 maintainers = with maintainers; [ tweber ];
97 platforms = platforms.unix;