nixos/rsyncd: convert module to an INI generator

This commit is contained in:
Emery Hemingway
2020-09-29 08:07:53 +02:00
committed by ehmry
parent b3f8642587
commit e7d0500cb3
3 changed files with 74 additions and 92 deletions
@@ -1,7 +1,6 @@
{ stdenv, fetchurl, perl, libiconv, zlib, popt
, enableACLs ? !(stdenv.isDarwin || stdenv.isSunOS || stdenv.isFreeBSD), acl ? null
, enableCopyDevicesPatch ? false
}:
, enableACLs ? !(stdenv.isDarwin || stdenv.isSunOS || stdenv.isFreeBSD)
, acl ? null, enableCopyDevicesPatch ? false, nixosTests }:
assert enableACLs -> acl != null;
@@ -23,6 +22,8 @@ stdenv.mkDerivation rec {
configureFlags = ["--with-nobody-group=nogroup"];
passthru.tests = { inherit (nixosTests) rsyncd; };
meta = base.meta // {
description = "A fast incremental file transfer utility";
maintainers = with stdenv.lib.maintainers; [ peti ehmry kampfschlaefer ];