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: 946c5fb8f764
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: d3f928282c09
Choose a head ref

Commits on Nov 29, 2019

  1. rgbds: 0.3.8 -> 0.3.9

    r-ryantm committed Nov 29, 2019
    Copy the full SHA
    90a79fd View commit details

Commits on Dec 2, 2019

  1. Verified

    This commit was signed with the committer’s verified signature.
    jtojnar Jan Tojnar
    Copy the full SHA
    8718c78 View commit details
  2. grpc: fix build on armv6l

    lopsided98 committed Dec 2, 2019
    Copy the full SHA
    279b5a6 View commit details

Commits on Dec 3, 2019

  1. Verified

    This commit was signed with the committer’s verified signature.
    jtojnar Jan Tojnar
    Copy the full SHA
    9e4d564 View commit details
  2. akira-unstable: init at 2019-10-12

    Co-authored-by: worldofpeace <worldofpeace@users.noreply.github.com>
    Br1ght0ne and worldofpeace committed Dec 3, 2019

    Unverified

    This user has not yet uploaded their public signing key.
    Copy the full SHA
    f525735 View commit details
  3. Verified

    This commit was signed with the committer’s verified signature.
    jtojnar Jan Tojnar
    Copy the full SHA
    65952e7 View commit details
  4. Verified

    This commit was signed with the committer’s verified signature.
    jtojnar Jan Tojnar
    Copy the full SHA
    af963b7 View commit details
  5. Merge pull request #74558 from r-ryantm/auto-update/poppler-utils

    poppler: 0.81.0 -> 0.83.0
    jtojnar authored Dec 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
    d2da320 View commit details
  6. Merge pull request #74332 from filalex77/akira-2019-10-12

    akira-unstable: init at 2019-10-12
    worldofpeace authored Dec 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
    ddf711c View commit details
  7. Merge pull request #74625 from r-ryantm/auto-update/rgbds

    rgbds: 0.3.8 -> 0.3.9
    matthewbauer authored Dec 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
    224737f View commit details
  8. pmacct: init at 1.7.3

    0x4A6F committed Dec 3, 2019

    Verified

    This commit was signed with the committer’s verified signature.
    Copy the full SHA
    bff385e View commit details
  9. hugo: 0.60.0 -> 0.60.1

    Br1ght0ne committed Dec 3, 2019

    Unverified

    This user has not yet uploaded their public signing key.
    Copy the full SHA
    1c9adaf View commit details
  10. Unverified

    This user has not yet uploaded their public signing key.
    Copy the full SHA
    9166b2b View commit details
  11. pythonPackages.gpapi: disable for python2

    Uses shutil.which(), which was added in 3.3
    No longer supports python2
    Jonathan Ringer committed Dec 3, 2019
    Copy the full SHA
    98a411d View commit details
  12. fzf: 0.18.0 -> 0.19.0

    Br1ght0ne committed Dec 3, 2019

    Unverified

    This user has not yet uploaded their public signing key.
    Copy the full SHA
    5d17fd1 View commit details
  13. Unverified

    This user has not yet uploaded their public signing key.
    Copy the full SHA
    80f06c0 View commit details
  14. python3Packages.gplaycli: 3.25 -> 3.26

    Jonathan Ringer committed Dec 3, 2019
    Copy the full SHA
    0f061f9 View commit details
  15. Merge pull request #74930 from jonringer/disable-gpapi

    pythonPackages.gpapi: disable for python2
    Ma27 authored Dec 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
    a6bf454 View commit details
  16. Merge pull request #74932 from jonringer/bump-gplaycli

    python3Packages.gplaycli: 3.25 -> 3.26
    Ma27 authored Dec 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
    b3a037a View commit details
  17. Merge pull request #64849 from 0x4A6F/master-pmacct

    pmacct: init at 1.7.3
    c0bw3b authored Dec 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
    a89c35d View commit details
  18. Merge pull request #74882 from lopsided98/grpc-armv6l

    grpc: fix build on armv6l
    matthewbauer authored Dec 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
    49df3e3 View commit details
  19. Merge pull request #74931 from filalex77/fzf-0.19.0

    fzf: 0.18.0 -> 0.19.0
    Ma27 authored Dec 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
    5de0ac6 View commit details
  20. Merge pull request #74929 from filalex77/hugo-0.60.1

    hugo: 0.60.0 -> 0.60.1
    Ma27 authored Dec 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
    a431ee8 View commit details
  21. mimalloc: un-break dynamic linking

    Previous versions of the build assumed libmimalloc.so would be a hard
    copy of mimalloc-secure.so iff secureBuild == true, but in 1.1.0 and
    later it seems libmimalloc.so is a symlink to the -secure variant. This
    apparently rectifies some behavior I noticed that was strange
    previously.
    
    This breakage wasn't caught because the 1.1.0 update was automatic in
    5596317; there should be a checkPhase to ensure this doesn't happen
    again...
    
    Signed-off-by: Austin Seipp <aseipp@pobox.com>
    thoughtpolice committed Dec 3, 2019

    Verified

    This commit was signed with the committer’s verified signature. The key has expired.
    thoughtpolice Austin Seipp
    Copy the full SHA
    4d39209 View commit details
  22. Copy the full SHA
    d3f9282 View commit details
