nix-infra/common/pkgs/mastodon/source.nix

16 lines
503 B
Nix

# This file was generated by pkgs.mastodon.updateScript.
{ fetchFromGitHub, applyPatches, patches ? [ ] }:
let version = "4615ff9a14d80753ebbae8eb6174d43f553241ad";
in (applyPatches {
src = fetchFromGitHub {
owner = "AgathaSorceress";
repo = "mastodon";
rev = "${version}";
sha256 = "bTjyeZbxdkAtLb63jBgNUKhlnXY0KIpGAN0YCglcT5E=";
};
patches = patches ++ [ ./yarn-typescript.patch ];
}) // {
inherit version;
yarnHash = "sha256-qE1TBqa3BSEu1MC3Qw/k3h7QEicWd3AwJdA+U1v8924=";
}