nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at netboot-syslinux-multiplatform 22 lines 634 B view raw
1{ lib, rustPlatform, fetchFromGitHub }: 2 3rustPlatform.buildRustPackage rec { 4 pname = "autoadb"; 5 version = "unstable-2020-06-01"; 6 7 src = fetchFromGitHub { 8 owner = "rom1v"; 9 repo = pname; 10 rev = "7f8402983603a9854bf618a384f679a17cd85e2d"; 11 sha256 = "sha256-9Sv38dCtvbqvxSnRpq+HsIwF/rfLUVZbi0J+mltLres="; 12 }; 13 14 cargoSha256 = "1gzg1lhq8gp790mrc8fw8dg146k8lg20pnk45m2ssnmdka0826f7"; 15 16 meta = with lib; { 17 description = "Execute a command whenever a device is adb-connected"; 18 homepage = "https://github.com/rom1v/autoadb"; 19 license = licenses.asl20; 20 maintainers = with maintainers; [ shawn8901 ]; 21 }; 22}