diff options
Diffstat (limited to 'nixpkgs/pkgs/servers/ftp/pure-ftpd/default.nix')
-rw-r--r-- | nixpkgs/pkgs/servers/ftp/pure-ftpd/default.nix | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/servers/ftp/pure-ftpd/default.nix b/nixpkgs/pkgs/servers/ftp/pure-ftpd/default.nix new file mode 100644 index 000000000000..fe82f1c4679d --- /dev/null +++ b/nixpkgs/pkgs/servers/ftp/pure-ftpd/default.nix @@ -0,0 +1,23 @@ +{ lib, stdenv, fetchurl, openssl, pam, libxcrypt }: + +stdenv.mkDerivation rec { + pname = "pure-ftpd"; + version = "1.0.51"; + + src = fetchurl { + url = "https://download.pureftpd.org/pub/pure-ftpd/releases/pure-ftpd-${version}.tar.gz"; + sha256 = "sha256-QWD2a3ZhXuojl+rE6j8KFGt5KCB7ebxMwvma17e9lRM="; + }; + + buildInputs = [ openssl pam libxcrypt ]; + + configureFlags = [ "--with-tls" ]; + + meta = with lib; { + description = "A free, secure, production-quality and standard-conformant FTP server"; + homepage = "https://www.pureftpd.org"; + license = licenses.isc; # with some parts covered by BSD3(?) + maintainers = [ ]; + platforms = platforms.unix; + }; +} |