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: 414591344e46
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: 267c5332e734
Choose a head ref

Commits on Jan 13, 2020

  1. Verified

    This commit was signed with the committer’s verified signature. The key has expired.
    NeQuissimus Tim Steinbach
    Copy the full SHA
    d6a9898 View commit details

Commits on Jan 19, 2020

  1. nixos/buildkite-agent: add "user" option

    This allows buildkite-agent to run as another user.
    
    It'll still run builds from /var/lib/buildkite-agent and setup things in
    there.
    flokli committed Jan 19, 2020

    Verified

    This commit was signed with the committer’s verified signature. The key has expired.
    NeQuissimus Tim Steinbach
    Copy the full SHA
    8c6b1c3 View commit details

Commits on Jan 20, 2020

  1. Verified

    This commit was signed with the committer’s verified signature. The key has expired.
    NeQuissimus Tim Steinbach
    Copy the full SHA
    7838f00 View commit details
  2. nixos/buildkite-agent: add gnutar, gzip and git to runtimePackages

    These are required for nix to do builtins.fetchTarball and
    builtins.fetchGit, so most likely we want them to be around.
    flokli committed Jan 20, 2020

    Verified

    This commit was signed with the committer’s verified signature. The key has expired.
    NeQuissimus Tim Steinbach
    Copy the full SHA
    70308a7 View commit details
  3. nixosTests.buildkite: add test

    flokli committed Jan 20, 2020
    Copy the full SHA
    a208e6e View commit details
  4. nixos/buildkite: make privateSshKeyPath optional

    When only cloning public repos, or when the ssh key is provided by
    different means, we don't need to manage it here.
    flokli committed Jan 20, 2020

    Verified

    This commit was signed with the committer’s verified signature. The key has expired.
    NeQuissimus Tim Steinbach
    Copy the full SHA
    4b73d3c View commit details
  5. Merge pull request #77433 from curiousleo/patch-2

    Document how to backport a change into a release channel
    grahamc authored Jan 20, 2020

    Verified

    This commit was signed with the committer’s verified signature. The key has expired.
    NeQuissimus Tim Steinbach
    Copy the full SHA
    da9c031 View commit details
  6. Merge pull request #78045 from flokli/buildkite-agent-user-runtime-test

    nixos/buildkite: add option to configure user, add nix-required packages to runtime, add test
    zimbatm authored Jan 20, 2020

    Verified

    This commit was signed with the committer’s verified signature. The key has expired.
    NeQuissimus Tim Steinbach
    Copy the full SHA
    e20de6b View commit details
  7. onedrive: 2.3.12 -> 2.3.13

    ianmjones authored and alyssais committed Jan 20, 2020

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    96d2790 View commit details
  8. mailman: remove unused derivation for mailman 2

    This isn't referenced anywhere, so it's just dead code.
    alyssais committed Jan 20, 2020
    Copy the full SHA
    89b311f View commit details
  9. python3.pkgs.mailman: core.nix -> default.nix

    The actual upstream "mailman" name just refers to this, so we should
    use the Nixpkgs convention of default.nix.
    alyssais committed Jan 20, 2020
    Copy the full SHA
    0b9bfc0 View commit details
  10. Copy the full SHA
    38f2103 View commit details
  11. python3.pkgs.hyperkitty: use checkInputs

    The previously propagated build inputs are optional, and so are
    included in checkInputs so the tests can run, but not propagated so
    they aren't included if unneeded.
    alyssais committed Jan 20, 2020

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    6af4de8 View commit details
  12. Copy the full SHA
    9a43cdc View commit details
  13. Copy the full SHA
    aec2382 View commit details
  14. python3.pkgs.authheaders: init at 0.12.1

    This package is a dependency of GNU Mailman 3.3.x.
    
    Co-authored-by: Jonathan Ringer <jonringer117@gmail.com>
    2 people authored and alyssais committed Jan 20, 2020
    Copy the full SHA
    fed5817 View commit details
  15. python3.pkgs.mailman: 3.2.2 -> 3.3.0

    peti authored and alyssais committed Jan 20, 2020
    Copy the full SHA
    3e26640 View commit details
  16. Copy the full SHA
    126ff4d View commit details
  17. hakuneko: 5.0.8 -> 6.1.7

    nloomans authored and teto committed Jan 20, 2020
    Copy the full SHA
    79cf2c2 View commit details
  18. Copy the full SHA
    7106ae1 View commit details
  19. Copy the full SHA
    7de77b6 View commit details
  20. Copy the full SHA
    631d225 View commit details
  21. Copy the full SHA
    233c278 View commit details
  22. lilv: 0.24.4 -> 0.24.6

    magnetophon authored and teto committed Jan 20, 2020
    Copy the full SHA
    6803c95 View commit details
  23. rofi-mpd: 1.1.0 -> 2.0.0

    JakeStanger authored and teto committed Jan 20, 2020
    Copy the full SHA
    865b462 View commit details
  24. du-dust: 0.4.2 -> 0.4.4

    marsam authored and teto committed Jan 20, 2020
    Copy the full SHA
    7c2a51c View commit details
  25. Copy the full SHA
    7450bb7 View commit details
  26. Copy the full SHA
    a6ecbc4 View commit details
  27. Copy the full SHA
    bb04c6d View commit details
  28. suil: 0.10.0 -> 0.10.6

    magnetophon authored and teto committed Jan 20, 2020
    Copy the full SHA
    50c3ac2 View commit details
  29. Copy the full SHA
    bd5a596 View commit details
  30. jalv: 1.6.2 -> 1.6.4

    magnetophon authored and teto committed Jan 20, 2020
    Copy the full SHA
    267c533 View commit details
