add swipe action
This commit is contained in:
parent
0804af2655
commit
c5120dec62
4 changed files with 45 additions and 11 deletions
|
@ -14,6 +14,8 @@ _final: prev: {
|
|||
|
||||
dnd-5e-latex-template = prev.callPackage ./dnd-5e-latex-template { };
|
||||
|
||||
roundcube-swipe = prev.callPackage ./roundcube-swipe { };
|
||||
|
||||
gitea-agatheme = prev.callPackage ./gitea-agatheme { };
|
||||
|
||||
# nix-shell -p "(vscode-with-extensions.override {vscodeExtensions = with vscode-extensions; [ jnoortheen.nix-ide ]; })" -I nixpkgs=.
|
||||
|
|
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