From 9cbf7089a65f579c5f5a2300ac2532f0e3c7da4d Mon Sep 17 00:00:00 2001 From: Soispha Date: Sat, 23 Mar 2024 15:30:22 +0100 Subject: fix(flake): Use new vendored `generate_firefox_extensions` binary --- .../generate_firefox_extensions.nix | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 sys/nixpkgs/pkgs/generate_moz_extension/generate_firefox_extensions.nix (limited to 'sys/nixpkgs/pkgs/generate_moz_extension/generate_firefox_extensions.nix') diff --git a/sys/nixpkgs/pkgs/generate_moz_extension/generate_firefox_extensions.nix b/sys/nixpkgs/pkgs/generate_moz_extension/generate_firefox_extensions.nix new file mode 100644 index 00000000..abd95c77 --- /dev/null +++ b/sys/nixpkgs/pkgs/generate_moz_extension/generate_firefox_extensions.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 + ]; +} -- cgit 1.4.1