Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
88 lines
1.4 KiB
Nix
88 lines
1.4 KiB
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchurl,
|
|
acl,
|
|
autoreconfHook,
|
|
avahi,
|
|
db,
|
|
libevent,
|
|
libgcrypt,
|
|
libiconv,
|
|
openssl,
|
|
pam,
|
|
perl,
|
|
pkg-config,
|
|
meson,
|
|
ninja,
|
|
file,
|
|
cracklib,
|
|
cups,
|
|
libtirpc,
|
|
openldap,
|
|
glib,
|
|
dbus,
|
|
iniparser,
|
|
pandoc,
|
|
}:
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "netatalk";
|
|
version = "4.2.4";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://sourceforge/netatalk/netatalk/netatalk-${finalAttrs.version}.tar.xz";
|
|
hash = "sha256-Twe74RipUd10DT9RqHtcr7oklr0LIucEQ49CGqZnD5k=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
pkg-config
|
|
meson
|
|
ninja
|
|
file
|
|
];
|
|
|
|
buildInputs = [
|
|
acl
|
|
avahi
|
|
db
|
|
libevent
|
|
libgcrypt
|
|
libiconv
|
|
openssl
|
|
pam
|
|
cracklib
|
|
cups
|
|
libtirpc
|
|
openldap
|
|
glib
|
|
perl
|
|
dbus
|
|
iniparser
|
|
pandoc
|
|
];
|
|
|
|
mesonFlags = [
|
|
"-Dwith-appletalk=true"
|
|
"-Dwith-statedir-path=/var/lib"
|
|
"-Dwith-bdb-path=${db.out}"
|
|
"-Dwith-bdb-include-path=${db.dev}/include"
|
|
"-Dwith-install-hooks=false"
|
|
"-Dwith-init-hooks=false"
|
|
"-Dwith-lockfile-path=/run/lock/"
|
|
"-Dwith-cracklib=true"
|
|
"-Dwith-cracklib-path=${cracklib.out}"
|
|
"-Dwith-statedir-creation=false"
|
|
];
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
meta = {
|
|
description = "Apple Filing Protocol Server";
|
|
homepage = "https://netatalk.io/";
|
|
license = lib.licenses.gpl2Plus;
|
|
platforms = lib.platforms.linux;
|
|
maintainers = with lib.maintainers; [ jcumming ];
|
|
};
|
|
})
|