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: d3a41f3c23b5
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: d5c13032d6a3
Choose a head ref

Commits on Apr 16, 2020

  1. ephemeralpg: 2.9 -> 3.0

    r-ryantm committed Apr 16, 2020
    Copy the full SHA
    a084a2c View commit details

Commits on Apr 17, 2020

  1. nixos/httpd: Use extensions from php package

    After the recent rewrite, enabled extensions are passed to php programs
    through an extra ini file by a wrapper. Since httpd uses shared module
    instead of program, the wrapper did not affect it and no extensions
    other than built-ins were loaded.
    
    To fix this, we are passing the extension config another way – by adding it
    to the service's generated config.
    
    For now we are hardcoding the path to the ini file. It would be nice to add
    the path to the passthru and use that once the PHP expression settles down.
    jtojnar committed Apr 17, 2020
    Copy the full SHA
    c214e63 View commit details
  2. nixosTests.php.httpd: init

    jtojnar committed Apr 17, 2020
    Copy the full SHA
    aac9832 View commit details
  3. nixosTests.php.pcre: Clean up

    And add assertion messages
    jtojnar committed Apr 17, 2020
    Copy the full SHA
    b69556c View commit details
  4. Copy the full SHA
    23a6903 View commit details
  5. nixos/httpd: remove unnecessary override

    This was introduced in NixOS/nixpkgs@c801cd1
    but it no longer seems necessary.
    jtojnar committed Apr 17, 2020
    Copy the full SHA
    4816b42 View commit details

Commits on Apr 19, 2020

  1. uboot: 2020.01 -> 2020.04

    prusnak committed Apr 19, 2020
    Copy the full SHA
    1b9ff92 View commit details

Commits on Apr 20, 2020

  1. icu65: init at 65.1

    marsam committed Apr 20, 2020
    Copy the full SHA
    c5bcdbf View commit details
  2. icu66: init at 66.1

    marsam committed Apr 20, 2020
    Copy the full SHA
    172746d View commit details

Commits on Apr 21, 2020

  1. oil: 0.7.0 -> 0.8.pre4

    dywedir committed Apr 21, 2020
    Copy the full SHA
    0226fe8 View commit details
  2. shopify-themekit: init at 1.0.3

    1000101 committed Apr 21, 2020
    Copy the full SHA
    803ff6e View commit details
  3. pwsafe 1.09.0 -> 3.52.0

    chrbauer committed Apr 21, 2020
    Copy the full SHA
    dd4b089 View commit details
  4. Copy the full SHA
    a2df977 View commit details

Commits on Apr 22, 2020

  1. Copy the full SHA
    b231ac2 View commit details
  2. pythonPackages.pylatexenc: 2.1 -> 2.2

    drewrisinger authored and Jon committed Apr 22, 2020
    Copy the full SHA
    512a85d View commit details
  3. Merge pull request #85569 from prusnak/uboot

    uboot: 2020.01 -> 2020.04
    samueldr authored Apr 22, 2020
    Copy the full SHA
    53129a7 View commit details
  4. Copy the full SHA
    513e133 View commit details
  5. Copy the full SHA
    a2e3fc3 View commit details
  6. Copy the full SHA
    59219a1 View commit details
  7. Copy the full SHA
    92bc6e3 View commit details
  8. Copy the full SHA
    480ed5f View commit details
  9. Copy the full SHA
    14c9451 View commit details
  10. Copy the full SHA
    2ad4e21 View commit details
  11. tre-command: 0.2.2 -> 0.2.3

    dduan authored and FRidh committed Apr 22, 2020
    Copy the full SHA
    16041e6 View commit details
  12. Copy the full SHA
    e7b9fc4 View commit details
  13. nixosTests.redmine: Port to python

    Jacek Galowicz committed Apr 22, 2020
    Copy the full SHA
    0b1bef7 View commit details
  14. Merge pull request #85677 from dywedir/oil

    oil: 0.7.0 -> 0.8.pre4
    lheckemann authored Apr 22, 2020
    Copy the full SHA
    539fb74 View commit details
  15. i3: 4.18 → 4.18.1

    This is a bugfix release for v4.18.
    
      • Move parent nodes in scratchpad correctly
      • i3bar: Call cont_child() more liberally
      • Fix load_layout crash when floating node doesn't have CT_FLOATING_CON parent
      • Fix SEGFAULT when i3bar receives invalid input
      • Revert "floating_reposition: avoid extra tree_render"
      • Call tree_render if floating move changes workspace
      • Update EWMH properties on workspace move
      • cmd_focus_sibling: Fix crash on workspace level
    
    https://i3wm.org/downloads/RELEASE-NOTES-4.18.1.txt
    mweinelt committed Apr 22, 2020
    Copy the full SHA
    66a9469 View commit details
  16. Merge pull request #85749 from mweinelt/i3/4.18.1

    i3: 4.18 → 4.18.1
    domenkozar authored Apr 22, 2020
    Copy the full SHA
    3754cd4 View commit details
  17. Merge pull request #85729 from primeos/chromium

    chromium: 81.0.4044.113 -> 81.0.4044.122
    domenkozar authored Apr 22, 2020
    Copy the full SHA
    d9da7f7 View commit details
  18. Merge pull request #85747 from tfc/port-redmine-test

    nixosTests.redmine: Port to python
    domenkozar authored Apr 22, 2020
    Copy the full SHA
    ef9506d View commit details
  19. Merge pull request #85383 from r-ryantm/auto-update/ephemeralpg

    ephemeralpg: 2.9 -> 3.0
    hrdinka authored Apr 22, 2020
    Copy the full SHA
    1137e71 View commit details
  20. Copy the full SHA
    602350a View commit details
  21. Merge pull request #85743 from marsam/update-icu

    icu: init 65.1, 66.1
    7c6f434c authored Apr 22, 2020
    Copy the full SHA
    19bbaca View commit details
  22. Merge pull request #85688 from 1000101/shopify_themekit

    shopify-themekit: init at 1.0.3
    mmahut authored Apr 22, 2020
    Copy the full SHA
    d5c1303 View commit details
