2022-09-30 00:31:09 +00:00
|
|
|
{ lib, stdenv, fetchurl, openssl, pam, libxcrypt }:
|
2016-04-10 15:53:07 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2021-07-25 21:53:02 +00:00
|
|
|
pname = "pure-ftpd";
|
2022-08-01 05:41:59 +00:00
|
|
|
version = "1.0.51";
|
2016-04-10 15:53:07 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2021-07-25 21:53:02 +00:00
|
|
|
url = "https://download.pureftpd.org/pub/pure-ftpd/releases/pure-ftpd-${version}.tar.gz";
|
2022-08-01 05:41:59 +00:00
|
|
|
sha256 = "sha256-QWD2a3ZhXuojl+rE6j8KFGt5KCB7ebxMwvma17e9lRM=";
|
2016-04-10 15:53:07 +00:00
|
|
|
};
|
|
|
|
|
2022-09-30 00:31:09 +00:00
|
|
|
buildInputs = [ openssl pam libxcrypt ];
|
2017-05-25 19:10:55 +00:00
|
|
|
|
|
|
|
configureFlags = [ "--with-tls" ];
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2016-04-10 15:53:07 +00:00
|
|
|
description = "Free, secure, production-quality and standard-conformant FTP server";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://www.pureftpd.org";
|
2016-04-10 17:48:01 +00:00
|
|
|
license = licenses.isc; # with some parts covered by BSD3(?)
|
2021-05-07 13:35:21 +00:00
|
|
|
maintainers = [ ];
|
2021-12-05 12:32:39 +00:00
|
|
|
platforms = platforms.unix;
|
2016-04-10 15:53:07 +00:00
|
|
|
};
|
|
|
|
}
|