From 76f2da29e97e38164a084803162c141df14cd944 Mon Sep 17 00:00:00 2001 From: Max Date: Sat, 18 Jun 2022 21:00:59 +0200 Subject: [PATCH] packages/tempo: 1.1.0 -> 1.4.1 --- packages/patched-derivations.nix | 10 +++++++++- packages/sources/sources.json | 14 ++++++++++++++ 2 files changed, 23 insertions(+), 1 deletion(-) diff --git a/packages/patched-derivations.nix b/packages/patched-derivations.nix index 136b0cb..37c2f2e 100644 --- a/packages/patched-derivations.nix +++ b/packages/patched-derivations.nix @@ -1,4 +1,6 @@ -let tools = import ./lib/tools.nix; +let + tools = import ./lib/tools.nix; + pins = import ./sources; in with tools; super: rec { hydra = (patch super.hydra-unstable "patches/base/hydra").override { nix = super.nixVersions.nix_2_8; }; @@ -28,4 +30,10 @@ super: rec { in jre // { meta = jre.meta // { inherit (super.jdk17_headless.meta) platforms; }; }; oauth2-proxy = patch super.oauth2-proxy "patches/base/oauth2-proxy"; + + tempo = super.tempo.overrideAttrs (_: { + version = builtins.substring 1 (-1) pins.tempo.version; + src = pins.tempo; + subPackages = [ "cmd/tempo" ]; + }); } diff --git a/packages/sources/sources.json b/packages/sources/sources.json index 5628e8b..366d772 100644 --- a/packages/sources/sources.json +++ b/packages/sources/sources.json @@ -26,6 +26,20 @@ "url": "https://api.github.com/repos/StevenBlack/hosts/tarball/3.10.9", "hash": "1xskv09qrxly22vj32s6g8jnx4ijqy5pqmvwri8rx6w1vsklbg47" }, + "tempo": { + "type": "GitRelease", + "repository": { + "type": "GitHub", + "owner": "grafana", + "repo": "tempo" + }, + "pre_releases": false, + "version_upper_bound": null, + "version": "v1.4.1", + "revision": "561f92b3fe2384126708a06e4f1db422d62db986", + "url": "https://api.github.com/repos/grafana/tempo/tarball/v1.4.1", + "hash": "0r4i6v5g0qisyx1gha87n67zcgm64p0v548q9z75hw55qkvzw8m6" + }, "uptime-kuma": { "type": "GitRelease", "repository": {