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: 40e3191a6a0e
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: ac95de0d2ea8
Choose a head ref
Loading
Showing with 2,293 additions and 602 deletions.
  1. +1 −1 nixos/modules/services/networking/unifi.nix
  2. +1 −1 nixos/modules/services/x11/desktop-managers/default.nix
  3. +127 −0 nixos/modules/services/x11/desktop-managers/surf-display.nix
  4. +1 −1 nixos/tests/mysql.nix
  5. +12 −12 pkgs/applications/audio/cantata/default.nix
  6. +6 −0 pkgs/applications/editors/emacs-modes/melpa-packages.nix
  7. +2 −2 pkgs/applications/editors/gnome-builder/default.nix
  8. +7 −2 pkgs/applications/editors/kakoune/default.nix
  9. +2 −2 pkgs/applications/editors/thonny/default.nix
  10. +2 −2 pkgs/applications/graphics/pdfcpu/default.nix
  11. +11 −12 pkgs/applications/misc/cmatrix/default.nix
  12. +2 −2 pkgs/applications/misc/qmapshack/default.nix
  13. +6 −5 pkgs/applications/misc/qpdfview/default.nix
  14. +2 −2 pkgs/applications/misc/tzupdate/default.nix
  15. +2 −2 pkgs/applications/misc/verbiste/default.nix
  16. +3 −3 pkgs/applications/misc/vifm/default.nix
  17. +2 −2 pkgs/applications/misc/xterm/default.nix
  18. +2 −2 pkgs/applications/networking/browsers/brave/default.nix
  19. +2 −2 pkgs/applications/networking/dsvpn/default.nix
  20. +2 −2 pkgs/applications/office/tudu/default.nix
  21. +2 −2 pkgs/applications/science/math/qalculate-gtk/default.nix
  22. +10 −2 pkgs/applications/video/openshot-qt/default.nix
  23. +2 −2 pkgs/applications/window-managers/i3/default.nix
  24. +5 −5 pkgs/applications/window-managers/i3/lock.nix
  25. +22 −9 pkgs/desktops/pantheon/apps/elementary-calculator/default.nix
  26. +29 −10 pkgs/desktops/pantheon/apps/elementary-calendar/default.nix
  27. +27 −8 pkgs/desktops/pantheon/apps/elementary-camera/default.nix
  28. +32 −10 pkgs/desktops/pantheon/apps/elementary-code/default.nix
  29. +33 −10 pkgs/desktops/pantheon/apps/elementary-files/default.nix
  30. +34 −12 pkgs/desktops/pantheon/apps/elementary-music/default.nix
  31. +38 −10 pkgs/desktops/pantheon/apps/elementary-photos/default.nix
  32. +21 −8 pkgs/desktops/pantheon/apps/elementary-screenshot-tool/default.nix
  33. +24 −8 pkgs/desktops/pantheon/apps/elementary-terminal/default.nix
  34. +23 −8 pkgs/desktops/pantheon/apps/elementary-videos/default.nix
  35. +12 −2 pkgs/desktops/pantheon/apps/switchboard-plugs/a11y/default.nix
  36. +14 −2 pkgs/desktops/pantheon/apps/switchboard-plugs/about/default.nix
  37. +12 −2 pkgs/desktops/pantheon/apps/switchboard-plugs/applications/default.nix
  38. +13 −2 pkgs/desktops/pantheon/apps/switchboard-plugs/bluetooth/default.nix
  39. +15 −2 pkgs/desktops/pantheon/apps/switchboard-plugs/datetime/default.nix
  40. +12 −2 pkgs/desktops/pantheon/apps/switchboard-plugs/display/default.nix
  41. +17 −2 pkgs/desktops/pantheon/apps/switchboard-plugs/keyboard/default.nix
  42. +15 −3 pkgs/desktops/pantheon/apps/switchboard-plugs/mouse-touchpad/default.nix
  43. +15 −2 pkgs/desktops/pantheon/apps/switchboard-plugs/network/default.nix
  44. +12 −2 pkgs/desktops/pantheon/apps/switchboard-plugs/notifications/default.nix
  45. +18 −3 pkgs/desktops/pantheon/apps/switchboard-plugs/onlineaccounts/default.nix
  46. +4 −2 pkgs/desktops/pantheon/apps/switchboard-plugs/pantheon-shell/default.nix
  47. +21 −5 pkgs/desktops/pantheon/apps/switchboard-plugs/power/default.nix
  48. +13 −2 pkgs/desktops/pantheon/apps/switchboard-plugs/printers/default.nix
  49. +20 −5 pkgs/desktops/pantheon/apps/switchboard-plugs/security-privacy/default.nix
  50. +12 −2 pkgs/desktops/pantheon/apps/switchboard-plugs/sharing/default.nix
  51. +15 −2 pkgs/desktops/pantheon/apps/switchboard-plugs/sound/default.nix
  52. +20 −4 pkgs/desktops/pantheon/apps/switchboard/default.nix
  53. +6 −1 pkgs/desktops/pantheon/apps/switchboard/wrapper.nix
  54. +11 −6 pkgs/desktops/pantheon/artwork/elementary-gtk-theme/default.nix
  55. +18 −9 pkgs/desktops/pantheon/artwork/elementary-icon-theme/default.nix
  56. +4 −1 pkgs/desktops/pantheon/artwork/elementary-redacted-script/default.nix
  57. +12 −6 pkgs/desktops/pantheon/artwork/elementary-sound-theme/default.nix
  58. +10 −6 pkgs/desktops/pantheon/artwork/elementary-wallpapers/default.nix
  59. +10 −6 pkgs/desktops/pantheon/desktop/elementary-default-settings/default.nix
  60. +5 −5 pkgs/desktops/pantheon/desktop/elementary-greeter/default.nix
  61. +12 −1 pkgs/desktops/pantheon/desktop/elementary-gsettings-schemas/default.nix
  62. +14 −6 pkgs/desktops/pantheon/desktop/elementary-print-shim/default.nix
  63. +22 −7 pkgs/desktops/pantheon/desktop/elementary-session-settings/default.nix
  64. +21 −7 pkgs/desktops/pantheon/desktop/elementary-shortcut-overlay/default.nix
  65. +7 −3 pkgs/desktops/pantheon/desktop/extra-elementary-contracts/default.nix
  66. +28 −5 pkgs/desktops/pantheon/desktop/gala/default.nix
  67. +30 −9 pkgs/desktops/pantheon/desktop/wingpanel-indicators/applications-menu/default.nix
  68. +17 −3 pkgs/desktops/pantheon/desktop/wingpanel-indicators/bluetooth/default.nix
  69. +21 −3 pkgs/desktops/pantheon/desktop/wingpanel-indicators/datetime/default.nix
  70. +18 −3 pkgs/desktops/pantheon/desktop/wingpanel-indicators/keyboard/default.nix
  71. +16 −3 pkgs/desktops/pantheon/desktop/wingpanel-indicators/network/default.nix
  72. +15 −2 pkgs/desktops/pantheon/desktop/wingpanel-indicators/nightlight/default.nix
  73. +15 −2 pkgs/desktops/pantheon/desktop/wingpanel-indicators/notifications/default.nix
  74. +18 −3 pkgs/desktops/pantheon/desktop/wingpanel-indicators/power/default.nix
  75. +15 −3 pkgs/desktops/pantheon/desktop/wingpanel-indicators/session/default.nix
  76. +19 −4 pkgs/desktops/pantheon/desktop/wingpanel-indicators/sound/default.nix
  77. +17 −2 pkgs/desktops/pantheon/desktop/wingpanel/default.nix
  78. +8 −1 pkgs/desktops/pantheon/desktop/wingpanel/wrapper.nix
  79. +17 −1 pkgs/desktops/pantheon/granite/default.nix
  80. +12 −1 pkgs/desktops/pantheon/services/cerbere/default.nix
  81. +15 −2 pkgs/desktops/pantheon/services/contractor/default.nix
  82. +24 −8 pkgs/desktops/pantheon/services/elementary-capnet-assist/default.nix
  83. +16 −7 pkgs/desktops/pantheon/services/elementary-dpms-helper/default.nix
  84. +4 −4 pkgs/desktops/pantheon/services/elementary-settings-daemon/default.nix
  85. +14 −2 pkgs/desktops/pantheon/services/pantheon-agent-geoclue2/default.nix
  86. +12 −2 pkgs/desktops/pantheon/services/pantheon-agent-polkit/default.nix
  87. +21 −3 pkgs/desktops/pantheon/update.nix
  88. +53 −0 pkgs/desktops/surf-display/default.nix
  89. +24 −0 pkgs/desktops/surf-display/pdf-makefile.patch
  90. +1 −1 pkgs/development/compilers/llvm/8/clang/default.nix
  91. +1 −1 pkgs/development/compilers/llvm/8/compiler-rt.nix
  92. +3 −3 pkgs/development/compilers/llvm/8/default.nix
  93. +1 −1 pkgs/development/compilers/llvm/8/libc++/default.nix
  94. +1 −1 pkgs/development/compilers/llvm/8/libc++abi.nix
  95. +1 −1 pkgs/development/compilers/llvm/8/libunwind.nix
  96. +1 −1 pkgs/development/compilers/llvm/8/lld.nix
  97. +1 −1 pkgs/development/compilers/llvm/8/lldb.nix
  98. +2 −2 pkgs/development/compilers/llvm/8/llvm.nix
  99. +1 −1 pkgs/development/compilers/llvm/8/openmp.nix
  100. +1 −0 pkgs/development/compilers/openjdk/11.nix
  101. +19 −10 pkgs/development/compilers/openjdk/darwin/default.nix
  102. +171 −0 pkgs/development/compilers/openjdk/default.nix
  103. +12 −0 pkgs/development/compilers/openjdk/increase-javadoc-heap.patch
  104. +1 −1 pkgs/development/compilers/openjdk/openjfx/11.nix
  105. +110 −0 pkgs/development/compilers/openjdk/openjfx/12.nix
  106. +2 −2 pkgs/development/compilers/souffle/default.nix
  107. +21 −0 pkgs/development/interpreters/love/0.7-gl-prototypes.patch
  108. +5 −1 pkgs/development/interpreters/love/0.7.nix
  109. +8 −8 pkgs/development/libraries/cdo/default.nix
  110. +12 −4 pkgs/development/libraries/dav1d/default.nix
  111. +2 −2 pkgs/development/libraries/libqalculate/default.nix
  112. +2 −2 pkgs/development/libraries/symengine/default.nix
  113. +2 −2 pkgs/development/libraries/zimg/default.nix
  114. +6 −6 pkgs/development/lua-modules/generated-packages.nix
  115. +4 −9 pkgs/development/lua-modules/overrides.nix
  116. +2 −2 pkgs/development/python-modules/APScheduler/default.nix
  117. +4 −4 pkgs/development/python-modules/apprise/default.nix
  118. +2 −2 pkgs/development/python-modules/azure-graphrbac/default.nix
  119. +2 −2 pkgs/development/python-modules/betamax-serializers/default.nix
  120. +2 −2 pkgs/development/python-modules/globus-sdk/default.nix
  121. +2 −2 pkgs/development/python-modules/h2/default.nix
  122. +2 −2 pkgs/development/python-modules/html5-parser/default.nix
  123. +12 −3 pkgs/development/python-modules/jug/default.nix
  124. +2 −2 pkgs/development/python-modules/lark-parser/default.nix
  125. +2 −2 pkgs/development/python-modules/lmdb/default.nix
  126. +2 −2 pkgs/development/python-modules/logilab/common.nix
  127. +2 −2 pkgs/development/python-modules/luftdaten/default.nix
  128. +1 −1 pkgs/development/python-modules/msgpack-numpy/default.nix
  129. +2 −2 pkgs/development/python-modules/mwclient/default.nix
  130. +2 −2 pkgs/development/python-modules/nltk/default.nix
  131. +2 −2 pkgs/development/python-modules/nuitka/default.nix
  132. +21 −0 pkgs/development/python-modules/oath/default.nix
  133. +2 −2 pkgs/development/python-modules/palettable/default.nix
  134. +2 −2 pkgs/development/python-modules/parse-type/default.nix
  135. +2 −2 pkgs/development/python-modules/pika/default.nix
  136. +2 −2 pkgs/development/python-modules/pyotp/default.nix
  137. +2 −2 pkgs/development/python-modules/pypcap/default.nix
  138. +2 −2 pkgs/development/python-modules/pytest-pylint/default.nix
  139. +2 −2 pkgs/development/python-modules/python-rapidjson/default.nix
  140. +42 −0 pkgs/development/python-modules/python-vipaccess/default.nix
  141. +29 −0 pkgs/development/python-modules/pytrends/default.nix
  142. +2 −2 pkgs/development/python-modules/pyutilib/default.nix
  143. +2 −2 pkgs/development/python-modules/qtawesome/default.nix
  144. +2 −2 pkgs/development/python-modules/qtconsole/default.nix
  145. +2 −2 pkgs/development/python-modules/rpyc/default.nix
  146. +2 −2 pkgs/development/python-modules/shodan/default.nix
  147. +2 −2 pkgs/development/python-modules/traits/default.nix
  148. +2 −2 pkgs/development/python-modules/wurlitzer/default.nix
  149. +2 −2 pkgs/development/python-modules/yapsy/default.nix
  150. +2 −2 pkgs/development/python-modules/yattag/default.nix
  151. +1 −0 pkgs/development/r-modules/default.nix
  152. +7 −5 pkgs/development/tools/build-managers/gradle/default.nix
  153. +24 −0 pkgs/development/tools/buildkit/default.nix
  154. +25 −0 pkgs/development/tools/github-commenter/default.nix
  155. +102 −0 pkgs/development/tools/github-commenter/deps.nix
  156. +7 −5 pkgs/development/tools/misc/stlink/default.nix
  157. +37 −0 pkgs/development/tools/misc/swig/4.nix
  158. +22 −0 pkgs/development/tools/misc/terracognita/default.nix
  159. +37 −0 pkgs/games/devilutionx/default.nix
  160. +6 −7 pkgs/os-specific/linux/firmware/fwupd/default.nix
  161. +0 −52 pkgs/os-specific/linux/firmware/fwupd/fix-paths.patch
  162. +2 −2 pkgs/servers/dns/knot-resolver/default.nix
  163. +5 −6 pkgs/servers/mail/exim/default.nix
  164. +3 −3 pkgs/servers/monitoring/grafana/default.nix
  165. +2 −2 pkgs/servers/shairport-sync/default.nix
  166. +7 −9 pkgs/servers/sql/mysql/5.7.x.nix
  167. +2 −2 pkgs/tools/admin/aws-google-auth/default.nix
  168. +4 −8 pkgs/tools/admin/eksctl/default.nix
  169. +3 −3 pkgs/tools/admin/pulumi/default.nix
  170. +2 −2 pkgs/tools/misc/parallel/default.nix
  171. +2 −2 pkgs/tools/misc/tmate/default.nix
  172. +2 −2 pkgs/tools/misc/watchexec/default.nix
  173. +2 −2 pkgs/tools/misc/you-get/default.nix
  174. +2 −2 pkgs/tools/misc/zabbix-cli/default.nix
  175. +2 −2 pkgs/tools/networking/whois/default.nix
  176. +4 −4 pkgs/tools/text/mdbook/default.nix
  177. +8 −7 pkgs/tools/text/xml/xmloscopy/default.nix
  178. +51 −5 pkgs/top-level/all-packages.nix
  179. +6 −0 pkgs/top-level/python-packages.nix
