2017-05-25 21:10:55 +02:00
|
|
|
{ stdenv, fetchurl, openssl }:
|
2016-04-10 17:53:07 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2017-05-25 20:37:47 +02:00
|
|
|
name = "pure-ftpd-1.0.46";
|
2016-04-10 17:53:07 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://download.pureftpd.org/pub/pure-ftpd/releases/${name}.tar.gz";
|
2017-05-25 20:37:47 +02:00
|
|
|
sha256 = "0p0arcaz63fbb03fkavbc8z6m1f90p5vbnxb8mqlvpma6mrq0286";
|
2016-04-10 17:53:07 +02:00
|
|
|
};
|
|
|
|
|
2017-05-25 21:10:55 +02:00
|
|
|
buildInputs = [ openssl ];
|
|
|
|
|
|
|
|
configureFlags = [ "--with-tls" ];
|
|
|
|
|
2016-04-10 17:53:07 +02:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "A free, secure, production-quality and standard-conformant FTP server";
|
|
|
|
homepage = https://www.pureftpd.org;
|
2016-04-10 19:48:01 +02:00
|
|
|
license = licenses.isc; # with some parts covered by BSD3(?)
|
2016-04-10 17:53:07 +02:00
|
|
|
maintainers = [ maintainers.lethalman ];
|
2017-05-25 21:57:46 +02:00
|
|
|
platforms = platforms.unix;
|
2016-04-10 17:53:07 +02:00
|
|
|
};
|
|
|
|
}
|