This repository has no description
868 B
35 lines
1{
2 lib,
3 rustPlatform,
4 fetchFromGitHub,
5}:
6
7rustPlatform.buildRustPackage rec {
8 pname = "phonetpm";
9 version = "0.1.0";
10
11 src = fetchFromGitHub {
12 owner = "Lassulus";
13 repo = "phonetpm";
14 tag = "v${version}";
15 hash = "sha256-8WjjbDDHZeYhtnoj/judDrsWT68Z4lnpySM8rSqP+Ao=";
16 };
17
18 cargoHash = "sha256-VNw5Hw8E0ReSJhYVLh6XOzQRSyqfFe3uu0522XOeaoA=";
19
20 # Host side only: `phonetpm` (daemon/pair/keys) and `age-plugin-phone`.
21 # The workspace also holds the Android core (uniffi cdylib), not needed here.
22 cargoBuildFlags = [
23 "-p"
24 "phonetpm"
25 ];
26 cargoTestFlags = cargoBuildFlags;
27
28 meta = {
29 description = "Android phone as a biometric ssh-agent and age backend over iroh";
30 homepage = "https://github.com/Lassulus/phonetpm";
31 license = lib.licenses.mit;
32 mainProgram = "phonetpm";
33 platforms = lib.platforms.linux;
34 };
35}