3 changes: 2 additions & 1 deletion nixos/modules/services/web-servers/apache-httpd/default.nix
Original file line number Diff line number Diff line change
@@ -12,7 +12,7 @@ let

httpdConf = cfg.configFile;

php = cfg.phpPackage.override { apacheHttpd = pkg.dev; /* otherwise it only gets .out */ };
php = cfg.phpPackage.override { apacheHttpd = pkg; };

phpMajorVersion = lib.versions.major (lib.getVersion php);

@@ -338,6 +338,7 @@ let
}
''
cat ${php}/etc/php.ini > $out
cat ${php}/lib/custom-php.ini > $out
echo "$options" >> $out
'';

1 change: 1 addition & 0 deletions nixos/release-combined.nix
Original file line number Diff line number Diff line change
@@ -115,6 +115,7 @@ in rec {
(onFullSupported "nixos.tests.openssh")
(onFullSupported "nixos.tests.pantheon")
(onFullSupported "nixos.tests.php.fpm")
(onFullSupported "nixos.tests.php.httpd")
(onFullSupported "nixos.tests.php.pcre")
(onFullSupported "nixos.tests.plasma5")
(onFullSupported "nixos.tests.predictable-interface-names.predictableNetworkd")
1 change: 1 addition & 0 deletions nixos/tests/php/default.nix
Original file line number Diff line number Diff line change
@@ -3,5 +3,6 @@
pkgs ? import ../../.. { inherit system config; }
}: {
fpm = import ./fpm.nix { inherit system pkgs; };
httpd = import ./httpd.nix { inherit system pkgs; };
pcre = import ./pcre.nix { inherit system pkgs; };
}
10 changes: 4 additions & 6 deletions nixos/tests/php/fpm.nix
Original file line number Diff line number Diff line change
@@ -43,13 +43,11 @@ import ../make-test-python.nix ({pkgs, ...}: {
machine.wait_for_unit("phpfpm-foobar.service")
# Check so we get an evaluated PHP back
assert "PHP Version ${pkgs.php.version}" in machine.succeed("curl -vvv -s http://127.0.0.1:80/")
response = machine.succeed("curl -vvv -s http://127.0.0.1:80/")
assert "PHP Version ${pkgs.php.version}" in response, "PHP version not detected"
# Check so we have database and some other extensions loaded
assert "json" in machine.succeed("curl -vvv -s http://127.0.0.1:80/")
assert "opcache" in machine.succeed("curl -vvv -s http://127.0.0.1:80/")
assert "pdo_mysql" in machine.succeed("curl -vvv -s http://127.0.0.1:80/")
assert "pdo_pgsql" in machine.succeed("curl -vvv -s http://127.0.0.1:80/")
assert "pdo_sqlite" in machine.succeed("curl -vvv -s http://127.0.0.1:80/")
for ext in ["json", "opcache", "pdo_mysql", "pdo_pgsql", "pdo_sqlite"]:
assert ext in response, f"Missing {ext} extension"
'';
})
31 changes: 31 additions & 0 deletions nixos/tests/php/httpd.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
import ../make-test-python.nix ({pkgs, ...}: {
name = "php-httpd-test";
meta.maintainers = with pkgs.stdenv.lib.maintainers; [ etu ];

machine = { config, lib, pkgs, ... }: {
services.httpd = {
enable = true;
adminAddr = "admin@phpfpm";
virtualHosts."phpfpm" = let
testdir = pkgs.writeTextDir "web/index.php" "<?php phpinfo();";
in {
documentRoot = "${testdir}/web";
locations."/" = {
index = "index.php index.html";
};
};
enablePHP = true;
};
};
testScript = { ... }: ''
machine.wait_for_unit("httpd.service")
# Check so we get an evaluated PHP back
response = machine.succeed("curl -vvv -s http://127.0.0.1:80/")
assert "PHP Version ${pkgs.php.version}" in response, "PHP version not detected"
# Check so we have database and some other extensions loaded
for ext in ["json", "opcache", "pdo_mysql", "pdo_pgsql", "pdo_sqlite"]:
assert ext in response, f"Missing {ext} extension"
'';
})
6 changes: 3 additions & 3 deletions nixos/tests/php/pcre.nix
Original file line number Diff line number Diff line change
@@ -30,8 +30,8 @@ in import ../make-test-python.nix ({ ...}: {
''
machine.wait_for_unit("httpd.service")
# Ensure php evaluation by matching on the var_dump syntax
assert 'string(${toString (builtins.stringLength testString)}) "${testString}"' in machine.succeed(
"curl -vvv -s http://127.0.0.1:80/index.php"
)
response = machine.succeed("curl -vvv -s http://127.0.0.1:80/index.php")
expected = 'string(${toString (builtins.stringLength testString)}) "${testString}"'
assert expected in response, "Does not appear to be able to use subgroups."
'';
})
70 changes: 19 additions & 51 deletions nixos/tests/redmine.nix
Original file line number Diff line number Diff line change
@@ -3,74 +3,42 @@
pkgs ? import ../.. { inherit system config; }
}:

