Merge staging-next into staging

This commit is contained in:
github-actions[bot]
2020-12-16 12:21:20 +00:00
committed by GitHub
18 changed files with 287 additions and 193 deletions
@@ -24,7 +24,7 @@
, nixosTests
, gstreamerSupport ? true, gst_all_1 ? null
, ffmpegSupport ? true, ffmpeg ? null
, bluezSupport ? true, bluez ? null, sbc ? null
, bluezSupport ? true, bluez ? null, sbc ? null, libopenaptx ? null, ldacbt ? null
, nativeHspSupport ? true
, ofonoSupport ? true
, hsphfpdSupport ? true
@@ -39,7 +39,7 @@ let
in
stdenv.mkDerivation rec {
pname = "pipewire";
version = "0.3.17";
version = "0.3.18";
outputs = [
"out"
@@ -56,7 +56,7 @@ stdenv.mkDerivation rec {
owner = "pipewire";
repo = "pipewire";
rev = version;
sha256 = "1gzdahji23fsgjycc08h7zzv8filmzdrkyvpkljc881l4cb5l58n";
sha256 = "1yghhgs18yqrnd0b2r75l5n8yng962r1wszbsi01v6i9zib3jc9g";
};
patches = [
@@ -91,7 +91,7 @@ stdenv.mkDerivation rec {
systemd
] ++ lib.optionals gstreamerSupport [ gst_all_1.gst-plugins-base gst_all_1.gstreamer ]
++ lib.optional ffmpegSupport ffmpeg
++ lib.optionals bluezSupport [ bluez sbc ];
++ lib.optionals bluezSupport [ bluez libopenaptx ldacbt sbc ];
mesonFlags = [
"-Ddocs=true"
@@ -4,12 +4,12 @@
buildPythonPackage rec {
pname = "bugwarrior";
version = "1.7.0";
version = "1.8.0";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
sha256 = "1pmznka5dxcdjfak0p1yh7lhfbfazmx8g9ysv57lsrkqy4n61qks";
sha256 = "f024c29d2089b826f05481cace33a62aa984f33e98d226f6e41897e6f11b3f51";
};
propagatedBuildInputs = [
@@ -8,7 +8,7 @@
buildPythonPackage rec {
pname = "casbin";
version = "0.12.0";
version = "0.13.0";
disabled = isPy27;
@@ -16,7 +16,7 @@ buildPythonPackage rec {
owner = pname;
repo = "pycasbin";
rev = "v${version}";
sha256 = "0rik4167b5d8x035vmbw52qm6ghyb38z4ri7wfb43dnab6df0r9b";
sha256 = "1im5j3wsjh916v2mp1bfi53m6k6w9s3sr5ja4anrz4b9izc65m0j";
};
propagatedBuildInputs = [
@@ -0,0 +1,43 @@
{ buildPythonPackage
, fetchFromGitHub
, fetchPypi
, git
, isPy27
, lib
, pytestCheckHook
, ruamel_yaml
, toml
}:
buildPythonPackage rec {
pname = "pre-commit-hooks";
version = "3.3.0";
disabled = isPy27;
# fetchPypi does not provide tests
src = fetchFromGitHub {
owner = "pre-commit";
repo = pname;
rev = "v${version}";
sha256 = "1sppwcqsbr9gv2cpjslngcbggsxvdr84zgrin94yjr40jgkjzdpq";
};
propagatedBuildInputs = [ toml ruamel_yaml ];
checkInputs = [ git pytestCheckHook ];
# the tests require a functional git installation which requires a valid HOME
# directory.
preCheck = ''
export HOME="$(mktemp -d)"
git config --global user.name "Nix Builder"
git config --global user.email "nix-builder@nixos.org"
'';
meta = with lib; {
description = "Some out-of-the-box hooks for pre-commit";
homepage = "https://github.com/pre-commit/pre-commit-hooks";
license = licenses.mit;
maintainers = with maintainers; [ kalbasit ];
};
}
@@ -22,27 +22,27 @@
buildPythonPackage rec {
pname = "spacy";
version = "2.3.4";
version = "2.3.5";
src = fetchPypi {
inherit pname version;
sha256 = "a5c8805759114aac3a1db1b20f42af1124da5315be903ccb4c472cc8452393fb";
sha256 = "315278ab60094643baecd866017c7d4cbd966efd2d517ad0e6c888edf7fa5aef";
};
propagatedBuildInputs = [
blis
catalogue
cymem
jsonschema
murmurhash
numpy
plac
preshed
requests
setuptools
srsly
thinc
wasabi
blis
catalogue
cymem
jsonschema
murmurhash
numpy
plac
preshed
requests
setuptools
srsly
thinc
wasabi
] ++ lib.optional (pythonOlder "3.4") pathlib;
checkInputs = [
@@ -56,16 +56,16 @@ buildPythonPackage rec {
postPatch = ''
substituteInPlace setup.cfg \
--replace "blis>=0.4.0,<0.5.0" "blis>=0.4.0,<1.0" \
--replace "blis>=0.4.0,<0.8.0" "blis>=0.4.0,<1.0" \
--replace "catalogue>=0.0.7,<1.1.0" "catalogue>=0.0.7,<3.0" \
--replace "plac>=0.9.6,<1.2.0" "plac>=0.9.6,<2.0" \
--replace "srsly>=1.0.2,<1.1.0" "srsly>=1.0.2,<3.0" \
--replace "thinc==7.4.1" "thinc>=7.4.1,<8"
--replace "thinc>=7.4.1,<7.5.0" "thinc>=7.4.1,<8"
'';
pythonImportsCheck = [ "spacy" ];
passthru.tests = callPackage ./annotation-test {};
passthru.tests.annotation = callPackage ./annotation-test { };
meta = with lib; {
description = "Industrial-strength Natural Language Processing (NLP) with Python and Cython";