Showing with 249 additions and 189 deletions.
  1. +9 −0 .github/CONTRIBUTING.md
  2. +28 −16 nixos/modules/services/continuous-integration/buildkite-agent.nix
  3. +1 −0 nixos/tests/all-tests.nix
  4. +23 −0 nixos/tests/buildkite-agent.nix
  5. +9 −8 pkgs/applications/audio/ingen/default.nix
  6. +4 −4 pkgs/applications/audio/jalv/default.nix
  7. +3 −3 pkgs/applications/audio/rofi-mpd/default.nix
  8. +11 −19 pkgs/applications/networking/sync/onedrive/default.nix
  9. +3 −3 pkgs/applications/window-managers/i3/layout-manager.nix
  10. +6 −0 pkgs/development/compilers/ocaml/4.10.nix
  11. +2 −2 pkgs/development/libraries/audio/lilv/default.nix
  12. +0 −23 pkgs/development/libraries/audio/lv2/unstable.nix
  13. +7 −5 pkgs/development/libraries/audio/raul/default.nix
  14. +2 −2 pkgs/development/libraries/audio/suil/default.nix
  15. +7 −6 pkgs/development/libraries/ganv/default.nix
  16. +22 −0 pkgs/development/python-modules/authheaders/default.nix
  17. +2 −1 pkgs/development/python-modules/mailmanclient/default.nix
  18. +33 −0 pkgs/misc/vim-plugins/generated.nix
  19. +3 −0 pkgs/misc/vim-plugins/vim-plugin-names
  20. +0 −47 pkgs/servers/mail/mailman/core.nix
  21. +36 −21 pkgs/servers/mail/mailman/default.nix
  22. +15 −8 pkgs/servers/mail/mailman/hyperkitty.nix
  23. +7 −9 pkgs/servers/mail/mailman/postorius.nix
  24. +2 −1 pkgs/servers/mail/mailman/web.nix
  25. +3 −3 pkgs/tools/misc/dust/default.nix
  26. +3 −3 pkgs/tools/misc/hakuneko/default.nix
  27. +0 −1 pkgs/top-level/all-packages.nix
  28. +2 −0 pkgs/top-level/ocaml-packages.nix
  29. +6 −4 pkgs/top-level/python-packages.nix
9 changes: 9 additions & 0 deletions .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -48,6 +48,15 @@ In addition to writing properly formatted commit messages, it's important to inc

For package version upgrades and such a one-line commit message is usually sufficient.

