2014-11-03 11:55:12 +00:00
|
|
|
{ fetchurl, stdenv, pkgconfig, db, libgcrypt, avahi, libiconvOrEmpty, pam, openssl }:
|
2013-09-16 05:54:57 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2013-12-21 02:02:37 +00:00
|
|
|
name = "netatalk-3.1.0";
|
2013-09-16 05:54:57 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://sourceforge/netatalk/netatalk/${name}.tar.bz2";
|
2013-12-21 02:02:37 +00:00
|
|
|
sha256 = "1d8dc8ysslkis4yl1xab1w9p0pz7a1kg0i6fds4wxsp4fhb6wqhq";
|
2013-09-16 05:54:57 +00:00
|
|
|
};
|
|
|
|
|
2014-11-03 11:55:12 +00:00
|
|
|
buildInputs = [ pkgconfig db libgcrypt avahi pam openssl ] ++ libiconvOrEmpty;
|
2013-09-16 05:54:57 +00:00
|
|
|
|
|
|
|
configureFlags = [
|
2014-01-31 20:05:37 +00:00
|
|
|
"--with-bdb=${db}"
|
2013-09-16 05:54:57 +00:00
|
|
|
"--with-openssl=${openssl}"
|
|
|
|
];
|
|
|
|
|
|
|
|
enableParallelBuild = true;
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Apple File Protocl Server";
|
|
|
|
homepage = http://netatalk.sourceforge.net/;
|
|
|
|
license = stdenv.lib.licenses.gpl3;
|
|
|
|
platforms = stdenv.lib.platforms.linux;
|
|
|
|
maintainers = with stdenv.lib.maintainers; [ jcumming ];
|
|
|
|
};
|
|
|
|
}
|