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: be707e4cc5c8
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: c6efab9b606a
Choose a head ref
  • 7 commits
  • 4 files changed
  • 5 contributors

Commits on Jun 10, 2020

  1. Copy the full SHA
    a28ef69 View commit details

Commits on Jun 20, 2020

  1. Copy the full SHA
    841ab71 View commit details
  2. tuptime: 4.1.0 -> 5.0.0

    uptimed import script removed from source ("unreliable")
    new database format, including migration script instead
    evils committed Jun 20, 2020
    Copy the full SHA
    1dca47c View commit details
  3. Copy the full SHA
    73a90b0 View commit details
  4. Copy the full SHA
    7c945cb View commit details
  5. Merge pull request #91137 from zowoq/cri-o

    cri-o: 1.18.1 -> 1.18.2
    bhipple authored Jun 20, 2020
    Copy the full SHA
    45ad5b6 View commit details
  6. Merge pull request #90049 from r-ryantm/auto-update/matterbridge

    matterbridge: 1.17.1 -> 1.17.5
    Mic92 authored Jun 20, 2020
    Copy the full SHA
    c6efab9 View commit details
9 changes: 6 additions & 3 deletions nixos/modules/services/monitoring/tuptime.nix
Original file line number Diff line number Diff line change
@@ -32,7 +32,10 @@ in {

environment.systemPackages = [ pkgs.tuptime ];

users.users.tuptime.description = "tuptime database owner";
users = {
groups._tuptime.members = [ "_tuptime" ];
users._tuptime.description = "tuptime database owner";
};

systemd = {
services = {
@@ -45,7 +48,7 @@ in {
serviceConfig = {
StateDirectory = "tuptime";
Type = "oneshot";
User = "tuptime";
User = "_tuptime";
RemainAfterExit = true;
ExecStart = "${pkgs.tuptime}/bin/tuptime -x";
ExecStop = "${pkgs.tuptime}/bin/tuptime -xg";
@@ -57,7 +60,7 @@ in {
serviceConfig = {
StateDirectory = "tuptime";
Type = "oneshot";
User = "tuptime";
User = "_tuptime";
ExecStart = "${pkgs.tuptime}/bin/tuptime -x";
};
};
4 changes: 2 additions & 2 deletions pkgs/applications/virtualization/cri-o/default.nix
Original file line number Diff line number Diff line change
@@ -14,13 +14,13 @@

buildGoModule rec {
pname = "cri-o";
version = "1.18.1";
version = "1.18.2";

src = fetchFromGitHub {
owner = "cri-o";
repo = "cri-o";
rev = "v${version}";
sha256 = "1fd7ix329kqimysqfh8yl29c0hwrddlirq9bnz95mrllhsgn8kw2";
sha256 = "0p6gprbs54v3n09fjpyfxnzxs680ms8924wdim4q9qw52wc6sbdz";
};
vendorSha256 = null;
outputs = [ "out" "man" ];
4 changes: 2 additions & 2 deletions pkgs/servers/matterbridge/default.nix
Original file line number Diff line number Diff line change
@@ -2,14 +2,14 @@

buildGoModule rec {
pname = "matterbridge";
version = "1.17.1";
version = "1.17.5";

goPackagePath = "github.com/42wim/matterbridge";
vendorSha256 = null;

src = fetchurl {
url = "https://github.com/42wim/matterbridge/archive/v${version}.tar.gz";
sha256 = "0xf0s1bvlzqnxz2kvqx1h9gmgqxdlf34s27s3zradi8fwd8hriv6";
sha256 = "1p89ik5zr1qq1abd9k1xfa4j62b11zdnl2gm52y0s5yx8slap4w0";
};

meta = with stdenv.lib; {
27 changes: 18 additions & 9 deletions pkgs/tools/system/tuptime/default.nix
Original file line number Diff line number Diff line change
@@ -1,28 +1,37 @@
{ stdenv, fetchFromGitHub, python3 }:
{ stdenv, fetchFromGitHub
, makeWrapper, installShellFiles
, python3, sqlite }:

stdenv.mkDerivation rec {
pname = "tuptime";
version = "4.1.0";
version = "5.0.0";

src = fetchFromGitHub {
owner = "rfrail3";
repo = "tuptime";
rev = version;
sha256 = "0p5v1jp6bl0hjv04q3gh11q6dx9z0x61h6svcbvwp5ni0h1bkz1a";
sha256 = "0izps85p8pxidfrzp7l4hp221fx3dcgapapsix1zavq6jrsl2qyh";
};

nativeBuildInputs = [ makeWrapper installShellFiles ];

buildInputs = [ python3 ];

outputs = [ "out" "man" ];

installPhase = ''
mkdir -p $out/bin
install -m 755 src/tuptime $out/bin/
install -m 755 $src/src/tuptime $out/bin/
mkdir -p $out/share/man/man1
cp src/man/tuptime.1 $out/share/man/man1/
installManPage $src/src/man/tuptime.1
install -Dm 0755 $src/misc/scripts/db-tuptime-migrate-4.0-to-5.0.sh \
$out/share/tuptime/db-tuptime-migrate-4.0-to-5.0.sh
'';

# upstream only ships this, there are more scripts there...
mkdir -p $out/usr/share/doc/tuptime/contrib
cp misc/scripts/uptimed-to-tuptime.py $out/usr/share/doc/tuptime/contrib/
preFixup = ''
wrapProgram $out/share/tuptime/db-tuptime-migrate-4.0-to-5.0.sh \
--prefix PATH : "${stdenv.lib.makeBinPath [ sqlite ]}"
'';

meta = with stdenv.lib; {