Commit Graph

53 Commits

Author SHA1 Message Date
Weijia Wang
300a6fda77 mastodon: apply suggestion 2023-09-28 22:29:04 +02:00
Sandro Jäckel
591d32cdb1 mastodon: reduce the amount of files information is spread across 2023-09-28 22:21:53 +02:00
Weijia Wang
a985e3c9ff mastodon: simplify update script 2023-09-28 20:32:06 +02:00
Kerstin Humm
ded07331ce
mastodon: fix updateScript
nix-prefetch-github emits "hash" attribute, not "sha256"
2023-09-28 12:05:22 +02:00
Dan Buch
3ffce56f46
mastodon: generate and read yarn hash from dependencies dir
Co-authored-by: Robert Schütz <github@dotlambda.de>
2023-09-27 00:17:14 +00:00
Sandro Jäckel
ad86daf6ff
mastodon: 4.1.8 -> 4.1.9 2023-09-21 15:21:48 +02:00
Sophie Tauchert
fc400479c8
mastodon: 4.1.7 -> 4.1.8 2023-09-19 18:06:35 +02:00
Sandro Jäckel
fbd2c21ff0
mastodon: 4.1.6 -> 4.1.7 2023-09-05 22:45:57 +02:00
Kerstin
70bd808e81
mastodon: 4.1.5 -> 4.1.6 (#246348) 2023-07-31 15:58:39 +02:00
Sandro Jäckel
19ad8f5c79
mastodon: 4.1.4 -> 4.1.5 2023-07-22 01:46:47 +02:00
Sandro
c6d9dfa60b
Merge pull request #241937 from SuperSandro2000/mastodon-update-script
mastodon: simplify update script
2023-07-22 01:14:07 +02:00
Theodore Ni
e8808ced29
mastodon: adapt update script to new nix-prefetch-github 2023-07-18 18:16:15 -07:00
Sandro Jäckel
000006ec7c
mastodon: 4.1.3 -> 4.1.4 2023-07-07 22:29:36 +02:00
Sandro Jäckel
71a96bd985
mastodon: simplify update script 2023-07-06 16:18:11 +02:00
Sophie Tauchert
db15bc8071
mastodon: 4.1.2 -> 4.1.3 2023-07-06 15:27:14 +02:00
Sandro
83938e3979
Merge pull request #238836 from SuperSandro2000/mastodon-fetchfromgithub 2023-07-05 14:51:39 +02:00
Sandro Jäckel
74ca55400e
mastodon: add runHooks
This makes constructing overrides easier
2023-07-03 00:37:30 +02:00
Sandro Jäckel
0000005ec6
mastodon: use fetchFromGitHub, fix shellcheck hints 2023-06-20 23:36:06 +02:00
Kerstin Humm
ce7730aa87 mastodon: 4.1.1 -> 4.1.2 2023-04-05 11:41:13 +02:00
Izorkin
e57d014454 mastodon: update ruby package 2023-03-29 12:41:21 +02:00
Izorkin
e0371f9d20
mastodon: 4.1.0 -> 4.1.1 2023-03-20 21:47:01 +03:00
Kerstin Humm
8ae3db151a
mastodon: 4.0.2 -> 4.1.0 2023-02-11 18:49:47 +01:00
Izorkin
609dd87597
mastodon: create missing static gzip and brotli files 2023-01-26 11:05:58 +03:00
Andrew Dunham
5ff79caff9 mastodon: pass dependencies as environment variables
This makes it much easier to override components of the Mastodon
derivation to e.g. use a fork. With this change, one can use something
like the following to install a fork (with the appropriate files):

    let
      src = callPackage ./source.nix { };
    in
      (mastodon.override {
        pname = "hometown";
        version = import ./version.nix;
        srcOverride = src;
        dependenciesDir = ./.;
      }).overrideAttrs (oldAttrs: rec {
        yarnOfflineCache = fetchYarnDeps {
          yarnLock = "${src}/yarn.lock";
          sha256 = "sha256-AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=";
        };
        mastodonModules = oldAttrs.mastodonModules.overrideAttrs (oldModuleAttrs: {
          inherit yarnOfflineCache;
        });
      });

A spiritual successor to f949de4fbb
2023-01-07 16:18:47 -05:00
Kerstin Humm
d35c9e04e6 mastodon: 3.5.3 -> 4.0.2 2022-11-17 20:05:50 +01:00
Geoffrey Huntley
6e0c9dcd87
mastodon: add ghuntley as maintainer 2022-11-16 17:52:00 +10:00
Yureka
f949de4fbb mastodon: pass yarnOfflineCache as environment variable 2022-10-02 23:47:49 +02:00
Robert Gerus
65f1654de2 mastodon: Fix compatibility for openssl 3
https://github.com/mastodon/mastodon/issues/17924
2022-09-25 23:16:59 +02:00
ajs124
99466ee39e maintainers: remove petabyteboy
github account deleted
2022-06-29 00:52:12 +02:00
Kerstin Humm
03eb4fd7ae mastodon: 3.5.2 -> 3.5.3 2022-05-27 04:26:49 +02:00
techknowlogick
404e8283e9 mastodon: 3.5.1 -> 3.5.2 2022-05-04 09:19:41 +02:00
Kerstin Humm
15313692cd mastodon.updateScript: use correct input for nix-prefetch-git, better formatting 2022-04-09 16:27:27 +02:00
techknowlogick
6a441683a0 mastodon: 3.5.0 -> 3.5.1
Co-authored-by: Kerstin Humm <kerstin@erictapen.name>
2022-04-09 16:27:27 +02:00
Izorkin
239982c6c9 mastodon: fix indexing statuses in elasticsearch 2022-04-07 14:12:54 +02:00
Kerstin Humm
f44b12fb52 mastodon: use correct GitHub Url
The tootsuite organization was renamed to mastodon ages ago.
2022-03-31 13:17:11 +02:00
Kerstin Humm
513f7beb55 mastodon: 3.4.6 -> 3.5.0
Co-authored-by: Izorkin <izorkin@elven.pw>
2022-03-31 13:17:11 +02:00
Izorkin
04efb0c252 mastodon: build nodejs modules with fetchYarnDeps 2022-03-21 12:38:34 +01:00
Izorkin
41f28e9fbc nixos/tests: add mastodon test 2022-03-20 21:01:03 +01:00
Robert Scott
3e432f195f
Merge pull request #160723 from erictapen/mastodon
mastodon: apply upstream patch for CVE-2022-0432
2022-02-20 17:03:22 +00:00
Kerstin Humm
a8121ca80e
mastodon: apply upstream patch for CVE-2022-0432
4d6d4b43c6

Co-authored-by: Robert Scott <github@humanleg.org.uk>
2022-02-20 14:03:14 +01:00
Jelle Besseling
a305410e4e mastodon: add aarch64-linux platform 2022-02-19 16:01:43 +01:00
Kerstin Humm
db6600c301 mastodon: 3.4.5 -> 3.4.6
fixes CVE-2022-24307
2022-02-03 14:26:44 +01:00
Kerstin Humm
090ad62cf2 mastodon: 3.4.4 -> 3.4.5 2022-02-02 17:50:52 +01:00
Kerstin Humm
e67685910d
mastodon: 3.4.1 -> 3.4.4
update.sh --ver v3.4.4 --patches ./resolutions.patch
2021-11-26 01:57:41 +01:00
Kerstin Humm
daf2b0f917
mastodon.updateScript: use runCommand instead of mkDerivation 2021-11-26 01:57:41 +01:00
Robert Hensing
a201246bac treewide: runCommandNoCC -> runCommand in generated code
This has been synonymous for ~5y.

Note that many of these runCommand bindings are unused, but that's
ok for generated code.
2021-08-15 17:36:41 +02:00
Felix Buehler
2a2026580f mastodon-update-script: remove phases 2021-07-24 23:23:11 +02:00
Kerstin Humm
7c9a0fb960 mastodon: 3.4.0 -> 3.4.1
update.sh --ver v3.4.1 --patches ./resolutions.patch
2021-06-15 21:16:16 +02:00
Kerstin Humm
199690337d mastodon: migrate from ruby 2.7 to 3.0 2021-05-21 15:04:12 +02:00
Kerstin Humm
dfd9d996e2 mastodon: 3.3.0 -> 3.4.0
./update.sh --ver v3.4.0 --patches ./resolutions.patch
2021-05-21 15:04:12 +02:00