infrastructure/nixos/pkgs/roundcube-swipe/default.nix
Victor Roest 1ce159b537
All checks were successful
Lint / lint (push) Successful in 2s
Plex Update / update (push) Successful in 10s
fix lint
2023-06-18 10:00:06 +02:00

19 lines
479 B
Nix

{ runCommand, fetchFromGitHub }:
let
roundcubePlugin = { 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=";
};
}