nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at 17.09 27 lines 658 B view raw
1{ lib, stdenv, fetchFromGitHub, pandoc, man }: 2stdenv.mkDerivation rec { 3 name = "git-ftp-${version}"; 4 version = "1.4.0"; 5 src = fetchFromGitHub { 6 owner = "git-ftp"; 7 repo = "git-ftp"; 8 rev = version; 9 sha256 = "0n8q1azamf10qql8f8c4ppbd3iisy460gwxx09v5d9hji5md27s3"; 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}