11 dataDir = "/var/lib/sympa";
12 runtimeDir = "/run/sympa";
13 perlEnv = perl.withPackages (
31 HTMLStripScriptsParser
71 stdenv.mkDerivation rec {
75 src = fetchFromGitHub {
76 owner = "sympa-community";
79 sha256 = "sha256-Z5V4LqogIobs8pT+ED6iZGjnC+J+GQBHq2opu1yv/7k=";
88 "--with-lockdir=${runtimeDir}"
89 "--with-piddir=${runtimeDir}"
90 "--with-confdir=${dataDir}/etc"
91 "--sysconfdir=${dataDir}/etc"
92 "--with-spooldir=${dataDir}/spool"
93 "--with-expldir=${dataDir}/list_data"
95 nativeBuildInputs = [ autoreconfHook ];
96 buildInputs = [ perlEnv ];
97 patches = [ ./make-docs.patch ];
100 patchShebangs po/sympa/add-lang.pl
105 for i in chown chgrp chmod; do
106 echo '#!${stdenv.shell}' >> "$TMP/bin/$i"
107 chmod +x "$TMP/bin/$i"
109 PATH="$TMP/bin:$PATH"
117 inherit (nixosTests) sympa;
121 description = "Open source mailing list manager";
122 homepage = "https://www.sympa.org";
123 license = licenses.gpl2Plus;
124 maintainers = with maintainers; [
128 platforms = platforms.all;