fix linien-server red pitaya dependencies

This commit is contained in:
Florian Agbuya 2024-03-20 13:40:09 +08:00
parent 628582a981
commit 208d56adb2
1 changed files with 6 additions and 0 deletions

View File

@ -93,6 +93,12 @@
pyproject = true;
inherit (pkgs.python3Packages.linien-common) src version;
sourceRoot = "source/linien-server";
postPatch = ''
substituteInPlace linien_server/acquisition.py \
--replace " start_nginx()" "" \
--replace " stop_nginx()" "" \
--replace " flash_fpga()" ""
'';
nativeBuildInputs = [ pkgs.python3Packages.setuptools ];
propagatedBuildInputs = with pkgs.python3Packages; [
appdirs