Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 21.11 27 lines 642 B view raw
1{ lib, stdenv, fetchFromGitHub, pandoc, man }: 2stdenv.mkDerivation rec { 3 pname = "git-ftp"; 4 version = "1.6.0"; 5 src = fetchFromGitHub { 6 owner = "git-ftp"; 7 repo = "git-ftp"; 8 rev = version; 9 sha256 = "1hxkqf7jbrx24q18yxpnd3dxzh4xk6asymwkylp1x7zg6mcci87d"; 10 }; 11 12 dontBuild = true; 13 14 installPhase = '' 15 make install-all prefix=$out 16 ''; 17 18 buildInputs = [pandoc man]; 19 20 meta = with 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}