git.iko.soy/typeable/nixpkgs
on master help sign in
Gateone: fix cacerts dependency
commit80d38d12b42cf1033506b202e390199806e5ab7e authorThomas Bereknyei <tomberek@gmail.com> dateThu 17 Dec 2015, 13:17 (11 years ago) parent148396c
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
@@ -5065,18 +5065,21 @@ in modules // {
50655065 name = "gateone-1.2-0d57c3";
50665066 disabled = ! isPy27;
50675067 src = pkgs.fetchFromGitHub {
5068− rev = "11ed97c663b3e8c1b8eba473b5cf8362b10d57c3";
5068+ rev = "1d0e8037fbfb7c270f3710ce24154e24b7031bea";
50695069 owner= "liftoff";
50705070 repo = "GateOne";
5071− sha256 ="0zp9vfs6sqbx4d0g45kkjinfmsl9zqwa6bhp3xd81wx3ph9yr1hq";
5071+ sha256 = "1ghrawlqwv7wnck6alqpbwy9mpv0y21cw2jirrvsxaracmvgk6vv";
50725072 };
5073− propagatedBuildInputs = with self; [tornado futures html5lib readline pkgs.openssl];
5073+ propagatedBuildInputs = with self; [tornado futures html5lib readline pkgs.openssl pkgs.cacert pkgs.openssh];
50745074 meta = {
50755075 homepage = https://liftoffsoftware.com/;
50765076 description = "GateOne is a web-based terminal emulator and SSH client";
50775077 maintainers = with maintainers; [ tomberek ];
50785078
50795079 };
5080+ postInstall=''
5081+ cp -R $out/gateone/* $out/lib/python2.7/site-packages/gateone
5082+ '';
50805083 };
50815084
50825085 gcutil = buildPythonPackage rec {