2015-08-14 06:05:03 +01:00
|
|
|
{ fetchurl, stdenv, pkgconfig, db, libgcrypt, avahi, libiconv, pam, openssl, acl }:
|
2013-09-16 06:54:57 +01:00
|
|
|
|
2015-08-14 06:05:03 +01:00
|
|
|
stdenv.mkDerivation rec{
|
|
|
|
name = "netatalk-3.1.7";
|
2013-09-16 06:54:57 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://sourceforge/netatalk/netatalk/${name}.tar.bz2";
|
2015-08-14 06:05:03 +01:00
|
|
|
sha256 = "0wf09fyqzza024qr1s26z5x7rsvh9zb4pv598gw7gm77wjcr6174";
|
2013-09-16 06:54:57 +01:00
|
|
|
};
|
|
|
|
|
2015-08-14 06:05:03 +01:00
|
|
|
buildInputs = [ pkgconfig db libgcrypt avahi libiconv pam openssl acl ];
|
|
|
|
|
|
|
|
patches = ./omitLocalstatedirCreation.patch;
|
2013-09-16 06:54:57 +01:00
|
|
|
|
|
|
|
configureFlags = [
|
2014-01-31 20:05:37 +00:00
|
|
|
"--with-bdb=${db}"
|
2016-04-16 18:44:32 +01:00
|
|
|
"--with-openssl=${openssl.dev}"
|
2015-08-14 06:05:03 +01:00
|
|
|
"--with-lockfile=/run/lock/netatalk"
|
|
|
|
"--localstatedir=/var/lib"
|
2013-09-16 06:54:57 +01:00
|
|
|
];
|
|
|
|
|
|
|
|
enableParallelBuild = true;
|
|
|
|
|
|
|
|
meta = {
|
2015-08-14 06:05:03 +01:00
|
|
|
description = "Apple Filing Protocol Server";
|
2013-09-16 06:54:57 +01:00
|
|
|
homepage = http://netatalk.sourceforge.net/;
|
|
|
|
license = stdenv.lib.licenses.gpl3;
|
|
|
|
platforms = stdenv.lib.platforms.linux;
|
|
|
|
maintainers = with stdenv.lib.maintainers; [ jcumming ];
|
|
|
|
};
|
|
|
|
}
|