2022-12-05 17:32:54 +00:00
|
|
|
{ lib
|
|
|
|
, rustPlatform
|
|
|
|
, fetchFromGitHub
|
|
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "bootspec";
|
2023-05-22 13:25:33 +00:00
|
|
|
version = "1.0.0";
|
2022-12-05 17:32:54 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "DeterminateSystems";
|
|
|
|
repo = pname;
|
2023-04-28 22:06:44 +00:00
|
|
|
rev = "v${version}";
|
2023-05-22 13:25:33 +00:00
|
|
|
hash = "sha256-5IGSMHeL0eKfl7teDejAckYQjc8aeLwfwIQSzQ8YaAg=";
|
2022-12-05 17:32:54 +00:00
|
|
|
};
|
|
|
|
|
2023-05-22 13:25:33 +00:00
|
|
|
cargoHash = "sha256-eGSKVHjPnHK7WyGkO5LIjocNGHawahYQR3H5Lgk1C9s=";
|
2022-12-05 17:32:54 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Implementation of RFC-0125's datatype and synthesis tooling";
|
|
|
|
homepage = "https://github.com/DeterminateSystems/bootspec";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = teams.determinatesystems.members;
|
|
|
|
platforms = platforms.unix;
|
|
|
|
};
|
|
|
|
}
|