pythonPackages.gateone: refactor move to python-modules
This commit is contained in:
parent
56739bc25f
commit
076857913f
35
pkgs/development/python-modules/gateone/default.nix
Normal file
35
pkgs/development/python-modules/gateone/default.nix
Normal 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;
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
|
@ -1802,26 +1802,7 @@ in {
|
||||||
|
|
||||||
functools32 = callPackage ../development/python-modules/functools32 { };
|
functools32 = callPackage ../development/python-modules/functools32 { };
|
||||||
|
|
||||||
gateone = buildPythonPackage rec {
|
gateone = callPackage ../development/python-modules/gateone { };
|
||||||
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
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
|
|
||||||
gcutil = buildPythonPackage rec {
|
gcutil = buildPythonPackage rec {
|
||||||
name = "gcutil-1.16.1";
|
name = "gcutil-1.16.1";
|
||||||
|
|
Loading…
Reference in a new issue