about summary refs log tree commit diff stats
path: root/pkgs/by-name/ge/generate_moz_extension/package.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/by-name/ge/generate_moz_extension/package.nix')
-rw-r--r--pkgs/by-name/ge/generate_moz_extension/package.nix20
1 files changed, 20 insertions, 0 deletions
diff --git a/pkgs/by-name/ge/generate_moz_extension/package.nix b/pkgs/by-name/ge/generate_moz_extension/package.nix
new file mode 100644
index 00000000..abd95c77
--- /dev/null
+++ b/pkgs/by-name/ge/generate_moz_extension/package.nix
@@ -0,0 +1,20 @@
+{
+  rustPlatform,
+  openssl,
+  pkg-config,
+}:
+rustPlatform.buildRustPackage {
+  pname = "generate_firefox_extensions";
+  version = "0.1.0";
+
+  src = ./.;
+  cargoLock = {
+    lockFile = ./Cargo.lock;
+  };
+  buildInputs = [
+    openssl # needed for openssl-sys crate
+  ];
+  nativeBuildInputs = [
+    pkg-config # needed for openssl dependency
+  ];
+}