2023-04-12 12:48:02 +00:00
|
|
|
{ lib
|
|
|
|
, fetchFromGitHub
|
|
|
|
, buildGoModule
|
|
|
|
}:
|
|
|
|
|
2023-08-04 22:07:22 +00:00
|
|
|
buildGoModule rec {
|
2023-04-12 12:48:02 +00:00
|
|
|
pname = "ultrablue-server";
|
|
|
|
version = "unstable-fosdem2023";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "ANSSI-FR";
|
|
|
|
repo = "ultrablue";
|
|
|
|
# Do not use a more recent
|
|
|
|
rev = "tags/fosdem-2023";
|
|
|
|
hash = "sha256-rnUbgZI+SycYCDUoSziOy+WxRFvyM3XJWJnk3+t0eb4=";
|
|
|
|
# rev = "6de04af6e353e38c030539c5678e5918f64be37e";
|
|
|
|
};
|
|
|
|
|
2023-08-04 22:07:22 +00:00
|
|
|
sourceRoot = "${src.name}/server";
|
2023-04-12 12:48:02 +00:00
|
|
|
|
2023-10-09 19:29:22 +00:00
|
|
|
vendorHash = "sha256-249LWguTHIF0HNIo8CsE/HWpAtBw4P46VPvlTARLTpw=";
|
2023-04-12 12:48:02 +00:00
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "User-friendly Lightweight TPM Remote Attestation over Bluetooth";
|
|
|
|
homepage = "https://github.com/ANSSI-FR/ultrablue";
|
|
|
|
license = licenses.asl20;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = with maintainers; [ raitobezarius ];
|
|
|
|
};
|
|
|
|
}
|