nixpkgs-suyu/pkgs/servers/roundcube/plugins/roundcube-plugin.nix
Maximilian Bosch 2820e1df5c roundcubePlugins: init
This meta-package is supposed to contain third-party roundcube plugins
such as `persistent_login` that will be linked into the roundcube
derivation.
2019-02-08 13:35:09 +00:00

7 lines
164 B
Nix

{ runCommand }:
{ pname, version, src }:
runCommand "roundcube-plugin-${pname}-${version}" { } ''
mkdir -p $out/plugins/
cp -r ${src} $out/plugins/${pname}
''