Merge pull request #27177 from tw-360vier/git-ftp
git-ftp: init at 1.4.0
This commit is contained in:
27
pkgs/development/tools/git-ftp/default.nix
Normal file
27
pkgs/development/tools/git-ftp/default.nix
Normal file
@@ -0,0 +1,27 @@
|
||||
{ lib, stdenv, fetchFromGitHub, pandoc, man }:
|
||||
stdenv.mkDerivation rec {
|
||||
name = "git-ftp-${version}";
|
||||
version = "1.4.0";
|
||||
src = fetchFromGitHub {
|
||||
owner = "git-ftp";
|
||||
repo = "git-ftp";
|
||||
rev = version;
|
||||
sha256 = "0n8q1azamf10qql8f8c4ppbd3iisy460gwxx09v5d9hji5md27s3";
|
||||
};
|
||||
|
||||
dontBuild = true;
|
||||
|
||||
installPhase = ''
|
||||
make install-all prefix=$out
|
||||
'';
|
||||
|
||||
buildInputs = [pandoc man];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Git powered FTP client written as shell script.";
|
||||
homepage = https://git-ftp.github.io/;
|
||||
license = licenses.gpl3;
|
||||
maintainers = with maintainers; [ tweber ];
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user