infrastructure/nixos/pkgs/roundcube-swipe/default.nix
Victor 434952cca0
Some checks failed
Lint / lint (push) Failing after 1s
Plex Update / update (push) Successful in 9s
fix roundcube swipe
2023-06-16 09:31:17 +02:00

19 lines
486 B
Nix

{ runCommand, fetchFromGitHub }:
let
roundcubePlugin = { pname, version, src }:
runCommand "roundcube-plugin-swipe-${version}" { } ''
mkdir -p $out/plugins/
cp -r ${src} $out/plugins/swipe
'';
in roundcubePlugin rec {
pname = "roundcube-swipe";
version = "0.5";
src = fetchFromGitHub {
owner = "johndoh";
repo = pname;
rev = "de96f82183bc593d879c335e6614fa983d51abfc";
sha256 = "sha256-vrMSvGwUzufSFDsUvUSL9JLR/+GtWdebVqgKiXMOOq4=";
};
}