blob: ff3072485ad7656ad787550300fc8a294d5d8f53 (
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
|
{
lib,
rustPlatform,
fetchFromGitHub,
versionCheckHook,
nix-update-script,
}:
rustPlatform.buildRustPackage (finalAttrs: {
pname = "rainfrog";
version = "0.4.5";
__structuredAttrs = true;
src = fetchFromGitHub {
owner = "achristmascarl";
repo = "rainfrog";
tag = "v${finalAttrs.version}";
hash = "sha256-kA3rIGmSid3qbIasqoSnFv4w0P+RrAWoH8PszY9xSGs=";
};
cargoHash = "sha256-A3gZF2oJVt5WR56JVwsPOVvgu/d9veD01+gQESNV0Qc=";
nativeInstallCheckInputs = [ versionCheckHook ];
doInstallCheck = true;
passthru.updateScript = nix-update-script { };
meta = {
changelog = "https://github.com/achristmascarl/rainfrog/releases/tag/v${finalAttrs.version}";
description = "Database management TUI for postgres";
homepage = "https://github.com/achristmascarl/rainfrog";
license = lib.licenses.mit;
mainProgram = "rainfrog";
maintainers = with lib.maintainers; [ patka ];
};
})
|