nixpkgs-suyu/pkgs/servers/ftp/pure-ftpd/default.nix

24 lines
668 B
Nix
Raw Normal View History

2021-12-05 13:32:39 +01:00
{ lib, stdenv, fetchurl, openssl, pam, fetchpatch }:
2016-04-10 17:53:07 +02:00
stdenv.mkDerivation rec {
pname = "pure-ftpd";
2021-12-05 00:45:05 +01:00
version = "1.0.50";
2016-04-10 17:53:07 +02:00
src = fetchurl {
url = "https://download.pureftpd.org/pub/pure-ftpd/releases/pure-ftpd-${version}.tar.gz";
2021-12-05 00:45:05 +01:00
sha256 = "08zas1kg5pnckl28gs7q29952pjfyj8rj59bq96hscqbni7gkqmb";
2016-04-10 17:53:07 +02:00
};
2021-12-05 13:32:39 +01:00
buildInputs = [ openssl pam ];
configureFlags = [ "--with-tls" ];
meta = with lib; {
2016-04-10 17:53:07 +02: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(?)
maintainers = [ ];
2021-12-05 13:32:39 +01:00
platforms = platforms.unix;
2016-04-10 17:53:07 +02:00
};
}