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: 12ae04518b00
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: ad6ba90bdd74
Choose a head ref

Commits on Jul 20, 2019

  1. pyscard: fix darwin build, remove pcsc library mixing

    This should be built against a single version of PCSC: either the one
    from pcsclite, or the one from Apple's PCSC framework.
    thefloweringash committed Jul 20, 2019
    Copy the full SHA
    59e9e56 View commit details

Commits on Aug 22, 2019

  1. Verified

    This commit was signed with the committer’s verified signature. The key has expired.
    dtzWill Will Dietz
    Copy the full SHA
    034f322 View commit details

Commits on Sep 1, 2019

  1. Verified

    This commit was signed with the committer’s verified signature. The key has expired.
    marsam Mario Rodas
    Copy the full SHA
    f465a74 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
    15f3845 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
    2c71ef9 View commit details

Commits on Sep 2, 2019

  1. Copy the full SHA
    b97a20a View commit details
  2. miller: 5.4.0 -> 5.5.0

    mstarzyk committed Sep 2, 2019
    Copy the full SHA
    03d7679 View commit details
  3. treewide: remove uses of doBuild and doConfigure

    doBuild and doConfigure are not actually used by any builders, they were
    probably added by mistake and just confuse people.
    Milan Pässler (work) committed Sep 2, 2019
    Copy the full SHA
    185fd61 View commit details
  4. qmmp: use qt5's mkDerivation

    gnidorah authored and bjornfor committed Sep 2, 2019
    Copy the full SHA
    70aa380 View commit details
  5. dfilemanager: use qt5's mkDerivation

    gnidorah authored and bjornfor committed Sep 2, 2019
    Copy the full SHA
    cc2deaf View commit details
  6. unifi: remove unifiTesting

    The testing branch is not updated anymore and all mentions have been
    removed from the Ubiquiti website.
    Milan Pässler (work) committed Sep 2, 2019
    Copy the full SHA
    b85f48c View commit details
  7. teleport: 4.0.2 -> 4.0.4

    sigma committed Sep 2, 2019
    Copy the full SHA
    fbb6971 View commit details
  8. Merge pull request #67969 from petabyteboy/feature/remove-dobuild

    treewide: remove uses of doBuild and doConfigure
    ryantm authored Sep 2, 2019

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    32f9c61 View commit details
  9. Merge pull request #67971 from petabyteboy/feature/remove-unifi-testing

    unifi: remove unifiTesting
    fpletz authored Sep 2, 2019

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    f35cffc View commit details
  10. syncplay module: init

    abbradar committed Sep 2, 2019
    Copy the full SHA
    0a29a2e View commit details
  11. Merge pull request #67943 from seppeljordan/bump-nix-prefetch-github

    nix-prefetch-github: 2.3 -> 2.3.1
    ryantm authored Sep 2, 2019

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    9e90586 View commit details
  12. Copy the full SHA
    36c72f3 View commit details
  13. Copy the full SHA
    9cbb59f View commit details
  14. Copy the full SHA
    3da4caa View commit details
  15. Merge pull request #67963 from mstarzyk/miller-5.5.0

    miller: 5.4.0 -> 5.5.0
    ryantm authored Sep 2, 2019

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    2e5fd3a View commit details
  16. Merge pull request #67973 from sigma/pr/teleport-4.0.4

    teleport: 4.0.2 -> 4.0.4
    ryantm authored Sep 2, 2019

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    bdc56ed View commit details
  17. Merge pull request #67846 from astro/fix-rofi-theme-selector

    rofi: fix rofi-theme-selector by setting $XDG_DATA_DIRS
    Ma27 authored Sep 2, 2019

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    14c48f7 View commit details

