shell dev: add more libraries

This commit is contained in:
Ada 2022-03-03 19:25:04 -07:00
parent 2d2a16adc3
commit e7a1686166

View File

@ -12,6 +12,12 @@ let
propagatedBuildInputs = [ pkgs.python3Packages.statsmodels ]; propagatedBuildInputs = [ pkgs.python3Packages.statsmodels ];
doCheck = false; doCheck = false;
}; };
metaarray = python3Packages.buildPythonPackage rec {
pname = "metaarray";
version = "0.1";
src = /home/thomp/scratch/metaarray;
propagatedBuildInputs = [ pkgs.python3Packages.numpy pkgs.python3Packages.h5py ];
};
artiq_comtools = python3Packages.buildPythonPackage rec { artiq_comtools = python3Packages.buildPythonPackage rec {
pname = "artiq-comtools"; pname = "artiq-comtools";
version = "0.1"; version = "0.1";
@ -19,12 +25,6 @@ let
propagatedBuildInputs = [ sipyco pkgs.python3Packages.numpy pkgs.python3Packages.aiohttp ]; propagatedBuildInputs = [ sipyco pkgs.python3Packages.numpy pkgs.python3Packages.aiohttp ];
doCheck = false; doCheck = false;
}; };
artiq_tools = python3Packages.buildPythonPackage rec {
pname = "artiq_tools";
version = "0.2";
src = /home/thomp/scratch/artiq_tools;
propagatedBuildInputs = [ pkgs.python3Packages.numpy pkgs.python3Packages.typing artiqpkgs.artiq pkgs.python3Packages.pyzmq pkgs.python3Packages.matplotlib];
};
oitg = python3Packages.buildPythonPackage rec { oitg = python3Packages.buildPythonPackage rec {
pname = "oitg"; pname = "oitg";
version = "0.1"; version = "0.1";
@ -44,6 +44,12 @@ let
src = /home/thomp/scratch/strontium-library; src = /home/thomp/scratch/strontium-library;
propagatedBuildInputs = [ pkgs.python3Packages.numpy pkgs.python3Packages.scipy pkgs.python3Packages.matplotlib pkgs.python3Packages.influxdb]; propagatedBuildInputs = [ pkgs.python3Packages.numpy pkgs.python3Packages.scipy pkgs.python3Packages.matplotlib pkgs.python3Packages.influxdb];
}; };
artiq_tools = python3Packages.buildPythonPackage rec {
pname = "artiq_tools";
version = "0.2";
src = /home/thomp/scratch/artiq_tools;
propagatedBuildInputs = [ pkgs.python3Packages.numpy pkgs.python3Packages.typing artiqpkgs.artiq pkgs.python3Packages.pyzmq pkgs.python3Packages.matplotlib strontium_library metaarray];
};
ndscan = python3Packages.buildPythonPackage rec { ndscan = python3Packages.buildPythonPackage rec {
pname = "ndscan"; pname = "ndscan";
version = "0.1"; version = "0.1";
@ -62,7 +68,7 @@ let
pname = "repo_routines"; pname = "repo_routines";
version = "0.1"; version = "0.1";
src = /home/thomp/scratch/repo_routines; src = /home/thomp/scratch/repo_routines;
propagatedBuildInputs = [ ndscan pkgs.python3Packages.numpy artiqpkgs.artiq]; propagatedBuildInputs = [ ndscan pkgs.python3Packages.numpy artiqpkgs.artiq strontium_library];
doCheck = false; doCheck = false;
}; };
@ -72,6 +78,7 @@ in
buildInputs = [ buildInputs = [
vivado vivado
sipyco sipyco
metaarray
artiq_comtools artiq_comtools
artiq_tools artiq_tools
analysis_library analysis_library
@ -89,6 +96,7 @@ in
artiqpkgs.openocd artiqpkgs.openocd
]; ];
shellHook = '' shellHook = ''
export PYTHONPATH="/home/thomp/scratch/metaarray:$PYTHONPATH"
export PYTHONPATH="/home/thomp/scratch/artiq_tools:$PYTHONPATH" export PYTHONPATH="/home/thomp/scratch/artiq_tools:$PYTHONPATH"
export PYTHONPATH="/home/thomp/scratch/oitg:$PYTHONPATH" export PYTHONPATH="/home/thomp/scratch/oitg:$PYTHONPATH"
export PYTHONPATH="/home/thomp/scratch/analysis-library:$PYTHONPATH" export PYTHONPATH="/home/thomp/scratch/analysis-library:$PYTHONPATH"