Skip to content
This repository was archived by the owner on Apr 12, 2021. It is now read-only.
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs-channels
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: b25153a2983b
Choose a base ref
...
head repository: NixOS/nixpkgs-channels
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: d55e830982f3
Choose a head ref
  • 6 commits
  • 7 files changed
  • 5 contributors

Commits on Apr 6, 2018

  1. nixos/nginx: fix gitweb submodule

    gnidorah committed Apr 6, 2018

    Verified

    This commit was signed with the committer’s verified signature. The key has expired.
    picnoir Félix
    Copy the full SHA
    0730899 View commit details
  2. Verified

    This commit was signed with the committer’s verified signature. The key has expired.
    andir Andreas Rammhold
    Copy the full SHA
    5e7e762 View commit details

Commits on Apr 7, 2018

  1. Verified

    This commit was signed with the committer’s verified signature. The key has expired.
    andir Andreas Rammhold
    Copy the full SHA
    1d0bff8 View commit details
  2. Merge pull request #38532 from bandresen/pyewmh

    pythonPackages.ewmh: init at 0.1.6
    dotlambda authored Apr 7, 2018
    Copy the full SHA
    a05f246 View commit details
  3. Copy the full SHA
    6c31868 View commit details
  4. Merge pull request #38527 from gnidorah/gitweb

    nixos/nginx: fix gitweb submodule
    wmertens authored Apr 7, 2018
    Copy the full SHA
    d55e830 View commit details
5 changes: 5 additions & 0 deletions maintainers/maintainer-list.nix
Original file line number Diff line number Diff line change
@@ -517,6 +517,11 @@
email = "sivaraman.balaji@gmail.com";
name = "Balaji Sivaraman";
};
bandresen = {
email = "bandresen@gmail.com";
github = "bandresen";
name = "Benjamin Andresen";
};
barrucadu = {
email = "mike@barrucadu.co.uk";
github = "barrucadu";
1 change: 1 addition & 0 deletions nixos/modules/services/misc/gitweb.nix
Original file line number Diff line number Diff line change
@@ -28,6 +28,7 @@ in
example = ''
$feature{'highlight'}{'default'} = [1];
$feature{'ctags'}{'default'} = [1];
$feature{'avatar'}{'default'} = ['gravatar'];
'';
};

29 changes: 12 additions & 17 deletions nixos/modules/services/web-servers/nginx/gitweb.nix
Original file line number Diff line number Diff line change
@@ -22,36 +22,31 @@ in

config = mkIf config.services.nginx.gitweb.enable {

systemd.sockets.gitweb = {
description = "GitWeb Listen Socket";
listenStreams = [ "/run/gitweb.sock" ];
socketConfig = {
Accept = "false";
SocketUser = "nginx";
SocketGroup = "nginx";
SocketMode = "0600";
};
wantedBy = [ "sockets.target" ];
};
systemd.services.gitweb = {
description = "GitWeb service";
script = "${git}/share/gitweb/gitweb.cgi --fcgi";
script = "${pkgs.git}/share/gitweb/gitweb.cgi --fastcgi --nproc=1";
environment = {
FCGI_SOCKET_PATH = "/run/gitweb/gitweb.sock";
};
serviceConfig = {
Type = "simple";
StandardInput = "socket";
User = "nginx";
Group = "nginx";
RuntimeDirectory = [ "gitweb" ];
};
wantedBy = [ "multi-user.target" ];
};

services.nginx = {
virtualHosts.default = {
locations."/gitweb" = {
root = "${pkgs.git}/share/gitweb";
locations."/gitweb/" = {
root = "${pkgs.git}/share";
tryFiles = "$uri @gitweb";
};
locations."@gitweb" = {
extraConfig = ''
include ${pkgs.nginx}/conf/fastcgi_params;
fastcgi_param GITWEB_CONFIG ${cfg.gitwebConfigFile};
fastcgi_pass unix:/run/gitweb.sock;
fastcgi_pass unix:/run/gitweb/gitweb.sock;
'';
};
};
23 changes: 23 additions & 0 deletions pkgs/development/python-modules/ewmh/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{ lib, buildPythonPackage, fetchPypi, xlib }:

buildPythonPackage rec {
pname = "ewmh";
version = "0.1.6";

src = fetchPypi {
inherit pname version;
sha256 = "0g9l14my3v8zlgq1yd8wh5gpara0qcapsfmvg7lq2lapglzhjsy5";
};

propagatedBuildInputs = [ xlib ];

# No tests included
doCheck = false;

meta = {
homepage = https://github.com/parkouss/pyewmh;
description = "An implementation of EWMH (Extended Window Manager Hints), based on Xlib";
license = lib.licenses.lgpl3Plus;
maintainers = with lib.maintainers; [ bandresen ];
};
}
15 changes: 15 additions & 0 deletions pkgs/development/tools/ocaml/js_of_ocaml/ppx_deriving_json.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{ stdenv, ocaml, findlib, jbuilder, js_of_ocaml-compiler
, js_of_ocaml, ppx_deriving
}:

stdenv.mkDerivation rec {
name = "js_of_ocaml-ppx_deriving_json-${version}";

inherit (js_of_ocaml-compiler) version src installPhase meta;

buildInputs = [ ocaml findlib jbuilder ];

propagatedBuildInputs = [ js_of_ocaml ppx_deriving ];

buildPhase = "jbuilder build -p js_of_ocaml-ppx_deriving_json";
}
2 changes: 2 additions & 0 deletions pkgs/top-level/ocaml-packages.nix
Original file line number Diff line number Diff line change
@@ -330,6 +330,8 @@ let

js_of_ocaml-ppx = callPackage ../development/tools/ocaml/js_of_ocaml/ppx.nix {};

js_of_ocaml-ppx_deriving_json = callPackage ../development/tools/ocaml/js_of_ocaml/ppx_deriving_json.nix {};

jsonm = callPackage ../development/ocaml-modules/jsonm { };

lablgl = callPackage ../development/ocaml-modules/lablgl { };
2 changes: 2 additions & 0 deletions pkgs/top-level/python-packages.nix
Original file line number Diff line number Diff line change
@@ -233,6 +233,8 @@ in {

email_validator = callPackage ../development/python-modules/email-validator { };

ewmh = callPackage ../development/python-modules/ewmh { };

dbus-python = callPackage ../development/python-modules/dbus {
dbus = pkgs.dbus;
};