summary refs log tree commit diff
path: root/pkgs/development/python-modules/gateone/default.nix
blob: 372cdae8c233c78c59224c04bb2990c33a43b6f1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
{ stdenv
, buildPythonPackage
, tornado
, futures
, html5lib
, pkgs
, isPy3k
}:

buildPythonPackage {
  pname = "gateone";
  version = "1.2-0d57c3";
  disabled = isPy3k;

  src = pkgs.fetchFromGitHub {
    rev = "1d0e8037fbfb7c270f3710ce24154e24b7031bea";
    owner= "liftoff";
    repo = "GateOne";
    sha256 = "1ghrawlqwv7wnck6alqpbwy9mpv0y21cw2jirrvsxaracmvgk6vv";
  };

  propagatedBuildInputs = [tornado futures html5lib pkgs.openssl pkgs.cacert pkgs.openssh];

  postInstall=''
    cp -R "$out/gateone/"* $out/lib/python2.7/site-packages/gateone
  '';

  meta = with stdenv.lib; {
    homepage = "http://liftoffsoftware.com/";
    description = "GateOne is a web-based terminal emulator and SSH client";
    maintainers = with maintainers; [ tomberek ];
    license = licenses.gpl3;
  };

}