14 lines
429 B
Nix
Raw Normal View History

2022-03-22 06:01:10 +03:00
{ runCommand, fetchzip }:
let
pname = "carddav";
2023-04-25 17:31:05 +03:00
version = "5.0.1";
2022-03-22 06:01:10 +03:00
src = fetchzip {
url = "https://github.com/mstilkerich/rcmcarddav/releases/download/v${version}/carddav-v${version}.tar.gz";
2023-04-25 17:31:05 +03:00
sha256 = "sha256-qB4cif4lK9IejOqPexp5RmcGrNGcB1h6cxcGFYhZvRA=";
2022-03-22 06:01:10 +03:00
};
in runCommand "roundcube-plugin-${pname}-${version}" {
inherit pname version src;
} ''
mkdir -p $out/plugins/
cp -r ${src} $out/plugins/${pname}
''