2018-07-21 00:44:44 +00:00
|
|
|
{ stdenv, fetchFromGitHub, pandoc, man }:
|
2017-07-07 09:41:30 +00:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "git-ftp-${version}";
|
2019-06-16 23:58:46 +00:00
|
|
|
version = "1.5.2";
|
2017-07-07 09:41:30 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "git-ftp";
|
|
|
|
repo = "git-ftp";
|
|
|
|
rev = version;
|
2019-06-16 23:58:46 +00:00
|
|
|
sha256 = "09qr8ciyfipcq32kl78ksvcra22aq7r4my685aajlbvkxgs0a867";
|
2017-07-07 09:41:30 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|