dbeb64eb2b
Semi-automatic update. These checks were done: - built on NixOS - ran `/nix/store/jl7d3l14s4p2f7r9mm9pij1ifpszkziv-bftpd-4.8/bin/bftpd -h` got 0 exit code - ran `/nix/store/jl7d3l14s4p2f7r9mm9pij1ifpszkziv-bftpd-4.8/bin/bftpd --help` got 0 exit code - ran `/nix/store/jl7d3l14s4p2f7r9mm9pij1ifpszkziv-bftpd-4.8/bin/bftpd -v` and found version 4.8 - ran `/nix/store/jl7d3l14s4p2f7r9mm9pij1ifpszkziv-bftpd-4.8/bin/bftpd --version` and found version 4.8 - ran `/nix/store/jl7d3l14s4p2f7r9mm9pij1ifpszkziv-bftpd-4.8/bin/bftpd -h` and found version 4.8 - ran `/nix/store/jl7d3l14s4p2f7r9mm9pij1ifpszkziv-bftpd-4.8/bin/bftpd --help` and found version 4.8 - found 4.8 with grep in /nix/store/jl7d3l14s4p2f7r9mm9pij1ifpszkziv-bftpd-4.8 - found 4.8 in filename of file in /nix/store/jl7d3l14s4p2f7r9mm9pij1ifpszkziv-bftpd-4.8
25 lines
749 B
Nix
25 lines
749 B
Nix
{stdenv, fetchurl}:
|
|
stdenv.mkDerivation rec {
|
|
name = "${pname}-${version}";
|
|
pname = "bftpd";
|
|
version = "4.8";
|
|
# or fetchFromGitHub(owner,repo,rev) or fetchgit(rev)
|
|
src = fetchurl {
|
|
url = "mirror://sourceforge/project/${pname}/${pname}/${name}/${name}.tar.gz";
|
|
sha256 = "1zlsajj6wjd9wcijzngmafhy2gr3sm5rphsr5n44rlmx1jdkk00c";
|
|
};
|
|
buildInputs = [];
|
|
preConfigure = ''
|
|
sed -re 's/-[og] 0//g' -i Makefile*
|
|
'';
|
|
meta = {
|
|
inherit version;
|
|
description = ''A minimal ftp server'';
|
|
license = stdenv.lib.licenses.gpl2Plus;
|
|
maintainers = [stdenv.lib.maintainers.raskin];
|
|
platforms = stdenv.lib.platforms.linux;
|
|
homepage = http://bftpd.sf.net/;
|
|
downloadPage = "http://bftpd.sf.net/download.html";
|
|
};
|
|
}
|