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: 36fe916089ea
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: 775b368bb94d
Choose a head ref
  • 5 commits
  • 5 files changed
  • 6 contributors

Commits on Sep 20, 2020

  1. svgbob: fix build

    loosen lint settings
    
    (cherry picked from commit a28068a)
    risicle committed Sep 20, 2020
    Copy the full SHA
    b142f33 View commit details

Commits on Sep 21, 2020

  1. Merge pull request #98356 from risicle/ris-svgbob-fix-20.09

    [20.09] svgbob: fix build
    marsam authored Sep 21, 2020

    Verified

    This commit was signed with the committer’s verified signature. The key has expired.
    marsam Mario Rodas
    Copy the full SHA
    907dcba View commit details
  2. fontmatrix: 0.6.0 → 0.6.0-qt5 (#97800)

    This is an unofficial port of Fontmatrix 0.6.0 to Qt5
    
    Co-authored-by: symphorien <symphorien@users.noreply.github.com>
    (cherry picked from commit 4e155d6)
    vbgl and symphorien committed Sep 21, 2020

    Unverified

    The key that signed this doesn't have usage flags that allow signing.
    Copy the full SHA
    cad2052 View commit details
  3. prometheus: Unbreak IPv6 listenAddress

    The format of the listenAddress option was recently changed to separate
    the address and the port parts. There is now a legacy check that
    tells users to update to the new format. This legacy check produces
    a false positive on IPv6 addresses, since they contain colons.
    
    Fix the regex to make it not match colons within IPv6 addresses.
    
    (cherry picked from commit a4afd52)
    kirelagin authored and bjornfor committed Sep 21, 2020
    Copy the full SHA
    3f5944e View commit details
  4. streamlit: fix build

    (cherry picked from commit 07660b2)
    Jonathan Ringer committed Sep 21, 2020

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    775b368 View commit details
4 changes: 3 additions & 1 deletion nixos/modules/services/monitoring/prometheus/default.nix
Original file line number Diff line number Diff line change
@@ -629,7 +629,9 @@ in {
config = mkIf cfg.enable {
assertions = [
( let
legacy = builtins.match "(.*):(.*)" cfg.listenAddress;
# Match something with dots (an IPv4 address) or something ending in
# a square bracket (an IPv6 addresses) followed by a port number.
legacy = builtins.match "(.*\\..*|.*]):([[:digit:]]+)" cfg.listenAddress;
in {
assertion = legacy == null;
message = ''
24 changes: 15 additions & 9 deletions pkgs/applications/graphics/fontmatrix/default.nix
Original file line number Diff line number Diff line change
@@ -1,26 +1,32 @@
{ stdenv, fetchFromGitHub, cmake, qt4 }:
{ lib, mkDerivation, fetchpatch, fetchFromGitHub, cmake, qttools, qtwebkit }:

stdenv.mkDerivation rec {
mkDerivation rec {
pname = "fontmatrix";
version = "0.6.0";
version = "0.6.0-qt5";

src = fetchFromGitHub {
owner = "fontmatrix";
owner = "fcoiffie";
repo = "fontmatrix";
rev = "v${version}";
sha256 = "0aqndj1jhm6hjpwmj1qm92z2ljh7w78a5ff5ag47qywqha1ngn05";
rev = "1ff8382d8c85c18d9962918f461341ff4fe21993";
sha256 = "0yx1gbsjj9ddq1kiqplif1w5x5saw250zbmhmd4phqmaqzr60w0h";
};

buildInputs = [ qt4 ];
# Add missing QAction include
patches = [ (fetchpatch {
url = "https://github.com/fcoiffie/fontmatrix/commit/dc6de8c414ae21516b72daead79c8db88309b102.patch";
sha256 = "092860fdyf5gq67jqfxnlgwzjgpizi6j0njjv3m62aiznrhig7c8";
})];

buildInputs = [ qttools qtwebkit ];

nativeBuildInputs = [ cmake ];

hardeningDisable = [ "format" ];

meta = with stdenv.lib; {
meta = with lib; {
description = "Fontmatrix is a free/libre font explorer for Linux, Windows and Mac";
homepage = "https://github.com/fontmatrix/fontmatrix";
license = licenses.gpl2;
license = licenses.gpl2Plus;
platforms = platforms.linux;
};
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{ lib, buildPythonApplication, fetchPypi
, altair, astor, base58, blinker, boto3, botocore, click, enum-compat
, future, pillow, protobuf, requests, toml, tornado, tzlocal, validators, watchdog
, future, pillow, protobuf, requests, toml, tornado_5, tzlocal, validators, watchdog
, jinja2, setuptools
}:

@@ -16,7 +16,7 @@ buildPythonApplication rec {

propagatedBuildInputs = [
altair astor base58 blinker boto3 botocore click enum-compat
future pillow protobuf requests toml tornado tzlocal validators watchdog
future pillow protobuf requests toml tornado_5 tzlocal validators watchdog
jinja2 setuptools
];

5 changes: 4 additions & 1 deletion pkgs/tools/graphics/svgbob/default.nix
Original file line number Diff line number Diff line change
@@ -10,8 +10,11 @@ rustPlatform.buildRustPackage rec {
rev = "0febc4377134a2ea3b3cd43ebdf5ea688a0e7432";
sha256 = "1n0w5b3fjgbczy1iw52172x1p3y1bvw1qpz77fkaxkhrkgfd7vwr";
};

sourceRoot = "source/svgbob_cli";
postPatch = ''
substituteInPlace ../svgbob/src/lib.rs \
--replace '#![deny(warnings)]' ""
'';

cargoSha256 = "1y9jsnxmz51zychmmzp6mi29pb5ks2qww7lk5bshkhp56v51sm8d";

2 changes: 1 addition & 1 deletion pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
@@ -3711,7 +3711,7 @@ in

fontforge-fonttools = callPackage ../tools/misc/fontforge/fontforge-fonttools.nix {};

fontmatrix = callPackage ../applications/graphics/fontmatrix {};
fontmatrix = libsForQt514.callPackage ../applications/graphics/fontmatrix {};

foremost = callPackage ../tools/system/foremost { };