add swipe action

This commit is contained in:
Vivian 2023-06-16 09:05:38 +02:00
parent 0804af2655
commit c5120dec62
4 changed files with 45 additions and 11 deletions

View file

@ -0,0 +1,18 @@
{ runCommand, fetchzip }:
let
roundcubePlugin = { pname, version, src }:
runCommand "roundcube-plugin-${pname}-${version}" { } ''
mkdir -p $out/plugins/
cp -r ${src} $out/plugins/${pname}
'';
in roundcubePlugin rec {
pname = "roundcube-swipe";
version = "0.5";
src = fetchzip {
url =
"https://github.com/johndoh/roundcube-swipe/archive/refs/tags/${version}.tar.gz";
sha256 = "sha256-ExTnYE4uF8E+Fatz7fL+vVmxgLxawEI30Rw2uAWNCNw=";
};
}