git.iko.soy/typeable/nixpkgs
on master help sign in
gns3-server: init at 2.0.3
commit953b23238528939baca2330b8cbc17bb1a7ceab5 authorMichael Weiss <dev.primeos@gmail.com> dateSun 6 Aug 2017, 17:21 (9 years ago) parent2bc9269
2 files changed+38
pkgs/applications/networking/gns3/server.nix+37 pkgs/top-level/all-packages.nix+1
pkgs/applications/networking/gns3/server.nixnew file+37
@@ -0,0 +1,37 @@
1+{ stdenv, python34Packages, fetchFromGitHub }:
2+
3+python34Packages.buildPythonPackage rec {
4+ name = "${pname}-${version}";
5+ pname = "gns3-server";
6+ version = "2.0.3";
7+
8+ src = fetchFromGitHub {
9+ owner = "GNS3";
10+ repo = pname;
11+ rev = "v${version}";
12+ sha256 = "1c7mzj1r2zh90a7vs3s17jakfp9s43b8nnj29rpamqxvl3qhbdy7";
13+ };
14+
15+ propagatedBuildInputs = with python34Packages; [
16+ aiohttp jinja2 psutil zipstream aiohttp-cors raven jsonschema
17+ ];
18+
19+ # Requires network access
20+ doCheck = false;
21+
22+ postInstall = ''
23+ rm $out/bin/gns3loopback # For windows only
24+ '';
25+ meta = with stdenv.lib; {
26+ description = "Graphical Network Simulator 3 server";
27+ longDescription = ''
28+ The GNS3 server manages emulators such as Dynamips, VirtualBox or
29+ Qemu/KVM. Clients like the GNS3 GUI control the server using a HTTP REST
30+ API.
31+ '';
32+ homepage = "https://www.gns3.com/";
33+ license = licenses.gpl3Plus;
34+ platforms = platforms.linux;
35+ maintainers = with maintainers; [ primeos ];
36+ };
37+}
pkgs/top-level/all-packages.nix+1
@@ -8039,6 +8039,7 @@ with pkgs;
80398039 mpir = callPackage ../development/libraries/mpir {};
80408040
80418041 gns3-gui = callPackage ../applications/networking/gns3/gui.nix { };
8042+ gns3-server = callPackage ../applications/networking/gns3/server.nix { };
80428043
80438044 gobjectIntrospection = callPackage ../development/libraries/gobject-introspection {
80448045 nixStoreDir = config.nix.storeDir or builtins.storeDir;