summary refs log tree commit diff
path: root/pkgs/servers/ftp/vsftpd/default.nix
blob: e9b17400d17dcb0021486475774a0cc705fa3c6c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
{stdenv, fetchurl, openssl}:

stdenv.mkDerivation {
  name = "vsftpd-2.0.3";
  src = fetchurl {
    url = http://nix.cs.uu.nl/dist/tarballs/vsftpd-2.0.3.tar.gz;
    md5 = "74936cbd8e8251deb1cd99c5fb18b6f8" ;
  };
  
  NIX_LDFLAGS = [ "-lcrypt" "-lssl" "-lcrypto" ];

  builder = ./builder.sh ;

  patches = [ ./fix.patch ] ;
  buildInputs = [ openssl ];
}