You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

gui.nix 1.0KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. { stable, branch, version, sha256Hash }:
  2. { stdenv, python3Packages, fetchFromGitHub }:
  3. let
  4. pythonPackages = python3Packages;
  5. in pythonPackages.buildPythonPackage rec {
  6. name = "${pname}-${version}";
  7. pname = "gns3-gui";
  8. src = fetchFromGitHub {
  9. owner = "GNS3";
  10. repo = pname;
  11. rev = "v${version}";
  12. sha256 = sha256Hash;
  13. };
  14. propagatedBuildInputs = with pythonPackages; [
  15. raven psutil jsonschema # tox for check
  16. # Runtime dependencies
  17. sip (pyqt5.override { withWebSockets = true; }) distro setuptools
  18. ];
  19. doCheck = false; # Failing
  20. meta = with stdenv.lib; {
  21. description = "Graphical Network Simulator 3 GUI (${branch} release)";
  22. longDescription = ''
  23. Graphical user interface for controlling the GNS3 network simulator. This
  24. requires access to a local or remote GNS3 server (it's recommended to
  25. download the official GNS3 VM).
  26. '';
  27. homepage = https://www.gns3.com/;
  28. license = licenses.gpl3Plus;
  29. platforms = platforms.linux;
  30. maintainers = with maintainers; [ primeos ];
  31. };
  32. }