nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at devShellTools-shell 87 lines 1.4 kB view raw
1{ 2 lib, 3 stdenv, 4 fetchurl, 5 acl, 6 autoreconfHook, 7 avahi, 8 db, 9 libevent, 10 libgcrypt, 11 libiconv, 12 openssl, 13 pam, 14 perl, 15 pkg-config, 16 meson, 17 ninja, 18 file, 19 cracklib, 20 cups, 21 libtirpc, 22 openldap, 23 glib, 24 dbus, 25 iniparser, 26 pandoc, 27}: 28 29stdenv.mkDerivation (finalAttrs: { 30 pname = "netatalk"; 31 version = "4.2.4"; 32 33 src = fetchurl { 34 url = "mirror://sourceforge/netatalk/netatalk/netatalk-${finalAttrs.version}.tar.xz"; 35 hash = "sha256-Twe74RipUd10DT9RqHtcr7oklr0LIucEQ49CGqZnD5k="; 36 }; 37 38 nativeBuildInputs = [ 39 pkg-config 40 meson 41 ninja 42 file 43 ]; 44 45 buildInputs = [ 46 acl 47 avahi 48 db 49 libevent 50 libgcrypt 51 libiconv 52 openssl 53 pam 54 cracklib 55 cups 56 libtirpc 57 openldap 58 glib 59 perl 60 dbus 61 iniparser 62 pandoc 63 ]; 64 65 mesonFlags = [ 66 "-Dwith-appletalk=true" 67 "-Dwith-statedir-path=/var/lib" 68 "-Dwith-bdb-path=${db.out}" 69 "-Dwith-bdb-include-path=${db.dev}/include" 70 "-Dwith-install-hooks=false" 71 "-Dwith-init-hooks=false" 72 "-Dwith-lockfile-path=/run/lock/" 73 "-Dwith-cracklib=true" 74 "-Dwith-cracklib-path=${cracklib.out}" 75 "-Dwith-statedir-creation=false" 76 ]; 77 78 enableParallelBuilding = true; 79 80 meta = { 81 description = "Apple Filing Protocol Server"; 82 homepage = "https://netatalk.io/"; 83 license = lib.licenses.gpl2Plus; 84 platforms = lib.platforms.linux; 85 maintainers = with lib.maintainers; [ jcumming ]; 86 }; 87})