2022-03-23 05:29:45 +00:00
|
|
|
{ lib, rustPlatform, fetchFromGitHub }:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "autoadb";
|
|
|
|
version = "unstable-2020-06-01";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "rom1v";
|
|
|
|
repo = pname;
|
|
|
|
rev = "7f8402983603a9854bf618a384f679a17cd85e2d";
|
|
|
|
sha256 = "sha256-9Sv38dCtvbqvxSnRpq+HsIwF/rfLUVZbi0J+mltLres=";
|
|
|
|
};
|
|
|
|
|
2024-07-03 12:29:10 +00:00
|
|
|
cargoHash = "sha256-xxmBgJqtWq1FLWTaC8SjaBoSXkPcIZYrSOc+hCEN778=";
|
2022-03-23 05:29:45 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Execute a command whenever a device is adb-connected";
|
|
|
|
homepage = "https://github.com/rom1v/autoadb";
|
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = with maintainers; [ shawn8901 ];
|
2023-11-23 21:09:35 +00:00
|
|
|
mainProgram = "autoadb";
|
2022-03-23 05:29:45 +00:00
|
|
|
};
|
|
|
|
}
|