Commits on Sep 3, 2019

  1. Merge pull request #65163 from thefloweringash/pyscard-darwin

    pyscard: fix darwin build, remove pcsc library mixing
    marsam authored Sep 3, 2019

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    1bf5120 View commit details
  2. Merge pull request #67276 from dtzWill/update/yubikey-manager-3.1.0

    yubikey-manager: 2.1.1 -> 3.1.0
    marsam authored Sep 3, 2019

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    7389bdf View commit details
  3. Merge pull request #67907 from marsam/update-postgis

    postgresqlPackages.postgis: 2.5.2 -> 2.5.3
    marsam authored Sep 3, 2019

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    13be145 View commit details
  4. Merge pull request #67911 from marsam/update-nfpm

    nfpm: 0.12.0 -> 0.13.0
    marsam authored Sep 3, 2019

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    46a6038 View commit details
  5. Merge pull request #67909 from marsam/update-pg_cron

    postgresqlPackages.pg_cron: 1.1.4 -> 1.2.0
    marsam authored Sep 3, 2019

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    1f82f63 View commit details
  6. Merge pull request #67974 from dawidsowa/gallery-dl

    gallery-dl: 1.10.2 -> 1.10.3
    marsam authored Sep 3, 2019

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    ad6ba90 View commit details
1 change: 1 addition & 0 deletions nixos/modules/module-list.nix
Original file line number Diff line number Diff line change
@@ -698,6 +698,7 @@
./services/networking/supybot.nix
./services/networking/syncthing.nix
./services/networking/syncthing-relay.nix
./services/networking/syncplay.nix
./services/networking/tcpcrypt.nix
./services/networking/teamspeak3.nix
./services/networking/tedicross.nix
80 changes: 80 additions & 0 deletions nixos/modules/services/networking/syncplay.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
{ config, lib, pkgs, ... }:

with lib;

let
cfg = config.services.syncplay;

cmdArgs =
[ "--port" cfg.port ]
++ optionals (cfg.salt != null) [ "--salt" cfg.salt ]
++ optionals (cfg.certDir != null) [ "--tls" cfg.certDir ];

