mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
glitchtip: 6.1.8 -> 6.2.0
Changelog: https://gitlab.com/glitchtip/glitchtip-backend/-/blob/v6.2.0/CHANGELOG Diff: https://gitlab.com/glitchtip/glitchtip-backend/-/compare/v6.1.8...v6.2.0
This commit is contained in:
parent
2606a235af
commit
4a121cc25a
4 changed files with 52 additions and 6 deletions
|
|
@ -10,13 +10,13 @@
|
|||
|
||||
buildNpmPackage (finalAttrs: {
|
||||
pname = "glitchtip-frontend";
|
||||
version = "6.1.8";
|
||||
version = "6.2.0";
|
||||
|
||||
src = fetchFromGitLab {
|
||||
owner = "glitchtip";
|
||||
repo = "glitchtip-frontend";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-y8NPj1xjGnGS9yBFaRjFRxLdTGrAq08T9N7cZN5IeSc=";
|
||||
hash = "sha256-iKY1w9lmfuyvDblH/TlnUwAnda17qWGxmx1qtmQRENg=";
|
||||
};
|
||||
|
||||
nodejs = nodejs_22;
|
||||
|
|
@ -25,7 +25,7 @@ buildNpmPackage (finalAttrs: {
|
|||
name = "${finalAttrs.pname}-${finalAttrs.version}-npm-deps";
|
||||
inherit (finalAttrs) src;
|
||||
npmDepsFetcherVersion = 3;
|
||||
hash = "sha256-AIzPJpNvGV/U71UFAUwOqx8kb31s7LXhMha4bXV+oCU=";
|
||||
hash = "sha256-V9aRKoJ6+BN/q7NS21eZBopzkWje8sOGGL1AgO4cUM0=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
|
|
|
|||
42
pkgs/by-name/gl/glitchtip/glitchtip-rust.nix
Normal file
42
pkgs/by-name/gl/glitchtip/glitchtip-rust.nix
Normal file
|
|
@ -0,0 +1,42 @@
|
|||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitLab,
|
||||
rustPlatform,
|
||||
}:
|
||||
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "glitchtip-rust";
|
||||
version = "0.3.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitLab {
|
||||
owner = "glitchtip";
|
||||
repo = "glitchtip-rust";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-0FG+seIWqfyOG3JR0WF4ICnxMAPx9FO0JyFSB43CttU=";
|
||||
};
|
||||
|
||||
cargoDeps = rustPlatform.fetchCargoVendor {
|
||||
inherit (finalAttrs) pname version src;
|
||||
hash = "sha256-14j7h4TgQhTE5oihnvjAxtGZhPajuTRD4Cga8xzN9Lg=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
rustPlatform.cargoSetupHook
|
||||
rustPlatform.maturinBuildHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "gt_rust" ];
|
||||
|
||||
meta = {
|
||||
description = "Rust components of GlitchTip Backend";
|
||||
homepage = "https://glitchtip.com";
|
||||
changelog = "https://gitlab.com/glitchtip/glitchtip-rust/-/tags/v${finalAttrs.version}";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [
|
||||
defelo
|
||||
felbinger
|
||||
];
|
||||
};
|
||||
})
|
||||
|
|
@ -13,6 +13,7 @@ let
|
|||
self = python;
|
||||
packageOverrides = final: prev: {
|
||||
django = final.django_6;
|
||||
glitchtip-rust = final.callPackage ./glitchtip-rust.nix { };
|
||||
};
|
||||
};
|
||||
|
||||
|
|
@ -24,7 +25,6 @@ let
|
|||
arro3-core
|
||||
arro3-io
|
||||
boto3
|
||||
brotli
|
||||
cxxfilt
|
||||
django
|
||||
django-allauth
|
||||
|
|
@ -46,8 +46,10 @@ let
|
|||
duckdb
|
||||
google-cloud-logging
|
||||
granian
|
||||
glitchtip-rust
|
||||
mcp
|
||||
minidump
|
||||
opentelemetry-proto
|
||||
orjson
|
||||
psycopg
|
||||
pydantic
|
||||
|
|
@ -77,14 +79,14 @@ in
|
|||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "glitchtip";
|
||||
version = "6.1.8";
|
||||
version = "6.2.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitLab {
|
||||
owner = "glitchtip";
|
||||
repo = "glitchtip-backend";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-4RAZYGoS1tUbcPVv8L0sFWqFfBX05yXKZHFZDbEn0C0=";
|
||||
hash = "sha256-E1YwJwfL5+Q68xRfnoi2Sg+vAZxGQa0IKfOSVuLVnK0=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
|
|
@ -128,6 +130,7 @@ stdenv.mkDerivation (finalAttrs: {
|
|||
|
||||
passthru = {
|
||||
inherit frontend python;
|
||||
inherit (python.pkgs) glitchtip-rust;
|
||||
tests = { inherit (nixosTests) glitchtip; };
|
||||
updateScript = ./update.sh;
|
||||
};
|
||||
|
|
|
|||
|
|
@ -7,3 +7,4 @@ version=$(curl ${GITLAB_TOKEN:+-H "Private-Token: $GITLAB_TOKEN"} -sL https://gi
|
|||
|
||||
nix-update --version="$version" glitchtip
|
||||
nix-update --version="$version" glitchtip.frontend
|
||||
nix-update glitchtip.glitchtip-rust
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue