mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-17 19:23:50 +00:00
32 lines
871 B
Nix
32 lines
871 B
Nix
{ fetchurl, stdenv, pkgconfig, db, libgcrypt, avahi, libiconv, pam, openssl, acl }:
|
|
|
|
stdenv.mkDerivation rec{
|
|
name = "netatalk-3.1.7";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://sourceforge/netatalk/netatalk/${name}.tar.bz2";
|
|
sha256 = "0wf09fyqzza024qr1s26z5x7rsvh9zb4pv598gw7gm77wjcr6174";
|
|
};
|
|
|
|
buildInputs = [ pkgconfig db libgcrypt avahi libiconv pam openssl acl ];
|
|
|
|
patches = ./omitLocalstatedirCreation.patch;
|
|
|
|
configureFlags = [
|
|
"--with-bdb=${db}"
|
|
"--with-openssl=${openssl}"
|
|
"--with-lockfile=/run/lock/netatalk"
|
|
"--localstatedir=/var/lib"
|
|
];
|
|
|
|
enableParallelBuild = true;
|
|
|
|
meta = {
|
|
description = "Apple Filing Protocol Server";
|
|
homepage = http://netatalk.sourceforge.net/;
|
|
license = stdenv.lib.licenses.gpl3;
|
|
platforms = stdenv.lib.platforms.linux;
|
|
maintainers = with stdenv.lib.maintainers; [ jcumming ];
|
|
};
|
|
}
|