teamspeak5_client: 5.0.0-beta77 -> 6.0.0-beta2; teamspeak refactors (#377748)
[NixPkgs.git] / pkgs / by-name / ro / rogcat / package.nix
blob0380dc04a84d3bb034cacc276040db461714e6db
2   lib,
3   fetchFromGitHub,
4   rustPlatform,
5   versionCheckHook,
7   pkg-config,
8   libudev-zero,
9 }:
11 rustPlatform.buildRustPackage rec {
12   pname = "rogcat";
13   version = "0.5.0";
15   src = fetchFromGitHub {
16     owner = "flxo";
17     repo = "rogcat";
18     tag = "v${version}";
19     hash = "sha256-nXKvepuiBDIGo8Gga5tbbT/mnC6z+HipV5XYtlrURRU=";
20   };
22   useFetchCargoVendor = true;
23   cargoHash = "sha256-cl09j96UfLvga4cJBSd1he9nfW3taQMY2e+UPltNQMI=";
25   nativeBuildInputs = [
26     pkg-config
27   ];
29   buildInputs = [
30     libudev-zero
31   ];
33   doInstallCheck = true;
35   nativeInstallCheckInputs = [
36     versionCheckHook
37   ];
39   versionCheckProgramArg = [ "--version" ];
41   meta = {
42     description = "Adb logcat wrapper";
43     homepage = "https://github.com/flxo/rogcat";
44     changelog = "https://github.com/flxo/rogcat/releases/tag/v${version}";
45     license = lib.licenses.mit;
46     maintainers = with lib.maintainers; [ genga898 ];
47     mainProgram = "rogcat";
48     platforms = lib.platforms.linux;
49   };