fix roundcube swipe
This commit is contained in:
parent
7242ccf9ae
commit
434952cca0
|
@ -1,18 +1,19 @@
|
||||||
{ runCommand, fetchzip }:
|
{ runCommand, fetchFromGitHub }:
|
||||||
let
|
let
|
||||||
roundcubePlugin = { pname, version, src }:
|
roundcubePlugin = { pname, version, src }:
|
||||||
|
|
||||||
runCommand "roundcube-plugin-${pname}-${version}" { } ''
|
runCommand "roundcube-plugin-swipe-${version}" { } ''
|
||||||
mkdir -p $out/plugins/
|
mkdir -p $out/plugins/
|
||||||
cp -r ${src} $out/plugins/${pname}
|
cp -r ${src} $out/plugins/swipe
|
||||||
'';
|
'';
|
||||||
in roundcubePlugin rec {
|
in roundcubePlugin rec {
|
||||||
pname = "roundcube-swipe";
|
pname = "roundcube-swipe";
|
||||||
version = "0.5";
|
version = "0.5";
|
||||||
|
|
||||||
src = fetchzip {
|
src = fetchFromGitHub {
|
||||||
url =
|
owner = "johndoh";
|
||||||
"https://github.com/johndoh/roundcube-swipe/archive/refs/tags/${version}.tar.gz";
|
repo = pname;
|
||||||
sha256 = "sha256-ExTnYE4uF8E+Fatz7fL+vVmxgLxawEI30Rw2uAWNCNw=";
|
rev = "de96f82183bc593d879c335e6614fa983d51abfc";
|
||||||
|
sha256 = "sha256-vrMSvGwUzufSFDsUvUSL9JLR/+GtWdebVqgKiXMOOq4=";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue