Skip to content
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
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 97eda5679747
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 5c92c0921abf
Choose a head ref

Commits on Oct 7, 2019

  1. appstream-glib: 0.7.15 -> 0.7.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/appstream-glib/versions
    r-ryantm committed Oct 7, 2019
    Copy the full SHA
    59b948e View commit details

Commits on Jan 30, 2020

  1. restic: add support for pruning

    jerith666 authored and Mic92 committed Jan 30, 2020

    Partially verified

    This commit is signed with the committer’s verified signature.
    Mic92’s contribution has been verified via GPG key.
    We cannot verify signatures from co-authors, and some of the co-authors attributed to this commit require their commits to be signed.
    Copy the full SHA
    c6994e9 View commit details
  2. restic: add dynamicFilesFrom

    jerith666 authored and Mic92 committed Jan 30, 2020

    Partially verified

    This commit is signed with the committer’s verified signature.
    Mic92’s contribution has been verified via GPG key.
    We cannot verify signatures from co-authors, and some of the co-authors attributed to this commit require their commits to be signed.
    Copy the full SHA
    1c9684a View commit details
  3. Verified

    This commit was signed with the committer’s verified signature.
    Mic92 Jörg Thalheim
    Copy the full SHA
    4fa2d4b View commit details

Commits on Feb 3, 2020

  1. Verified

    This commit was signed with the committer’s verified signature.
    turboMaCk Marek Fajkus
    Copy the full SHA
    d6c385d View commit details

Commits on Feb 4, 2020

  1. viking: 1.7 -> 1.8

    sikmir committed Feb 4, 2020

    Verified

    This commit was signed with the committer’s verified signature.
    sikmir Nikolay Korotkiy
    Copy the full SHA
    a1caeda View commit details
  2. Verified

    This commit was signed with the committer’s verified signature.
    primeos Michael Weiss
    Copy the full SHA
    272041b View commit details

Commits on Feb 6, 2020

  1. Verified

    This commit was signed with the committer’s verified signature. The key has expired.
    marsam Mario Rodas
    Copy the full SHA
    f3dc056 View commit details
  2. Verified

    This commit was signed with the committer’s verified signature. The key has expired.
    marsam Mario Rodas
    Copy the full SHA
    1817743 View commit details
  3. Verified

    This commit was signed with the committer’s verified signature. The key has expired.
    marsam Mario Rodas
    Copy the full SHA
    a124c94 View commit details
  4. Verified

    This commit was signed with the committer’s verified signature. The key has expired.
    marsam Mario Rodas
    Copy the full SHA
    e1168dc View commit details
  5. Copy the full SHA
    823d695 View commit details
  6. mpd-mpris: 0.2.3 -> 0.2.4

    r-ryantm committed Feb 6, 2020
    Copy the full SHA
    abef6b2 View commit details
  7. pivx: 4.0.0 -> 4.0.2

    r-ryantm committed Feb 6, 2020
    Copy the full SHA
    475c652 View commit details
  8. playerctl: 2.0.2 -> 2.1.1

    r-ryantm committed Feb 6, 2020
    Copy the full SHA
    c1b0e3e View commit details
  9. spdk: 19.10.1 -> 20.01

    r-ryantm committed Feb 6, 2020
    Copy the full SHA
    505d179 View commit details
  10. grpcurl: 1.0.0 -> 1.4.0

    bbigras committed Feb 6, 2020
    Copy the full SHA
    005c829 View commit details
  11. toot: 0.25.0 -> 0.25.2

    r-ryantm committed Feb 6, 2020
    Copy the full SHA
    29afdd8 View commit details
  12. Verified

    This commit was signed with the committer’s verified signature. The key has expired.
    Ma27 Maximilian Bosch
    Copy the full SHA
    e511b61 View commit details
  13. python3Packages.nibabel: 3.0.0 -> 3.0.1

    - this unbreaks the package due to erroring tests in 3.0.0
    - remove obsolete (mostly Python2-related) deps
    - add deps to support MINC, DICOM, and SPM formats
    - only build on x64 due to a dtype bug on Arm64
    bcdarwin authored and FRidh committed Feb 6, 2020
    Copy the full SHA
    83bdc1d View commit details
  14. pythonPackages.pydicom: 1.3.0 -> 1.4.1

    - routine update; unbreaks with Python 3.8 (not supported before 1.4.1)
    bcdarwin authored and FRidh committed Feb 6, 2020
    Copy the full SHA
    f5c1917 View commit details
  15. python3Packages.nilearn: unbreak package

    bcdarwin authored and FRidh committed Feb 6, 2020
    Copy the full SHA
    134b645 View commit details
  16. Copy the full SHA
    72e2b8e View commit details
  17. mycli: Add paramiko as a propagated build input

    Fixes error:
    
        Cannot use SSH transport because paramiko isn't installed, please
        install paramiko or don't use --ssh-host=
    wigust authored and FRidh committed Feb 6, 2020
    Copy the full SHA
    9405324 View commit details
  18. Copy the full SHA
    4fa2193 View commit details
  19. Copy the full SHA
    2c7f99a View commit details
  20. Merge pull request #70549 from r-ryantm/auto-update/appstream-glib

    appstream-glib: 0.7.15 -> 0.7.16
    worldofpeace authored Feb 6, 2020

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    11b7ef8 View commit details
  21. tiledb: 1.7.2 -> 1.7.5

    r-ryantm authored and FRidh committed Feb 6, 2020
    Copy the full SHA
    837b727 View commit details
  22. tpm2-tools: 4.1 -> 4.1.1

    r-ryantm authored and FRidh committed Feb 6, 2020
    Copy the full SHA
    346e552 View commit details
  23. thonny: 3.2.4 -> 3.2.6

    r-ryantm authored and FRidh committed Feb 6, 2020
    Copy the full SHA
    2b5bb8d View commit details
  24. rednotebook: 2.15 -> 2.16

    r-ryantm authored and FRidh committed Feb 6, 2020
    Copy the full SHA
    4a9b6ec View commit details
  25. libhandy: 0.0.12 -> 0.0.13

    r-ryantm authored and FRidh committed Feb 6, 2020
    Copy the full SHA
    0902c8c View commit details
  26. padthv1: 0.9.11 -> 0.9.12

    r-ryantm authored and FRidh committed Feb 6, 2020
    Copy the full SHA
    0db991d View commit details
  27. labelImg: 1.6.0 -> 1.8.1

    r-ryantm authored and FRidh committed Feb 6, 2020
    Copy the full SHA
    ce5b040 View commit details
  28. Verified

    This commit was signed with the committer’s verified signature.
    jtojnar Jan Tojnar
    Copy the full SHA
    742ac6c View commit details
  29. wpgtk: 6.0.11 -> 6.0.12

    r-ryantm authored and FRidh committed Feb 6, 2020
    Copy the full SHA
    9ea7d35 View commit details
  30. rambox-pro: 1.2.0 -> 1.2.2

    r-ryantm authored and FRidh committed Feb 6, 2020
    Copy the full SHA
    f07fc12 View commit details
  31. monetdb: 11.35.3 -> 11.35.9

    r-ryantm authored and FRidh committed Feb 6, 2020
    Copy the full SHA
    229b95f View commit details
  32. libsForQt5.libqglviewer: 2.7.1 -> 2.7.2

    r-ryantm authored and FRidh committed Feb 6, 2020
    Copy the full SHA
    dd2e822 View commit details
  33. ibus-engines.table: 1.9.21 -> 1.9.22

    r-ryantm authored and FRidh committed Feb 6, 2020
    Copy the full SHA
    6d4c30b View commit details
  34. jackett: 0.12.907 -> 0.12.1301

    r-ryantm authored and FRidh committed Feb 6, 2020
    Copy the full SHA
    0237993 View commit details
  35. eventstat: 0.04.07 -> 0.04.08

    r-ryantm authored and FRidh committed Feb 6, 2020
    Copy the full SHA
    4028dcf View commit details
  36. eagle: 9.5.1 -> 9.5.2

    r-ryantm authored and FRidh committed Feb 6, 2020
    Copy the full SHA
    78d6e74 View commit details
  37. clipgrab: 3.8.6 -> 3.8.7

    r-ryantm authored and FRidh committed Feb 6, 2020
    Copy the full SHA
    58bfcdd View commit details
  38. gemrb: 0.8.5 -> 0.8.6

    r-ryantm authored and FRidh committed Feb 6, 2020
    Copy the full SHA
    6721ac7 View commit details
  39. openwsman: 2.6.9 -> 2.6.11

    Semi-automatic update generated by
    https://github.com/ryantm/nixpkgs-update tools. This update was made
    based on information from
    https://repology.org/metapackage/openwsman/versions
    r-ryantm authored and FRidh committed Feb 6, 2020
    Copy the full SHA
    2275f17 View commit details
  40. samplv1: 0.9.11 -> 0.9.12

    r-ryantm authored and FRidh committed Feb 6, 2020
    Copy the full SHA
    05c439a View commit details
  41. synthv1: 0.9.11 -> 0.9.12

    r-ryantm authored and FRidh committed Feb 6, 2020
    Copy the full SHA
    cba5492 View commit details
  42. cargo-edit: 0.4.2 -> 0.5.0

    sondr3 committed Feb 6, 2020

    Verified

    This commit was signed with the committer’s verified signature.
    sondr3 Sondre Aasemoen
    Copy the full SHA
    1be0698 View commit details
  43. Merge pull request #79369 from Ma27/update-strace

    strace: 5.4 -> 5.5
    Ma27 authored Feb 6, 2020

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    2de41cc View commit details
Showing with 5,873 additions and 5,333 deletions.
  1. +6 −2 nixos/modules/programs/tmux.nix
  2. +50 −6 nixos/modules/services/backup/restic.nix
  3. +4 −1 nixos/modules/services/hardware/fwupd.nix
  4. +8 −3 nixos/modules/services/x11/desktop-managers/xfce.nix
  5. +1 −0 nixos/tests/all-tests.nix
  6. +2 −2 nixos/tests/installed-tests/fwupd.nix
  7. +63 −0 nixos/tests/restic.nix
  8. +2 −2 pkgs/applications/audio/gpodder/default.nix
  9. +2 −2 pkgs/applications/audio/padthv1/default.nix
  10. +2 −2 pkgs/applications/audio/samplv1/default.nix
  11. +2 −2 pkgs/applications/audio/synthv1/default.nix
  12. +2 −2 pkgs/applications/blockchains/bitcoin-abc.nix
  13. +2 −2 pkgs/applications/blockchains/pivx.nix
  14. +2 −2 pkgs/applications/editors/rednotebook/default.nix
  15. +2 −2 pkgs/applications/editors/thonny/default.nix
  16. +2 −2 pkgs/applications/graphics/drawio/default.nix
  17. +4 −4 pkgs/applications/graphics/tev/default.nix
  18. +2 −2 pkgs/applications/misc/toot/default.nix
  19. +33 −10 pkgs/applications/misc/viking/default.nix
  20. +2 −2 pkgs/applications/misc/xmrig/default.nix
  21. +9 −9 pkgs/applications/networking/browsers/chromium/upstream-info.nix
  22. +2 −2 pkgs/applications/networking/instant-messengers/rambox/pro.nix
  23. +2 −2 pkgs/applications/networking/mailreaders/notmuch/default.nix
  24. +2 −2 pkgs/applications/science/electronics/eagle/eagle.nix
  25. +2 −2 pkgs/applications/science/machine-learning/labelimg/default.nix
  26. +3 −3 pkgs/applications/version-management/git-and-tools/delta/default.nix
  27. +2 −2 pkgs/applications/version-management/git-repo/default.nix
  28. +2 −2 pkgs/applications/video/clipgrab/default.nix
  29. +3 −3 pkgs/applications/virtualization/docker-compose/default.nix
  30. +9 −1 pkgs/desktops/gnome-3/core/gnome-dictionary/default.nix
  31. +3 −19 pkgs/desktops/xfce/core/xfce4-session/default.nix
  32. +156 −192 pkgs/development/compilers/elm/packages/node-packages.nix
  33. +4 −0 pkgs/development/coq-modules/bignums/default.nix
  34. +1 −1 pkgs/development/haskell-modules/configuration-common.nix
  35. +2 −2 pkgs/development/interpreters/janet/default.nix
  36. +2 −2 pkgs/development/libraries/appstream-glib/default.nix
  37. +2 −2 pkgs/development/libraries/libhandy/default.nix
  38. +2 −2 pkgs/development/libraries/libqglviewer/default.nix
  39. +0 −8 pkgs/development/libraries/libxkbcommon/default.nix
  40. +16 −8 pkgs/development/libraries/mypaint-brushes/default.nix
  41. +2 −2 pkgs/development/libraries/openwsman/default.nix
  42. +2 −2 pkgs/development/libraries/spdk/default.nix
  43. +2 −2 pkgs/development/libraries/tiledb/default.nix
  44. +4,649 −4,652 pkgs/development/node-packages/node-packages-v10.nix
  45. +23 −23 pkgs/development/node-packages/node-packages-v12.nix
  46. +45 −45 pkgs/development/node-packages/node-packages-v13.nix
  47. +2 −2 pkgs/development/python-modules/alot/default.nix
  48. +4 −4 pkgs/development/python-modules/asyncssh/fix-sftp-chmod-test-nixos.patch
  49. +2 −2 pkgs/development/python-modules/django/1_11.nix
  50. +2 −2 pkgs/development/python-modules/django/2_2.nix
  51. +9 −11 pkgs/development/python-modules/nibabel/default.nix
  52. +11 −6 pkgs/development/python-modules/nilearn/default.nix
  53. +2 −2 pkgs/development/python-modules/pychromecast/default.nix
  54. +2 −2 pkgs/development/python-modules/pydicom/default.nix
  55. +5 −0 pkgs/development/r-modules/default.nix
  56. +2 −2 pkgs/development/tools/analysis/flow/default.nix
  57. +2 −2 pkgs/development/tools/cmake-format/default.nix
  58. +2 −2 pkgs/development/tools/jtc/default.nix
  59. +2 −2 pkgs/development/tools/misc/strace/default.nix
  60. +3 −2 pkgs/development/tools/ocaml/dune/2.nix
  61. +19 −29 pkgs/development/tools/rust/cargo-make/Cargo.lock
  62. +3 −3 pkgs/development/tools/rust/cargo-make/default.nix
  63. +4 −4 pkgs/development/tools/yq-go/default.nix
  64. +324 −18 pkgs/development/tools/yq-go/deps.nix
  65. +2 −2 pkgs/development/web/nodejs/v10.nix
  66. +2 −2 pkgs/development/web/nodejs/v12.nix
  67. +2 −2 pkgs/development/web/nodejs/v13.nix
  68. +2 −2 pkgs/games/gemrb/default.nix
  69. +7 −0 pkgs/misc/gnash/default.nix
  70. +2 −2 pkgs/os-specific/linux/eventstat/default.nix
  71. +21 −2 pkgs/os-specific/linux/firmware/fwupd/default.nix
  72. +37 −0 pkgs/os-specific/linux/firmware/fwupd/install-fwupdplugin-to-out.patch
  73. +2 −2 pkgs/servers/atlassian/confluence.nix
  74. +2 −2 pkgs/servers/jackett/default.nix
  75. +4 −4 pkgs/servers/monitoring/grafana/default.nix
  76. +2 −8 pkgs/servers/monitoring/prometheus/default.nix
  77. +4 −4 pkgs/servers/monitoring/prometheus/webui-yarndeps.nix
  78. +2 −2 pkgs/servers/sql/monetdb/default.nix
  79. +2 −2 pkgs/tools/X11/wpgtk/default.nix
  80. +1 −1 pkgs/tools/admin/mycli/default.nix
  81. +2 −2 pkgs/tools/audio/mpd-mpris/default.nix
  82. +2 −2 pkgs/tools/audio/playerctl/default.nix
  83. +3 −1 pkgs/tools/backup/restic/default.nix
  84. +2 −2 pkgs/tools/graphics/vips/default.nix
  85. +2 −2 pkgs/tools/inputmethods/ibus-engines/ibus-table/default.nix
  86. +2 −2 pkgs/tools/misc/bash_unit/default.nix
  87. +2 −2 pkgs/tools/misc/topgrade/default.nix
  88. +2 −2 pkgs/tools/networking/dnscrypt-proxy2/default.nix
  89. +2 −2 pkgs/tools/networking/frp/default.nix
  90. +4 −6 pkgs/tools/networking/grpcurl/default.nix
  91. +0 −57 pkgs/tools/networking/grpcurl/deps-darwin.nix
  92. +0 −66 pkgs/tools/networking/grpcurl/deps-linux.nix
  93. +183 −0 pkgs/tools/networking/grpcurl/deps.nix
  94. +0 −2 pkgs/tools/networking/wireguard-tools/default.nix
  95. +3 −3 pkgs/tools/package-management/cargo-edit/default.nix
  96. +2 −2 pkgs/tools/security/chrome-token-signing/default.nix
  97. +2 −2 pkgs/tools/security/tpm2-tools/default.nix
  98. +2 −2 pkgs/tools/system/jump/default.nix
  99. +5 −0 pkgs/tools/system/rsyslog/default.nix
  100. +4 −4 pkgs/tools/video/rav1e/default.nix
  101. +15 −0 pkgs/top-level/perl-packages.nix
8 changes: 6 additions & 2 deletions nixos/modules/programs/tmux.nix
Original file line number Diff line number Diff line change
@@ -52,7 +52,7 @@ let
set -s escape-time ${toString cfg.escapeTime}
set -g history-limit ${toString cfg.historyLimit}
${cfg.extraTmuxConf}
${cfg.extraConfig}
'';

in {
@@ -102,7 +102,7 @@ in {
description = "Time in milliseconds for which tmux waits after an escape is input.";
};

extraTmuxConf = mkOption {
extraConfig = mkOption {
default = "";
description = ''
Additional contents of /etc/tmux.conf
@@ -181,4 +181,8 @@ in {
};
};
};

imports = [
(lib.mkRenamedOptionModule [ "programs" "tmux" "extraTmuxConf" ] [ "programs" "tmux" "extraConfig" ])
];
}
56 changes: 50 additions & 6 deletions nixos/modules/services/backup/restic.nix
Original file line number Diff line number Diff line change
@@ -103,6 +103,34 @@ in
Create the repository if it doesn't exist.
'';
};

pruneOpts = mkOption {
type = types.listOf types.str;
default = [];
description = ''
A list of options (--keep-* et al.) for 'restic forget
--prune', to automatically prune old snapshots. The
'forget' command is run *after* the 'backup' command, so
keep that in mind when constructing the --keep-* options.
'';
example = [
"--keep-daily 7"
"--keep-weekly 5"
"--keep-monthly 12"
"--keep-yearly 75"
];
};

dynamicFilesFrom = mkOption {
type = with types; nullOr str;
default = null;
description = ''
A script that produces a list of files to back up. The
results of this command are given to the '--files-from'
option.
'';
example = "find /home/matt/git -type d -name .git";
};
};
}));
default = {};
@@ -134,25 +162,41 @@ in
let
extraOptions = concatMapStrings (arg: " -o ${arg}") backup.extraOptions;
resticCmd = "${pkgs.restic}/bin/restic${extraOptions}";
filesFromTmpFile = "/run/restic-backups-${name}/includes";
backupPaths = if (backup.dynamicFilesFrom == null)
then concatStringsSep " " backup.paths
else "--files-from ${filesFromTmpFile}";
pruneCmd = optionals (builtins.length backup.pruneOpts > 0) [
( resticCmd + " forget --prune " + (concatStringsSep " " backup.pruneOpts) )
( resticCmd + " check" )
];
in nameValuePair "restic-backups-${name}" ({
environment = {
RESTIC_PASSWORD_FILE = backup.passwordFile;
RESTIC_REPOSITORY = backup.repository;
};
path = with pkgs; [
openssh
];
path = [ pkgs.openssh ];
restartIfChanged = false;
serviceConfig = {
Type = "oneshot";
ExecStart = "${resticCmd} backup ${concatStringsSep " " backup.extraBackupArgs} ${concatStringsSep " " backup.paths}";
ExecStart = [ "${resticCmd} backup ${concatStringsSep " " backup.extraBackupArgs} ${backupPaths}" ] ++ pruneCmd;
User = backup.user;
RuntimeDirectory = "restic-backups-${name}";
} // optionalAttrs (backup.s3CredentialsFile != null) {
EnvironmentFile = backup.s3CredentialsFile;
};
} // optionalAttrs backup.initialize {
} // optionalAttrs (backup.initialize || backup.dynamicFilesFrom != null) {
preStart = ''
${resticCmd} snapshots || ${resticCmd} init
${optionalString (backup.initialize) ''
${resticCmd} snapshots || ${resticCmd} init
''}
${optionalString (backup.dynamicFilesFrom != null) ''
${pkgs.writeScript "dynamicFilesFromScript" backup.dynamicFilesFrom} > ${filesFromTmpFile}
''}
'';
} // optionalAttrs (backup.dynamicFilesFrom != null) {
postStart = ''
rm ${filesFromTmpFile}
'';
})
) config.services.restic.backups;
5 changes: 4 additions & 1 deletion nixos/modules/services/hardware/fwupd.nix
Original file line number Diff line number Diff line change
@@ -53,7 +53,7 @@ in {

blacklistPlugins = mkOption {
type = types.listOf types.str;
default = [ "test" ];
default = [];
example = [ "udev" ];
description = ''
Allow blacklisting specific plugins
@@ -91,6 +91,9 @@ in {

###### implementation
config = mkIf cfg.enable {
# Disable test related plug-ins implicitly so that users do not have to care about them.
services.fwupd.blacklistPlugins = cfg.package.defaultBlacklistedPlugins;

environment.systemPackages = [ cfg.package ];

environment.etc = {
11 changes: 8 additions & 3 deletions nixos/modules/services/x11/desktop-managers/xfce.nix
Original file line number Diff line number Diff line change
@@ -127,9 +127,14 @@ in
"/share/gtksourceview-4.0"
];

services.xserver.displayManager.sessionPackages = [
pkgs.xfce.xfce4-session
];
services.xserver.desktopManager.session = [{
name = "xfce";
bgSupport = true;
start = ''
${pkgs.runtimeShell} ${pkgs.xfce.xfce4-session.xinitrc} &
waitPID=$!
'';
}];

services.xserver.updateDbusEnvironment = true;
services.xserver.gdk-pixbuf.modulePackages = [ pkgs.librsvg ];
1 change: 1 addition & 0 deletions nixos/tests/all-tests.nix
Original file line number Diff line number Diff line change
@@ -248,6 +248,7 @@ in
radicale = handleTest ./radicale.nix {};
redis = handleTest ./redis.nix {};
redmine = handleTest ./redmine.nix {};
restic = handleTest ./restic.nix {};
roundcube = handleTest ./roundcube.nix {};
rspamd = handleTest ./rspamd.nix {};
rss2email = handleTest ./rss2email.nix {};
4 changes: 2 additions & 2 deletions nixos/tests/installed-tests/fwupd.nix
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{ pkgs, makeInstalledTest, ... }:
{ pkgs, lib, makeInstalledTest, ... }:

makeInstalledTest {
tested = pkgs.fwupd;

testConfig = {
services.fwupd.enable = true;
services.fwupd.blacklistPlugins = []; # don't blacklist test plugin
services.fwupd.blacklistPlugins = lib.mkForce []; # don't blacklist test plugin
services.fwupd.enableTestRemote = true;
virtualisation.memorySize = 768;
};
63 changes: 63 additions & 0 deletions nixos/tests/restic.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
import ./make-test-python.nix (
{ pkgs, ... }:

let
password = "some_password";
repository = "/tmp/restic-backup";
passwordFile = pkgs.writeText "password" "correcthorsebatterystaple";
in
{
name = "restic";

meta = with pkgs.stdenv.lib.maintainers; {
maintainers = [ bbigras ];
};

nodes = {
server =
{ ... }:
{
services.restic.backups = {
remotebackup = {
inherit repository;
passwordFile = "${passwordFile}";
initialize = true;
paths = [ "/opt" ];
pruneOpts = [
"--keep-daily 2"
"--keep-weekly 1"
"--keep-monthly 1"
"--keep-yearly 99"
];
};
};
};
};

testScript = ''
server.start()
server.wait_for_unit("dbus.socket")
server.fail(
"${pkgs.restic}/bin/restic -r ${repository} -p ${passwordFile} snapshots"
)
server.succeed(
"mkdir -p /opt",
"touch /opt/some_file",
"timedatectl set-time '2016-12-13 13:45'",
"systemctl start restic-backups-remotebackup.service",
'${pkgs.restic}/bin/restic -r ${repository} -p ${passwordFile} snapshots -c | grep -e "^1 snapshot"',
"timedatectl set-time '2017-12-13 13:45'",
"systemctl start restic-backups-remotebackup.service",
"timedatectl set-time '2018-12-13 13:45'",
"systemctl start restic-backups-remotebackup.service",
"timedatectl set-time '2018-12-14 13:45'",
"systemctl start restic-backups-remotebackup.service",
"timedatectl set-time '2018-12-15 13:45'",
"systemctl start restic-backups-remotebackup.service",
"timedatectl set-time '2018-12-16 13:45'",
"systemctl start restic-backups-remotebackup.service",
'${pkgs.restic}/bin/restic -r ${repository} -p ${passwordFile} snapshots -c | grep -e "^4 snapshot"',
)
'';
}
)
4 changes: 2 additions & 2 deletions pkgs/applications/audio/gpodder/default.nix
Original file line number Diff line number Diff line change
@@ -5,14 +5,14 @@

python3Packages.buildPythonApplication rec {
pname = "gpodder";
version = "3.10.12";
version = "3.10.13";
format = "other";

src = fetchFromGitHub {
owner = pname;
repo = pname;
rev = version;
sha256 = "0q95am079gg01dkivr972mm2k87y8z296a9yf7amzsf9hxfycdra";
sha256 = "1h542syaxsx1hslfzlk3fx1nbp190zjw35kigw7a1kx1jwvfwapg";
};

patches = [
4 changes: 2 additions & 2 deletions pkgs/applications/audio/padthv1/default.nix
Original file line number Diff line number Diff line change
@@ -2,11 +2,11 @@

mkDerivation rec {
pname = "padthv1";
version = "0.9.11";
version = "0.9.12";

src = fetchurl {
url = "mirror://sourceforge/padthv1/${pname}-${version}.tar.gz";
sha256 = "02yfwyirjqxa075yqdnci9b9k57kdmkjvn9gnpdbnjp887pds76g";
sha256 = "1zz3rz990k819q0rlzllqdwvag0x9k63443lb0mp8lwlczxnza6l";
};

buildInputs = [ libjack2 alsaLib libsndfile liblo lv2 qt5.qtbase qt5.qttools fftw ];
4 changes: 2 additions & 2 deletions pkgs/applications/audio/samplv1/default.nix
Original file line number Diff line number Diff line change
@@ -2,11 +2,11 @@

stdenv.mkDerivation rec {
pname = "samplv1";
version = "0.9.11";
version = "0.9.12";

src = fetchurl {
url = "mirror://sourceforge/samplv1/${pname}-${version}.tar.gz";
sha256 = "17zs8kvvwqv00bm4lxpn09a5hxjlbz7k5mkl3k7jspw7rqn3djf2";
sha256 = "0xzjxiqzcf1ygabrjsy0iachhnpy85rp9519fmj2f568r6ml6hzg";
};

buildInputs = [ libjack2 alsaLib liblo libsndfile lv2 qt5.qtbase qt5.qttools];
4 changes: 2 additions & 2 deletions pkgs/applications/audio/synthv1/default.nix
Original file line number Diff line number Diff line change
@@ -2,11 +2,11 @@

mkDerivation rec {
pname = "synthv1";
version = "0.9.11";
version = "0.9.12";

src = fetchurl {
url = "mirror://sourceforge/synthv1/${pname}-${version}.tar.gz";
sha256 = "116k2vca9dygvsd684wvxm61p0l1xrrgdph4qrrprlsr6vj0llgm";
sha256 = "1amxrl1cqwgncw5437r572frgf6xhss3cfpbgh178i8phlq1q731";
};

buildInputs = [ qtbase qttools libjack2 alsaLib liblo lv2 ];
4 changes: 2 additions & 2 deletions pkgs/applications/blockchains/bitcoin-abc.nix
Original file line number Diff line number Diff line change
@@ -7,13 +7,13 @@ with stdenv.lib;
mkDerivation rec {

name = "bitcoin" + (toString (optional (!withGui) "d")) + "-abc-" + version;
version = "0.20.9";
version = "0.20.12";

src = fetchFromGitHub {
owner = "bitcoin-ABC";
repo = "bitcoin-abc";
rev = "v${version}";
sha256 = "1dmk7vm4r9n0yia8dazlx4fmr8i1r8cz8p1pj11glpa3pwda3669";
sha256 = "0ar3syrz7psf83bh24hn2y0mxjgn7cjqk2h8q4cgdp7mq55v8ynj";
};

patches = [ ./fix-bitcoin-qt-build.patch ];
4 changes: 2 additions & 2 deletions pkgs/applications/blockchains/pivx.nix
Original file line number Diff line number Diff line change
@@ -10,13 +10,13 @@
with stdenv.lib;
stdenv.mkDerivation rec {
name = "pivx-${version}";
version = "4.0.0";
version = "4.0.2";

src = fetchFromGitHub {
owner = "PIVX-Project";
repo= "PIVX";
rev = "v${version}";
sha256 = "0m85nc7c8cppdysqz4m12rgmzacrcbwnvf7wy90wzfvfr3xkbapd";
sha256 = "12lnp318k8dx1sar24zfmv2imnzs30srssnlpb31y7hcxhz0wpc5";
};

nativeBuildInputs = [ pkgconfig autoreconfHook ] ++ optionals withGui [ wrapQtAppsHook ];
4 changes: 2 additions & 2 deletions pkgs/applications/editors/rednotebook/default.nix
Original file line number Diff line number Diff line change
@@ -5,13 +5,13 @@

buildPythonApplication rec {
pname = "rednotebook";
version = "2.15";
version = "2.16";

src = fetchFromGitHub {
owner = "jendrikseipp";
repo = "rednotebook";
rev = "v${version}";
sha256 = "1p43xncqb898rgfx4vv1nxy6dj57pvxpc0b5j3kgs58ir70rg1js";
sha256 = "1cziac9pmhpxvs8qg54wbckzgjpplqb55hykg5vdwdqqs7j054aj";
};

# We have not packaged tests.
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.2.4";
version = "3.2.6";

src = fetchFromGitHub {
owner = pname;
repo = pname;
rev = "v${version}";
sha256 = "1hfpjw4fac0kq3n9jqwfzbys6h35qjbh5rpc4jzhlln200h6zvwj";
sha256 = "19krnxpp3i1n65zafazvdm9mvnjry5rml0y9imj4365q4bkj20g2";
};

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

stdenv.mkDerivation rec {
pname = "drawio";
version = "12.5.3";
version = "12.6.5";

src = fetchurl {
url = "https://github.com/jgraph/drawio-desktop/releases/download/v${version}/draw.io-x86_64-${version}.rpm";
sha256 = "048lksq2akkyi5jg1fiz455n2nv6w58kv8xb9y41qms5dshpww2q";
sha256 = "14x4h680q3w9wsdmivy2k1bggb09vdm3a3wrpfwd79dbaagjk4lc";
};

nativeBuildInputs = [
8 changes: 4 additions & 4 deletions pkgs/applications/graphics/tev/default.nix
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
{ stdenv, fetchFromGitHub
, cmake, wrapGAppsHook
, libX11, xorg, libzip, glfw, gnome3
, libX11, libzip, glfw, libpng, xorg, gnome3
}:

stdenv.mkDerivation rec {
pname = "tev";
version = "1.13";
version = "1.14";

src = fetchFromGitHub {
owner = "Tom94";
repo = pname;
rev = "v${version}";
fetchSubmodules = true;
sha256 = "0c8md6yv1q449aszs05xfby6a2aiw8pac7x0zs169i5mpqrrbfa9";
sha256 = "1g86wl0sdn0wprfxff2q1yc1hiq9fndmzhyvj09cw51lzbab5faw";
};

nativeBuildInputs = [ cmake wrapGAppsHook ];
buildInputs = [ libX11 libzip glfw ]
buildInputs = [ libX11 libzip glfw libpng ]
++ (with xorg; [ libXrandr libXinerama libXcursor libXi libXxf86vm ]);

dontWrapGApps = true; # We also need zenity (see below)
Loading