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: b55a44dd6687
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: 1309be91f1a0
Choose a head ref

Commits on Sep 9, 2020

  1. electron_10: init at 10.1.1

    (cherry picked from commit 8d9fadd)
    prusnak committed Sep 9, 2020
    Copy the full SHA
    86e0afa View commit details
  2. electron_9: 9.0.2 -> 9.3.0

    (cherry picked from commit b7f0533)
    prusnak committed Sep 9, 2020
    Copy the full SHA
    e579db4 View commit details
  3. electron_8: 8.3.1 -> 8.5.1

    (cherry picked from commit 4599eb4)
    prusnak committed Sep 9, 2020
    Copy the full SHA
    b4c8551 View commit details
  4. electron_7: 7.3.1 -> 7.3.3

    (cherry picked from commit 6954f77)
    prusnak committed Sep 9, 2020
    Copy the full SHA
    d04dd0a View commit details
  5. electron: move definition into generic.nix

    (cherry picked from commit 5047502)
    worldofpeace authored and prusnak committed Sep 9, 2020
    Copy the full SHA
    0281de0 View commit details
  6. 1password-gui: move required electron version to package definition

    (cherry picked from commit 1c10ce6)
    prusnak committed Sep 9, 2020
    Copy the full SHA
    a049411 View commit details
  7. Merge pull request #97552 from prusnak/electron-20.09

    [20.09] Electron updates
    worldofpeace authored Sep 9, 2020
    Copy the full SHA
    dfafbfb View commit details
  8. Merge #97528: aegisub: fix build with make 4.3

    (cherry picked from commit e7979aa)
    vcunat committed Sep 9, 2020
    Copy the full SHA
    e6ff3ab View commit details
  9. nixos/jellyfin: document stateVersion 20.09 in release notes

    (cherry picked from commit ad48050)
    minijackson committed Sep 9, 2020
    Copy the full SHA
    5741433 View commit details
  10. maintainers/build: skip packages without meta

    Some packages do not have a meta attribute, and made the script crash.
    
    (cherry picked from commit b4496d4)
    fgaz committed Sep 9, 2020
    Copy the full SHA
    558d5ce View commit details
  11. Merge pull request #97558 from minijackson/jellyfin-stateVersion-20.0…

    …9-releaseNotes-backport
    
    [20.09] Jellyfin state version 20.09 release notes backport
    worldofpeace authored Sep 9, 2020
    Copy the full SHA
    81d088f View commit details
  12. Merge pull request #97559 from fgaz/zhf-backports/maintainers-build-fix

    [20.09] maintainers/build: skip packages without meta
    worldofpeace authored Sep 9, 2020
    Copy the full SHA
    b8244d1 View commit details
  13. Merge pull request #97288 from Atemu/update/linux_5_8

    linux_5_8: 5.8.6 -> 5.8.7
    NeQuissimus committed Sep 9, 2020
    Copy the full SHA
    86b2fa9 View commit details
  14. linux: 5.4.62 -> 5.4.63

    NeQuissimus committed Sep 9, 2020
    Copy the full SHA
    e8bcb18 View commit details
  15. Copy the full SHA
    1b136af View commit details
  16. Copy the full SHA
    8e78d43 View commit details
  17. Copy the full SHA
    0be4612 View commit details
  18. Copy the full SHA
    ca0615c View commit details
  19. pythonPackages.aresponses: only py3k

    (cherry picked from commit 467dcc5)
    makefu authored and Mic92 committed Sep 9, 2020
    Copy the full SHA
    f053f1c View commit details
  20. pythonPackages.pyhaversion: py3k only

    (cherry picked from commit b30dfc4)
    makefu authored and Mic92 committed Sep 9, 2020
    Copy the full SHA
    46f14c8 View commit details
  21. verilog: unstable-2019-08-01 -> unstable-2020-08-24

    The build would previously fail due to a change in bison's behavior (see
    steveicarus/iverilog@5b699c1
    for more information). Updating to a more recent version fixes this
    issue.
    
    (cherry picked from commit 339f624)
    cole-h committed Sep 9, 2020
    Copy the full SHA
    ea10097 View commit details
  22. Merge pull request #97567 from cole-h/release-20.09

    [20.09] verilog: unstable-2019-08-01 -> unstable-2020-08-24
    worldofpeace authored Sep 9, 2020
    Copy the full SHA
    1d6f202 View commit details
  23. recoll: qt4 -> qt5, fix build

    (cherry picked from commit 9cdfa8a)
    woffs committed Sep 9, 2020
    Copy the full SHA
    ab77e4d View commit details
  24. python3Packages.jq: 0.1.8 -> 1.0.2

    (cherry picked from commit cf54ef9)
    wkral authored and Jon committed Sep 9, 2020
    Copy the full SHA
    786a346 View commit details
  25. codimd: build with nodejs-12_x instead of nodejs-10_x

    The codimd test is now exposed via passthru.tests
    
    (cherry picked from commit 46e3949)
    WilliButz authored and Ma27 committed Sep 9, 2020
    Copy the full SHA
    3265417 View commit details
  26. [20.09] csvkit: fix failing test

    The build for this package was failing due to failing tests that were caused by a breaking change in a dependency. The requirements.txt for this package does not pin specific versions so it was trying to build with the new version of the dependency and failing. This commit overrides the version of the dependency that is used to build the package.
    
    (cherry picked from commit 32c9ee2)
    Tim Zook committed Sep 9, 2020
    Copy the full SHA
    ca58161 View commit details
  27. mlton: fix build

    (cherry picked from commit a7f9d33)
    gebner committed Sep 9, 2020
    Copy the full SHA
    3a8c2b7 View commit details
  28. mlton: use callPackage

    (cherry picked from commit ad0d43e)
    gebner committed Sep 9, 2020
    Copy the full SHA
    a824b76 View commit details
  29. Merge pull request #97573 from woffs/recoll-qt5-20.09

    [20.09] recoll: qt4 -> qt5, fix build
    worldofpeace authored Sep 9, 2020
    Copy the full SHA
    fc35e4d View commit details
  30. Merge pull request #97580 from zookatron/release-20.09

    [20.09] csvkit: fix failing test
    worldofpeace authored Sep 9, 2020
    Copy the full SHA
    9089e5a View commit details
  31. flashrom: fix aarch64 build

    (cherry-picked from commit f7e0ff0)
    Milan Pässler committed Sep 9, 2020
    Copy the full SHA
    1309be9 View commit details