in
{
options = {
services.syncplay = {
enable = mkOption {
type = types.bool;
default = false;
description = "If enabled, start the Syncplay server.";
};

port = mkOption {
type = types.int;
default = 8999;
description = ''
TCP port to bind to.
'';
};

salt = mkOption {
type = types.nullOr types.str;
default = null;
description = ''
Salt to allow room operator passwords generated by this server
instance to still work when the server is restarted.
'';
};

certDir = mkOption {
type = types.nullOr types.path;
default = null;
description = ''
TLS certificates directory to use for encryption. See
<link xlink:href="https://github.com/Syncplay/syncplay/wiki/TLS-support"/>.
'';
};

user = mkOption {
type = types.str;
default = "nobody";
description = ''
User to use when running Syncplay.
'';
};

group = mkOption {
type = types.str;
default = "nogroup";
description = ''
Group to use when running Syncplay.
'';
};
};
};

config = mkIf cfg.enable {
systemd.services.syncplay = {
description = "Syncplay Service";
wantedBy = [ "multi-user.target" ];
after = [ "network-online.target "];

serviceConfig = {
ExecStart = "${pkgs.syncplay}/bin/syncplay-server ${escapeShellArgs cmdArgs}";
User = cfg.user;
Group = cfg.group;
};
};
};
}
4 changes: 2 additions & 2 deletions pkgs/applications/audio/qmmp/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ stdenv, fetchurl, cmake, pkgconfig, xlibsWrapper
{ stdenv, mkDerivation, fetchurl, cmake, pkgconfig, xlibsWrapper
, qtbase, qttools, qtmultimedia, qtx11extras
# transports
, curl, libmms
@@ -28,7 +28,7 @@
# Qmmp installs working .desktop file(s) all by itself, so we don't need to
# handle that.

stdenv.mkDerivation rec {
mkDerivation rec {
name = "qmmp-1.3.3";

src = fetchurl {
2 changes: 0 additions & 2 deletions pkgs/applications/audio/spotify/default.nix
Original file line number Diff line number Diff line change
@@ -78,8 +78,6 @@ stdenv.mkDerivation {

buildInputs = [ squashfsTools makeWrapper ];

doConfigure = false;
doBuild = false;
dontStrip = true;
dontPatchELF = true;

6 changes: 3 additions & 3 deletions pkgs/applications/misc/dfilemanager/default.nix
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{ stdenv, fetchgit, cmake, file, qtbase, qttools, solid }:
{ stdenv, mkDerivation, fetchgit, cmake, file, qtbase, qttools, solid }:

let
version = "git-2016-01-10";
in
stdenv.mkDerivation {
mkDerivation {
pname = "dfilemanager";
inherit version;
src = fetchgit {
@@ -14,7 +14,7 @@ stdenv.mkDerivation {

buildInputs = [ cmake qtbase qttools file solid ];

cmakeFlags = "-DQT5BUILD=true";
cmakeFlags = [ "-DQT5BUILD=true" ];

meta = {
homepage = http://dfilemanager.sourceforge.net/;
4 changes: 2 additions & 2 deletions pkgs/applications/misc/gallery-dl/default.nix
Original file line number Diff line number Diff line change
@@ -2,11 +2,11 @@

python3Packages.buildPythonApplication rec {
pname = "gallery_dl";
version = "1.10.2";
version = "1.10.3";

src = python3Packages.fetchPypi {
inherit pname version;
sha256 = "09q9l747vv6nrkscj08dv970qs6nm2azjcm015xf3bd5ab91l44r";
sha256 = "1ippn0zbjy69n178vh4wgyzy6723ynvj2w23mzqw7v2mzcvkhmdz";
};

doCheck = false;
9 changes: 7 additions & 2 deletions pkgs/applications/misc/rofi/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ stdenv, lib, fetchurl
{ stdenv, lib, fetchurl, makeWrapper
, autoreconfHook, pkgconfig, libxkbcommon, pango, which, git
, cairo, libxcb, xcbutil, xcbutilwm, xcbutilxrm, libstartup_notification
, bison, flex, librsvg, check
@@ -19,11 +19,16 @@ stdenv.mkDerivation rec {
sed -i 's/~root/~nobody/g' test/helper-expand.c
'';

nativeBuildInputs = [ autoreconfHook pkgconfig ];
nativeBuildInputs = [ autoreconfHook pkgconfig makeWrapper ];
buildInputs = [ libxkbcommon pango cairo git bison flex librsvg check
libstartup_notification libxcb xcbutil xcbutilwm xcbutilxrm which
];

postInstall = ''
wrapProgram $out/bin/rofi-theme-selector \
--prefix XDG_DATA_DIRS : $out/share
'';

doCheck = false;

meta = with lib; {
2 changes: 0 additions & 2 deletions pkgs/applications/networking/cluster/kubectl/default.nix
Original file line number Diff line number Diff line change
@@ -9,8 +9,6 @@ stdenv.mkDerivation {

outputs = [ "out" "man" ];

doBuild = false;

installPhase = ''
mkdir -p \
"$out/bin" \
3 changes: 0 additions & 3 deletions pkgs/applications/science/electronics/eagle/eagle.nix
Original file line number Diff line number Diff line change
@@ -36,9 +36,6 @@ let
qtbase qtdeclarative qtsvg qtlocation qtwebchannel qtwebengine
];

doConfigure = false;
doBuild = false;

installPhase = ''
# Extract eagle tarball
mkdir "$out"
Original file line number Diff line number Diff line change
@@ -56,8 +56,6 @@ stdenv.mkDerivation {
}
'';

doConfigure = false;

buildPhase = ''
# Build kernel modules.
cd src
4 changes: 2 additions & 2 deletions pkgs/build-support/nix-prefetch-github/default.nix
Original file line number Diff line number Diff line change
@@ -5,13 +5,13 @@

python3.pkgs.buildPythonApplication rec {
pname = "nix-prefetch-github";
version = "2.3";
version = "2.3.1";

src = fetchFromGitHub {
owner = "seppeljordan";
repo = "nix-prefetch-github";
rev = "v${version}";
sha256 = "0b2hgfyxhlqq6lyi5cr98dz6if5kl6b3kq67f2lzfkalydywl1dh";
sha256 = "13wvq13iiva97a16kahfpxar5ppb015nnbn7d4v9s9jyxdickc2c";
};

propagatedBuildInputs = with python3.pkgs; [
40 changes: 26 additions & 14 deletions pkgs/development/python-modules/pyscard/default.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
{ stdenv, fetchPypi, fetchpatch, buildPythonPackage, swig, pcsclite, PCSC }:

let
# Package does not support configuring the pcsc library.
withApplePCSC = stdenv.isDarwin;

inherit (stdenv.lib) getLib getDev optionalString optionals;
inherit (stdenv.hostPlatform.extensions) sharedLibrary;
in

buildPythonPackage rec {
version = "1.9.8";
pname = "pyscard";
@@ -9,24 +17,28 @@ buildPythonPackage rec {
sha256 = "15fh00z1an6r5j7hrz3jlq0rb3jygwf3x4jcwsa008bv8vpcg7gm";
};

postPatch = ''
sed -e 's!"libpcsclite\.so\.1"!"${stdenv.lib.getLib pcsclite}/lib/libpcsclite.so.1"!' \
-i smartcard/scard/winscarddll.c
postPatch = if withApplePCSC then ''
substituteInPlace smartcard/scard/winscarddll.c \
--replace "/System/Library/Frameworks/PCSC.framework/PCSC" \
"${PCSC}/Library/Frameworks/PCSC.framework/PCSC"
'' else ''
substituteInPlace smartcard/scard/winscarddll.c \
--replace "libpcsclite.so.1" \
"${getLib pcsclite}/lib/libpcsclite${sharedLibrary}"
'';

NIX_CFLAGS_COMPILE = "-isystem ${stdenv.lib.getDev pcsclite}/include/PCSC/";
NIX_CFLAGS_COMPILE = optionalString (! withApplePCSC)
"-I ${getDev pcsclite}/include/PCSC";

patches = [
# Fixes darwin tests
# See: https://github.com/LudovicRousseau/pyscard/issues/77
(fetchpatch {
url = "https://github.com/LudovicRousseau/pyscard/commit/62e675028086c75656444cc21d563d9f08ebf8e7.patch";
sha256 = "1lr55npcpc8j750vf7vaisqyk18d5f00l7nii2lvawg4sssjaaf7";
})
];
# The error message differs depending on the macOS host version.
# Since Nix reports a constant host version, but proxies to the
# underlying library, it's not possible to determine the correct
# expected error message. This patch allows both errors to be
# accepted.
# See: https://github.com/LudovicRousseau/pyscard/issues/77
patches = optionals withApplePCSC [ ./ignore-macos-bug.patch ];

propagatedBuildInputs = [ pcsclite ];
buildInputs = stdenv.lib.optional stdenv.isDarwin PCSC;
propagatedBuildInputs = if withApplePCSC then [ PCSC ] else [ pcsclite ];
nativeBuildInputs = [ swig ];

meta = {
22 changes: 22 additions & 0 deletions pkgs/development/python-modules/pyscard/ignore-macos-bug.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
diff --git a/test/test_SCardGetErrorMessage.py b/test/test_SCardGetErrorMessage.py
old mode 100644
new mode 100755
index c6fe755..c1217f5
--- a/test/test_SCardGetErrorMessage.py
+++ b/test/test_SCardGetErrorMessage.py
@@ -29,12 +29,10 @@ class TestError(unittest.TestCase):
self.assertEqual(res, expected)

res = SCardGetErrorMessage(1)
+ expected = "Unknown error: 0x00000001"
# macOS bug not yet fixed
- if get_platform().startswith('macosx-') and get_platform() < 'macosx-10.13':
- expected = "Unkown error: 0x00000001"
- else:
- expected = "Unknown error: 0x00000001"
- self.assertEqual(res, expected)
+ macos_bug_expected = "Unkown error: 0x00000001"
+ self.assertIn(res, [expected, macos_bug_expected])


if __name__ == '__main__':
4 changes: 2 additions & 2 deletions pkgs/servers/sql/postgresql/ext/pg_cron.nix
Original file line number Diff line number Diff line change
@@ -2,15 +2,15 @@

stdenv.mkDerivation rec {
pname = "pg_cron";
version = "1.1.4";
version = "1.2.0";

buildInputs = [ postgresql ];

src = fetchFromGitHub {
owner = "citusdata";
repo = pname;
rev = "refs/tags/v${version}";
sha256 = "0wkqgrm3v999hjcc82h24jv1pib6f6bw8jsv83hgk6g3iv6xsjg9";
sha256 = "1hkrk6jxl20k2b0ngchblwkrzigl77jaq1gvininp4yhjdlgaks8";
};

installPhase = ''
5 changes: 3 additions & 2 deletions pkgs/servers/sql/postgresql/ext/postgis.nix
Original file line number Diff line number Diff line change
@@ -14,13 +14,13 @@
}:
stdenv.mkDerivation rec {
pname = "postgis";
version = "2.5.2";
version = "2.5.3";

outputs = [ "out" "doc" ];

src = fetchurl {
url = "https://download.osgeo.org/postgis/source/postgis-${version}.tar.gz";
sha256 = "0pnva72f2w4jcgnl1y7nw5rdly4ipx3hji4c9yc9s0hna1n2ijxn";
sha256 = "16jm9v9y25dhfwd4hvhnynj6k3ikjbr3z3dpn8py50gr82fjds3j";
};

buildInputs = [ libxml2 postgresql geos proj gdal json_c protobufc ]
@@ -68,6 +68,7 @@ stdenv.mkDerivation rec {
meta = with stdenv.lib; {
description = "Geographic Objects for PostgreSQL";
homepage = https://postgis.net/;
changelog = "https://git.osgeo.org/gitea/postgis/postgis/raw/tag/${version}/NEWS";
license = licenses.gpl2;
maintainers = [ maintainers.marcweber ];
inherit (postgresql.meta) platforms;
4 changes: 2 additions & 2 deletions pkgs/servers/teleport/default.nix
Original file line number Diff line number Diff line change
@@ -3,14 +3,14 @@

buildGoPackage rec {
pname = "teleport";
version = "4.0.2";
version = "4.0.4";

# This repo has a private submodule "e" which fetchgit cannot handle without failing.
src = fetchFromGitHub {
owner = "gravitational";
repo = "teleport";
rev = "v${version}";
sha256 = "0rnjw297pkkhpqisrs5ghgvzlklk7kbhrz7rhr91b5rx3lr9c1ny";
sha256 = "1ady9nh1mi1lb9a868w6ylncz2r6x7mk33ajiymn2frpcwk9m2l9";
};

goPackagePath = "github.com/gravitational/teleport";
9 changes: 0 additions & 9 deletions pkgs/servers/unifi/default.nix
Original file line number Diff line number Diff line change
@@ -19,8 +19,6 @@ let
runHook postUnpack
'';

doConfigure = false;

installPhase = ''
runHook preInstall
@@ -54,11 +52,4 @@ in rec {
version = "5.11.39";
sha256 = "0v1gnvdazxa3bcbq8hl6796yw0mxzki2xn4s5im5k5ngmfmnswyj";
};

# TODO: update as it is outdated
unifiTesting = generic {
version = "5.11.18";
suffix = "-996baf2ca5";
sha256 = "14yyfn39ix8bnn0cb6bn0ly6pqxg81lvy83y40bk0y8vxfg6maqc";
};
}
1 change: 0 additions & 1 deletion pkgs/servers/xmpp/pyIRCt/default.nix
Original file line number Diff line number Diff line change
@@ -15,7 +15,6 @@ stdenv.mkDerivation rec {
xmpppy pythonIRClib
];

/* doConfigure should be removed if not needed */
# phaseNames = ["deploy" (a.makeManyWrappers "$out/share/${name}/irc.py" a.pythonWrapperArguments)];

installPhase = ''
1 change: 0 additions & 1 deletion pkgs/servers/xmpp/pyMAILt/default.nix
Original file line number Diff line number Diff line change
@@ -14,7 +14,6 @@ stdenv.mkDerivation rec {
pythonPath = [ xmpppy ];
buildInputs = [ pythonPackages.wrapPython ];

/* doConfigure should be removed if not needed */
installPhase = ''
cd mail-transport
mkdir -p $out/bin $out/share/${pname}-${version}
Loading