8 changes: 4 additions & 4 deletions pkgs/applications/blockchains/bitcoin-abc.nix
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
{ stdenv, fetchFromGitHub, pkgconfig, autoreconfHook, openssl, db53, boost
{ stdenv, mkDerivation, fetchFromGitHub, pkgconfig, autoreconfHook, openssl, db53, boost
, zlib, miniupnpc, qtbase ? null , qttools ? null, utillinux, protobuf, qrencode, libevent
, withGui }:

with stdenv.lib;

stdenv.mkDerivation rec {
mkDerivation rec {

name = "bitcoin" + (toString (optional (!withGui) "d")) + "-abc-" + version;
version = "0.20.6";
version = "0.20.7";

src = fetchFromGitHub {
owner = "bitcoin-ABC";
repo = "bitcoin-abc";
rev = "v${version}";
sha256 = "1a65pykdjkiic67fcs8cg2qrvzzrqifa93r1bzza3gdyfdvgv3ww";
sha256 = "1d17ry9906zmwj2n3mh77b6rqmdg0dgm7b7ybh8d7q2ml0196ilj";
};

patches = [ ./fix-bitcoin-qt-build.patch ];
76 changes: 76 additions & 0 deletions pkgs/applications/graphics/akira/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
{ stdenv
, lib
, fetchFromGitHub
, appstream-glib
, desktop-file-utils
, meson
, ninja
, pantheon
, pkgconfig
, python3
, vala
, vala-lint
, wrapGAppsHook
, cairo
, glib
, goocanvas2
, gtk3
, gtksourceview3
, json-glib
, libarchive
, libgee
, libxml2 }:

stdenv.mkDerivation rec {
pname = "akira";
version = "2019-10-12";

src = fetchFromGitHub {
owner = "akiraux";
repo = "Akira";
rev = "cab952dee4591b6bde34d670c1f853f5a3ff6b19";
sha256 = "1fp3a79hkh6xwwqqdrx4zqq2zhsm236c6fhhl5f2nmi108yxz04q";
};

nativeBuildInputs = [
appstream-glib
desktop-file-utils
meson
ninja
pkgconfig
python3
vala
vala-lint
wrapGAppsHook
];

buildInputs = [
cairo
glib
goocanvas2
pantheon.granite
gtk3
gtksourceview3
json-glib
libarchive
libgee
libxml2
];

mesonFlags = [ "-Dprofile=default" ];

patches = [ ./fix-build-with-vala-0-44-or-later.patch ];

postPatch = ''
chmod +x build-aux/meson/post_install.py
patchShebangs build-aux/meson/post_install.py
'';

meta = with lib; {
description = "Native Linux Design application built in Vala and GTK";
homepage = "https://github.com/akiraux/Akira";
license = licenses.gpl3;
maintainers = with maintainers; [ filalex77 ] ++ pantheon.maintainers;
platforms = platforms.linux;
};
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,88 @@
From bcda8fd53f6f232db0b6411269ba108af551629f Mon Sep 17 00:00:00 2001
From: Alberto Fanjul <albertofanjul@gmail.com>
Date: Tue, 9 Apr 2019 09:45:36 +0200
Subject: [PATCH] Build on vala >= 0.44.2

---
src/FileFormat/JsonObject.vala | 2 +-
src/FileFormat/JsonObjectArray.vala | 2 +-
src/FileFormat/ZipArchiveHandler.vala | 18 +++++++++++++++++-
3 files changed, 19 insertions(+), 3 deletions(-)

diff --git a/src/FileFormat/JsonObject.vala b/src/FileFormat/JsonObject.vala
index 7bfe46f..805fbad 100644
--- a/src/FileFormat/JsonObject.vala
+++ b/src/FileFormat/JsonObject.vala
@@ -31,7 +31,7 @@ public abstract class Akira.FileFormat.JsonObject : GLib.Object {

private ObjectClass obj_class;

- public JsonObject.from_object (Json.Object object) {
+ protected JsonObject.from_object (Json.Object object) {
Object (object: object);
}

diff --git a/src/FileFormat/JsonObjectArray.vala b/src/FileFormat/JsonObjectArray.vala
index 4f6e573..d0a7dad 100644
--- a/src/FileFormat/JsonObjectArray.vala
+++ b/src/FileFormat/JsonObjectArray.vala
@@ -31,7 +31,7 @@ public abstract class Akira.FileFormat.JsonObjectArray : Object {
*
* Your JsonObject implementation should have it's own list of items
*/
- public JsonObjectArray (Json.Object object, string property_name) {
+ protected JsonObjectArray (Json.Object object, string property_name) {
Object (object: object, property_name: property_name);
}

diff --git a/src/FileFormat/ZipArchiveHandler.vala b/src/FileFormat/ZipArchiveHandler.vala
index ca60dd0..5d65aa2 100644
--- a/src/FileFormat/ZipArchiveHandler.vala
+++ b/src/FileFormat/ZipArchiveHandler.vala
@@ -262,11 +262,17 @@ public class Akira.FileFormat.ZipArchiveHandler : GLib.Object {
continue;
}

+ Posix.off_t offset;
+#if VALA_0_42
+ uint8[] buffer;
+ while (archive.read_data_block (out buffer, out offset) == Archive.Result.OK) {
+ if (extractor.write_data_block (buffer, offset) != Archive.Result.OK) {
+#else
void* buffer = null;
size_t buffer_length;
- Posix.off_t offset;
while (archive.read_data_block (out buffer, out buffer_length, out offset) == Archive.Result.OK) {
if (extractor.write_data_block (buffer, buffer_length, offset) != Archive.Result.OK) {
+#endif
break;
}
}
@@ -316,9 +322,15 @@ public class Akira.FileFormat.ZipArchiveHandler : GLib.Object {
// Add an entry to the archive
Archive.Entry entry = new Archive.Entry ();
entry.set_pathname (initial_folder.get_relative_path (current_file));
+#if VALA_0_42
+ entry.set_size ((Archive.int64_t) file_info.get_size ());
+ entry.set_filetype (Archive.FileType.IFREG);
+ entry.set_perm (Archive.FileType.IFREG);
+#else
entry.set_size (file_info.get_size ());
entry.set_filetype ((uint) Posix.S_IFREG);
entry.set_perm (0644);
+#endif

if (archive.write_header (entry) != Archive.Result.OK) {
critical ("Error writing '%s': %s (%d)", current_file.get_path (), archive.error_string (), archive.errno ());
@@ -333,7 +345,11 @@ public class Akira.FileFormat.ZipArchiveHandler : GLib.Object {
break;
}

+#if VALA_0_42
+ archive.write_data (buffer[0:bytes_read]);
+#else
archive.write_data (buffer, bytes_read);
+#endif
}
}
}
10 changes: 10 additions & 0 deletions pkgs/applications/graphics/inkscape/default.nix
Original file line number Diff line number Diff line change
@@ -25,6 +25,16 @@ stdenv.mkDerivation rec {
url = "https://gitlab.com/inkscape/inkscape/commit/e831b034746f8dc3c3c1b88372751f6dcb974831.diff";
sha256 = "096rdyi6ppjq1h9jwwsm9hb99nggfrfinik8rm23jkn4h2zl01zf";
})
(fetchpatch {
name = "inkscape-poppler_0_82_compat.patch";
url = "https://gitlab.com/inkscape/inkscape/commit/835b6bb62be565efab986d5a3f30a672ad56c7eb.patch";
sha256 = "02c6sxi2w52b885vr3pgani6kvxp9gdqqk2jgiykkdzv70hhrnm7";
})
(fetchpatch {
name = "inkscape-poppler_0_83_compat.patch";
url = "https://gitlab.com/inkscape/inkscape/commit/b5360a807b12d4e8318475ffd0464b84882788b5.patch";
sha256 = "1p44rr2q2i3zkd1y1j7xgdcbgx8yvlq6hq92im8s0bkjby6p5cpz";
})
];

# Inkscape hits the ARGMAX when linking on macOS. It appears to be
16 changes: 8 additions & 8 deletions pkgs/applications/misc/hugo/default.nix
Original file line number Diff line number Diff line change
@@ -2,27 +2,27 @@

buildGoModule rec {
pname = "hugo";
version = "0.60.0";
version = "0.60.1";

goPackagePath = "github.com/gohugoio/hugo";

src = fetchFromGitHub {
owner = "gohugoio";
repo = pname;
rev = "v${version}";
sha256 = "0g8rq79xp7c9p31xc0anfjyz7xp8n7qzv3vmvg2nmzl7nayg88aa";
owner = "gohugoio";
repo = pname;
rev = "v${version}";
sha256 = "0l8n87y5zrs09s693rqvqwz0233wlr4jwib7r36ilss1qgm7x6n5";
};

modSha256 = "12h1ik1hgs4lkmk699wpa34rnycnm03qyr2vp1y5lywz1h93by20";
modSha256 = "1an4plbx06fzz2iqzgs08r6vsjpkl5lbqck5jqmv6fv7b7psf7iw";

buildFlags = "-tags extended";

subPackages = [ "." ];

meta = with stdenv.lib; {
description = "A fast and modern static website engine.";
homepage = https://gohugo.io;
homepage = "https://gohugo.io";
license = licenses.asl20;
maintainers = with maintainers; [ schneefux ];
maintainers = with maintainers; [ schneefux filalex77 ];
};
}
4 changes: 2 additions & 2 deletions pkgs/development/compilers/rgbds/default.nix
Original file line number Diff line number Diff line change
@@ -6,12 +6,12 @@

stdenv.mkDerivation rec {
pname = "rgbds";
version = "0.3.8";
version = "0.3.9";
src = fetchFromGitHub {
owner = "rednex";
repo = "rgbds";
rev = "v${version}";
sha256 = "0db37z886026svhj6qnc3wk56sndbnz1vi41gn2k3bl6ppbnjlpk";
sha256 = "0pzd9ig3ahpgq7jbj82grllxx1v01d620insr2m8h0c6jj25n5hv";
};
nativeBuildInputs = [ bison flex pkg-config libpng ];
installFlags = "PREFIX=\${out}";
10 changes: 9 additions & 1 deletion pkgs/development/libraries/grpc/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, cmake, zlib, c-ares, pkgconfig, openssl, protobuf, gflags }:
{ stdenv, fetchFromGitHub, fetchpatch, cmake, zlib, c-ares, pkgconfig, openssl, protobuf, gflags }:

stdenv.mkDerivation rec {
version = "1.25.0"; # N.B: if you change this, change pythonPackages.grpcio and pythonPackages.grpcio-tools to a matching version too
@@ -10,6 +10,14 @@ stdenv.mkDerivation rec {
sha256 = "02nbmbk1xpibjzvbhi8xpazmwry46ki24vks1sh2p0aqwy4hv6yb";
fetchSubmodules = true;
};
patches = [
# Fix build on armv6l (https://github.com/grpc/grpc/pull/21341)
(fetchpatch {
url = "https://github.com/grpc/grpc/commit/ffb8a278389c8e3403b23a9897b65a7390c34645.patch";
sha256 = "1lc12a3gccg9wxqhnwgldlj3zmlm6lxg8dssvvj1x7hf655kw3w3";
})
];

nativeBuildInputs = [ cmake pkgconfig ];
buildInputs = [ zlib c-ares c-ares.cmake-config openssl protobuf gflags ];

17 changes: 9 additions & 8 deletions pkgs/development/libraries/mimalloc/default.nix
Original file line number Diff line number Diff line change
@@ -1,37 +1,38 @@
{ stdenv, fetchFromGitHub, cmake
{ stdenv, fetchFromGitHub, cmake, ninja
, secureBuild ? true
}:

let
soext = stdenv.hostPlatform.extensions.sharedLibrary;
in
stdenv.mkDerivation rec {
name = "mimalloc-${version}";
pname = "mimalloc";
version = "1.1.0";

src = fetchFromGitHub {
owner = "microsoft";
repo = "mimalloc";
repo = pname;
rev = "refs/tags/v${version}";
sha256 = "1i8pwzpcmbf7dxncb984xrnczn1737xqhf1jaizlyw0k1hpiam4v";
};

nativeBuildInputs = [ cmake ];
nativeBuildInputs = [ cmake ninja ];
enableParallelBuilding = true;

cmakeFlags = stdenv.lib.optional secureBuild [ "-DMI_SECURE=ON" ];

postInstall = ''
# first, install headers, that's easy
mkdir -p $dev
mv $out/lib/*/include $dev/include
rm -f $out/lib/libmimalloc*${soext} # weird duplicate
# move everything else into place
mv $out/lib/*/libmimalloc*${soext} $out/lib/libmimalloc${soext}
mv $out/lib/*/libmimalloc*.a $out/lib/libmimalloc.a
mv $out/lib/*/mimalloc*.o $out/lib/mimalloc.o
rm -rf $out/lib/mimalloc-*
# remote duplicate dir. FIXME: try to fix the .cmake file distribution
# so we can re-use it for dependencies...
rm -r $out/lib/mimalloc-1.0/
'';

outputs = [ "out" "dev" ];
4 changes: 2 additions & 2 deletions pkgs/development/libraries/poppler/default.nix
Original file line number Diff line number Diff line change
@@ -12,11 +12,11 @@ let
in
stdenv.mkDerivation rec {
name = "poppler-${suffix}-${version}";
version = "0.81.0"; # beware: updates often break cups-filters build
version = "0.83.0"; # beware: updates often break cups-filters build

src = fetchurl {
url = "${meta.homepage}/poppler-${version}.tar.xz";
sha256 = "00pykc7nym3xg0wc60awv0i35zwdfyn0igb6jrnb6rsv0c5h4b91";
sha256 = "16vr1g5qsqwyxfnyikqw37i04x9zpp45far2x90c7qbijw6nap38";
};

outputs = [ "out" "dev" ];
7 changes: 6 additions & 1 deletion pkgs/development/python-modules/gpapi/default.nix
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
{ stdenv, buildPythonPackage, fetchPypi, requests, protobuf, pycryptodome }:
{ stdenv, buildPythonPackage, fetchPypi, pythonOlder
, requests
, protobuf
, pycryptodome
}:

buildPythonPackage rec {
version = "0.4.4";
pname = "gpapi";
disabled = pythonOlder "3.3"; # uses shutil.which(), added in 3.3

src = fetchPypi {
inherit version pname;
4 changes: 2 additions & 2 deletions pkgs/development/python-modules/gplaycli/default.nix
Original file line number Diff line number Diff line change
@@ -4,13 +4,13 @@

buildPythonPackage rec {
pname = "gplaycli";
version = "3.25";
version = "3.26";

src = fetchFromGitHub {
owner = "matlink";
repo = "gplaycli";
rev = version;
sha256 = "1rygx5cg4b1vwpkiaq6jcpbc1ly7cspslv3sy7x8n8ba61ryq6h4";
sha256 = "188237d40q35dp5xs7hg4ybhvsyxi0bsqx5dk4ws9007n596in5f";
};

disabled = !isPy3k;
7 changes: 4 additions & 3 deletions pkgs/tools/misc/fzf/default.nix
Original file line number Diff line number Diff line change
@@ -2,16 +2,16 @@

buildGoModule rec {
pname = "fzf";
version = "0.18.0";
version = "0.19.0";

src = fetchFromGitHub {
owner = "junegunn";
repo = pname;
rev = version;
sha256 = "0pwpr4fpw56yzzkcabzzgbgwraaxmp7xzzmap7w1xsrkbj7dl2xl";
sha256 = "192ci09yi2hps02skcnbfwyjbf7pl0wb6q2zshb58cid5zgla8bx";
};

modSha256 = "0xc4166d74ix5nzjphrq4rgw7qpskz05ymzl77i2qh2nhbdb53p0";
modSha256 = "12lnv8b96adpcg9qfizcyd9nxz590nxd82xch6ij719zlqyps143";

outputs = [ "out" "man" ];

@@ -60,6 +60,7 @@ buildGoModule rec {
homepage = "https://github.com/junegunn/fzf";
description = "A command-line fuzzy finder written in Go";
license = licenses.mit;
maintainers = with maintainers; [ filalex77 ];
platforms = platforms.unix;
};
}
Loading