Something went wrong. Try again.
A DPS meter for AION 2
Something went wrong. Try again.
1234567891011121314151617181920212223242526272829303132333435363738394041{ description = "A DPS meter for AION 2, in the terminal";
inputs = { nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable"; };
outputs = { nixpkgs, ... }: let systems = [ "x86_64-linux" "aarch64-linux" "aarch64-darwin" ]; forAllSystems = f: nixpkgs.lib.genAttrs systems (system: f nixpkgs.legacyPackages.${system}); in { devShells = forAllSystems (pkgs: { # Rust itself comes from rustup, pinned by `rust-toolchain.toml`. default = pkgs.mkShell { packages = [ pkgs.rustup
# Packets are captured with libpcap, which the `pcap` crate links # against and finds with pkg-config. pkgs.pkg-config pkgs.libpcap
pkgs.just
# `getcap` and `setcap`, for granting the capture its capability. pkgs.libcap ]; }; });
formatter = forAllSystems (pkgs: pkgs.nixfmt); };}