Skip to content

Commit

Permalink
bftpd: init at 4.4
Browse files Browse the repository at this point in the history
  • Loading branch information
7c6f434c committed Nov 28, 2016
1 parent 8088ad7 commit c93ec7b
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
24 changes: 24 additions & 0 deletions pkgs/servers/ftp/bftpd/default.nix
Original file line number Diff line number Diff line change
@@ -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";
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -10016,6 +10016,8 @@ in

sabnzbd = callPackage ../servers/sabnzbd { };

bftpd = callPackage ../servers/ftp/bftpd {};

bind = callPackage ../servers/dns/bind { };
dnsutils = bind.dnsutils;

Expand Down

0 comments on commit c93ec7b

Please sign in to comment.