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: 08ea10ad400d
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: d86f7ff625bc
Choose a head ref

Commits on Jun 14, 2019

  1. exim: Fix build with MariaDB

    The 10.2 → 10.3 upgrade (#44343) broke it
    ajs124 committed Jun 14, 2019
    Copy the full SHA
    d354416 View commit details

Commits on Jul 1, 2019

  1. cutelyst: 2.7.0 -> 2.8.0

    Semi-automatic update generated by
    https://github.com/ryantm/nixpkgs-update tools. This update was made
    based on information from
    https://repology.org/metapackage/cutelyst/versions
    r-ryantm committed Jul 1, 2019
    Copy the full SHA
    00e914c View commit details

Commits on Aug 3, 2019

  1. Copy the full SHA
    f45a34a View commit details

Commits on Aug 4, 2019

  1. crispyDoom: 5.5.2 -> 5.6

    Semi-automatic update generated by
    https://github.com/ryantm/nixpkgs-update tools. This update was made
    based on information from
    https://repology.org/metapackage/crispy-doom/versions
    r-ryantm committed Aug 4, 2019
    Copy the full SHA
    28298df View commit details

Commits on Aug 5, 2019

  1. monero-gui: 0.14.1.0 -> 0.14.1.2

    Semi-automatic update generated by
    https://github.com/ryantm/nixpkgs-update tools. This update was made
    based on information from
    https://repology.org/metapackage/monero-gui/versions
    r-ryantm committed Aug 5, 2019
    Copy the full SHA
    5007388 View commit details
  2. pagemon: 0.01.15 -> 0.01.16

    Semi-automatic update generated by
    https://github.com/ryantm/nixpkgs-update tools. This update was made
    based on information from
    https://repology.org/metapackage/pagemon/versions
    r-ryantm committed Aug 5, 2019
    Copy the full SHA
    775fd25 View commit details
  3. pulumi-bin: 0.17.17 -> 0.17.27

    Semi-automatic update generated by
    https://github.com/ryantm/nixpkgs-update tools. This update was made
    based on information from
    https://repology.org/metapackage/pulumi/versions
    r-ryantm committed Aug 5, 2019
    Copy the full SHA
    38089d7 View commit details
  4. Copy the full SHA
    9a8e4c0 View commit details
  5. surf-display: init at 2019-04-15

    etu committed Aug 5, 2019
    Copy the full SHA
    406fbdd View commit details
  6. Copy the full SHA
    792da0c View commit details
  7. Merge pull request #65897 from r-ryantm/auto-update/crispy-doom

    crispyDoom: 5.5.2 -> 5.6
    mmahut authored Aug 5, 2019
    Copy the full SHA
    59e5703 View commit details
  8. Merge pull request #64003 from r-ryantm/auto-update/cutelyst

    cutelyst: 2.7.0 -> 2.8.0
    mmahut authored Aug 5, 2019
    Copy the full SHA
    83bc88f View commit details
  9. Merge pull request #66016 from r-ryantm/auto-update/pagemon

    pagemon: 0.01.15 -> 0.01.16
    mmahut authored Aug 5, 2019
    Copy the full SHA
    236b442 View commit details
  10. pulumi: fixing darwin hash

    mmahut authored Aug 5, 2019
    Copy the full SHA
    95f29fa View commit details
  11. Merge pull request #66002 from r-ryantm/auto-update/monero-gui

    monero-gui: 0.14.1.0 -> 0.14.1.2
    mmahut authored Aug 5, 2019
    Copy the full SHA
    40e3191 View commit details
  12. lua*Packages.cqueues: 20171014.52-0 -> 20190731.52-0

    My main aim is to fix it on aarch64 NixOS.
    The patch was included in the release.
    vcunat committed Aug 5, 2019
    Copy the full SHA
    265692f View commit details
  13. lua*Packages.luaossl: 20190612-0 -> 20190731-0

    My main aim is to fix it on aarch64 NixOS.
    vcunat committed Aug 5, 2019
    Copy the full SHA
    81b91fe View commit details
  14. knot-resolver: 4.1.0 -> 4.2.0

    No really significant changes, I'd say:
    https://gitlab.labs.nic.cz/knot/knot-resolver/tags/v4.2.0
    vcunat committed Aug 5, 2019
    Copy the full SHA
    577508e View commit details
  15. Merge pull request #65860 from etu/surf-display-kiosk-session

    Surf display kiosk session
    worldofpeace authored Aug 5, 2019
    Copy the full SHA
    7a53b1c View commit details
  16. Copy the full SHA
    7dfa1f8 View commit details
  17. Copy the full SHA
    11fb28f View commit details
  18. Merge pull request #65570 from herrwiese/python-vipaccess

    pythonPackages.python-vipaccess: init at 0.10.3
    worldofpeace authored Aug 5, 2019
    Copy the full SHA
    838bb4c View commit details
  19. Merge pull request #62888 from ajs124/exim_mysql_fix

    exim: Fix build with MariaDB
    aanderse authored Aug 5, 2019
    Copy the full SHA
    bd5a879 View commit details
  20. Merge pull request #65825 from worldofpeace/fwupd-fix-patch

    fwupd: wrap programs needed in PATH
    worldofpeace authored Aug 5, 2019
    Copy the full SHA
    c91f362 View commit details
  21. cantata: use qt5's mkDerivation

    see #65399
    sikmir authored and worldofpeace committed Aug 5, 2019
    Copy the full SHA
    9a9dc03 View commit details
  22. Merge pull request #66065 from r-ryantm/auto-update/pulumi

    pulumi-bin: 0.17.17 -> 0.17.27
    mmahut authored Aug 5, 2019
    Copy the full SHA
    a61290d View commit details
  23. Copy the full SHA
    47ad7d3 View commit details
  24. Merge pull request #65851 from mmahut/github-commenter

    github-commenter: init at 0.5.0
    Ma27 authored Aug 5, 2019
    Copy the full SHA
    d86f7ff View commit details
2 changes: 1 addition & 1 deletion nixos/modules/services/x11/desktop-managers/default.nix
Original file line number Diff line number Diff line change
@@ -20,7 +20,7 @@ in
imports = [
./none.nix ./xterm.nix ./xfce.nix ./plasma5.nix ./lumina.nix
./lxqt.nix ./enlightenment.nix ./gnome3.nix ./kodi.nix ./maxx.nix
./mate.nix ./pantheon.nix
./mate.nix ./pantheon.nix ./surf-display.nix
];

options = {
127 changes: 127 additions & 0 deletions nixos/modules/services/x11/desktop-managers/surf-display.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,127 @@
{ config, lib, pkgs, ... }:

with lib;

let
cfg = config.services.xserver.desktopManager.surf-display;

surfDisplayConf = ''
# Surf Kiosk Display: Wrap around surf browser and turn your
# system into a browser screen in KIOSK-mode.
# default download URI for all display screens if not configured individually
DEFAULT_WWW_URI="${cfg.defaultWwwUri}"
# Enforce fixed resolution for all displays (default: not set):
#DEFAULT_RESOLUTION="1920x1080"
# HTTP proxy URL, if needed (default: not set).
#HTTP_PROXY_URL="http://webcache:3128"
# Setting for internal inactivity timer to restart surf-display
# if the user goes inactive/idle.
INACTIVITY_INTERVAL="${builtins.toString cfg.inactivityInterval}"
# log to syslog instead of .xsession-errors
LOG_TO_SYSLOG="yes"
# Launch pulseaudio daemon if not already running.
WITH_PULSEAUDIO="yes"
# screensaver settings, see "man 1 xset" for possible options
SCREENSAVER_SETTINGS="${cfg.screensaverSettings}"
# disable right and middle pointer device click in browser sessions while keeping
# scrolling wheels' functionality intact... (consider "pointer" subcommand on
# xmodmap man page for details).
POINTER_BUTTON_MAP="${cfg.pointerButtonMap}"
# Hide idle mouse pointer.
HIDE_IDLE_POINTER="${cfg.hideIdlePointer}"
${cfg.extraConfig}
'';

in {
options = {
services.xserver.desktopManager.surf-display = {
enable = mkEnableOption "surf-display as a kiosk browser session";

defaultWwwUri = mkOption {
type = types.string;
default = "${pkgs.surf-display}/share/surf-display/empty-page.html";
example = "https://www.example.com/";
description = "Default URI to display.";
};

inactivityInterval = mkOption {
type = types.int;
default = 300;
example = "0";
description = ''
Setting for internal inactivity timer to restart surf-display if the
user goes inactive/idle to get a fresh session for the next user of
the kiosk.
If this value is set to zero, the whole feature of restarting due to
inactivity is disabled.
'';
};

screensaverSettings = mkOption {
type = types.string;
default = "";
description = ''
Screensaver settings, see <literal>man 1 xset</literal> for possible options.
'';
};

pointerButtonMap = mkOption {
type = types.string;
default = "1 0 0 4 5 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0";
description = ''
Disable right and middle pointer device click in browser sessions
while keeping scrolling wheels' functionality intact. See pointer
subcommand on <literal>man xmodmap</literal> for details.
'';
};

hideIdlePointer = mkOption {
type = types.string;
default = "yes";
example = "no";
description = "Hide idle mouse pointer.";
};

extraConfig = mkOption {
type = types.string;
default = "";
example = ''
# Enforce fixed resolution for all displays (default: not set):
DEFAULT_RESOLUTION="1920x1080"
# HTTP proxy URL, if needed (default: not set).
HTTP_PROXY_URL="http://webcache:3128"
# Configure individual display screens with host specific parameters:
DISPLAYS['display-host-0']="www_uri=https://www.displayserver.comany.net/display-1/index.html"
DISPLAYS['display-host-1']="www_uri=https://www.displayserver.comany.net/display-2/index.html"
DISPLAYS['display-host-2']="www_uri=https://www.displayserver.comany.net/display-3/index.html|res=1920x1280"
DISPLAYS['display-host-3']="www_uri=https://www.displayserver.comany.net/display-4/index.html"|res=1280x1024"
DISPLAYS['display-host-local-file']="www_uri=file:///usr/share/doc/surf-display/empty-page.html"
'';
description = ''
Extra configuration options to append to <literal>/etc/default/surf-display</literal>.
'';
};
};
};

config = mkIf cfg.enable {
services.xserver.displayManager.extraSessionFilePackages = [
pkgs.surf-display
];

environment.etc."default/surf-display".text = surfDisplayConf;
};
}
4 changes: 2 additions & 2 deletions pkgs/applications/altcoins/monero-gui/default.nix
Original file line number Diff line number Diff line change
@@ -25,13 +25,13 @@ in

stdenv.mkDerivation rec {
name = "monero-gui-${version}";
version = "0.14.1.0";
version = "0.14.1.2";

src = fetchFromGitHub {
owner = "monero-project";
repo = "monero-gui";
rev = "v${version}";
sha256 = "0ilx47771faygf97wilm64xnqxgxa3b43q0g9v014npk0qj8pc31";
sha256 = "1rm043r6y2mzy8pclnzbjjfxgps8pkfa2b92p66k8y8rdmgq6m1k";
};

nativeBuildInputs = [ qmake pkgconfig wrapQtAppsHook ];
24 changes: 12 additions & 12 deletions pkgs/applications/audio/cantata/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, cmake, pkgconfig, vlc
{ mkDerivation, lib, fetchFromGitHub, cmake, pkgconfig, vlc
, qtbase, qtmultimedia, qtsvg, qttools

# Cantata doesn't build with cdparanoia enabled so we disable that
@@ -35,7 +35,7 @@ let

withUdisks = (withTaglib && withDevices);

in stdenv.mkDerivation rec {
in mkDerivation rec {
name = "${pname}-${version}";

src = fetchFromGitHub {
@@ -46,20 +46,20 @@ in stdenv.mkDerivation rec {
};

buildInputs = [ vlc qtbase qtmultimedia qtsvg ]
++ stdenv.lib.optionals withTaglib [ taglib taglib_extras ]
++ stdenv.lib.optionals withReplaygain [ ffmpeg speex mpg123 ]
++ stdenv.lib.optional withCdda cdparanoia
++ stdenv.lib.optional withCddb libcddb
++ stdenv.lib.optional withLame lame
++ stdenv.lib.optional withMtp libmtp
++ stdenv.lib.optional withMusicbrainz libmusicbrainz5
++ stdenv.lib.optional withUdisks udisks2;
++ lib.optionals withTaglib [ taglib taglib_extras ]
++ lib.optionals withReplaygain [ ffmpeg speex mpg123 ]
++ lib.optional withCdda cdparanoia
++ lib.optional withCddb libcddb
++ lib.optional withLame lame
++ lib.optional withMtp libmtp
++ lib.optional withMusicbrainz libmusicbrainz5
++ lib.optional withUdisks udisks2;

nativeBuildInputs = [ cmake pkgconfig qttools ];

enableParallelBuilding = true;

cmakeFlags = stdenv.lib.flatten [
cmakeFlags = lib.flatten [
(fstats withTaglib [ "TAGLIB" "TAGLIB_EXTRAS" ])
(fstats withReplaygain [ "FFMPEG" "MPG123" "SPEEXDSP" ])
(fstat withCdda "CDPARANOIA")
@@ -76,7 +76,7 @@ in stdenv.mkDerivation rec {
"-DENABLE_HTTPS_SUPPORT=ON"
];

meta = with stdenv.lib; {
meta = with lib; {
homepage = https://github.com/cdrummond/cantata;
description = "A graphical client for MPD";
license = licenses.gpl3;
53 changes: 53 additions & 0 deletions pkgs/desktops/surf-display/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
{ stdenv, fetchgit, makeWrapper
, surf, wmctrl, matchbox, xdotool, unclutter
, xorg, pulseaudio, xprintidle-ng }:

stdenv.mkDerivation rec {
pname = "surf-display";
version = "unstable-2019-04-15";

src = fetchgit {
url = "https://code.it-zukunft-schule.de/cgit/surf-display";
rev = "972d6c4b7c4503dbb63fa6c92cdc24d1e32064a4";
sha256 = "03c68gg4kfmkri1gn5b7m1g8vh9ciawhajb29c17kkc7mn388hjm";
};

nativeBuildInputs = [ makeWrapper ];

buildInputs = [
surf
wmctrl
matchbox
pulseaudio
xprintidle-ng
xdotool
xorg.xmodmap
xorg.xkbutils
unclutter
];

patches = [ ./pdf-makefile.patch ];

buildFlags = [ "man" ];

postFixup = ''
substituteInPlace $out/share/xsessions/surf-display.desktop \
--replace surf-display $out/bin/surf-display
substituteInPlace $out/bin/surf-display --replace /usr/share $out/share
patchShebangs $out/bin/surf-display
wrapProgram $out/bin/surf-display \
--prefix PATH ':' ${stdenv.lib.makeBinPath buildInputs}
'';

makeFlags = [ "PREFIX=${placeholder ''out''}" ];

meta = with stdenv.lib; {
description = "Kiosk browser session manager based on the surf browser";
homepage = "https://code.it-zukunft-schule.de/cgit/surf-display/";
maintainers = with maintainers; [ etu ];
license = licenses.gpl2;
platforms = platforms.linux;
};
}
24 changes: 24 additions & 0 deletions pkgs/desktops/surf-display/pdf-makefile.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
diff --git a/Makefile b/Makefile
index 1081d64..499160c 100644
--- a/Makefile
+++ b/Makefile
@@ -13,19 +13,10 @@ man::
gzip -9 -c -n data/surf-display.1 > data/surf-display.1.gz

install:
- if [ ! -e data/surf-display.pdf.gz ]; then \
- echo "Run 'make build' first, before running 'sudo make install'."; \
- exit -1; \
- fi
-
# script
mkdir -p $(DESTDIR)$(PREFIX)/bin/
install -m 0755 bin/surf-display $(DESTDIR)$(PREFIX)/bin/

- # LaTeX Beamer PDF: Impressive HowTo
- mkdir -p $(DESTDIR)$(PREFIX)/share/doc/surf-display/
- install -m 0644 data/*.pdf.gz $(DESTDIR)$(PREFIX)/share/doc/surf-display/
-
# man page
mkdir -p $(DESTDIR)$(PREFIX)/share/man/man1
install -m 0644 data/*.1.gz $(DESTDIR)$(PREFIX)/share/man/man1/
4 changes: 2 additions & 2 deletions pkgs/development/libraries/cutelyst/default.nix
Original file line number Diff line number Diff line change
@@ -4,13 +4,13 @@

stdenv.mkDerivation rec {
name = "cutelyst-${version}";
version = "2.7.0";
version = "2.8.0";

src = fetchFromGitHub {
owner = "cutelyst";
repo = "cutelyst";
rev = "v${version}";
sha256 = "09cgfpr2k1jp98h1ahxqm5lmv3qbk0bcxpqpill6n5wmq2c8kl8b";
sha256 = "02jys32qkyksa2dmanyg4x0y5lh4ra0xbn2mfr2k84slrxbgjs1g";
};

nativeBuildInputs = [ cmake pkgconfig wrapQtAppsHook ];
12 changes: 6 additions & 6 deletions pkgs/development/lua-modules/generated-packages.nix
Original file line number Diff line number Diff line change
@@ -196,11 +196,11 @@ coxpcall = buildLuarocksPackage {
};
cqueues = buildLuarocksPackage {
pname = "cqueues";
version = "20171014.52-0";
version = "20190731.52-0";

src = fetchurl {
url = https://luarocks.org/cqueues-20171014.52-0.src.rock;
sha256 = "0q3iy1ja20nq2sn2n6badzhjq5kni86pfc09n5g2c46q9ja3vfzx";
url = https://luarocks.org/cqueues-20190731.52-0.src.rock;
sha256 = "07rs34amsxf2bc5ccqdad0c63c70737r54316cbd9qh1a2wbvz8s";
};
disabled = (lua.luaversion != "5.2");
propagatedBuildInputs = [ lua ];
@@ -926,11 +926,11 @@ luafilesystem = buildLuarocksPackage {
};
luaossl = buildLuarocksPackage {
pname = "luaossl";
version = "20190612-0";
version = "20190731-0";

src = fetchurl {
url = https://luarocks.org/luaossl-20190612-0.src.rock;
sha256 = "0q47rsfjnx3rbbr9jl2j5nlj56c6mwmnnma9m4rrbsza2p98wb4s";
url = https://luarocks.org/luaossl-20190731-0.src.rock;
sha256 = "0gardlh547hah5w4kfsdg05jmxzrxr21macqigcmp5hw1l67jn5m";
};
propagatedBuildInputs = [ lua ];

13 changes: 4 additions & 9 deletions pkgs/development/lua-modules/overrides.nix
Original file line number Diff line number Diff line change
@@ -40,15 +40,10 @@ with super;
{ name = "CRYPTO"; dep = pkgs.openssl; }
{ name = "OPENSSL"; dep = pkgs.openssl; }
];
patches = [
# https://github.com/wahern/cqueues/issues/216 &
# https://github.com/wahern/cqueues/issues/217
(pkgs.fetchpatch {
name = "find-version-fix.patch";
url = "https://github.com/wahern/cqueues/pull/217.patch";
sha256 = "0068ql0jlxmjkvhzydyy52sjd0k4vad6b8w4y5szpbv4vb2lzcsc";
})
];

# https://github.com/wahern/cqueues/issues/227
NIX_CFLAGS_COMPILE = if pkgs.stdenv.hostPlatform.isDarwin then [ "-DCLOCK_MONOTONIC" "-DCLOCK_REALTIME" ] else null;

disabled = luaOlder "5.1" || luaAtLeast "5.4";
# Upstream rockspec is pointlessly broken into separate rockspecs, per Lua
# version, which doesn't work well for us, so modify it
21 changes: 21 additions & 0 deletions pkgs/development/python-modules/oath/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{ stdenv
, buildPythonPackage
, fetchPypi
}:

buildPythonPackage rec {
pname = "oath";
version = "1.4.3";

src = fetchPypi {
inherit pname version;
sha256 = "1xqgcqgx6aa0j21hwsdb3aqpqhviwj756bcqjjjcm1h1aij11p6m";
};

meta = with stdenv.lib; {
description = "Python implementation of the three main OATH specifications: HOTP, TOTP and OCRA";
homepage = "https://github.com/bdauvergne/python-oath";
license = licenses.bsd3;
maintainers = with maintainers; [ aw ];
};
}
Loading