git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #12601 from tomberek/gateone_update

Gateone: fix cacerts dependency

commite395cb0214af755d460ce0e2a3642e92a5c7c19c authorArseniy Seroka <jagajaga@users.noreply.github.com> dateMon 25 Jan 2016, 23:14 (11 years ago) parentac33b4780d38d1
2 files changed+7−6
nixos/modules/services/networking/gateone.nix+1−3 pkgs/top-level/python-packages.nix+6−3
nixos/modules/services/networking/gateone.nix+1−3
@@ -21,7 +21,7 @@ options = {
2121};
2222config = mkIf cfg.enable {
2323 environment.systemPackages = with pkgs.pythonPackages; [
24− gateone pkgs.openssh pkgs.procps pkgs.coreutils ];
24+ gateone pkgs.openssh pkgs.procps pkgs.coreutils pkgs.cacert];
2525
2626 users.extraUsers.gateone = {
2727 description = "GateOne privilege separation user";
@@ -49,8 +49,6 @@ config = mkIf cfg.enable {
4949 User = "gateone";
5050 Group = "gateone";
5151 WorkingDirectory = cfg.settingsDir;
52− PermissionsStartOnly = true;
53−
5452 };
5553
5654 wantedBy = [ "multi-user.target" ];
pkgs/top-level/python-packages.nix+6−3
@@ -5130,18 +5130,21 @@ in modules // {
51305130 name = "gateone-1.2-0d57c3";
51315131 disabled = ! isPy27;
51325132 src = pkgs.fetchFromGitHub {
5133− rev = "11ed97c663b3e8c1b8eba473b5cf8362b10d57c3";
5133+ rev = "1d0e8037fbfb7c270f3710ce24154e24b7031bea";
51345134 owner= "liftoff";
51355135 repo = "GateOne";
5136− sha256 ="0zp9vfs6sqbx4d0g45kkjinfmsl9zqwa6bhp3xd81wx3ph9yr1hq";
5136+ sha256 = "1ghrawlqwv7wnck6alqpbwy9mpv0y21cw2jirrvsxaracmvgk6vv";
51375137 };
5138− propagatedBuildInputs = with self; [tornado futures html5lib readline pkgs.openssl];
5138+ propagatedBuildInputs = with self; [tornado futures html5lib readline pkgs.openssl pkgs.cacert pkgs.openssh];
51395139 meta = {
51405140 homepage = https://liftoffsoftware.com/;
51415141 description = "GateOne is a web-based terminal emulator and SSH client";
51425142 maintainers = with maintainers; [ tomberek ];
51435143
51445144 };
5145+ postInstall=''
5146+ cp -R $out/gateone/* $out/lib/python2.7/site-packages/gateone
5147+ '';
51455148 };
51465149
51475150 gcutil = buildPythonPackage rec {