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: c8dedaddd64f
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: bfb5209dc599
Choose a head ref

Commits on Jun 11, 2019

  1. nixos/gitea: utilize mysql|postgresql.ensureDatabases & ensureUsers t…

    …o provision databases
    aanderse committed Jun 11, 2019
    Copy the full SHA
    615f8b8 View commit details
  2. Copy the full SHA
    9d251d8 View commit details
  3. Copy the full SHA
    7145cf2 View commit details
  4. Copy the full SHA
    1296f69 View commit details
  5. redmine: 4.0.3 -> 4.0.4

    aanderse committed Jun 11, 2019
    Copy the full SHA
    b5ab8bc View commit details
  6. redmine: 3.4.10 -> 3.4.11

    aanderse committed Jun 11, 2019
    Copy the full SHA
    49bd881 View commit details
  7. Copy the full SHA
    a017a11 View commit details

Commits on Jun 12, 2019

  1. svgbob: init at 2018-10-05

    marsam committed Jun 12, 2019
    Copy the full SHA
    7f645e6 View commit details
  2. pythonPackages.cli-helpers: 1.2.0 -> 1.2.1 (#62989)

    Jon authored and kalbasit committed Jun 12, 2019
    Copy the full SHA
    e82f01d View commit details
  3. Copy the full SHA
    abd51d0 View commit details
  4. bazel: 0.26.0 -> 0.26.1

    kalbasit authored and Profpatsch committed Jun 12, 2019
    Copy the full SHA
    f41667a View commit details
  5. Merge pull request #63030 from taku0/flashplayer-32.0.0.207

    flashplayer: 32.0.0.192 -> 32.0.0.207 [Critical security fixes]
    fpletz authored Jun 12, 2019
    Copy the full SHA
    7bf0c39 View commit details
  6. atlassian-crowd: 3.4.4 -> 3.4.5

    ciil authored and fpletz committed Jun 12, 2019
    Copy the full SHA
    136a123 View commit details
  7. atlassian-jira: 8.1.0 -> 8.2.1

    ciil authored and fpletz committed Jun 12, 2019
    Copy the full SHA
    037dd9b View commit details
  8. Copy the full SHA
    a7ed499 View commit details
  9. linux: 4.19.49 -> 4.19.50

    NeQuissimus committed Jun 12, 2019
    Copy the full SHA
    225fc21 View commit details
  10. linux: 4.4.180 -> 4.4.181

    NeQuissimus committed Jun 12, 2019
    Copy the full SHA
    879ba01 View commit details
  11. linux: 4.9.180 -> 4.9.181

    NeQuissimus committed Jun 12, 2019
    Copy the full SHA
    498910d View commit details
  12. linux: 5.1.8 -> 5.1.9

    NeQuissimus committed Jun 12, 2019
    Copy the full SHA
    9ac7220 View commit details
  13. Copy the full SHA
    5443b3d View commit details
  14. Copy the full SHA
    eb359dd View commit details
  15. adlplug, opnplug: 1.0.0 -> 1.0.1 (#63025)

    gnidorah authored and veprbl committed Jun 12, 2019
    Copy the full SHA
    876660f View commit details
  16. Copy the full SHA
    35ee15d View commit details
  17. Copy the full SHA
    a9b033d View commit details
  18. Add Bash completions for ZFS. (#62986)

    * Add Bash completions for ZFS.
    
    * Load completions on demand only.
    caadar authored and matthewbauer committed Jun 12, 2019
    Copy the full SHA
    57301d9 View commit details
  19. zfs: fix install completions

    marsam committed Jun 12, 2019
    Copy the full SHA
    f00a9f2 View commit details
  20. Merge pull request #61923 from aanderse/gitea

    nixos/gitea: make use of declarative features where applicable
    Ma27 authored Jun 12, 2019
    Copy the full SHA
    401360e View commit details
  21. Merge pull request #63047 from marsam/fix-zfs

    zfs: fix install completions
    matthewbauer authored Jun 12, 2019
    Copy the full SHA
    a9c4486 View commit details
  22. gitlab: 11.10.4 -> 11.10.5

    mmahut authored and Ekleog committed Jun 12, 2019
    Copy the full SHA
    bf01a3b View commit details

Commits on Jun 13, 2019

  1. Merge pull request #63008 from marsam/init-svgbob

    svgbob: init at 2018-10-05
    aanderse authored Jun 13, 2019
    Copy the full SHA
    0e43c8e View commit details
  2. Merge pull request #62984 from aanderse/redmine

    redmine: 4.0.3 -> 4.0.4, 3.4.10 -> 3.4.11
    aanderse authored Jun 13, 2019
    Copy the full SHA
    291a2b0 View commit details
  3. pythonPackages.flask_script: fix hash

    the old hash was for 2.0.5, so the store path for the dist-info was:
    /nix/store/v5sgpkxpp950chzdzzj4b5yl9r0w0by7-python3.7-Flask-Script-2.0.6/lib/python3.7/site-packages/Flask_Script-2.0.5.dist-info
    ajs124 authored and worldofpeace committed Jun 13, 2019

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    760e394 View commit details
  4. Merge pull request #63036 from ajs124/flask_script_fix

    pythonPackages.flask_script: fix hash
    worldofpeace authored Jun 13, 2019

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    c3311fb View commit details
  5. Merge pull request #63002 from Gerschtli/update/flask-migrate

    pythonPackages.flask_migrate: 2.3.1 -> 2.5.2
    marsam authored Jun 13, 2019

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    bfb5209 View commit details
Showing with 297 additions and 230 deletions.
  1. +3 −3 lib/licenses.nix
  2. +50 −40 nixos/modules/services/misc/gitea.nix
  3. +2 −14 nixos/tests/gitea.nix
  4. +3 −3 pkgs/applications/audio/adlplug/default.nix
  5. +2 −2 pkgs/applications/networking/browsers/chromium/plugins.nix
  6. +5 −5 pkgs/applications/networking/browsers/mozilla-plugins/flashplayer/default.nix
  7. +3 −3 pkgs/applications/networking/browsers/mozilla-plugins/flashplayer/standalone.nix
  8. +11 −11 pkgs/applications/version-management/gitlab/data.json
  9. +1 −1 pkgs/applications/version-management/redmine/4.x/Gemfile
  10. +49 −50 pkgs/applications/version-management/redmine/4.x/Gemfile.lock
  11. +2 −2 pkgs/applications/version-management/redmine/4.x/default.nix
  12. +41 −49 pkgs/applications/version-management/redmine/4.x/gemset.nix
  13. +3 −3 pkgs/applications/version-management/redmine/Gemfile.lock
  14. +2 −2 pkgs/applications/version-management/redmine/default.nix
  15. +6 −6 pkgs/applications/version-management/redmine/gemset.nix
  16. +2 −2 pkgs/development/python-modules/cli-helpers/default.nix
  17. +4 −4 pkgs/development/python-modules/flask-migrate/default.nix
  18. +1 −1 pkgs/development/python-modules/flask-script/default.nix
  19. +6 −6 pkgs/development/tools/build-managers/bazel/default.nix
  20. +2 −2 pkgs/development/tools/continuous-integration/jenkins/default.nix
  21. +31 −1 pkgs/misc/drivers/epkowa/default.nix
  22. +2 −2 pkgs/os-specific/linux/kernel/linux-4.14.nix
  23. +2 −2 pkgs/os-specific/linux/kernel/linux-4.19.nix
  24. +2 −2 pkgs/os-specific/linux/kernel/linux-4.4.nix
  25. +2 −2 pkgs/os-specific/linux/kernel/linux-4.9.nix
  26. +2 −2 pkgs/os-specific/linux/kernel/linux-5.1.nix
  27. +3 −0 pkgs/os-specific/linux/zfs/default.nix
  28. +2 −2 pkgs/servers/atlassian/crowd.nix
  29. +2 −2 pkgs/servers/atlassian/jira.nix
  30. +3 −3 pkgs/shells/zsh/oh-my-zsh/default.nix
  31. +28 −0 pkgs/tools/graphics/svgbob/default.nix
  32. +16 −2 pkgs/tools/package-management/nix/default.nix
  33. +4 −1 pkgs/top-level/all-packages.nix
6 changes: 3 additions & 3 deletions lib/licenses.nix
Original file line number Diff line number Diff line change
@@ -457,9 +457,9 @@ lib.mapAttrs (n: v: v // { shortName = n; }) rec {
fullName = "libpng License";
};

libpng2 = {
fullName = "libpng License v2"; # 1.6.36+
url = "http://www.libpng.org/pub/png/src/libpng-LICENSE.txt";
libpng2 = spdx {
spdxId = "libpng-2.0"; # Used since libpng 1.6.36.
fullName = "PNG Reference Library version 2";
};

libtiff = spdx {
90 changes: 50 additions & 40 deletions nixos/modules/services/misc/gitea.nix
Original file line number Diff line number Diff line change
@@ -159,7 +159,8 @@ in

socket = mkOption {
type = types.nullOr types.path;
default = null;
default = if (cfg.database.createDatabase && usePostgresql) then "/run/postgresql" else if (cfg.database.createDatabase && useMysql) then "/run/mysqld/mysqld.sock" else null;
defaultText = "null";
example = "/run/mysqld/mysqld.sock";
description = "Path to the unix socket file to use for authentication.";
};
@@ -173,10 +174,7 @@ in
createDatabase = mkOption {
type = types.bool;
default = true;
description = ''
Whether to create a local postgresql database automatically.
This only applies if database type "postgres" is selected.
'';
description = "Whether to create a local database automatically.";
};
};

@@ -277,7 +275,46 @@ in
};

config = mkIf cfg.enable {
services.postgresql.enable = mkIf usePostgresql (mkDefault true);
assertions = [
{ assertion = cfg.database.createDatabase -> cfg.database.user == cfg.user;
message = "services.gitea.database.user must match services.gitea.user if the database is to be automatically provisioned";
}
];

services.postgresql = optionalAttrs (usePostgresql && cfg.database.createDatabase) {
enable = mkDefault true;

ensureDatabases = [ cfg.database.name ];
ensureUsers = [
{ name = cfg.database.user;
ensurePermissions = { "DATABASE ${cfg.database.name}" = "ALL PRIVILEGES"; };
}
];
};

services.mysql = optionalAttrs (useMysql && cfg.database.createDatabase) {
enable = mkDefault true;
package = mkDefault pkgs.mariadb;

ensureDatabases = [ cfg.database.name ];
ensureUsers = [
{ name = cfg.database.user;
ensurePermissions = { "${cfg.database.name}.*" = "ALL PRIVILEGES"; };
}
];
};

systemd.tmpfiles.rules = [
"d '${cfg.stateDir}' - ${cfg.user} gitea - -"
"d '${cfg.stateDir}/conf' - ${cfg.user} gitea - -"
"d '${cfg.stateDir}/custom/conf' - ${cfg.user} gitea - -"
"d '${cfg.repositoryRoot}' - ${cfg.user} gitea - -"
"Z '${cfg.stateDir}' - ${cfg.user} gitea - -"

# If we have a folder or symlink with gitea locales, remove it
# And symlink the current gitea locales in place
"L+ '${cfg.stateDir}/conf/locale' - - - - ${gitea.out}/locale"
];

systemd.services.gitea = {
description = "gitea";
@@ -289,12 +326,8 @@ in
runConfig = "${cfg.stateDir}/custom/conf/app.ini";
secretKey = "${cfg.stateDir}/custom/conf/secret_key";
in ''
# Make sure that the stateDir exists, as well as the conf dir in there
mkdir -p ${cfg.stateDir}/conf
# copy custom configuration and generate a random secret key if needed
${optionalString (cfg.useWizard == false) ''
mkdir -p ${cfg.stateDir}/custom/conf
cp -f ${configFile} ${runConfig}
if [ ! -e ${secretKey} ]; then
@@ -309,7 +342,6 @@ in
chmod 640 ${runConfig} ${secretKey}
''}
mkdir -p ${cfg.repositoryRoot}
# update all hooks' binary paths
HOOKS=$(find ${cfg.repositoryRoot} -mindepth 4 -maxdepth 6 -type f -wholename "*git/hooks/*")
if [ "$HOOKS" ]
@@ -319,43 +351,19 @@ in
sed -ri 's,/nix/store/[a-z0-9.-]+/bin/bash,${pkgs.bash}/bin/bash,g' $HOOKS
sed -ri 's,/nix/store/[a-z0-9.-]+/bin/perl,${pkgs.perl}/bin/perl,g' $HOOKS
fi
# If we have a folder or symlink with gitea locales, remove it
if [ -e ${cfg.stateDir}/conf/locale ]
then
rm -r ${cfg.stateDir}/conf/locale
fi
# And symlink the current gitea locales in place
ln -s ${gitea.out}/locale ${cfg.stateDir}/conf/locale
# update command option in authorized_keys
if [ -r ${cfg.stateDir}/.ssh/authorized_keys ]
then
sed -ri 's,/nix/store/[a-z0-9.-]+/bin/gitea,${gitea.bin}/bin/gitea,g' ${cfg.stateDir}/.ssh/authorized_keys
fi
'' + optionalString (usePostgresql && cfg.database.createDatabase) ''
if ! test -e "${cfg.stateDir}/db-created"; then
echo "CREATE ROLE ${cfg.database.user}
WITH ENCRYPTED PASSWORD '$(head -n1 ${cfg.database.passwordFile})'
NOCREATEDB NOCREATEROLE LOGIN" |
${pkgs.sudo}/bin/sudo -u ${pg.superUser} ${pg.package}/bin/psql
${pkgs.sudo}/bin/sudo -u ${pg.superUser} \
${pg.package}/bin/createdb \
--owner=${cfg.database.user} \
--encoding=UTF8 \
--lc-collate=C \
--lc-ctype=C \
--template=template0 \
${cfg.database.name}
touch "${cfg.stateDir}/db-created"
fi
'' + ''
chown ${cfg.user} -R ${cfg.stateDir}
'';

serviceConfig = {
Type = "simple";
User = cfg.user;
Group = "gitea";
WorkingDirectory = cfg.stateDir;
PermissionsStartOnly = true;
ExecStart = "${gitea.bin}/bin/gitea web";
Restart = "always";
};
@@ -367,15 +375,17 @@ in
};
};

users = mkIf (cfg.user == "gitea") {
users.gitea = {
users.users = mkIf (cfg.user == "gitea") {
gitea = {
description = "Gitea Service";
home = cfg.stateDir;
createHome = true;
useDefaultShell = true;
group = "gitea";
};
};

users.groups.gitea = {};

warnings = optional (cfg.database.password != "")
''config.services.gitea.database.password will be stored as plaintext
in the Nix store. Use database.passwordFile instead.'';
16 changes: 2 additions & 14 deletions nixos/tests/gitea.nix
Original file line number Diff line number Diff line change
@@ -13,18 +13,8 @@ with pkgs.lib;

machine =
{ config, pkgs, ... }:
{ services.mysql.enable = true;
services.mysql.package = pkgs.mariadb;
services.mysql.ensureDatabases = [ "gitea" ];
services.mysql.ensureUsers = [
{ name = "gitea";
ensurePermissions = { "gitea.*" = "ALL PRIVILEGES"; };
}
];

services.gitea.enable = true;
{ services.gitea.enable = true;
services.gitea.database.type = "mysql";
services.gitea.database.socket = "/run/mysqld/mysqld.sock";
};

testScript = ''
@@ -42,10 +32,8 @@ with pkgs.lib;

machine =
{ config, pkgs, ... }:
{
services.gitea.enable = true;
{ services.gitea.enable = true;
services.gitea.database.type = "postgres";
services.gitea.database.passwordFile = pkgs.writeText "db-password" "secret";
};

testScript = ''
6 changes: 3 additions & 3 deletions pkgs/applications/audio/adlplug/default.nix
Original file line number Diff line number Diff line change
@@ -5,13 +5,13 @@

stdenv.mkDerivation rec {
inherit pname;
version = "1.0.0";
version = "1.0.1";

src = fetchFromGitHub {
owner = "jpcima";
repo = "ADLplug";
rev = "v${version}";
sha256 = "1rpd7v1rx74cv7nhs70ah0bly314rjzj70cp30mvhns2hzk66s3c";
sha256 = "0n9srdlgl1j528ap5xmllrqs1w6ibc5yf9sphvl1q9kjnizxrs2c";
fetchSubmodules = true;
};

@@ -24,7 +24,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ cmake pkgconfig ];

meta = with stdenv.lib; {
description = "Synthesizer plugin for ADLMIDI and OPNMIDI (VST/LV2)";
description = "OPL3 and OPN2 FM Chip Synthesizer";
homepage = src.meta.homepage;
license = licenses.boost;
platforms = platforms.linux;
4 changes: 2 additions & 2 deletions pkgs/applications/networking/browsers/chromium/plugins.nix
Original file line number Diff line number Diff line change
@@ -100,11 +100,11 @@ let

flash = stdenv.mkDerivation rec {
name = "flashplayer-ppapi-${version}";
version = "32.0.0.192";
version = "32.0.0.207";

src = fetchzip {
url = "https://fpdownload.adobe.com/pub/flashplayer/pdc/${version}/flash_player_ppapi_linux.x86_64.tar.gz";
sha256 = "14nydiqjvr7hc4dmn900p7j7rp6prwyaf6xnki2ssbq6h1ni2lg1";
sha256 = "09bbrlnw343ygcibyjfa27r8gjdg1dcxx85d3v4v93wfi29nl789";
stripRoot = false;
};

Original file line number Diff line number Diff line change
@@ -74,7 +74,7 @@ let
in
stdenv.mkDerivation rec {
name = "flashplayer-${version}";
version = "32.0.0.192";
version = "32.0.0.207";

src = fetchurl {
url =
@@ -85,14 +85,14 @@ stdenv.mkDerivation rec {
sha256 =
if debug then
if arch == "x86_64" then
"0n5m70mz1fa5pgpz1ldqgn6bkr4in5qjn79kb85127wmg8fddbz7"
"0v5dlqaapr29qyb2pm57yafnmxdxin7shn1xqsx2sc9xwmvmaw7v"
else
"1q6pjmnw2h8k09va5x64ijmq0kmfb569rwcibwl0d8kylxi97b6v"
"0ygxcvn6srjg9clayfri86c64inwidp9qk25hbsbyr8m8gghpwqb"
else
if arch == "x86_64" then
"1h2ya3szq24dczv2izxy47kr2raiahxx7zvm49jlvlcp5cygxvjk"
"1y1c65vfsvapqsl2q6vm75m5jyksjwnfs6f6ijcpg0dmf5f4fypy"
else
"084bv0m9w1v2s4bf5rgan40l1fajwfam3njvgm47ffyg6s0kg1kh";
"1h9samf24l0ix6188p940h7l989nwkzlrvv7qdxczj3p62zzvqfy";
};

nativeBuildInputs = [ unzip ];
Original file line number Diff line number Diff line change
@@ -50,7 +50,7 @@

stdenv.mkDerivation rec {
name = "flashplayer-standalone-${version}";
version = "32.0.0.192";
version = "32.0.0.207";

src = fetchurl {
url =
@@ -60,9 +60,9 @@ stdenv.mkDerivation rec {
"https://fpdownload.macromedia.com/pub/flashplayer/updaters/32/flash_player_sa_linux.x86_64.tar.gz";
sha256 =
if debug then
"0j5rzamyajkiblalqkimx29bwm7yg9m4nj9z7z8hahcywpf81yqg"
"0z08da6xhjvsxn9xymcnpphap2h0ydj784ms1f950l84rdl4qrr4"
else
"0qnz383aggm07hbvyrnqphwhd5wp9xbairf908nk4i6ad8wg1x3r";
"0d2pxggrzamrg143bvic0qa2v70jpplnahihfa4q2rbvy0l3i2pq";
};

nativeBuildInputs = [ unzip ];
22 changes: 11 additions & 11 deletions pkgs/applications/version-management/gitlab/data.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"ce": {
"version": "11.10.4",
"repo_hash": "02rvf5ikahydswjldzg99k8han051ap7v8h9mcjgrr4xmj301hxm",
"deb_hash": "0sigpp5lhg4pl88gsgf7dq2k7mi2wgaz0vdsl25c97w1daw7a60c",
"deb_url": "https://packages.gitlab.com/gitlab/gitlab-ce/packages/debian/stretch/gitlab-ce_11.10.4-ce.0_amd64.deb/download.deb",
"version": "11.10.5",
"repo_hash": "00bkdylcnz171jf8di05ygviplqzssazrfaqpwmbqwdjab2ax4yr",
"deb_hash": "1zsg4fhpl07pz76i4yynk38xs7cp9w4jcryxk7larbr25m48q4rb",
"deb_url": "https://packages.gitlab.com/gitlab/gitlab-ce/packages/debian/stretch/gitlab-ce_11.10.5-ce.0_amd64.deb/download.deb",
"owner": "gitlab-org",
"repo": "gitlab-ce",
"rev": "v11.10.4",
"rev": "v11.10.5",
"passthru": {
"GITALY_SERVER_VERSION": "1.34.1",
"GITLAB_PAGES_VERSION": "1.5.0",
@@ -15,18 +15,18 @@
}
},
"ee": {
"version": "11.10.4",
"repo_hash": "06nf94k0ay9kmx060j387hydyf6crv0f1pjb691r3y6s713m6php",
"deb_hash": "1g0mlyzm2ikpblmy529wg6az5biiqczpr3kyp2mk4yjkdvg59jjp",
"deb_url": "https://packages.gitlab.com/gitlab/gitlab-ee/packages/debian/stretch/gitlab-ee_11.10.4-ee.0_amd64.deb/download.deb",
"version": "11.10.5",
"repo_hash": "0nla908l3513r87i3x2fa87j48wgykzpf7cqxddnahk98m0wgxvi",
"deb_hash": "02ri9b4xd77wqjnd49h5n77aylrb5xlq6xa26xn39kl326isaj41",
"deb_url": "https://packages.gitlab.com/gitlab/gitlab-ee/packages/debian/stretch/gitlab-ee_11.10.5-ee.0_amd64.deb/download.deb",
"owner": "gitlab-org",
"repo": "gitlab-ee",
"rev": "v11.10.4-ee",
"rev": "v11.10.5-ee",
"passthru": {
"GITALY_SERVER_VERSION": "1.34.1",
"GITLAB_PAGES_VERSION": "1.5.0",
"GITLAB_SHELL_VERSION": "9.0.0",
"GITLAB_WORKHORSE_VERSION": "8.5.2"
}
}
}
}
2 changes: 1 addition & 1 deletion pkgs/applications/version-management/redmine/4.x/Gemfile
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@ source 'https://rubygems.org'

gem "bundler", ">= 1.5.0"

gem "rails", "5.2.2.1"
gem "rails", "5.2.3"
gem "rouge", "~> 3.3.0"
gem "request_store", "1.0.5"
gem "mini_mime", "~> 1.0.1"
Loading