mirror of
https://github.com/GoogleChromeLabs/squoosh.git
synced 2025-11-13 01:07:18 +00:00
Minor refactor
This commit is contained in:
@@ -17,15 +17,14 @@
|
||||
pkgs = nixpkgs.legacyPackages.${system};
|
||||
inherit (pkgs) callPackage writeShellScriptBin;
|
||||
|
||||
squooshCodecBuilders = callPackage (import ../../nix/squoosh-codec-builders) {fenix = fenix.packages.${system};};
|
||||
inherit (squooshCodecBuilders) buildSquooshCodecRust;
|
||||
|
||||
buildSquooshRustCodec= callPackage (import ../../nix/squoosh-rust-builder) {fenix = fenix.packages.${system};};
|
||||
|
||||
src = ./.;
|
||||
in
|
||||
{
|
||||
packages = rec {
|
||||
default = resize-squoosh;
|
||||
resize-squoosh = buildSquooshCodecRust {
|
||||
resize-squoosh = buildSquooshRustCodec {
|
||||
name = "resize-squoosh";
|
||||
inherit src;
|
||||
cargoLock = {
|
||||
|
||||
Reference in New Issue
Block a user