depot/pkgs/by-name/pu/pure-ftpd/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

24 lines
674 B
Nix
Raw Normal View History

{ lib, stdenv, fetchurl, openssl, pam, libxcrypt }:
stdenv.mkDerivation rec {
pname = "pure-ftpd";
version = "1.0.52";
src = fetchurl {
url = "https://download.pureftpd.org/pub/pure-ftpd/releases/pure-ftpd-${version}.tar.gz";
sha256 = "sha256-ESbzqVhW0IiJ/4lwPLGqnsmSTZOdFU6WkEySDwXcPHQ=";
};
buildInputs = [ openssl pam libxcrypt ];
configureFlags = [ "--with-tls" ];
meta = with lib; {
description = "Free, secure, production-quality and standard-conformant FTP server";
homepage = "https://www.pureftpd.org";
license = licenses.isc; # with some parts covered by BSD3(?)
maintainers = [ ];
platforms = platforms.unix;
};
}