2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv, fetchurl, openssl, fetchpatch }:
|
2016-04-10 16:53:07 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2021-07-25 22:53:02 +01:00
|
|
|
pname = "pure-ftpd";
|
2021-12-04 23:45:05 +00:00
|
|
|
version = "1.0.50";
|
2016-04-10 16:53:07 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2021-07-25 22:53:02 +01:00
|
|
|
url = "https://download.pureftpd.org/pub/pure-ftpd/releases/pure-ftpd-${version}.tar.gz";
|
2021-12-04 23:45:05 +00:00
|
|
|
sha256 = "08zas1kg5pnckl28gs7q29952pjfyj8rj59bq96hscqbni7gkqmb";
|
2016-04-10 16:53:07 +01:00
|
|
|
};
|
|
|
|
|
2017-05-25 20:10:55 +01:00
|
|
|
buildInputs = [ openssl ];
|
|
|
|
|
|
|
|
configureFlags = [ "--with-tls" ];
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2016-04-10 16:53:07 +01:00
|
|
|
description = "A free, secure, production-quality and standard-conformant FTP server";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://www.pureftpd.org";
|
2016-04-10 18:48:01 +01:00
|
|
|
license = licenses.isc; # with some parts covered by BSD3(?)
|
2021-05-07 14:35:21 +01:00
|
|
|
maintainers = [ ];
|
2018-03-24 01:23:30 +00:00
|
|
|
platforms = platforms.linux;
|
2016-04-10 16:53:07 +01:00
|
|
|
};
|
|
|
|
}
|