2 changes: 1 addition & 1 deletion nixos/modules/services/networking/unifi.nix
Original file line number Diff line number Diff line change
@@ -148,7 +148,7 @@ in

systemd.tmpfiles.rules = [
"e '${stateDir}' 0700 unifi - - -"
"e '${stateDir}/data' 0700 unifi - - -"
"d '${stateDir}/data' 0700 unifi - - -"
];

systemd.services.unifi = {
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;
};
}
2 changes: 1 addition & 1 deletion nixos/tests/mysql.nix
Original file line number Diff line number Diff line change
@@ -19,7 +19,7 @@ import ./make-test.nix ({ pkgs, ...} : {
services.mysql.initialScript = pkgs.writeText "mysql-init.sql" ''
CREATE USER 'passworduser'@'localhost' IDENTIFIED BY 'password123';
'';
services.mysql.package = pkgs.mysql;
services.mysql.package = pkgs.mysql57;
};

mariadb =
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;
6 changes: 6 additions & 0 deletions pkgs/applications/editors/emacs-modes/melpa-packages.nix
Original file line number Diff line number Diff line change
@@ -131,6 +131,12 @@ self:
# upstream issue: missing file header
jsfmt = markBroken super.jsfmt;

kubernetes = super.kubernetes.overrideAttrs (attrs: {
# searches for Git at build time
nativeBuildInputs =
(attrs.nativeBuildInputs or []) ++ [ external.git ];
});

# upstream issue: missing file header
maxframe = markBroken super.maxframe;

4 changes: 2 additions & 2 deletions pkgs/applications/editors/gnome-builder/default.nix
Original file line number Diff line number Diff line change
@@ -42,11 +42,11 @@ let
in
stdenv.mkDerivation rec {
pname = "gnome-builder";
version = "3.32.3";
version = "3.32.4";

src = fetchurl {
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "1vlr69sgiv3kg2qa3n7aw3913bmvlcpyhy3w8lls13wjrgif4wny";
sha256 = "0xip58m206p8wa28p0a3y4ykylzr5xzmirjl3dspg4j25r08i8qr";
};

nativeBuildInputs = [
9 changes: 7 additions & 2 deletions pkgs/applications/editors/kakoune/default.nix
Original file line number Diff line number Diff line change
@@ -4,12 +4,12 @@ with stdenv.lib;

stdenv.mkDerivation rec {
pname = "kakoune-unwrapped";
version = "2019.01.20";
version = "2019.07.01";
src = fetchFromGitHub {
repo = "kakoune";
owner = "mawww";
rev = "v${version}";
sha256 = "04ak1jm7b1i03sx10z3fxw08rn692y2fj482jn5kpzfzj91b2ila";
sha256 = "0jdkldq5rygzc0wcxr1j4fmp2phciy8602ghhf6xq21a9bq2v639";
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ ncurses asciidoc docbook_xsl libxslt ];
@@ -25,6 +25,11 @@ stdenv.mkDerivation rec {
export version="v${version}"
'';

doInstallCheckPhase = true;
installCheckPhase = ''
$out/bin/kak -ui json -E "kill 0"
'';

meta = {
homepage = http://kakoune.org/;
description = "A vim inspired text editor";
4 changes: 2 additions & 2 deletions pkgs/applications/editors/thonny/default.nix
Original file line number Diff line number Diff line change
@@ -4,13 +4,13 @@ with python3.pkgs;

buildPythonApplication rec {
pname = "thonny";
version = "3.1.2";
version = "3.2.0b7";

src = fetchFromGitHub {
owner = pname;
repo = pname;
rev = "v${version}";
sha256 = "1simqqxm72k5zhavhllkinsyw8ggy6fjs5ppj82g3l5g3919pfna";
sha256 = "0p0hi5rj873cszx9rpbjjq51vs6xys3rlq9v1rya710i3fnw0hqh";
};

propagatedBuildInputs = with python3.pkgs; [
4 changes: 2 additions & 2 deletions pkgs/applications/graphics/pdfcpu/default.nix
Original file line number Diff line number Diff line change
@@ -2,13 +2,13 @@

buildGoModule rec {
pname = "pdfcpu";
version = "0.2.1";
version = "0.2.2";

src = fetchFromGitHub {
owner = "hhrutter";
repo = pname;
rev = "v${version}";
sha256 = "0cg17nph3qv1ca86j3wcd33vqs6clkzi6y2nrajmk7dq5vbzr6nn";
sha256 = "1knvi0v9nfzw40dayrw5cjidg9h900143v1pi6240yd7r7isx348";
};

modSha256 = "0cz4gs88s9z2yv1gc9ap92vv2j93ab6kr25zjgl2r7z6clbl5fzp";
23 changes: 11 additions & 12 deletions pkgs/applications/misc/cmatrix/default.nix
Original file line number Diff line number Diff line change
@@ -1,25 +1,24 @@
{ stdenv, fetchurl, pkgconfig, ncurses }:
{ stdenv, fetchFromGitHub, autoreconfHook, ncurses }:

let
version = "1.2a";
in with stdenv.lib;
stdenv.mkDerivation rec {
pname = "cmatrix";
version = "2.0";

name = "cmatrix-${version}";

src = fetchurl{
url = "http://www.asty.org/cmatrix/dist/${name}.tar.gz";
sha256 = "0k06fw2n8nzp1pcdynhajp5prba03gfgsbj91bknyjr5xb5fd9hz";
src = fetchFromGitHub {
owner = "abishekvashok";
repo = "cmatrix";
rev = "v${version}";
sha256 = "1h9jz4m4s5l8c3figaq46ja0km1gimrkfxm4dg7mf4s84icmasbm";
};

nativeBuildInputs = [ pkgconfig ];
nativeBuildInputs = [ autoreconfHook ];
buildInputs = [ ncurses ];

meta = {
meta = with stdenv.lib; {
description = "Simulates the falling characters theme from The Matrix movie";
longDescription = ''
CMatrix simulates the display from "The Matrix" and is based
on the screensaver from the movie's website.
on the screensaver from the movie's website.
'';
homepage = http://www.asty.org/cmatrix/;
platforms = ncurses.meta.platforms;
4 changes: 2 additions & 2 deletions pkgs/applications/misc/qmapshack/default.nix
Original file line number Diff line number Diff line change
@@ -2,11 +2,11 @@

mkDerivation rec {
name = "qmapshack-${version}";
version = "1.13.0";
version = "1.13.1";

src = fetchurl {
url = "https://bitbucket.org/maproom/qmapshack/downloads/${name}.tar.gz";
sha256 = "1cv1f718r8vqyk2l6w3alz2aqjvb4msz8705pm9yr5ndi28qyrba";
sha256 = "15x1b2q0hr1vx006f9hjc4cvfjvxvfdwybw32qvczdyc3crq0mc9";
};

nativeBuildInputs = [ cmake ];
11 changes: 6 additions & 5 deletions pkgs/applications/misc/qpdfview/default.nix
Original file line number Diff line number Diff line change
@@ -1,22 +1,23 @@
{stdenv, fetchurl, qmake, qtbase, qtsvg, pkgconfig, poppler, djvulibre, libspectre, cups
{stdenv, mkDerivation, fetchurl, qmake, qtbase, qtsvg, pkgconfig, poppler, djvulibre, libspectre, cups
, file, ghostscript
}:
let
s = # Generated upstream information
rec {
baseName="qpdfview";
version = "0.4.16";
version = "0.4.18";
name="${baseName}-${version}";
url="https://launchpad.net/qpdfview/trunk/${version}/+download/qpdfview-${version}.tar.gz";
sha256 = "0zysjhr58nnmx7ba01q3zvgidkgcqxjdj4ld3gx5fc7wzvl1dm7s";
sha256 = "0v1rl126hvblajnph2hkansgi0s8vjdc5yxrm4y3faa0lxzjwr6c";
};
nativeBuildInputs = [ qmake pkgconfig ];
buildInputs = [
qtbase qtsvg poppler djvulibre libspectre cups file ghostscript
];
in
stdenv.mkDerivation {
inherit (s) name version;
mkDerivation {
pname = s.baseName;
inherit (s) version;
inherit nativeBuildInputs buildInputs;
src = fetchurl {
inherit (s) url sha256;
4 changes: 2 additions & 2 deletions pkgs/applications/misc/tzupdate/default.nix
Original file line number Diff line number Diff line change
@@ -5,11 +5,11 @@ let
in
buildPythonApplication rec {
pname = "tzupdate";
version = "1.4.0";
version = "1.5.0";

src = fetchPypi {
inherit pname version;
sha256 = "1sc3z2bx2nhnxg82x0jy19pr8lw56chbr90c2lr11w495csqwhz7";
sha256 = "13np40h64bgkcj10qw6f4nb51p47bb20fd6pzxq8xbr645a4d34m";
};

propagatedBuildInputs = [ requests ];
Loading