2 changes: 1 addition & 1 deletion maintainers/scripts/build.nix
Original file line number Diff line number Diff line change
@@ -30,7 +30,7 @@ in
packagesWith
(name: pkg:
(
if builtins.hasAttr "maintainers" pkg.meta
if builtins.hasAttr "meta" pkg && builtins.hasAttr "maintainers" pkg.meta
then (
if builtins.isList pkg.meta.maintainers
then builtins.elem maintainer_ pkg.meta.maintainers
10 changes: 10 additions & 0 deletions nixos/doc/manual/release-notes/rl-2009.xml
Original file line number Diff line number Diff line change
@@ -1095,6 +1095,16 @@ CREATE ROLE postgres LOGIN SUPERUSER;
New option <xref linkend="opt-services.caddy.adapter"/> has been added.
</para>
</listitem>
<listitem>
<para>
The <link linkend="opt-services.jellyfin.enable">jellyfin</link> module will use and stay on the Jellyfin version <literal>10.5.5</literal>
if <literal>stateVersion</literal> is lower than <literal>20.09</literal>. This is because significant changes were made to the database schema,
and it is highly recommended to backup your instance before upgrading. After making your backup, you can upgrade to the latest version either by
setting your <literal>stateVersion</literal> to <literal>20.09</literal> or higher, or set the <option>services.jellyfin.package</option> to
<literal>pkgs.jellyfin</literal>. If you do not wish to upgrade Jellyfin, but want to change your <literal>stateVersion</literal>, you can set
the value of <option>services.jellyfin.package</option> to <literal>pkgs.jellyfin_10_5</literal>.
</para>
</listitem>
</itemizedlist>
</section>

8 changes: 4 additions & 4 deletions pkgs/applications/science/electronics/verilog/default.nix
Original file line number Diff line number Diff line change
@@ -4,13 +4,13 @@

stdenv.mkDerivation rec {
pname = "iverilog";
version = "unstable-2019-08-01";
version = "unstable-2020-08-24";

src = fetchFromGitHub {
owner = "steveicarus";
owner = "steveicarus";
repo = pname;
rev = "c383d2048c0bd15f5db083f14736400546fb6215";
sha256 = "1zs0gyhws0qa315magz3w5m45v97knczdgbf2zn4d7bdb7cv417c";
rev = "d8556e4c86e1465b68bdc8d5ba2056ba95a42dfd";
sha256 = "sha256-sT9j/0Q2FD5MOGpH/quMGvAuM7t7QavRHKD9lX7Elfs=";
};

enableParallelBuilding = true;
14 changes: 7 additions & 7 deletions pkgs/applications/search/recoll/default.nix
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{ stdenv, fetchurl, lib, bison
, qt4, xapian, file, python, perl
{ mkDerivation, stdenv, fetchurl, lib, bison
, qtbase, xapian, file, python, perl
, djvulibre, groff, libxslt, unzip, poppler_utils, antiword, catdoc, lyx
, libwpd, unrtf, untex
, ghostscript, gawk, gnugrep, gnused, gnutar, gzip, libiconv, zlib
, withGui ? true }:

assert stdenv.hostPlatform.system != "powerpc-linux";

stdenv.mkDerivation rec {
mkDerivation rec {
ver = "1.24.5";
name = "recoll-${ver}";

@@ -16,12 +16,12 @@ stdenv.mkDerivation rec {
sha256 = "10m3a0ghnyipjcxapszlr8adyy2yaaxx4vgrkxrfmz13814z89cv";
};

configureFlags = [ "--enable-recollq" ]
configureFlags = [ "--enable-recollq" "--disable-webkit" ]
++ lib.optionals (!withGui) [ "--disable-qtgui" "--disable-x11mon" ]
++ (if stdenv.isLinux then [ "--with-inotify" ] else [ "--without-inotify" ]);

buildInputs = [ xapian file python bison zlib ]
++ lib.optional withGui qt4
++ lib.optional withGui qtbase
++ lib.optional stdenv.isDarwin libiconv;

patchPhase = stdenv.lib.optionalString stdenv.isDarwin ''
@@ -31,7 +31,7 @@ stdenv.mkDerivation rec {

# the filters search through ${PATH} using a sh proc 'checkcmds' for the
# filtering utils. Short circuit this by replacing the filtering command with
# the absolute path to the filtering command.
# the absolute path to the filtering command.
postInstall = ''
for f in $out/share/recoll/filters/* ; do
if [[ ! "$f" =~ \.zip$ ]]; then
@@ -67,7 +67,7 @@ stdenv.mkDerivation rec {
description = "A full-text search tool";
longDescription = ''
Recoll is an Xapian frontend that can search through files, archive
members, email attachments.
members, email attachments.
'';
homepage = "https://www.lesbonscomptes.com/recoll/";
license = licenses.gpl2;
6 changes: 6 additions & 0 deletions pkgs/applications/video/aegisub/default.nix
Original file line number Diff line number Diff line change
@@ -68,6 +68,12 @@ stdenv.mkDerivation
url = "https://github.com/Aegisub/Aegisub/commit/c3c446a8d6abc5127c9432387f50c5ad50012561.patch";
sha256 = "1n8wmjka480j43b1pr30i665z8hdy6n3wdiz1ls81wyv7ai5yygf";
})

# Compatbility with make 4.3
(fetchpatch {
url = "https://github.com/Aegisub/Aegisub/commit/6bd3f4c26b8fc1f76a8b797fcee11e7611d59a39.patch";
sha256 = "1s9cc5rikrqb9ivjbag4b8yxcyjsmmmw744394d5xq8xi4k12vxc";
})
];

nativeBuildInputs = [
17 changes: 6 additions & 11 deletions pkgs/development/compilers/mlton/default.nix
Original file line number Diff line number Diff line change
@@ -1,26 +1,21 @@
{ stdenv, fetchurl, fetchgit, patchelf, gmp }:
{ callPackage }:

rec {
mlton20130715 = import ./20130715.nix {
inherit stdenv fetchurl patchelf gmp;
};
mlton20130715 = callPackage ./20130715.nix {};

mlton20180207Binary = import ./20180207-binary.nix {
inherit stdenv fetchurl patchelf gmp;
};
mlton20180207Binary = callPackage ./20180207-binary.nix {};

mlton20180207 = import ./from-git-source.nix {
mlton20180207 = callPackage ./from-git-source.nix {
mltonBootstrap = mlton20180207Binary;
version = "20180207";
rev = "on-20180207-release";
sha256 = "00rdd2di5x1dzac64il9z05m3fdzicjd3226wwjyynv631jj3q2a";
inherit stdenv fetchgit gmp;
};

mltonHEAD = import ./from-git-source.nix {
mltonHEAD = callPackage ./from-git-source.nix {
mltonBootstrap = mlton20180207Binary;
version = "HEAD";
rev = "e149c9917cfbfe6aba5c986a958ed76d5cc6cfde";
sha256 = "0a0j1i0f0fxw2my1309srq5j3vz0kawrrln01gxms2m5hy5dl50d";
inherit stdenv fetchgit gmp;
};
}
3 changes: 3 additions & 0 deletions pkgs/development/compilers/mlton/from-git-source.nix
Original file line number Diff line number Diff line change
@@ -6,6 +6,7 @@
, sha256
, stdenv
, version
, which
}:

stdenv.mkDerivation {
@@ -16,6 +17,8 @@ stdenv.mkDerivation {
inherit url rev sha256;
};

nativeBuildInputs = [ which ];

buildInputs = [mltonBootstrap gmp];

preBuild = ''
3 changes: 3 additions & 0 deletions pkgs/development/python-modules/aresponses/default.nix
Original file line number Diff line number Diff line change
@@ -6,12 +6,15 @@
# buildInputs
, pytest
, pytest-asyncio
, isPy3k
}:

buildPythonPackage rec {
pname = "aresponses";
version = "2.0.0";

disabled = !isPy3k;

src = fetchPypi {
inherit pname version;
sha256 = "58693a6b715edfa830a20903ee1d1b2a791251923f311b3bebf113e8ff07bb35";
12 changes: 3 additions & 9 deletions pkgs/development/python-modules/jq/default.nix
Original file line number Diff line number Diff line change
@@ -1,21 +1,15 @@
{ buildPythonPackage, fetchPypi, lib, cython, jq }:
{ buildPythonPackage, fetchPypi, lib, jq }:

buildPythonPackage rec {
pname = "jq";
version = "0.1.8";
version = "1.0.2";

src = fetchPypi {
inherit pname version;
sha256 = "9b6bb376237133080185ab556ca2a724e8be5b31946eb2053d4a1f17ae9df9a8";
sha256 = "9fe6ce07bc8d209c385d8ba132a2971c69aef015103c46bea87a73a16c5ec147";
};
patches = [ ./jq-py-setup.patch ];

nativeBuildInputs = [ cython ];

preBuild = ''
cython jq.pyx
'';

buildInputs = [ jq ];

meta = {
111 changes: 64 additions & 47 deletions pkgs/development/python-modules/jq/jq-py-setup.patch
Original file line number Diff line number Diff line change
@@ -1,83 +1,95 @@
From 3f369cf8b9f7134d0792f6b141d39b5342a8274f Mon Sep 17 00:00:00 2001
From: Benjamin Staffin <benley@gmail.com>
Date: Mon, 14 Jan 2019 17:27:06 -0500
From 968ddf2bd773e800e46737fced743bd00af9aa0d Mon Sep 17 00:00:00 2001
From: William Kral <william.kral@gmail.com>
Date: Tue, 8 Sep 2020 22:04:24 -0700
Subject: [PATCH] Vastly simplify setup.py for distro compatibility

---
setup.py | 81 +-------------------------------------------------------
1 file changed, 1 insertion(+), 80 deletions(-)
setup.py | 101 ++-----------------------------------------------------
1 file changed, 2 insertions(+), 99 deletions(-)

diff --git a/setup.py b/setup.py
index 77933f2..2b71e25 100644
index cb63f60..87380ed 100644
--- a/setup.py
+++ b/setup.py
@@ -1,10 +1,6 @@
@@ -1,114 +1,19 @@
#!/usr/bin/env python

import os
-import platform
-import subprocess
-import tarfile
-import shutil
-import sysconfig

try:
import sysconfig
@@ -14,88 +10,15 @@ except ImportError:

-import requests
from setuptools import setup
from distutils.extension import Extension
-from distutils.command.build_ext import build_ext
-from setuptools.command.build_ext import build_ext
from setuptools.extension import Extension


-def urlretrieve(source_url, destination_path):
- response = requests.get(source_url, stream=True)
- if response.status_code != 200:
- raise Exception("status code was: {}".format(response.status_code))
-
-try:
- from urllib import urlretrieve
-except ImportError:
- from urllib.request import urlretrieve
- with open(destination_path, "wb") as fileobj:
- for chunk in response.iter_content(chunk_size=128):
- fileobj.write(chunk)
-
-def path_in_dir(relative_path):
- return os.path.abspath(os.path.join(os.path.dirname(__file__), relative_path))

-
-def dependency_path(relative_path):
- return os.path.join(path_in_dir("_deps"), relative_path)
-
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()


-jq_lib_tarball_path = path_in_dir("_jq-lib-1.5.tar.gz")
-jq_lib_dir = path_in_dir("jq-jq-1.5")
-jq_lib_tarball_path = dependency_path("jq-lib-1.6.tar.gz")
-jq_lib_dir = dependency_path("jq-1.6")
-
-oniguruma_lib_tarball_path = path_in_dir("_onig-5.9.6.tar.gz")
-oniguruma_lib_build_dir = path_in_dir("onig-5.9.6")
-oniguruma_lib_install_dir = path_in_dir("onig-install-5.9.6")
-oniguruma_version = "6.9.4"
-oniguruma_lib_tarball_path = dependency_path("onig-{}.tar.gz".format(oniguruma_version))
-oniguruma_lib_build_dir = dependency_path("onig-{}".format(oniguruma_version))
-oniguruma_lib_install_dir = dependency_path("onig-install-{}".format(oniguruma_version))
-
-class jq_build_ext(build_ext):
- def run(self):
- if not os.path.exists(dependency_path(".")):
- os.makedirs(dependency_path("."))
- self._build_oniguruma()
- self._build_libjq()
- build_ext.run(self)
-
-
- def _build_oniguruma(self):
- self._build_lib(
- source_url="https://github.com/kkos/oniguruma/releases/download/v5.9.6/onig-5.9.6.tar.gz",
- source_url="https://github.com/kkos/oniguruma/releases/download/v{0}/onig-{0}.tar.gz".format(oniguruma_version),
- tarball_path=oniguruma_lib_tarball_path,
- lib_dir=oniguruma_lib_build_dir,
- commands=[
- ["./configure", "CFLAGS=-fPIC", "--prefix=" + oniguruma_lib_install_dir],
- ["make"],
- ["make", "install"],
- ])
-
-
-
-
- def _build_libjq(self):
- self._build_lib(
- source_url="https://github.com/stedolan/jq/archive/jq-1.5.tar.gz",
- source_url="https://github.com/stedolan/jq/releases/download/jq-1.6/jq-1.6.tar.gz",
- tarball_path=jq_lib_tarball_path,
- lib_dir=jq_lib_dir,
- commands=[
- ["autoreconf", "-i"],
- ["./configure", "CFLAGS=-fPIC", "--disable-maintainer-mode", "--with-oniguruma=" + oniguruma_lib_install_dir],
- ["make"],
- ])
-
-
- def _build_lib(self, source_url, tarball_path, lib_dir, commands):
- self._download_tarball(source_url, tarball_path)
- self._download_tarball(
- source_url=source_url,
- tarball_path=tarball_path,
- lib_dir=lib_dir,
- )
-
- macosx_deployment_target = sysconfig.get_config_var("MACOSX_DEPLOYMENT_TARGET")
- if macosx_deployment_target:
@@ -86,45 +98,50 @@ index 77933f2..2b71e25 100644
- def run_command(args):
- print("Executing: %s" % ' '.join(args))
- subprocess.check_call(args, cwd=lib_dir)
-
-
- for command in commands:
- run_command(command)
-
- def _download_tarball(self, source_url, tarball_path):
-
- def _download_tarball(self, source_url, tarball_path, lib_dir):
- if os.path.exists(tarball_path):
- os.unlink(tarball_path)
- print("Downloading {}".format(source_url))
- urlretrieve(source_url, tarball_path)
-
- if os.path.exists(jq_lib_dir):
- shutil.rmtree(jq_lib_dir)
- tarfile.open(tarball_path, "r:gz").extractall(path_in_dir("."))
- print("Downloaded {}".format(source_url))
-
- if os.path.exists(lib_dir):
- shutil.rmtree(lib_dir)
- tarfile.open(tarball_path, "r:gz").extractall(dependency_path("."))
-
-
jq_extension = Extension(
"jq",
sources=["jq.c"],
- include_dirs=[jq_lib_dir],
- include_dirs=[os.path.join(jq_lib_dir, "src")],
- extra_link_args=["-lm"],
- extra_objects=[
- os.path.join(jq_lib_dir, ".libs/libjq.a"),
- os.path.join(oniguruma_lib_install_dir, "lib/libonig.a"),
- ],
+ libraries=["jq"],
+ libraries=["jq"]
)

setup(
@@ -107,7 +30,6 @@ setup(
url='https://github.com/mwilliamson/jq.py',
@@ -120,8 +25,7 @@ setup(
url='http://github.com/mwilliamson/jq.py',
python_requires='>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*',
license='BSD 2-Clause',
ext_modules = [jq_extension],
- ext_modules = [jq_extension],
- cmdclass={"build_ext": jq_build_ext},
+ ext_modules=[jq_extension],
classifiers=[
'Development Status :: 4 - Beta',
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
@@ -123,4 +45,3 @@ setup(
'Programming Language :: Python :: 3.5',
@@ -137,4 +41,3 @@ setup(
'Programming Language :: Python :: 3.8',
],
)
-
--
2.19.2
2.28.0

Loading