## Backporting changes

To [backport a change into a release branch](https://nixos.org/nixpkgs/manual/#submitting-changes-stable-release-branches):

1. Take note of the commit in which the change was introduced into `master`.
2. Check out the target _release branch_, e.g. `release-19.09`. Do not use a _channel branch_ like `nixos-19.09` or `nixpkgs-19.09`.
3. Use `git cherry-pick -x <original commit>`.
4. Open your backport PR. Make sure to select the release branch (e.g. `release-19.09`) as the target branch of the PR, and link to the PR in which the original change was made to `master`.

## Reviewing contributions

See the nixpkgs manual for more details on how to [Review contributions](https://nixos.org/nixpkgs/manual/#chap-reviewing-contributions).
44 changes: 28 additions & 16 deletions nixos/modules/services/continuous-integration/buildkite-agent.nix
Original file line number Diff line number Diff line change
@@ -29,6 +29,8 @@ let
${concatStringsSep "\n" (mapAttrsToList mkHookEntry (filterAttrs (n: v: v != null) cfg.hooks))}
'';

defaultUser = "buildkite-agent";

in

{
@@ -50,12 +52,21 @@ in
};

runtimePackages = mkOption {
default = [ pkgs.bash pkgs.nix ];
defaultText = "[ pkgs.bash pkgs.nix ]";
default = [ pkgs.bash pkgs.gnutar pkgs.gzip pkgs.git pkgs.nix ];
defaultText = "[ pkgs.bash pkgs.gnutar pkgs.gzip pkgs.git pkgs.nix ]";
description = "Add programs to the buildkite-agent environment";
type = types.listOf types.package;
};

user = mkOption {
type = types.str;
default = defaultUser;
description = ''
Set this option when you want to run the buildkite agent as something else
than the default user "buildkite-agent".
'';
};

tokenPath = mkOption {
type = types.path;
description = ''
@@ -93,7 +104,8 @@ in
};

privateSshKeyPath = mkOption {
type = types.path;
type = types.nullOr types.path;
default = null;
## maximum care is taken so that secrets (ssh keys and the CI token)
## don't end up in the Nix store.
apply = final: if final == null then null else toString final;
@@ -185,14 +197,14 @@ in
};

config = mkIf config.services.buildkite-agent.enable {
users.users.buildkite-agent =
{ name = "buildkite-agent";
home = cfg.dataDir;
createHome = true;
description = "Buildkite agent user";
extraGroups = [ "keys" ];
isSystemUser = true;
};
users.users.buildkite-agent = mkIf (cfg.user == defaultUser) {
name = "buildkite-agent";
home = cfg.dataDir;
createHome = true;
description = "Buildkite agent user";
extraGroups = [ "keys" ];
isSystemUser = true;
};

environment.systemPackages = [ cfg.package ];

@@ -212,11 +224,11 @@ in
sshDir = "${cfg.dataDir}/.ssh";
tagStr = lib.concatStringsSep "," (lib.mapAttrsToList (name: value: "${name}=${value}") cfg.tags);
in
''
optionalString (cfg.privateSshKeyPath != null) ''
mkdir -m 0700 -p "${sshDir}"
cp -f "${toString cfg.openssh.privateKeyPath}" "${sshDir}/id_rsa"
chmod 600 "${sshDir}"/id_rsa*
cp -f "${toString cfg.privateSshKeyPath}" "${sshDir}/id_rsa"
chmod 600 "${sshDir}"/id_rsa
'' + ''
cat > "${cfg.dataDir}/buildkite-agent.cfg" <<EOF
token="$(cat ${toString cfg.tokenPath})"
name="${cfg.name}"
@@ -230,7 +242,7 @@ in

serviceConfig =
{ ExecStart = "${cfg.package}/bin/buildkite-agent start --config /var/lib/buildkite-agent/buildkite-agent.cfg";
User = "buildkite-agent";
User = cfg.user;
RestartSec = 5;
Restart = "on-failure";
TimeoutSec = 10;
1 change: 1 addition & 0 deletions nixos/tests/all-tests.nix
Original file line number Diff line number Diff line change
@@ -33,6 +33,7 @@ in
bind = handleTest ./bind.nix {};
bittorrent = handleTest ./bittorrent.nix {};
#blivet = handleTest ./blivet.nix {}; # broken since 2017-07024
buildkite-agent = handleTest ./buildkite-agent.nix {};
boot = handleTestOn ["x86_64-linux"] ./boot.nix {}; # syslinux is unsupported on aarch64
boot-stage1 = handleTest ./boot-stage1.nix {};
borgbackup = handleTest ./borgbackup.nix {};
23 changes: 23 additions & 0 deletions nixos/tests/buildkite-agent.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
import ./make-test-python.nix ({ pkgs, ... }:

{
name = "buildkite-agent";
meta = with pkgs.stdenv.lib.maintainers; {
maintainers = [ flokli ];
};

machine = { pkgs, ... }: {
services.buildkite-agent = {
enable = true;
privateSshKeyPath = (import ./ssh-keys.nix pkgs).snakeOilPrivateKey;
tokenPath = (pkgs.writeText "my-token" "5678");
};
};

testScript = ''
# we can't wait on the unit to start up, as we obviously can't connect to buildkite,
# but we can look whether files are set up correctly
machine.wait_for_file("/var/lib/buildkite-agent/buildkite-agent.cfg")
machine.wait_for_file("/var/lib/buildkite-agent/.ssh/id_rsa")
'';
})
17 changes: 9 additions & 8 deletions pkgs/applications/audio/ingen/default.nix
Original file line number Diff line number Diff line change
@@ -1,23 +1,24 @@
{ stdenv, fetchgit, boost, ganv, glibmm, gtkmm2, libjack2, lilv
, lv2Unstable, makeWrapper, pkgconfig, python, raul, rdflib, serd, sord, sratom
, lv2, makeWrapper, pkgconfig, python, raul, rdflib, serd, sord, sratom
, wafHook
, suil
}:

stdenv.mkDerivation rec {
name = "ingen-unstable-${rev}";
rev = "2017-07-22";
pname = "ingen";
version = "unstable-2019-12-09";
name = "${pname}-${version}";

src = fetchgit {
url = "https://git.drobilla.net/cgit.cgi/ingen.git";
rev = "cc4a4db33f4d126a07a4a498e053c5fb9a883be3";
sha256 = "1gmwmml486r9zq4w65v91mfaz36af9zzyjkmi74m8qmh67ffqn3w";
url = "https://gitlab.com/drobilla/ingen.git";
rev = "e32f32a360f2bf8f017ea347b6d1e568c0beaf68";
sha256 = "0wjn2i3j7jb0bmxymg079xpk4iplb91q0xqqnvnpvyldrr7gawlb";
deepClone = true;
};

nativeBuildInputs = [ pkgconfig wafHook ];
buildInputs = [
boost ganv glibmm gtkmm2 libjack2 lilv lv2Unstable makeWrapper
boost ganv glibmm gtkmm2 libjack2 lilv lv2 makeWrapper
python raul serd sord sratom suil
];

@@ -38,7 +39,7 @@ stdenv.mkDerivation rec {
meta = with stdenv.lib; {
description = "A modular audio processing system using JACK and LV2 or LADSPA plugins";
homepage = http://drobilla.net/software/ingen;
license = licenses.gpl3;
license = licenses.agpl3Plus;
maintainers = [ maintainers.goibhniu ];
platforms = platforms.linux;
};
8 changes: 4 additions & 4 deletions pkgs/applications/audio/jalv/default.nix
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
{ stdenv, fetchurl, gtk2, libjack2, lilv, lv2, pkgconfig, python
{ stdenv, fetchurl, gtk3, libjack2, lilv, lv2, pkgconfig, python
, serd, sord , sratom, suil, wafHook }:

stdenv.mkDerivation rec {
pname = "jalv";
version = "1.6.2";
version = "1.6.4";

src = fetchurl {
url = "https://download.drobilla.net/${pname}-${version}.tar.bz2";
sha256 = "13al2hb9s3m7jgbg051x704bmzmcg4wb56cfh8z588kiyh0mxpaa";
sha256 = "1wwfn7yzbs37s2rdlfjgks63svd5g14yyzd2gdl7h0z12qncwsy2";
};

nativeBuildInputs = [ pkgconfig wafHook ];
buildInputs = [
gtk2 libjack2 lilv lv2 python serd sord sratom suil
gtk3 libjack2 lilv lv2 python serd sord sratom suil
];

meta = with stdenv.lib; {
6 changes: 3 additions & 3 deletions pkgs/applications/audio/rofi-mpd/default.nix
Original file line number Diff line number Diff line change
@@ -2,16 +2,16 @@

python3Packages.buildPythonApplication rec {
pname = "rofi-mpd";
version = "1.1.0";
version = "2.0.0";

src = fetchFromGitHub {
owner = "JakeStanger";
repo = "Rofi_MPD";
rev = "v${version}";
sha256 = "0pdra1idgas3yl9z9v7b002igwg2c1mv0yw2ffb8rsbx88x4gbai";
sha256 = "0qn2jwvil5csp423r523wjbgwpb781li2bgaz1mby3prscrlz8mg";
};

propagatedBuildInputs = with python3Packages; [ mutagen mpd2 ];
propagatedBuildInputs = with python3Packages; [ mutagen mpd2 toml appdirs ];

# upstream doesn't contain a test suite
doCheck = false;
30 changes: 11 additions & 19 deletions pkgs/applications/networking/sync/onedrive/default.nix
Original file line number Diff line number Diff line change
@@ -1,35 +1,27 @@
{ stdenv
, fetchFromGitHub
, dmd
, pkgconfig
, curl
, sqlite
}:
{ stdenv, fetchFromGitHub, dmd, pkgconfig, curl, sqlite, libnotify }:

stdenv.mkDerivation rec {
pname = "onedrive";
version = "2.3.12";
version = "2.3.13";

src = fetchFromGitHub {
owner = "abraunegg";
repo = "onedrive";
repo = pname;
rev = "v${version}";
sha256 = "0605nb3blvnncjx09frg2liarrd6pw8ph5jhnh764qcx0hyxcgs6";
sha256 = "0bcsrfh1g7bdlcp0zjn6np88qzpn5frv61lzxz9b2ayxf7wyybvi";
};

nativeBuildInputs = [
dmd
pkgconfig
];
buildInputs = [
curl
sqlite
];
nativeBuildInputs = [ dmd pkgconfig ];

buildInputs = [ curl sqlite libnotify ];

configureFlags = [ "--enable-notifications" ];

meta = with stdenv.lib; {
description = "A complete tool to interact with OneDrive on Linux";
homepage = "https://github.com/abraunegg/onedrive";
license = licenses.gpl3;
maintainers = with maintainers; [ doronbehar srgom ];
maintainers = with maintainers; [ srgom ianmjones ];
platforms = platforms.linux;
};
}
6 changes: 3 additions & 3 deletions pkgs/applications/window-managers/i3/layout-manager.nix
Original file line number Diff line number Diff line change
@@ -6,13 +6,13 @@ in

stdenv.mkDerivation rec {
pname = "i3-layout-manager";
version = "unstable-2019-06-19";
version = "unstable-2019-12-06";

src = fetchFromGitHub {
owner = "klaxalk";
repo = pname;
rev = "80ade872bfd70d9c6039024097ceb8c852a2816a";
sha256 = "02xhyd737qwni628mjzr9i5v2kga5cq4k8m77bxm1p6kkj84nlmg";
rev = "064e13959413ba2d706185478a394e5852c0dc53";
sha256 = "1qm35sp1cfi3xj5j7xwa05dkb3353gwq4xh69ryc6382xx3wszg6";
};

nativeBuildInputs = [ makeWrapper ];
6 changes: 6 additions & 0 deletions pkgs/development/compilers/ocaml/4.10.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import ./generic.nix {
major_version = "4";
minor_version = "10";
patch_version = "0+beta1";
sha256 = "18jrgww98v1famb2x5jhbsnm4ngph2rvq0z4cxpqxfn06yb53jyf";
}
4 changes: 2 additions & 2 deletions pkgs/development/libraries/audio/lilv/default.nix
Original file line number Diff line number Diff line change
@@ -2,11 +2,11 @@

stdenv.mkDerivation rec {
pname = "lilv";
version = "0.24.4";
version = "0.24.6";

src = fetchurl {
url = "https://download.drobilla.net/${pname}-${version}.tar.bz2";
sha256 = "0f24cd7wkk5l969857g2ydz2kjjrkvvddg1g87xzzs78lsvq8fy3";
sha256 = "1p3hafsxgs5d4za7n66lf5nz74qssfqpmk520cm7iq2njvvlqm2z";
};

nativeBuildInputs = [ pkgconfig python3 wafHook ];
23 changes: 0 additions & 23 deletions pkgs/development/libraries/audio/lv2/unstable.nix

This file was deleted.

12 changes: 7 additions & 5 deletions pkgs/development/libraries/audio/raul/default.nix
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
{ stdenv, fetchgit, boost, gtk2, pkgconfig, python, wafHook }:

stdenv.mkDerivation rec {
name = "raul-unstable-${rev}";
rev = "2017-07-23";
pname = "raul";
version = "unstable-2019-12-09";
name = "${pname}-${version}";

src = fetchgit {
url = "http://git.drobilla.net/cgit.cgi/raul.git";
rev = "4db870b2b20b0a608ec0283139056b836c5b1624";
sha256 = "04fajrass3ymr72flx5js5vxc601ccrmx8ny8scp0rw7j0igyjdr";
url = "https://gitlab.com/drobilla/raul.git";
fetchSubmodules = true;
rev = "e87bb398f025912fb989a09f1450b838b251aea1";
sha256 = "1z37jb6ghc13b8nv8a8hcg669gl8vh4ni9djvfgga9vcz8rmcg8l";
};

nativeBuildInputs = [ pkgconfig wafHook ];
4 changes: 2 additions & 2 deletions pkgs/development/libraries/audio/suil/default.nix
Original file line number Diff line number Diff line change
@@ -9,12 +9,12 @@ assert !(withQt4 && withQt5);

stdenv.mkDerivation rec {
pname = "suil";
version = "0.10.0";
version = "0.10.6";
name = "${pname}-qt${if withQt4 then "4" else "5"}-${version}";

src = fetchurl {
url = "https://download.drobilla.net/${pname}-${version}.tar.bz2";
sha256 = "0j489gm3fhnmwmbgw30bvd4byw1vsy4yazdlnji8jzhcz0qwb5cq";
sha256 = "0z4v01pjw4wh65x38w6icn28wdwxz13ayl8hvn4p1g9kmamp1z06";
};

nativeBuildInputs = [ pkgconfig wafHook ];
13 changes: 7 additions & 6 deletions pkgs/development/libraries/ganv/default.nix
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
{ stdenv, fetchgit, graphviz, gtk2, gtkmm2, pkgconfig, python, wafHook }:

stdenv.mkDerivation rec {
name = "ganv-unstable-${rev}";
rev = "2016-10-15";
pname = "ganv";
version = "unstable-2019-12-30";

src = fetchgit {
url = "http://git.drobilla.net/cgit.cgi/ganv.git";
rev = "31685d283e9b811b61014f820c42807f4effa071";
sha256 = "0xmbykdl42jn9cgzrqrys5lng67d26nk5xq10wkkvjqldiwdck56";
url = "https://gitlab.com/drobilla/${pname}.git";
fetchSubmodules = true;
rev = "90bd022f8909f92cc5290fdcfc76c626749e1186";
sha256 = "01znnalirbqxpz62fbw2c14c8xn117jc92xv6dhb3hln92k9x37f";
};

nativeBuildInputs = [ pkgconfig wafHook ];
@@ -20,4 +21,4 @@ stdenv.mkDerivation rec {
maintainers = [ maintainers.goibhniu ];
platforms = platforms.linux;
};
}
}
Loading