with import ../lib/testing.nix { inherit system pkgs; };
with import ../lib/testing-python.nix { inherit system pkgs; };
with pkgs.lib;

let
mysqlTest = package: makeTest {
machine =
{ config, pkgs, ... }:
{ services.redmine.enable = true;
services.redmine.package = package;
services.redmine.database.type = "mysql2";
services.redmine.plugins = {
redmineTest = { name, type }: makeTest {
name = "redmine-${name}";
machine = { config, pkgs, ... }: {
services.redmine = {
enable = true;
package = pkgs.redmine;
database.type = type;
plugins = {
redmine_env_auth = pkgs.fetchurl {
url = "https://github.com/Intera/redmine_env_auth/archive/0.7.zip";
sha256 = "1xb8lyarc7mpi86yflnlgyllh9hfwb9z304f19dx409gqpia99sc";
};
};
services.redmine.themes = {
themes = {
dkuk-redmine_alex_skin = pkgs.fetchurl {
url = "https://bitbucket.org/dkuk/redmine_alex_skin/get/1842ef675ef3.zip";
sha256 = "0hrin9lzyi50k4w2bd2b30vrf1i4fi1c0gyas5801wn8i7kpm9yl";
};
};
};
};

testScript = ''
startAll;
$machine->waitForUnit('redmine.service');
$machine->waitForOpenPort('3000');
$machine->succeed("curl --fail http://localhost:3000/");
start_all()
machine.wait_for_unit("redmine.service")
machine.wait_for_open_port(3000)
machine.succeed("curl --fail http://localhost:3000/")
'';
};

pgsqlTest = package: makeTest {
machine =
{ config, pkgs, ... }:
{ services.redmine.enable = true;
services.redmine.package = package;
services.redmine.database.type = "postgresql";
services.redmine.plugins = {
redmine_env_auth = pkgs.fetchurl {
url = "https://github.com/Intera/redmine_env_auth/archive/0.7.zip";
sha256 = "1xb8lyarc7mpi86yflnlgyllh9hfwb9z304f19dx409gqpia99sc";
};
};
services.redmine.themes = {
dkuk-redmine_alex_skin = pkgs.fetchurl {
url = "https://bitbucket.org/dkuk/redmine_alex_skin/get/1842ef675ef3.zip";
sha256 = "0hrin9lzyi50k4w2bd2b30vrf1i4fi1c0gyas5801wn8i7kpm9yl";
};
};
};

testScript = ''
startAll;
$machine->waitForUnit('redmine.service');
$machine->waitForOpenPort('3000');
$machine->succeed("curl --fail http://localhost:3000/");
'';
};
in
{
mysql = mysqlTest pkgs.redmine // {
name = "mysql";
meta.maintainers = [ maintainers.aanderse ];
};

pgsql = pgsqlTest pkgs.redmine // {
name = "pgsql";
} // {
meta.maintainers = [ maintainers.aanderse ];
};
in {
mysql = redmineTest { name = "mysql"; type = "mysql2"; };
pgsql = redmineTest { name = "pgsql"; type = "postgresql"; };
}
8 changes: 4 additions & 4 deletions pkgs/applications/misc/pwsafe/default.nix
Original file line number Diff line number Diff line change
@@ -1,25 +1,25 @@
{ stdenv, fetchFromGitHub, cmake, pkgconfig, zip, gettext, perl
, wxGTK30, libXext, libXi, libXt, libXtst, xercesc
, wxGTK31, libXext, libXi, libXt, libXtst, xercesc
, qrencode, libuuid, libyubikey, yubikey-personalization
, curl, openssl, file
}:

stdenv.mkDerivation rec {
pname = "pwsafe";
version = "1.09.0";
version = "3.52.0";

src = fetchFromGitHub {
owner = pname;
repo = pname;
rev = "${version}";
sha256 = "0dmazm95d53wq74qvsjvhl7r6fr4dv11nzf8sgdy47nyxv06xs1b";
sha256 = "1ka7xsl63v0559fzf3pwc1iqr37gwr4vq5iaxa2hzar2g28hsxvh";
};

nativeBuildInputs = [
cmake gettext perl pkgconfig zip
];
buildInputs = [
libXext libXi libXt libXtst wxGTK30
libXext libXi libXt libXtst wxGTK31
curl qrencode libuuid openssl xercesc
libyubikey yubikey-personalization
file
Original file line number Diff line number Diff line change
@@ -11,8 +11,8 @@
version = "84.0.4115.5";
};
stable = {
sha256 = "0hsxxw7fm1p8g53msqb644v8vr4cpvjmpln444c2268rm43yik17";
sha256bin64 = "0ap7flrw3h885454fa2r7psa4sh8567ql7v7x96q11gh9gjrdvp3";
version = "81.0.4044.113";
sha256 = "0ahqh3vmzbpai4xwn7qybgw9phc8ssjdvfc7384mxqk9swqgv7qg";
sha256bin64 = "0gpgim244594m35qwf625blwdqgjbp4qr846wq75a9a9zqwqs05w";
version = "81.0.4044.122";
};
}
3 changes: 3 additions & 0 deletions pkgs/applications/networking/mumble/default.nix
Original file line number Diff line number Diff line change
@@ -6,6 +6,7 @@
, speechdSupport ? false, speechd ? null
, pulseSupport ? false, libpulseaudio ? null
, iceSupport ? false, zeroc-ice ? null
, nixosTests
}:

assert jackSupport -> libjack2 != null;
@@ -63,6 +64,8 @@ let

enableParallelBuilding = true;

passthru.tests.connectivity = nixosTests.mumble;

meta = {
description = "Low-latency, high quality voice chat software";
homepage = "https://mumble.info";
7 changes: 6 additions & 1 deletion pkgs/applications/networking/syncthing/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ buildGoModule, stdenv, lib, procps, fetchFromGitHub }:
{ buildGoModule, stdenv, lib, procps, fetchFromGitHub, nixosTests }:

let
common = { stname, target, postInstall ? "" }:
@@ -35,6 +35,11 @@ let

inherit postInstall;

passthru.tests = with nixosTests; {
init = syncthing-init;
relay = syncthing-relay;
};

meta = with lib; {
homepage = "https://www.syncthing.net/";
description = "Open Source Continuous File Synchronization";
4 changes: 2 additions & 2 deletions pkgs/applications/window-managers/i3/default.nix
Original file line number Diff line number Diff line change
@@ -5,11 +5,11 @@

stdenv.mkDerivation rec {
pname = "i3";
version = "4.18";
version = "4.18.1";

src = fetchurl {
url = "https://i3wm.org/downloads/${pname}-${version}.tar.bz2";
sha256 = "0dv5g8ycfmijxfjyw8hzsxaf80v09lb73zh7x2vszy78h3amifqz";
sha256 = "0z709cianlzw0x0qwq4361347354xd9ckj1v7vjvhb1zh3x91gws";
};

nativeBuildInputs = [ which pkgconfig makeWrapper ];
4 changes: 4 additions & 0 deletions pkgs/development/libraries/icu/65.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
import ./base.nix {
version = "65.1";
sha256 = "0j6r6qqnhfr5iqkx53k63ifkm93kv1kkb7h2mlgd1mnnndk79qsk";
}
4 changes: 4 additions & 0 deletions pkgs/development/libraries/icu/66.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
import ./base.nix {
version = "66.1";
sha256 = "0bharwzc9nzkbrcf405z2nb3h7q0711z450arz0mjmdrk8hg58sj";
}
3 changes: 1 addition & 2 deletions pkgs/development/libraries/icu/base.nix
Original file line number Diff line number Diff line change
@@ -9,8 +9,7 @@ let

baseAttrs = {
src = fetchurl {
url = "http://download.icu-project.org/files/${pname}/${version}/${pname}-"
+ (stdenv.lib.replaceChars ["."] ["_"] version) + "-src.tgz";
url = "https://github.com/unicode-org/icu/releases/download/release-${lib.replaceChars [ "." ] [ "-" ] version}/icu4c-${lib.replaceChars [ "." ] [ "_" ] version}-src.tgz";
inherit sha256;
};

16 changes: 7 additions & 9 deletions pkgs/development/python-modules/pylatexenc/default.nix
Original file line number Diff line number Diff line change
@@ -1,30 +1,28 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, pytest
, pytestCheckHook
}:

buildPythonPackage rec {
pname = "pylatexenc";
version = "2.1";
version = "2.2";

src = fetchFromGitHub {
owner = "phfaist";
repo = pname;
repo = "pylatexenc";
rev = "v${version}";
sha256 = "0wnl00y5dl56aw9j4y21kqapraaravbycwfxdmjsbgl11nk4llx9";
sha256 = "0icwd7iipz3sv4jdh9iam7h4xslvdqg16rwsmczrna3mmjbwccdk";
};

pythonImportsCheck = [ "pylatexenc" ];
checkInputs = [ pytest ];
checkPhase = ''
pytest
'';
dontUseSetuptoolsCheck = true;
checkInputs = [ pytestCheckHook ];

meta = with lib; {
description = "Simple LaTeX parser providing latex-to-unicode and unicode-to-latex conversion";
homepage = "https://pylatexenc.readthedocs.io";
downloadPage = "https;//www.github.com/phfaist/pylatexenc";
downloadPage = "https://www.github.com/phfaist/pylatexenc/releases";
license = licenses.mit;
maintainers = with maintainers; [ drewrisinger ];
};
4 changes: 2 additions & 2 deletions pkgs/development/tools/database/ephemeralpg/default.nix
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{ stdenv, fetchurl, postgresql, getopt, makeWrapper }:
stdenv.mkDerivation rec {
pname = "ephemeralpg";
version = "2.9";
version = "3.0";
src = fetchurl {
url = "http://ephemeralpg.org/code/${pname}-${version}.tar.gz";
sha256 = "1ghp3kya4lxvfwz3c022cx9vqf55jbf9sjw60bxjcb5sszklyc89";
sha256 = "1j0g7g114ma7y7sadbng5p1ss1zsm9zpicm77qspym6565733vvh";
};
buildInputs = [ makeWrapper ];
installPhase = ''
4 changes: 2 additions & 2 deletions pkgs/development/tools/ocaml/merlin/default.nix
Original file line number Diff line number Diff line change
@@ -2,13 +2,13 @@

buildDunePackage rec {
pname = "merlin";
version = "3.3.3";
version = "3.3.4";

minimumOCamlVersion = "4.02.1";

src = fetchurl {
url = "https://github.com/ocaml/merlin/releases/download/v${version}/merlin-v${version}.tbz";
sha256 = "05dfkbpbb7nvs4g6y0iw7a9f73ygvhs9l45l2g56y7zagvs9x43j";
sha256 = "12wxric6n3rmsn0w16xm8vjd8p5aw24cj76zw2x87qfwwgmy1kdd";
};

buildInputs = [ yojson ];
25 changes: 25 additions & 0 deletions pkgs/development/web/shopify-themekit/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{ stdenv, buildGoPackage, fetchFromGitHub }:

buildGoPackage rec {
pname = "shopify-themekit";
version = "1.0.3";

goPackagePath = "github.com/Shopify/themekit/";

goDeps = ./shopify-themekit_deps.nix;

src = fetchFromGitHub {
owner = "Shopify";
repo = "themekit";
rev = "v${version}";
sha256 = "1780h33mf2h2lv6mr4xx3shfvsabr7w138yb59vvdgvjng9wjkg0";
};

meta = with stdenv.lib; {
description = "A command line tool for shopify themes";
homepage = "https://shopify.github.io/themekit/";
license = licenses.mit;
maintainers = with maintainers; [ maintainers."1000101" ];
platforms = platforms.all;
};
}
Loading