mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 03:17:13 +00:00
8743e575be
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/git-ftp/versions. These checks were done: - built on NixOS - /nix/store/99qm5jxal3n5kpyk7jb6byf68zir13hq-git-ftp-1.5.1/bin/git-ftp passed the binary check. - 1 of 1 passed binary check by having a zero exit code. - 1 of 1 passed binary check by having the new version present in output. - found 1.5.1 with grep in /nix/store/99qm5jxal3n5kpyk7jb6byf68zir13hq-git-ftp-1.5.1 - directory tree listing: https://gist.github.com/db2f3eebbf94391961fe177450df28d8 - du listing: https://gist.github.com/8e1f6afd03639aaba4c09de2d38fbf54
28 lines
658 B
Nix
28 lines
658 B
Nix
{ lib, stdenv, fetchFromGitHub, pandoc, man }:
|
|
stdenv.mkDerivation rec {
|
|
name = "git-ftp-${version}";
|
|
version = "1.5.1";
|
|
src = fetchFromGitHub {
|
|
owner = "git-ftp";
|
|
repo = "git-ftp";
|
|
rev = version;
|
|
sha256 = "0nh2f58rwwfzmglm75fmmm10470a80q0vsihc2msa8xswngihg22";
|
|
};
|
|
|
|
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;
|
|
};
|
|
}
|