2cf5fe97d0
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/bftpd/versions. These checks were done: - built on NixOS - ran `/nix/store/22swhqg3b1j8jxnlnndb9d4rhx5ajaam-bftpd-4.9/bin/bftpd -h` got 0 exit code - ran `/nix/store/22swhqg3b1j8jxnlnndb9d4rhx5ajaam-bftpd-4.9/bin/bftpd --help` got 0 exit code - ran `/nix/store/22swhqg3b1j8jxnlnndb9d4rhx5ajaam-bftpd-4.9/bin/bftpd -v` and found version 4.9 - ran `/nix/store/22swhqg3b1j8jxnlnndb9d4rhx5ajaam-bftpd-4.9/bin/bftpd --version` and found version 4.9 - ran `/nix/store/22swhqg3b1j8jxnlnndb9d4rhx5ajaam-bftpd-4.9/bin/bftpd -h` and found version 4.9 - ran `/nix/store/22swhqg3b1j8jxnlnndb9d4rhx5ajaam-bftpd-4.9/bin/bftpd --help` and found version 4.9 - found 4.9 with grep in /nix/store/22swhqg3b1j8jxnlnndb9d4rhx5ajaam-bftpd-4.9 - directory tree listing: https://gist.github.com/f0a3568c5073cae5ff7e99964b767161
25 lines
749 B
Nix
25 lines
749 B
Nix
{stdenv, fetchurl}:
|
|
stdenv.mkDerivation rec {
|
|
name = "${pname}-${version}";
|
|
pname = "bftpd";
|
|
version = "4.9";
|
|
# or fetchFromGitHub(owner,repo,rev) or fetchgit(rev)
|
|
src = fetchurl {
|
|
url = "mirror://sourceforge/project/${pname}/${pname}/${name}/${name}.tar.gz";
|
|
sha256 = "13pjil9cjggpi773m0516lszyqvwzlgcrmmj8yn9nc24rbxwvn6d";
|
|
};
|
|
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";
|
|
};
|
|
}
|