2021-01-23 12:26:19 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, pandoc, man }:
|
2017-07-07 10:41:30 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "git-ftp";
|
2020-02-06 07:33:54 +00:00
|
|
|
version = "1.6.0";
|
2017-07-07 10:41:30 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "git-ftp";
|
|
|
|
repo = "git-ftp";
|
|
|
|
rev = version;
|
2020-02-06 07:33:54 +00:00
|
|
|
sha256 = "1hxkqf7jbrx24q18yxpnd3dxzh4xk6asymwkylp1x7zg6mcci87d";
|
2017-07-07 10:41:30 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
dontBuild = true;
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
make install-all prefix=$out
|
|
|
|
'';
|
|
|
|
|
|
|
|
buildInputs = [pandoc man];
|
|
|
|
|
2021-01-23 12:26:19 +00:00
|
|
|
meta = with lib; {
|
2020-10-11 06:55:05 +01:00
|
|
|
description = "Git powered FTP client written as shell script";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://git-ftp.github.io/";
|
2017-07-07 10:41:30 +01:00
|
|
|
license = licenses.gpl3;
|
|
|
|
maintainers = with maintainers; [ tweber ];
|
|
|
|
platforms = platforms.unix;
|
|
|
|
};
|
|
|
|
}
|