summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>2020-12-08 00:39:07 +0000
committerGitHub <noreply@github.com>2020-12-08 00:39:07 +0000
commitdb90e75adeb139f05891f3d7ce1dd7bfb4c02484 (patch)
tree6e7c9b23443597e334948a67baa2938fe823b266
parenta474f0d1e6b4418e9ca91f33db3ac414459f6572 (diff)
parent3ac57532a5b82e8bda346b336398f2b1755769ab (diff)
Merge staging-next into staging
-rw-r--r--maintainers/maintainer-list.nix28
-rw-r--r--nixos/modules/services/hardware/thermald.nix2
-rw-r--r--nixos/tests/all-tests.nix1
-rw-r--r--nixos/tests/etesync-dav.nix21
-rw-r--r--pkgs/applications/graphics/goxel/default.nix4
-rw-r--r--pkgs/applications/misc/etesync-dav/default.nix17
-rw-r--r--pkgs/applications/misc/openrgb/default.nix23
-rw-r--r--pkgs/applications/misc/plater/default.nix19
-rw-r--r--pkgs/data/misc/fedora-backgrounds/generic.nix8
-rw-r--r--pkgs/development/libraries/cmark-gfm/default.nix24
-rw-r--r--pkgs/development/libraries/libinklevel/default.nix35
-rw-r--r--pkgs/development/python-modules/breezy/default.nix3
-rw-r--r--pkgs/development/python-modules/etebase/default.nix61
-rw-r--r--pkgs/development/python-modules/ledgerwallet/default.nix41
-rw-r--r--pkgs/development/python-modules/llfuse/default.nix4
-rw-r--r--pkgs/development/python-modules/patiencediff/default.nix18
-rw-r--r--pkgs/development/python-modules/pygame/default.nix9
-rw-r--r--pkgs/development/python-modules/rtmidi-python/default.nix11
-rw-r--r--pkgs/development/python-modules/traitlets/default.nix4
-rw-r--r--pkgs/development/tools/bazel-watcher/default.nix10
-rw-r--r--pkgs/development/tools/gauge/default.nix4
-rw-r--r--pkgs/os-specific/linux/kernel/hardened/patches.json24
-rw-r--r--pkgs/os-specific/linux/kernel/linux-libre.nix4
-rw-r--r--pkgs/servers/jackett/default.nix4
-rw-r--r--pkgs/tools/inputmethods/netevent/default.nix41
-rw-r--r--pkgs/tools/misc/ink/default.nix28
-rw-r--r--pkgs/tools/networking/gping/default.nix6
-rw-r--r--pkgs/tools/system/htop/default.nix4
-rw-r--r--pkgs/top-level/all-packages.nix8
-rw-r--r--pkgs/top-level/python-packages.nix10
30 files changed, 402 insertions, 74 deletions
diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix
index d007f03ac44e..b52a26f140e1 100644
--- a/maintainers/maintainer-list.nix
+++ b/maintainers/maintainer-list.nix
@@ -64,6 +64,12 @@
githubId = 791309;
name = "Jan Hrnko";
};
+ _3699n = {
+ email = "nicholas@nvk.pm";
+ github = "3699n";
+ githubId = 7414843;
+ name = "Nicholas von Klitzing";
+ };
a1russell = {
email = "adamlr6+pub@gmail.com";
github = "a1russell";
@@ -7403,6 +7409,12 @@
githubId = 165283;
name = "Alexey Kutepov";
};
+ rgrunbla = {
+ email = "remy@grunblatt.org";
+ github = "rgrunbla";
+ githubId = 42433779;
+ name = "Rémy Grünblatt";
+ };
rht = {
email = "rhtbot@protonmail.com";
github = "rht";
@@ -7743,6 +7755,12 @@
github = "s1341";
githubId = 5682183;
};
+ samb96 = {
+ email = "samb96@gmail.com";
+ github = "samb96";
+ githubId = 819426;
+ name = "Sam Bickley";
+ };
samdoshi = {
email = "sam@metal-fish.co.uk";
github = "samdoshi";
@@ -9446,6 +9464,16 @@
githubId = 19174984;
name = "Alex Whitt";
};
+ wildsebastian = {
+ name = "Sebastian Wild";
+ email = "sebastian@wild-siena.com";
+ github = "wildsebastian";
+ githubId = 1215623;
+ keys = [{
+ longkeyid = "rsa4096/0x366A2940479A06FC";
+ fingerprint = "DA03 D6C6 3F58 E796 AD26 E99B 366A 2940 479A 06FC";
+ }];
+ };
willibutz = {
email = "willibutz@posteo.de";
github = "willibutz";
diff --git a/nixos/modules/services/hardware/thermald.nix b/nixos/modules/services/hardware/thermald.nix
index 241490c5aae7..6be255cebf1d 100644
--- a/nixos/modules/services/hardware/thermald.nix
+++ b/nixos/modules/services/hardware/thermald.nix
@@ -39,7 +39,7 @@ in {
--no-daemon \
${optionalString cfg.debug "--loglevel=debug"} \
${optionalString (cfg.configFile != null) "--config-file ${cfg.configFile}"} \
- --dbus-enable
+ --dbus-enable \
--adaptive
'';
};
diff --git a/nixos/tests/all-tests.nix b/nixos/tests/all-tests.nix
index c58203cc481f..807a4bcdd9b8 100644
--- a/nixos/tests/all-tests.nix
+++ b/nixos/tests/all-tests.nix
@@ -103,6 +103,7 @@ in
ergo = handleTest ./ergo.nix {};
etcd = handleTestOn ["x86_64-linux"] ./etcd.nix {};
etcd-cluster = handleTestOn ["x86_64-linux"] ./etcd-cluster.nix {};
+ etesync-dav = handleTest ./etesync-dav.nix {};
fancontrol = handleTest ./fancontrol.nix {};
fcitx = handleTest ./fcitx {};
ferm = handleTest ./ferm.nix {};
diff --git a/nixos/tests/etesync-dav.nix b/nixos/tests/etesync-dav.nix
new file mode 100644
index 000000000000..286f919aa8c1
--- /dev/null
+++ b/nixos/tests/etesync-dav.nix
@@ -0,0 +1,21 @@
+import ./make-test-python.nix ({ pkgs, ... }: {
+
+ name = "etesync-dav";
+ meta = with pkgs.stdenv.lib.maintainers; {
+ maintainers = [ _3699n ];
+ };
+
+ machine = { config, pkgs, ... }: {
+ environment.systemPackages = [ pkgs.curl pkgs.etesync-dav ];
+ };
+
+ testScript =
+ ''
+ machine.wait_for_unit("multi-user.target")
+ machine.succeed("etesync-dav --version")
+ machine.execute("etesync-dav &")
+ machine.wait_for_open_port(37358)
+ with subtest("Check that the web interface is accessible"):
+ assert "Add User" in machine.succeed("curl -s http://localhost:37358/.web/add/")
+ '';
+})
diff --git a/pkgs/applications/graphics/goxel/default.nix b/pkgs/applications/graphics/goxel/default.nix
index 40d0f4a3db8a..771109fb55d2 100644
--- a/pkgs/applications/graphics/goxel/default.nix
+++ b/pkgs/applications/graphics/goxel/default.nix
@@ -3,13 +3,13 @@
stdenv.mkDerivation rec {
pname = "goxel";
- version = "0.10.6";
+ version = "0.10.7";
src = fetchFromGitHub {
owner = "guillaumechereau";
repo = "goxel";
rev = "v${version}";
- sha256 = "1wmxy5wfk1xrqgz0y0zcr4vkddylqc70cv4vzk117x6whjnldsm3";
+ sha256 = "1v6m6nhl1if8ik5bmblhq46bip6y2qz18a04s8a9awb4yh9ls039";
};
patches = [ ./disable-imgui_ini.patch ];
diff --git a/pkgs/applications/misc/etesync-dav/default.nix b/pkgs/applications/misc/etesync-dav/default.nix
index 5e3a85c3b93f..0cbb3cc75a7e 100644
--- a/pkgs/applications/misc/etesync-dav/default.nix
+++ b/pkgs/applications/misc/etesync-dav/default.nix
@@ -2,31 +2,22 @@
python3Packages.buildPythonApplication rec {
pname = "etesync-dav";
- version = "0.20.0";
+ version = "0.30.6";
src = python3Packages.fetchPypi {
inherit pname version;
- sha256 = "1q8h89hqi4kxphn1g5nbcia0haz5k57is9rycwaabm55mj9s9fah";
+ sha256 = "0cjz4p3a750fwvrxbzwda0sidw7nscahvppdshbsx49i6qrczpbg";
};
- postPatch = ''
- substituteInPlace setup.py --replace "Radicale==" "Radicale>="
- '';
-
propagatedBuildInputs = with python3Packages; [
+ etebase
etesync
flask
flask_wtf
radicale3
];
- checkInputs = with python3Packages; [
- pytest
- ];
-
- checkPhase = ''
- pytest
- '';
+ doCheck = false;
meta = with lib; {
homepage = "https://www.etesync.com/";
diff --git a/pkgs/applications/misc/openrgb/default.nix b/pkgs/applications/misc/openrgb/default.nix
index 09a09811ab18..df9e149d9a7c 100644
--- a/pkgs/applications/misc/openrgb/default.nix
+++ b/pkgs/applications/misc/openrgb/default.nix
@@ -1,35 +1,30 @@
-{ mkDerivation, lib, fetchFromGitHub, qmake, libusb1, hidapi, pkg-config, fetchpatch }:
+{ lib, mkDerivation, fetchFromGitLab, qmake, libusb1, hidapi, pkg-config }:
mkDerivation rec {
pname = "openrgb";
- version = "0.4";
+ version = "0.5";
- src = fetchFromGitHub {
+ src = fetchFromGitLab {
owner = "CalcProgrammer1";
repo = "OpenRGB";
rev = "release_${version}";
- sha256 = "sha256-tHrRG2Zx7NYqn+WPiRpAlWA/QmxuAYidENanTkC1XVw";
+ sha256 = "001x2ycfmlb9s21sp91aw5gxizcn6kzm8x7bvkps4b1iq0ap5fzv";
};
nativeBuildInputs = [ qmake pkg-config ];
buildInputs = [ libusb1 hidapi ];
- patches = [
- # Make build SOURCE_DATE_EPOCH aware, merged in master
- (fetchpatch {
- url = "https://gitlab.com/CalcProgrammer1/OpenRGB/-/commit/f1b7b8ba900db58a1119d8d3e21c1c79de5666aa.patch";
- sha256 = "17m1hn1kjxfcmd4p3zjhmr5ar9ng0zfbllq78qxrfcq1a0xrkybx";
- })
- ];
-
installPhase = ''
mkdir -p $out/bin
- cp OpenRGB $out/bin
+ cp openrgb $out/bin
+
+ mkdir -p $out/etc/udev/rules.d
+ cp 60-openrgb.rules $out/etc/udev/rules.d
'';
doInstallCheck = true;
installCheckPhase = ''
- $out/bin/OpenRGB --help > /dev/null
+ HOME=$TMPDIR $out/bin/openrgb --help > /dev/null
'';
enableParallelBuilding = true;
diff --git a/pkgs/applications/misc/plater/default.nix b/pkgs/applications/misc/plater/default.nix
index 9d29390870e8..9b034f9f904e 100644
--- a/pkgs/applications/misc/plater/default.nix
+++ b/pkgs/applications/misc/plater/default.nix
@@ -3,7 +3,9 @@
, fetchFromGitHub
, lib
, libGLU
+, makeDesktopItem
, qtbase
+, wrapQtAppsHook
}:
mkDerivation rec {
@@ -17,9 +19,24 @@ mkDerivation rec {
sha256 = "0r20mbzd16zv1aiadjqdy7z6sp09rr6lgfxhvir4ll3cpakkynr4";
};
- nativeBuildInputs = [ cmake ];
+ nativeBuildInputs = [ cmake wrapQtAppsHook ];
buildInputs = [ libGLU qtbase ];
+ desktopItem = makeDesktopItem {
+ name = pname;
+ exec = pname;
+ icon = pname;
+ desktopName = "Ideamaker";
+ genericName = meta.description;
+ categories = "Utility;Engineering;";
+ };
+
+ postInstall = ''
+ mkdir -p $out/share/pixmaps
+ ln -s ${desktopItem}/share/applications $out/share/
+ cp $src/gui/img/plater.png $out/share/pixmaps/${pname}.png
+ '';
+
meta = with lib; {
description = "3D-printer parts placer and plate generator";
homepage = "https://github.com/Rhoban/Plater";
diff --git a/pkgs/data/misc/fedora-backgrounds/generic.nix b/pkgs/data/misc/fedora-backgrounds/generic.nix
index 25043c34e5d9..e191dd027e8f 100644
--- a/pkgs/data/misc/fedora-backgrounds/generic.nix
+++ b/pkgs/data/misc/fedora-backgrounds/generic.nix
@@ -1,4 +1,4 @@
-{ stdenv
+{ stdenvNoCC
, coreutils
}:
@@ -7,10 +7,10 @@
, patches ? [ ]
}:
-stdenv.mkDerivation {
+stdenvNoCC.mkDerivation {
inherit patches src version;
- pname = "fedora${stdenv.lib.versions.major version}-backgrounds";
+ pname = "fedora${stdenvNoCC.lib.versions.major version}-backgrounds";
dontBuild = true;
@@ -32,7 +32,7 @@ stdenv.mkDerivation {
"DESTDIR=$(out)"
];
- meta = with stdenv.lib; {
+ meta = with stdenvNoCC.lib; {
homepage = "https://github.com/fedoradesign/backgrounds";
description = "A set of default and supplemental wallpapers for Fedora";
license = licenses.cc-by-sa-40;
diff --git a/pkgs/development/libraries/cmark-gfm/default.nix b/pkgs/development/libraries/cmark-gfm/default.nix
new file mode 100644
index 000000000000..52a02772268b
--- /dev/null
+++ b/pkgs/development/libraries/cmark-gfm/default.nix
@@ -0,0 +1,24 @@
+{ stdenv, fetchFromGitHub, cmake }:
+stdenv.mkDerivation rec {
+ pname = "cmark-gfm";
+ version = "0.29.0.gfm.0";
+
+ src = fetchFromGitHub {
+ owner = "github";
+ repo = "cmark-gfm";
+ rev = version;
+ sha256 = "0wfr3xwl4wria8vld71flv6vpsdj9aj81yqvj0azidyb8p229a1l";
+ };
+
+ nativeBuildInputs = [ cmake ];
+ # tests load the library dynamically which for unknown reason failed
+ doCheck = false;
+
+ meta = with stdenv.lib; {
+ description = "GitHub's fork of cmark, a CommonMark parsing and rendering library and program in C";
+ homepage = "https://github.com/github/cmark-gfm";
+ maintainers = with maintainers; [ cyplo ];
+ platforms = platforms.unix;
+ license = licenses.bsd2;
+ };
+}
diff --git a/pkgs/development/libraries/libinklevel/default.nix b/pkgs/development/libraries/libinklevel/default.nix
new file mode 100644
index 000000000000..90f6936d458a
--- /dev/null
+++ b/pkgs/development/libraries/libinklevel/default.nix
@@ -0,0 +1,35 @@
+{ stdenv, fetchurl, pkg-config, libusb1 }:
+
+stdenv.mkDerivation rec {
+ pname = "libinklevel";
+ version = "0.9.3";
+
+ src = fetchurl {
+ url = "mirror://sourceforge/${pname}/${pname}-${version}.tar.gz";
+ sha256 = "1zwkicjznkzw81ax745inv4n29y20vq82w8249vizaal76739n19";
+ };
+
+ buildInputs = [
+ pkg-config
+ libusb1
+ ];
+
+ outputs = [ "out" "dev" "doc" ];
+
+ meta = with stdenv.lib; {
+ description = "A library for checking the ink level of your printer";
+ longDescription = ''
+ Libinklevel is a library for checking the ink level of your printer on a
+ system which runs Linux or FreeBSD. It supports printers attached via
+ USB. Currently printers of the following brands are supported: HP, Epson
+ and Canon. Canon BJNP network printers are supported too. This is not
+ official software from the printer manufacturers. The goal of this
+ project is to create a vendor independent API for retrieving the ink
+ level of a printer connected to a Linux or FreeBSD box.
+ '';
+ homepage = "http://libinklevel.sourceforge.net/";
+ license = licenses.gpl2;
+ platforms = platforms.linux ++ platforms.freebsd;
+ maintainers = with maintainers; [ samb96 ];
+ };
+}
diff --git a/pkgs/development/python-modules/breezy/default.nix b/pkgs/development/python-modules/breezy/default.nix
index 55fb8deb5fc3..21d0b6d9f308 100644
--- a/pkgs/development/python-modules/breezy/default.nix
+++ b/pkgs/development/python-modules/breezy/default.nix
@@ -2,6 +2,7 @@
, buildPythonPackage
, fetchPypi
, configobj
+, patiencediff
, six
, fastimport
, dulwich
@@ -18,7 +19,7 @@ buildPythonPackage rec {
sha256 = "1eff207403f48898fa3b3ffa7a4275197c6c58fec105ef267caf1f5fd5a6c7be";
};
- propagatedBuildInputs = [ configobj six fastimport dulwich launchpadlib ];
+ propagatedBuildInputs = [ configobj patiencediff six fastimport dulwich launchpadlib ];
checkInputs = [ testtools ];
diff --git a/pkgs/development/python-modules/etebase/default.nix b/pkgs/development/python-modules/etebase/default.nix
new file mode 100644
index 000000000000..366c447ed942
--- /dev/null
+++ b/pkgs/development/python-modules/etebase/default.nix
@@ -0,0 +1,61 @@
+{ stdenv
+, wheel
+, rustPlatform
+, pipInstallHook
+, setuptools-rust
+, python
+, msgpack
+, requests
+, openssl
+, perl
+, rustfmt
+, fetchFromGitHub
+, Security
+}:
+
+rustPlatform.buildRustPackage rec {
+ pname = "etebase";
+ version = "0.31.1";
+
+ src = fetchFromGitHub {
+ owner = "etesync";
+ repo = "etebase-py";
+ rev = "v${version}";
+ sha256 = "163iw64l8lwawf84qswcjsq9p8qddv9ysjrr3dzqpqxb2yb0sy39";
+ };
+
+ cargoSha256 = "0w8ypl6kj1mf6ahbdiwbd4jw6ldxdaig47zwk91jjsww5lbyx4lf";
+
+ nativeBuildInputs = [
+ rustfmt
+ perl
+ openssl
+ pipInstallHook
+ setuptools-rust
+ wheel
+ ];
+
+ buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security ];
+
+ propagatedBuildInputs = [
+ python
+ msgpack
+ ];
+
+ doCheck = true;
+
+ buildPhase = ''
+ ${python.interpreter} setup.py bdist_wheel
+ '';
+
+ installPhase = ''
+ pipInstallPhase
+ '';
+
+ meta = with stdenv.lib; {
+ homepage = "https://www.etebase.com/";
+ description = "A Python client library for Etebase";
+ license = licenses.bsd3;
+ maintainers = with maintainers; [ _3699n ];
+ };
+}
diff --git a/pkgs/development/python-modules/ledgerwallet/default.nix b/pkgs/development/python-modules/ledgerwallet/default.nix
new file mode 100644
index 000000000000..e25e9d5d2a4f
--- /dev/null
+++ b/pkgs/development/python-modules/ledgerwallet/default.nix
@@ -0,0 +1,41 @@
+{ stdenv
+, fetchFromGitHub
+, buildPythonPackage
+, cryptography
+, click
+, construct
+, ecdsa
+, hidapi
+, intelhex
+, pillow
+, protobuf
+, requests
+, tabulate
+, AppKit
+}:
+
+buildPythonPackage rec {
+ pname = "ledgerwallet";
+ version = "0.1.2";
+
+ src = fetchFromGitHub {
+ owner = "LedgerHQ";
+ repo = "ledgerctl";
+ rev = "v${version}";
+ sha256 = "0fb93h2wxm9as9rsywlgz2ng4wrlbjphn6mgbhj6nls2i86rrdxk";
+ };
+
+ buildInputs = stdenv.lib.optionals stdenv.isDarwin [ AppKit ];
+ propagatedBuildInputs = [
+ cryptography click construct ecdsa hidapi intelhex pillow protobuf requests tabulate
+ ];
+
+ pythonImportsCheck = [ "ledgerwallet" ];
+
+ meta = with stdenv.lib; {
+ homepage = "https://github.com/LedgerHQ/ledgerctl";
+ description = "A library to control Ledger devices";
+ license = licenses.mit;
+ maintainers = with maintainers; [ xwvvvvwx ];
+ };
+}
diff --git a/pkgs/development/python-modules/llfuse/default.nix b/pkgs/development/python-modules/llfuse/default.nix
index 1fa97d2949c9..e74a38a96e8f 100644
--- a/pkgs/development/python-modules/llfuse/default.nix
+++ b/pkgs/development/python-modules/llfuse/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchurl, fetchpatch, buildPythonPackage, pkgconfig, pytest, fuse, attr, which
+{ stdenv, fetchurl, fetchpatch, buildPythonPackage, pkgconfig, pytest_5, fuse, attr, which
, contextlib2, osxfuse
}:
@@ -31,7 +31,7 @@ buildPythonPackage rec {
buildInputs =
optionals stdenv.isLinux [ fuse ]
++ optionals stdenv.isDarwin [ osxfuse ];
- checkInputs = [ pytest which ] ++
+ checkInputs = [ pytest_5 which ] ++
optionals stdenv.isLinux [ attr ];
propagatedBuildInputs = [ contextlib2 ];
diff --git a/pkgs/development/python-modules/patiencediff/default.nix b/pkgs/development/python-modules/patiencediff/default.nix
new file mode 100644
index 000000000000..921fbe4c4312
--- /dev/null
+++ b/pkgs/development/python-modules/patiencediff/default.nix
@@ -0,0 +1,18 @@
+{ lib, buildPythonPackage, fetchPypi }:
+
+buildPythonPackage rec {
+ pname = "patiencediff";
+ version = "0.2.1";
+
+ src = fetchPypi {
+ inherit pname version;
+ sha256 = "0nm2242xgg59l06m54rzxp41aly3lxjh0a1s7h6dk7ryxjh002lv";
+ };
+
+ meta = with lib; {
+ description = "C implementation of patiencediff algorithm for Python";
+ homepage = "https://github.com/breezy-team/patiencediff";
+ license = licenses.gpl2Plus;
+ maintainers = [ maintainers.wildsebastian ];
+ };
+}
diff --git a/pkgs/development/python-modules/pygame/default.nix b/pkgs/development/python-modules/pygame/default.nix
index 81c4d4a4b9c1..673b14bfe4fc 100644
--- a/pkgs/development/python-modules/pygame/default.nix
+++ b/pkgs/development/python-modules/pygame/default.nix
@@ -1,5 +1,5 @@
{ lib, fetchPypi, buildPythonPackage, python, pkg-config, libX11
-, SDL, SDL_image, SDL_mixer, SDL_ttf, libpng, libjpeg, portmidi, freetype
+, SDL2, SDL2_image, SDL2_mixer, SDL2_ttf, libpng, libjpeg, portmidi, freetype
}:
buildPythonPackage rec {
@@ -12,11 +12,11 @@ buildPythonPackage rec {
};
nativeBuildInputs = [
- pkg-config SDL
+ pkg-config SDL2
];
buildInputs = [
- SDL SDL_image SDL_mixer SDL_ttf libpng libjpeg
+ SDL2 SDL2_image SDL2_mixer SDL2_ttf libpng libjpeg
portmidi libX11 freetype
];
@@ -27,8 +27,7 @@ buildPythonPackage rec {
sed \
-e "s/origincdirs = .*/origincdirs = []/" \
-e "s/origlibdirs = .*/origlibdirs = []/" \
- -e "/'\/lib\/i386-linux-gnu', '\/lib\/x86_64-linux-gnu']/d" \
- -e "/\/include\/smpeg/d" \
+ -e "/linux-gnu/d" \
-i buildconfig/config_unix.py
${lib.concatMapStrings (dep: ''
sed \
diff --git a/pkgs/development/python-modules/rtmidi-python/default.nix b/pkgs/development/python-modules/rtmidi-python/default.nix
index 68927cc9ca03..a1d8102fecc1 100644
--- a/pkgs/development/python-modules/rtmidi-python/default.nix
+++ b/pkgs/development/python-modules/rtmidi-python/default.nix
@@ -1,6 +1,4 @@
-{ lib, buildPythonPackage, fetchPypi
-, alsaLib
-}:
+{ lib, buildPythonPackage, fetchPypi, cython, alsaLib }:
buildPythonPackage rec {
pname = "rtmidi-python";
@@ -11,8 +9,15 @@ buildPythonPackage rec {
sha256 = "1wpcaxfpbmsjc78g8841kpixr0a3v6zn0ak058s3mm25kcysp4m0";
};
+ postPatch = ''
+ rm rtmidi_python.cpp
+ '';
+
+ nativeBuildInputs = [ cython ];
buildInputs = [ alsaLib ];
+ setupPyBuildFlags = [ "--from-cython" ];
+
# package has no tests
doCheck = false;
diff --git a/pkgs/development/python-modules/traitlets/default.nix b/pkgs/development/python-modules/traitlets/default.nix
index bfbb297cdc08..5d304c61f5cb 100644
--- a/pkgs/development/python-modules/traitlets/default.nix
+++ b/pkgs/development/python-modules/traitlets/default.nix
@@ -1,5 +1,6 @@
{ lib
, buildPythonPackage
+, isPy27
, fetchPypi
, glibcLocales
, pytest
@@ -14,6 +15,7 @@
buildPythonPackage rec {
pname = "traitlets";
version = "5.0.5";
+ disabled = isPy27;
src = fetchPypi {
inherit pname version;
@@ -27,8 +29,6 @@ buildPythonPackage rec {
LC_ALL="en_US.UTF-8" py.test
'';
-# doCheck = false;
-
meta = {
description = "Traitlets Python config system";
homepage = "http://ipython.org/";
diff --git a/pkgs/development/tools/bazel-watcher/default.nix b/pkgs/development/tools/bazel-watcher/default.nix
index 59a345faf29c..e0a7febb875f 100644
--- a/pkgs/development/tools/bazel-watcher/default.nix
+++ b/pkgs/development/tools/bazel-watcher/default.nix
@@ -13,13 +13,13 @@ let
in
buildBazelPackage rec {
name = "bazel-watcher-${version}";
- version = "0.13.1";
+ version = "0.14.0";
src = fetchFromGitHub {
owner = "bazelbuild";
repo = "bazel-watcher";
rev = "v${version}";
- sha256 = "0n28q27510ymg5d455hrbk7z8wawszgjmqjjhb4zximqhvxks7kh";
+ sha256 = "0gigl1lg8sb4bj5crvj54329ws4yirldbncs15f96db6vhp0ig7r";
};
nativeBuildInputs = [ go git python ];
@@ -56,7 +56,7 @@ buildBazelPackage rec {
sed -e '/^FILE:@bazel_gazelle_go_repository_tools.*/d' -i $bazelOut/external/\@*.marker
'';
- sha256 = "0rfdwss8aahydiybwhi3j0qw12j1l91k9lbn1vaip0bmnq5qfwh9";
+ sha256 = "0yl5rs6y1xifxjfsa9zv8bjcwiky7rxk9y3rmi01pqpsm7ik12a9";
};
buildAttrs = {
@@ -64,6 +64,8 @@ buildBazelPackage rec {
preBuild = ''
patchShebangs .
+
+ substituteInPlace ibazel/BUILD --replace '{STABLE_GIT_VERSION}' ${version}
'';
installPhase = ''
@@ -77,5 +79,7 @@ buildBazelPackage rec {
license = licenses.asl20;
maintainers = with maintainers; [ kalbasit ];
platforms = platforms.all;
+ # broken on darwin, see https://github.com/NixOS/nixpkgs/issues/105573
+ broken = stdenv.isDarwin;
};
}
diff --git a/pkgs/development/tools/gauge/default.nix b/pkgs/development/tools/gauge/default.nix
index d7ec8564cf16..dd48998c7410 100644
--- a/pkgs/development/tools/gauge/default.nix
+++ b/pkgs/development/tools/gauge/default.nix
@@ -2,7 +2,7 @@
buildGoPackage rec {
pname = "gauge";
- version = "1.1.5";
+ version = "1.1.6";
goPackagePath = "github.com/getgauge/gauge";
excludedPackages = ''\(build\|man\)'';
@@ -11,7 +11,7 @@ buildGoPackage rec {
owner = "getgauge";
repo = "gauge";
rev = "v${version}";
- sha256 = "0jijw9x1ccqbb9kkzx1bj3wsq6v1415hvlbiihswqbb559bcmira";
+ sha256 = "02yrk4d5mm4j2grlhqkf4grxawx91kd2vhdn7k5wd2dl6wsnlgcl";
};
meta = with stdenv.lib; {
diff --git a/pkgs/os-specific/linux/kernel/hardened/patches.json b/pkgs/os-specific/linux/kernel/hardened/patches.json
index c07c65d9be3f..afb97f09a9ab 100644
--- a/pkgs/os-specific/linux/kernel/hardened/patches.json
+++ b/pkgs/os-specific/linux/kernel/hardened/patches.json
@@ -1,18 +1,18 @@
{
"4.14": {
- "name": "linux-hardened-4.14.208.a.patch",
- "sha256": "09lmbfp6d4wpr2l7x1njq8q3sdiqz3rrjzkh6dqsdgwd9sdammb3",
- "url": "https://github.com/anthraxx/linux-hardened/releases/download/4.14.208.a/linux-hardened-4.14.208.a.patch"
+ "name": "linux-hardened-4.14.210.a.patch",
+ "sha256": "1dzcxbby15r8k2xm0f4k0rz4j4jxx6br2h5hzfg6j5r07533vavg",
+ "url": "https://github.com/anthraxx/linux-hardened/releases/download/4.14.210.a/linux-hardened-4.14.210.a.patch"
},
"4.19": {
- "name": "linux-hardened-4.19.159.a.patch",
- "sha256": "0ma4lf97l625474xha5pfb8kph2lm3892g6z63fwd5s1vmva6ni6",
- "url": "https://github.com/anthraxx/linux-hardened/releases/download/4.19.159.a/linux-hardened-4.19.159.a.patch"
+ "name": "linux-hardened-4.19.161.a.patch",
+ "sha256": "0xb29ybmw1gj186hn4q6hq3dnw3pljgmv4yd3xjf462hhb35pwsv",
+ "url": "https://github.com/anthraxx/linux-hardened/releases/download/4.19.161.a/linux-hardened-4.19.161.a.patch"
},
"5.4": {
- "name": "linux-hardened-5.4.79.a.patch",
- "sha256": "154i6ggj27qgsw562jcd93abcd54b4jllkr87h4k2ia6c0mfq4yb",
- "url": "https://github.com/anthraxx/linux-hardened/releases/download/5.4.79.a/linux-hardened-5.4.79.a.patch"
+ "name": "linux-hardened-5.4.81.a.patch",
+ "sha256": "1dm2rb7wwwi9s4zx2dbldamn85g98zvxq4r1c6icljyzkjk49wjh",
+ "url": "https://github.com/anthraxx/linux-hardened/releases/download/5.4.81.a/linux-hardened-5.4.81.a.patch"
},
"5.8": {
"name": "linux-hardened-5.8.18.a.patch",
@@ -20,8 +20,8 @@
"url": "https://github.com/anthraxx/linux-hardened/releases/download/5.8.18.a/linux-hardened-5.8.18.a.patch"
},
"5.9": {
- "name": "linux-hardened-5.9.10.a.patch",
- "sha256": "08gdr5sq156lap08nirw4gjq26vr8k65kbjh4js2ndrb0v49f2lk",
- "url": "https://github.com/anthraxx/linux-hardened/releases/download/5.9.10.a/linux-hardened-5.9.10.a.patch"
+ "name": "linux-hardened-5.9.12.a.patch",
+ "sha256": "18w35spv6lxniidnj0zw8gp02knhm3af3qif46plxcplyjbys6bw",
+ "url": "https://github.com/anthraxx/linux-hardened/releases/download/5.9.12.a/linux-hardened-5.9.12.a.patch"
}
}
diff --git a/pkgs/os-specific/linux/kernel/linux-libre.nix b/pkgs/os-specific/linux/kernel/linux-libre.nix
index f0d362b02ce0..baf2ca589aa5 100644
--- a/pkgs/os-specific/linux/kernel/linux-libre.nix
+++ b/pkgs/os-specific/linux/kernel/linux-libre.nix
@@ -1,8 +1,8 @@