blob: 49673167c3a333e9ad3bdda60344271c458fcfc4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
{
lib,
buildPythonPackage,
django-vpg,
fetchFromGitLab,
rustPlatform,
}:
buildPythonPackage (finalAttrs: {
pname = "glitchtip-rust";
version = "0.9.0";
pyproject = true;
src = fetchFromGitLab {
owner = "glitchtip";
repo = "glitchtip-rust";
tag = "v${finalAttrs.version}";
hash = "sha256-XQoJJ3w1HTyOtzjnsU2OD2IkOMLUSvIf+9Xd0sF9s5E=";
};
cargoDeps = rustPlatform.fetchCargoVendor {
inherit (finalAttrs) pname version src;
hash = "sha256-vXRcONfyrHCjcdfjHjpauoRTgiqcHgkBsNIS6VDPWpo=";
};
nativeBuildInputs = [
rustPlatform.cargoSetupHook
rustPlatform.maturinBuildHook
];
dependencies = [ django-vpg ];
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
];
};
})
|