depot/third_party/nixpkgs/pkgs/servers/ftp/pure-ftpd/default.nix
Default email 3cbfd2b52c Project import generated by Copybara.
GitOrigin-RevId: 395879c28386e1abf20c7ecacd45880759548391
2021-12-18 20:06:50 -05:00

23 lines
668 B
Nix

{ lib, stdenv, fetchurl, openssl, pam, fetchpatch }:
stdenv.mkDerivation rec {
pname = "pure-ftpd";
version = "1.0.50";
src = fetchurl {
url = "https://download.pureftpd.org/pub/pure-ftpd/releases/pure-ftpd-${version}.tar.gz";
sha256 = "08zas1kg5pnckl28gs7q29952pjfyj8rj59bq96hscqbni7gkqmb";
};
buildInputs = [ openssl pam ];
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;
};
}