blob: 4b836e35f84ac476abbaa601df21f3aa8b520e8f (
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
|
{
lib,
rustPlatform,
fetchFromGitHub,
}:
rustPlatform.buildRustPackage (finalAttrs: {
pname = "pingr";
version = "0.3.0";
src = fetchFromGitHub {
owner = "cybrly";
repo = "pingr";
tag = "v${finalAttrs.version}";
hash = "sha256-Q4Qu2Gf6hDNwY9B0dqRJPLtbuHMgwgyauzz13Vk9rOk=";
};
__structuredAttrs = true;
cargoHash = "sha256-HlMo1RYPi9GyV1WEcCrWepJLDMfsLSMgokinDwIJXuc=";
meta = {
description = "Tool to ping multiple hosts";
homepage = "https://github.com/cybrly/pingr";
changelog = "https://github.com/cybrly/pingr/releases/tag/${finalAttrs.src.tag}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ fab ];
mainProgram = "pingr";
};
})
|