palette-bin 0.1.0

Apply an ACT palette to and optionally resize an image
Documentation
{
  inputs = {
    nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
    flake-utils.url = "github:numtide/flake-utils";
  };

  outputs =
    { nixpkgs
    , flake-utils
    , ...
    }:
    flake-utils.lib.eachDefaultSystem (system:
    let
      pkgs = import nixpkgs {
        inherit system;
      };
    in
    {
      devShells.default = pkgs.mkShell {
        name = "palette";
        buildInputs = with pkgs; [
          cargo
          cargo-machete
          cargo-release
          cargo-sort
          openssl
          pkg-config
          rustc
        ] ++ lib.optionals stdenv.isDarwin [
          libiconv
          darwin.apple_sdk.frameworks.SystemConfiguration
        ];
      };
    });
}