blob: 9bccbd709745d7e96fcfedc5bc3e7f057e852924 (
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
|
{
lib,
buildGoModule,
fetchFromGitHub,
nix-update-script,
}:
buildGoModule (finalAttrs: {
pname = "runn";
version = "1.10.0";
src = fetchFromGitHub {
owner = "k1LoW";
repo = "runn";
tag = "v${finalAttrs.version}";
hash = "sha256-H9x4Jwc24qnDX5EnWhbWht5KdT/tkeceQp2GgmPJ7nE=";
};
vendorHash = "sha256-59hDW3BKdhgSLQ9FgFtKcdy8Z1aW27YbAx4O5snU1WU=";
subPackages = [ "cmd/runn" ];
ldflags = [
"-s"
"-w"
"-X github.com/k1LoW/runn/version.Version=${finalAttrs.version}"
];
# Tests require external services (PostgreSQL, MySQL, Chrome, gRPC)
doCheck = false;
passthru.updateScript = nix-update-script { };
meta = {
description = "Scenario-based testing tool for APIs, databases, and more";
homepage = "https://github.com/k1LoW/runn";
changelog = "https://github.com/k1LoW/runn/releases/tag/v${finalAttrs.version}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ takeokunn ];
mainProgram = "runn";
};
})
|