2023-06-16 09:31:17 +02:00
|
|
|
{ runCommand, fetchFromGitHub }:
|
2023-06-16 09:05:38 +02:00
|
|
|
let
|
2023-06-21 13:19:14 +02:00
|
|
|
roundcubePlugin = { version, src, ... }:
|
2023-06-16 09:05:38 +02:00
|
|
|
|
2023-06-16 09:31:17 +02:00
|
|
|
runCommand "roundcube-plugin-swipe-${version}" { } ''
|
2023-06-16 09:05:38 +02:00
|
|
|
mkdir -p $out/plugins/
|
2023-06-16 09:31:17 +02:00
|
|
|
cp -r ${src} $out/plugins/swipe
|
2023-06-16 09:05:38 +02:00
|
|
|
'';
|
|
|
|
in roundcubePlugin rec {
|
|
|
|
pname = "roundcube-swipe";
|
|
|
|
version = "0.5";
|
|
|
|
|
2023-06-16 09:31:17 +02:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "johndoh";
|
|
|
|
repo = pname;
|
|
|
|
rev = "de96f82183bc593d879c335e6614fa983d51abfc";
|
|
|
|
sha256 = "sha256-vrMSvGwUzufSFDsUvUSL9JLR/+GtWdebVqgKiXMOOq4=";
|
2023-06-16 09:05:38 +02:00
|
|
|
};
|
|
|
|
}
|