diff --git a/pkgs/servers/ftp/bftpd/default.nix b/pkgs/servers/ftp/bftpd/default.nix new file mode 100644 index 00000000000..ceabce82c71 --- /dev/null +++ b/pkgs/servers/ftp/bftpd/default.nix @@ -0,0 +1,24 @@ +{stdenv, fetchurl}: +stdenv.mkDerivation rec { + name = "${pname}-${version}"; + pname = "bftpd"; + version = "4.4"; + # or fetchFromGitHub(owner,repo,rev) or fetchgit(rev) + src = fetchurl { + url = "mirror://sourceforge/project/${pname}/${pname}/${name}/${name}.tar.gz"; + sha256 = "0hgpqwv7mj1yln8ps9bbcjhl5hvs02nxjfkk9nhkr6fysfyyn1dq"; + }; + 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"; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index bd390e1d245..816fa30d4c3 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -10016,6 +10016,8 @@ in sabnzbd = callPackage ../servers/sabnzbd { }; + bftpd = callPackage ../servers/ftp/bftpd {}; + bind = callPackage ../servers/dns/bind { }; dnsutils = bind.dnsutils;