2021-12-19 01:06:50 +00:00
|
|
|
{ lib, stdenv, fetchurl, openssl, pam, fetchpatch }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2021-08-05 21:33:18 +00:00
|
|
|
pname = "pure-ftpd";
|
2021-12-19 01:06:50 +00:00
|
|
|
version = "1.0.50";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2021-08-05 21:33:18 +00:00
|
|
|
url = "https://download.pureftpd.org/pub/pure-ftpd/releases/pure-ftpd-${version}.tar.gz";
|
2021-12-19 01:06:50 +00:00
|
|
|
sha256 = "08zas1kg5pnckl28gs7q29952pjfyj8rj59bq96hscqbni7gkqmb";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2021-12-19 01:06:50 +00:00
|
|
|
buildInputs = [ openssl pam ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
configureFlags = [ "--with-tls" ];
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
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(?)
|
2021-05-20 23:08:51 +00:00
|
|
|
maintainers = [ ];
|
2021-12-19 01:06:50 +00:00
|
|
|
platforms = platforms.unix;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|