pythonPackages.gateone: refactor move to python-modules

This commit is contained in:
Chris Ostrouchov 2018-10-15 16:04:15 -04:00 committed by Frederik Rietdijk
parent 56739bc25f
commit 076857913f
2 changed files with 36 additions and 20 deletions

View file

@ -0,0 +1,35 @@
{ stdenv
, buildPythonPackage
, fetchFromGitHub
, tornado
, futures
, html5lib
, pkgs
, isPy3k
}:
buildPythonPackage rec {
name = "gateone-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 = https://liftoffsoftware.com/;
description = "GateOne is a web-based terminal emulator and SSH client";
maintainers = with maintainers; [ tomberek ];
license = licenses.gpl3;
};
}

View file

@ -1802,26 +1802,7 @@ in {
functools32 = callPackage ../development/python-modules/functools32 { };
gateone = buildPythonPackage rec {
name = "gateone-1.2-0d57c3";
disabled = ! isPy27;
src = pkgs.fetchFromGitHub {
rev = "1d0e8037fbfb7c270f3710ce24154e24b7031bea";
owner= "liftoff";
repo = "GateOne";
sha256 = "1ghrawlqwv7wnck6alqpbwy9mpv0y21cw2jirrvsxaracmvgk6vv";
};
propagatedBuildInputs = with self; [tornado futures html5lib pkgs.openssl pkgs.cacert pkgs.openssh];
meta = {
homepage = https://liftoffsoftware.com/;
description = "GateOne is a web-based terminal emulator and SSH client";
maintainers = with maintainers; [ tomberek ];
};
postInstall=''
cp -R "$out/gateone/"* $out/lib/python2.7/site-packages/gateone
'';
};
gateone = callPackage ../development/python-modules/gateone { };
gcutil = buildPythonPackage rec {
name = "gcutil-1.16.1";