summaryrefslogtreecommitdiffstats
path: root/pkgs/misc/autoadb
diff options
context:
space:
mode:
authorShawn8901 <shawn8901@googlemail.com>2022-03-23 06:29:45 +0100
committerGitHub <noreply@github.com>2022-03-23 06:29:45 +0100
commit3bf28598c18a52ef0e184e70f0e6def2b8f1a67a (patch)
treecca23dc7aeba8bb5e95fa6ed61b7c0f38de5f5a1 /pkgs/misc/autoadb
parentcda6d4f18f58aa1989750dd7571706fa10119c86 (diff)
autoadb: init at unstable-2020-06-01 (#165244)
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
Diffstat (limited to 'pkgs/misc/autoadb')
-rw-r--r--pkgs/misc/autoadb/default.nix22
1 files changed, 22 insertions, 0 deletions
diff --git a/pkgs/misc/autoadb/default.nix b/pkgs/misc/autoadb/default.nix
new file mode 100644
index 000000000000..25043e9d45d6
--- /dev/null
+++ b/pkgs/misc/autoadb/default.nix
@@ -0,0 +1,22 @@
+{ 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=";
+ };
+
+ cargoSha256 = "1gzg1lhq8gp790mrc8fw8dg146k8lg20pnk45m2ssnmdka0826f7";
+
+ 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 ];
+ };
+}