2018-07-21 01:44:44 +01:00
|
|
|
{ stdenv, fetchFromGitHub, pandoc, man }:
|
2017-07-07 10:41:30 +01:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "git-ftp-${version}";
|
2018-05-19 16:07:11 +01:00
|
|
|
version = "1.5.1";
|
2017-07-07 10:41:30 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "git-ftp";
|
|
|
|
repo = "git-ftp";
|
|
|
|
rev = version;
|
2018-05-19 16:07:11 +01:00
|
|
|
sha256 = "0nh2f58rwwfzmglm75fmmm10470a80q0vsihc2msa8xswngihg22";
|
2017-07-07 10:41:30 +01: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;
|
|
|
|
};
|
|
|
|
}
|