about summary refs log tree commit diff
path: root/pkgs/tools/virtualization/uefi-run
diff options
context:
space:
mode:
authorMadeline S <maddie@cafebabe.date>2022-09-25 23:42:38 +0200
committerGitHub <noreply@github.com>2022-09-25 23:42:38 +0200
commitcf49501b2197568ae226c34ee839b8a65772a4cd (patch)
treee29c9ef2c0677edc79e6f0adc99154c24f52a83b /pkgs/tools/virtualization/uefi-run
parent7c9cb921e6f6f36bd2d06930b02d3a25b647fad1 (diff)
downloadnixlib-cf49501b2197568ae226c34ee839b8a65772a4cd.tar
nixlib-cf49501b2197568ae226c34ee839b8a65772a4cd.tar.gz
nixlib-cf49501b2197568ae226c34ee839b8a65772a4cd.tar.bz2
nixlib-cf49501b2197568ae226c34ee839b8a65772a4cd.tar.lz
nixlib-cf49501b2197568ae226c34ee839b8a65772a4cd.tar.xz
nixlib-cf49501b2197568ae226c34ee839b8a65772a4cd.tar.zst
nixlib-cf49501b2197568ae226c34ee839b8a65772a4cd.zip
uefi-run: init at 0.5.0 (#184200)
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
Diffstat (limited to 'pkgs/tools/virtualization/uefi-run')
-rw-r--r--pkgs/tools/virtualization/uefi-run/default.nix25
1 files changed, 25 insertions, 0 deletions
diff --git a/pkgs/tools/virtualization/uefi-run/default.nix b/pkgs/tools/virtualization/uefi-run/default.nix
new file mode 100644
index 000000000000..8174f8980897
--- /dev/null
+++ b/pkgs/tools/virtualization/uefi-run/default.nix
@@ -0,0 +1,25 @@
+{ lib
+, fetchFromGitHub
+, rustPlatform
+}:
+
+rustPlatform.buildRustPackage rec {
+  pname = "uefi-run";
+  version = "0.5.0";
+
+  src = fetchFromGitHub {
+    owner = "Richard-W";
+    repo = pname;
+    rev = "v${version}";
+    sha256 = "sha256-fwzWdOinW/ECVI/65pPB1shxPdl2nZThAqlg8wlWg/g=";
+  };
+
+  cargoSha256 = "sha256-c+wzMzTkG0FpfQ1rZ8e9dn0ez12vmoecrtNeFk90sdQ=";
+
+  meta = with lib; {
+    description = "Directly run UEFI applications in qemu";
+    homepage = "https://github.com/Richard-W/uefi-run";
+    license = licenses.mit;
+    maintainers = [ maintainers.maddiethecafebabe ];
+  };
+}