nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{ stdenv, fetchFromGitHub, pandoc, man }:
2stdenv.mkDerivation rec {
3 pname = "git-ftp";
4 version = "1.5.2";
5 src = fetchFromGitHub {
6 owner = "git-ftp";
7 repo = "git-ftp";
8 rev = version;
9 sha256 = "09qr8ciyfipcq32kl78ksvcra22aq7r4my685aajlbvkxgs0a867";
10 };
11
12 dontBuild = true;
13
14 installPhase = ''
15 make install-all prefix=$out
16 '';
17
18 buildInputs = [pandoc man];
19
20 meta = with stdenv.lib; {
21 description = "Git powered FTP client written as shell script.";
22 homepage = https://git-ftp.github.io/;
23 license = licenses.gpl3;
24 maintainers = with maintainers; [ tweber ];
25 platforms = platforms.unix;
26 };
27}