nixpkgs/pkgs/development/tools/git-ftp/default.nix

28 lines
645 B
Nix
Raw Normal View History

{ stdenv, fetchFromGitHub, pandoc, man }:
2017-07-07 09:41:30 +00:00
stdenv.mkDerivation rec {
pname = "git-ftp";
2020-02-06 07:33:54 +00:00
version = "1.6.0";
2017-07-07 09:41:30 +00:00
src = fetchFromGitHub {
owner = "git-ftp";
repo = "git-ftp";
rev = version;
2020-02-06 07:33:54 +00:00
sha256 = "1hxkqf7jbrx24q18yxpnd3dxzh4xk6asymwkylp1x7zg6mcci87d";
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/";
2017-07-07 09:41:30 +00:00
license = licenses.gpl3;
maintainers = with maintainers; [ tweber ];
platforms = platforms.unix;
};
}