mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-24 06:33:42 +00:00
46420bbaa3
treewide replacement of stdenv.mkDerivation rec { name = "*-${version}"; version = "*"; to pname
28 lines
643 B
Nix
28 lines
643 B
Nix
{ stdenv, fetchFromGitHub, pandoc, man }:
|
|
stdenv.mkDerivation rec {
|
|
pname = "git-ftp";
|
|
version = "1.5.2";
|
|
src = fetchFromGitHub {
|
|
owner = "git-ftp";
|
|
repo = "git-ftp";
|
|
rev = version;
|
|
sha256 = "09qr8ciyfipcq32kl78ksvcra22aq7r4my685aajlbvkxgs0a867";
|
|
};
|
|
|
|
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;
|
|
};
|
|
}
|