aboutsummaryrefslogtreecommitdiffstats
path: root/src/shell.nix
blob: 22771e2d6f0fe9015dd661e43d52b15df1293e11 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# vim: set ts=2 sw=2 et:
with import <nixpkgs> { overlays = [ (import ./nix/gnuradio-overlay.nix) ]; };
let
  dearpygui = callPackage ./nix/dearpygui.nix {
    buildPythonPackage = pkgs.python38Packages.buildPythonPackage;
    fetchPypi = pkgs.python38Packages.fetchPypi;
    isPy38 = pkgs.python38Packages.isPy38;
  };

  numpy-ringbuffer = callPackage ./nix/numpy-ringbuffer.nix {
    buildPythonPackage = pkgs.python38Packages.buildPythonPackage;
    fetchPypi = pkgs.python38Packages.fetchPypi;
    isPy38 = pkgs.python38Packages.isPy38;
  };

in mkShell {
  buildInputs = [ dearpygui numpy-ringbuffer ] ++ (with pkgs; [
    gnuradio
    python38Packages.setuptools
    python38Packages.matplotlib
    python38Packages.numpy
    # gnuradio block dev dependencies
    cmake ninja pkg-config log4cpp mpir boost175 gmp volk doxygen
    python38Packages.pybind11
  ]) ++ (with pkgs.python38Packages; [
    numpy
  ]);
}