nixpkgs-suyu/pkgs/servers/roundcube/plugins/roundcube-plugin.nix

8 lines
164 B
Nix
Raw Normal View History

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