blob: 99e0d333a10d289cfabc8123bd908d172300ab11 (
about) (
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
46
47
48
49
50
|
{
lib,
fetchFromGitHub,
rustPlatform,
versionCheckHook,
pkg-config,
libudev-zero,
}:
rustPlatform.buildRustPackage rec {
pname = "rogcat";
version = "0.5.0";
src = fetchFromGitHub {
owner = "flxo";
repo = "rogcat";
tag = "v${version}";
hash = "sha256-nXKvepuiBDIGo8Gga5tbbT/mnC6z+HipV5XYtlrURRU=";
};
useFetchCargoVendor = true;
cargoHash = "sha256-cl09j96UfLvga4cJBSd1he9nfW3taQMY2e+UPltNQMI=";
nativeBuildInputs = [
pkg-config
];
buildInputs = [
libudev-zero
];
doInstallCheck = true;
nativeInstallCheckInputs = [
versionCheckHook
];
versionCheckProgramArg = "--version";
meta = {
description = "Adb logcat wrapper";
homepage = "https://github.com/flxo/rogcat";
changelog = "https://github.com/flxo/rogcat/releases/tag/v${version}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ genga898 ];
mainProgram = "rogcat";
platforms = lib.platforms.linux;
};
}
|