add swipe action
This commit is contained in:
parent
0804af2655
commit
c5120dec62
4 changed files with 45 additions and 11 deletions
18
nixos/pkgs/roundcube-swipe/default.nix
Normal file
18
nixos/pkgs/roundcube-swipe/default.nix
Normal 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=";
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue