vfo-sync

Bidirectional VFO synchronization for IC-7300 and SDR++
git clone https://git.bradleygannon.com/vfo-sync.git
Log | Files | Refs

flake.nix (1028B)


      1 {
      2   inputs = {
      3     stable-pkgs.url = "github:nixos/nixpkgs?ref=nixos-26.05";
      4   };
      5 
      6   outputs =
      7     { self, stable-pkgs }:
      8     let
      9       system = "x86_64-linux";
     10       stable = import stable-pkgs {
     11         inherit system;
     12         config = { };
     13         overlays = [ ];
     14       };
     15       libInputs = with stable; [
     16         fftwFloat
     17         glfw
     18         libGL
     19         stdenv.cc.cc
     20         volk
     21         zstd
     22       ];
     23       lib-path = with stable; lib.makeLibraryPath libInputs;
     24     in
     25     {
     26       devShells.${system}.default = stable.mkShellNoCC {
     27         packages = with stable; [
     28           cargo
     29           clippy
     30           cmake
     31           gcc
     32           pkg-config
     33           rust-analyzer
     34           rustc
     35           rustfmt
     36           sdrpp
     37           systemd
     38           udev
     39         ] ++ libInputs;
     40 
     41         shellHook = ''
     42           export SDRPP_DIR="${stable.sdrpp.src}"
     43           export SDRPP_CORE_LIB="${stable.sdrpp}/lib/libsdrpp_core.so"
     44           export "LD_LIBRARY_PATH=$LD_LIBRARY_PATH:${lib-path}"
     45         '';
     46       };
     47     };
     48 }