about summary refs log tree commit diff
path: root/pkgs/tools/misc/bootspec
diff options
context:
space:
mode:
authorCole Helbling <cole.e.helbling@outlook.com>2022-12-05 09:32:54 -0800
committerCole Helbling <cole.e.helbling@outlook.com>2022-12-08 13:50:05 -0800
commitb37cee3dba9401b264ee9fd91e9848260503f0ef (patch)
treede10460e9197a9ff369beb567ebe5381118d5fc4 /pkgs/tools/misc/bootspec
parentfc88e4cf7d4e86657042d0da7bf91446d19c8d43 (diff)
bootspec: init at unstable-2022-12-05
The bootspec package provides synthesis and validation tooling for
RFC-0125 compliant bootspec documents.
Diffstat (limited to 'pkgs/tools/misc/bootspec')
-rw-r--r--pkgs/tools/misc/bootspec/default.nix25
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;
+  };
+}