mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-04-17 17:48:35 +00:00
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 { };
|
||||
|
||||
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";
|
||||
|
Loading…
Reference in New Issue
Block a user