Fix linien-server red pitaya dependencies #51

Merged
sb10q merged 1 commits from fsagbuya/nix-servo:linien-rp-fix into master 2024-03-20 15:33:47 +08:00
Showing only changes of commit 208d56adb2 - Show all commits

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