diff options
author | Luke Granger-Brown <git@lukegb.com> | 2021-05-02 00:12:19 +0000 |
---|---|---|
committer | Luke Granger-Brown <git@lukegb.com> | 2021-05-02 00:12:19 +0000 |
commit | ebf371726d47a0cd434ba2b6a8ec606f97efed83 (patch) | |
tree | 6c7276bffad355bdfdaef0fb44b209e91d680aa2 /pkgs/applications/science | |
parent | 99f8bc3e0303bd58ed823937ad5e76791b5cb2f0 (diff) |
sumorobot-manager: fix compilation
Diffstat (limited to 'pkgs/applications/science')
-rw-r--r-- | pkgs/applications/science/robotics/sumorobot-manager/default.nix | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/pkgs/applications/science/robotics/sumorobot-manager/default.nix b/pkgs/applications/science/robotics/sumorobot-manager/default.nix index bfc74e72649d3..c0f619b9592ce 100644 --- a/pkgs/applications/science/robotics/sumorobot-manager/default.nix +++ b/pkgs/applications/science/robotics/sumorobot-manager/default.nix @@ -13,10 +13,10 @@ stdenv.mkDerivation rec { buildInputs = [ python3 ]; pythonPath = [ - pyqt5 pyserial + pyqt5.dev pyserial ]; - nativeBuildInputs = [ wrapPython qt5.wrapQtAppsHook ]; + nativeBuildInputs = [ wrapPython qt5.wrapQtAppsHook dos2unix ]; buildPhase = "true"; @@ -25,6 +25,7 @@ stdenv.mkDerivation rec { cp -r main.py lib res $out/opt/sumorobot-manager chmod -R 644 $out/opt/sumorobot-manager/lib/* mkdir $out/bin + dos2unix $out/opt/sumorobot-manager/main.py makeQtWrapper $out/opt/sumorobot-manager/main.py $out/bin/sumorobot-manager \ --run "cd $out/opt/sumorobot-manager" ''; |