depot/third_party/nixpkgs/pkgs/servers/ftp/pure-ftpd/default.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

23 lines
674 B
Nix

{ 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 = "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;
};
}