+ gems = bundlerEnv {
+ name = "mastodon-env";
+ ruby = ruby_2_5;
+ gemset = ./gemset.nix;
+ gemdir = (fetchedGithub ./mastodon.json).src;
+ groups = [ "default" "production" "test" "development" ];
+ gemConfig = defaultGemConfig // {
+ cld3 = attrs: {
+ buildInputs = with pkgs; [ protobuf protobufc pkgconfig ];
+ };
+ idn-ruby = attrs: {
+ buildInputs = with pkgs; [ libidn ];
+ };
+ rpam2 = attrs: {
+ buildInputs = with pkgs; [ pam ];
+ };
+ };
+ };