diff options
author | Jörg Thalheim <Mic92@users.noreply.github.com> | 2022-12-17 08:35:53 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-17 08:35:53 +0000 |
commit | 668a2b2f3322c062d7a040cf084d763c9f2e271f (patch) | |
tree | efde23edbce251b2a730a84220501a2945ad9e63 /pkgs/tools/misc | |
parent | 8392158289e7d1a801905bc4195983f1b7434770 (diff) | |
parent | aac4134f430fb15386a174c6556ca0116616d2ea (diff) |
Merge pull request #172237 from DeterminateSystems/bootspec-rfc
Support external bootloader backends (RFC-0125)
Diffstat (limited to 'pkgs/tools/misc')
-rw-r--r-- | pkgs/tools/misc/bootspec/default.nix | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/pkgs/tools/misc/bootspec/default.nix b/pkgs/tools/misc/bootspec/default.nix new file mode 100644 index 0000000000000..789f438de50eb --- /dev/null +++ b/pkgs/tools/misc/bootspec/default.nix @@ -0,0 +1,25 @@ +{ lib +, rustPlatform +, fetchFromGitHub +}: +rustPlatform.buildRustPackage rec { + pname = "bootspec"; + version = "unstable-2022-12-05"; + + src = fetchFromGitHub { + owner = "DeterminateSystems"; + repo = pname; + rev = "67a617ab6b99211daa92e748d27ead3f78127cf8"; + hash = "sha256-GX6Tzs/ClTUV9OXLvPFw6uBhrpCWSMI+PfrViyFEIxs="; + }; + + cargoHash = "sha256-N/hbfjsuvwCc0mxOpeVVcTxb5cA024lyLSEpVcrS7kA="; + + 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; + }; +} |