Commit a3c8723d authored by Anthony Roussel's avatar Anthony Roussel Committed by Anthony ROUSSEL
Browse files

gns3-gui,gns3-server: format with nixfmt-rfc-style

parent 8fac7d92
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -10,8 +10,8 @@ let
  };

  mkServer = args: callPackage (import ./server.nix (args)) { };
in {

in
{
  guiStable = mkGui {
    channel = "stable";
    version = "2.2.49";
+15 −19
Original line number Diff line number Diff line
{ channel
, version
, hash
{
  channel,
  version,
  hash,
}:

{ lib
, python3Packages
, fetchFromGitHub
, qt5
, wrapQtAppsHook
, testers
, gns3-gui
{
  fetchFromGitHub,
  gns3-gui,
  lib,
  python3Packages,
  qt5,
  testers,
  wrapQtAppsHook,
}:

python3Packages.buildPythonApplication rec {
@@ -23,15 +25,11 @@ python3Packages.buildPythonApplication rec {
    rev = "refs/tags/v${version}";
  };

  nativeBuildInputs = with python3Packages; [
    wrapQtAppsHook
  ];
  nativeBuildInputs = with python3Packages; [ wrapQtAppsHook ];

  build-system = with python3Packages; [ setuptools ];

  propagatedBuildInputs = [
    qt5.qtwayland
  ];
  propagatedBuildInputs = [ qt5.qtwayland ];

  dependencies = with python3Packages; [
    distro
@@ -54,9 +52,7 @@ python3Packages.buildPythonApplication rec {

  doCheck = true;

  checkInputs = with python3Packages; [
    pytestCheckHook
  ];
  checkInputs = with python3Packages; [ pytestCheckHook ];

  preCheck = ''
    export HOME=$(mktemp -d)
+14 −12
Original line number Diff line number Diff line
{ channel
, version
, hash
{
  channel,
  version,
  hash,
}:

{ lib
, python3Packages
, fetchFromGitHub
, pkgsStatic
, stdenv
, nixosTests
, testers
, util-linux
, gns3-server
{
  fetchFromGitHub,
  gns3-server,
  lib,
  nixosTests,
  pkgsStatic,
  python3Packages,
  stdenv,
  testers,
  util-linux,
}:

python3Packages.buildPythonApplication {