From bd1faf33685fb83278025e7157ffb2aa5162905b Mon Sep 17 00:00:00 2001 From: Jan Tojnar Date: Tue, 11 May 2021 17:46:29 +0200 Subject: [PATCH 01/23] spot: init at 0.1.14 --- pkgs/applications/audio/spot/default.nix | 79 ++++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 + 2 files changed, 81 insertions(+) create mode 100644 pkgs/applications/audio/spot/default.nix diff --git a/pkgs/applications/audio/spot/default.nix b/pkgs/applications/audio/spot/default.nix new file mode 100644 index 000000000000..afe669f38622 --- /dev/null +++ b/pkgs/applications/audio/spot/default.nix @@ -0,0 +1,79 @@ +{ lib +, stdenv +, fetchFromGitHub +, nix-update-script +, meson +, ninja +, gettext +, python3 +, desktop-file-utils +, rustPlatform +, pkg-config +, glib +, libhandy +, gtk3 +, openssl +, alsaLib +, libpulseaudio +, wrapGAppsHook +}: + +stdenv.mkDerivation rec { + pname = "spot"; + version = "0.1.14"; + + src = fetchFromGitHub { + owner = "xou816"; + repo = "spot"; + rev = version; + sha256 = "eHhbm1amTx3ngqsP32uDEdrhrBeurMftg5SToTQGX9o="; + }; + + cargoDeps = rustPlatform.fetchCargoTarball { + inherit src; + name = "${pname}-${version}"; + hash = "sha256-jY7pWoY9IJi5hHVRS1gQKb+Vmfc+wxHvoAwupOtXXQs="; + }; + + nativeBuildInputs = [ + gettext + meson + ninja + pkg-config + python3 # for meson postinstall script + gtk3 # for gtk-update-icon-cache + glib # for glib-compile-schemas + desktop-file-utils + rustPlatform.rust.cargo + rustPlatform.cargoSetupHook + rustPlatform.rust.rustc + wrapGAppsHook + ]; + + buildInputs = [ + glib + gtk3 + libhandy + openssl + alsaLib + libpulseaudio + ]; + + postPatch = '' + chmod +x build-aux/cargo.sh + patchShebangs build-aux/cargo.sh build-aux/meson/postinstall.py + ''; + + passthru = { + updateScript = nix-update-script { + attrPath = pname; + }; + }; + + meta = with lib; { + description = "Native Spotify client for the GNOME desktop"; + homepage = "https://github.com/xou816/spot"; + license = licenses.mit; + maintainers = with maintainers; [ jtojnar ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index f45616b80035..e9d0f5127c85 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -23903,6 +23903,8 @@ in spectrwm = callPackage ../applications/window-managers/spectrwm { }; + spot = callPackage ../applications/audio/spot { }; + spotify-cli-linux = callPackage ../applications/audio/spotify-cli-linux { }; spotifyd = callPackage ../applications/audio/spotifyd { From c77d583fa4ce0e698971e0adc0179484553634e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20=C8=98erb=C4=83nescu?= Date: Tue, 11 May 2021 23:39:38 +0200 Subject: [PATCH 02/23] gcstar: 1.7.2 -> 1.7.3 --- pkgs/applications/misc/gcstar/default.nix | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/misc/gcstar/default.nix b/pkgs/applications/misc/gcstar/default.nix index f77bf04c2c89..0ab40b034503 100644 --- a/pkgs/applications/misc/gcstar/default.nix +++ b/pkgs/applications/misc/gcstar/default.nix @@ -6,13 +6,13 @@ stdenv.mkDerivation rec { pname = "gcstar"; - version = "1.7.2"; + version = "1.7.3"; src = fetchFromGitLab { owner = "Kerenoc"; repo = "GCstar"; rev = "v${version}"; - sha256 = "1vqfff33sssvlvsva1dflggmwl00j5p64sn1669f9wrbvjkxgpv4"; + sha256 = "1hah8ijh9mvcgbh36y3d3s6y79mzz27w24f2i29qllv7cayf6129"; }; nativeBuildInputs = [ wrapGAppsHook ]; @@ -23,7 +23,8 @@ stdenv.mkDerivation rec { DateCalc DateTimeFormatStrptime Glib - Gtk2 + Gtk3 + Gtk3SimpleList GD GDGraph GDText From e0b048da92b619303c97f9cf2f7c2f045d1b2743 Mon Sep 17 00:00:00 2001 From: Luka Blaskovic Date: Sun, 23 May 2021 08:20:04 +0000 Subject: [PATCH 03/23] luajit_2_0: 2.0.5-2020-12-28 -> 2.0.5-2021-05-17 Changes since last update: https://github.com/LuaJIT/LuaJIT/compare/56c04accf975bff2519c34721dccbbdb7b8e6963...44684fa71d8af6fa8b3051c7d763bbfdcf7915d7 --- pkgs/development/interpreters/luajit/2.0.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/interpreters/luajit/2.0.nix b/pkgs/development/interpreters/luajit/2.0.nix index ffc406a2a7a3..c0be721701cb 100644 --- a/pkgs/development/interpreters/luajit/2.0.nix +++ b/pkgs/development/interpreters/luajit/2.0.nix @@ -1,10 +1,10 @@ { self, callPackage, lib }: callPackage ./default.nix { inherit self; - version = "2.0.5-2020-12-28"; - rev = "56c04accf975bff2519c34721dccbbdb7b8e6963"; + version = "2.0.5-2021-05-17"; + rev = "44684fa71d8af6fa8b3051c7d763bbfdcf7915d7"; isStable = true; - sha256 = "0mmx7dy843iqdpyxxdfks860np0311gg58gi4zczx10h62y6jacm"; + sha256 = "049d3l0miv4n0cnm35ml8flrb9vs12zvbda2743vypckymidliqp"; extraMeta = { # this isn't precise but it at least stops the useless Hydra build platforms = with lib; filter (p: p != "aarch64-linux") (platforms.linux ++ platforms.darwin); From e7a2af956ab48ca729730ab8cf59693d4f700d59 Mon Sep 17 00:00:00 2001 From: Luka Blaskovic Date: Sun, 23 May 2021 08:22:17 +0000 Subject: [PATCH 04/23] luajit_2_1: 2.1.0-2020-12-28 -> 2.1.0-2021-05-22 Changes since last update: https://github.com/LuaJIT/LuaJIT/compare/65378759f38bb946e40f31799992434effd01bba...5783ba1bf73c53ca56e64ed0c462c62224f0393c --- pkgs/development/interpreters/luajit/2.1.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/interpreters/luajit/2.1.nix b/pkgs/development/interpreters/luajit/2.1.nix index 7335ecd656ac..8be8aa82b08c 100644 --- a/pkgs/development/interpreters/luajit/2.1.nix +++ b/pkgs/development/interpreters/luajit/2.1.nix @@ -1,8 +1,8 @@ { self, callPackage }: callPackage ./default.nix { inherit self; - version = "2.1.0-2020-12-28"; - rev = "65378759f38bb946e40f31799992434effd01bba"; + version = "2.1.0-2021-05-22"; + rev = "5783ba1bf73c53ca56e64ed0c462c62224f0393c"; isStable = false; - sha256 = "1h78gydlrmvkdrql4ra5a3xr78iiq12bfmny6kiq65v1jbk8f19g"; + sha256 = "1j25xnbradks58lwsqnxcc7k29wsk2hnky0b1vjzpadrj0sxxc42"; } From 2881043be7ed3936a53a3c4cd7e8aae14de93b1a Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sun, 23 May 2021 23:57:48 +0200 Subject: [PATCH 05/23] python3Packages.syncer: init at 1.3.0 --- .../python-modules/syncer/default.nix | 30 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 ++ 2 files changed, 32 insertions(+) create mode 100644 pkgs/development/python-modules/syncer/default.nix diff --git a/pkgs/development/python-modules/syncer/default.nix b/pkgs/development/python-modules/syncer/default.nix new file mode 100644 index 000000000000..cd3bbf699de2 --- /dev/null +++ b/pkgs/development/python-modules/syncer/default.nix @@ -0,0 +1,30 @@ +{ lib +, buildPythonPackage +, fetchFromGitHub +, pythonOlder +}: + +buildPythonPackage rec { + pname = "syncer"; + version = "1.3.0"; + disabled = pythonOlder "3.7"; + + src = fetchFromGitHub { + owner = "miyakogi"; + repo = pname; + rev = "v${version}"; + sha256 = "13y8jllix1ipkcg9lxa4nxk8kj24vivxfizf4d02cdrha9dw500v"; + }; + + # Tests require an not maintained package (xfail) + doCheck = false; + + pythonImportsCheck = [ "syncer" ]; + + meta = with lib; { + description = "Python async to sync converter"; + homepage = "https://github.com/miyakogi/syncer"; + license = licenses.mit; + maintainers = with maintainers; [ fab ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 3ecf4494ff4f..5a548075badc 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -7952,6 +7952,8 @@ in { sympy = callPackage ../development/python-modules/sympy { }; + syncer = callPackage ../development/python-modules/syncer { }; + systembridge = callPackage ../development/python-modules/systembridge { }; systemd = callPackage ../development/python-modules/systemd { From 1d301b224b11f894621ff8b95d95abfdde8be0fc Mon Sep 17 00:00:00 2001 From: fortuneteller2k Date: Mon, 24 May 2021 10:41:24 +0800 Subject: [PATCH 06/23] polybar: 3.5.5 -> 3.5.6 --- pkgs/applications/misc/polybar/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/misc/polybar/default.nix b/pkgs/applications/misc/polybar/default.nix index 962bd9f592b9..2c431e68deed 100644 --- a/pkgs/applications/misc/polybar/default.nix +++ b/pkgs/applications/misc/polybar/default.nix @@ -42,13 +42,13 @@ stdenv.mkDerivation rec { pname = "polybar"; - version = "3.5.5"; + version = "3.5.6"; src = fetchFromGitHub { owner = pname; repo = pname; rev = version; - sha256 = "sha256-oRtTm5bXdL0C2WJsaK8H2Oc40DPWgAfjP7FgIHrpKGI="; + sha256 = "sha256-Uvj9V2M/uQxyziTx1hecrcaQZECijlpVmWcUeT+PqrI="; fetchSubmodules = true; }; From b62d2a5eca05d04ec26351016209ada7baaf281e Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Mon, 24 May 2021 09:16:48 +0200 Subject: [PATCH 07/23] python3Packages.pyppeteer: enable tests --- .../python-modules/pyppeteer/default.nix | 85 +++++++++++++++++-- 1 file changed, 77 insertions(+), 8 deletions(-) diff --git a/pkgs/development/python-modules/pyppeteer/default.nix b/pkgs/development/python-modules/pyppeteer/default.nix index 13f1794aebe0..6da76a5cdba5 100644 --- a/pkgs/development/python-modules/pyppeteer/default.nix +++ b/pkgs/development/python-modules/pyppeteer/default.nix @@ -1,25 +1,94 @@ -{ buildPythonPackage, fetchPypi, lib, urllib3, pyee, tqdm, websockets, appdirs }: +{ lib +, appdirs +, buildPythonPackage +, fetchFromGitHub +, fetchpatch +, poetry-core +, pyee +, pytest-xdist +, pytestCheckHook +, pythonOlder +, syncer +, tqdm +, urllib3 +, websockets +}: buildPythonPackage rec { pname = "pyppeteer"; version = "0.2.5"; + disabled = pythonOlder "3.6"; + format = "pyproject"; - src = fetchPypi { - inherit pname version; - sha256 = "c2974be1afa13b17f7ecd120d265d8b8cd324d536a231c3953ca872b68aba4af"; + src = fetchFromGitHub { + owner = pname; + repo = pname; + rev = version; + sha256 = "1hl4rw8j5yiak0d34vx1l1blr8125bscjd8m46a5m8xzm98csjc7"; }; - # tests want to write to /homeless-shelter - doCheck = false; + nativeBuildInputs = [ + poetry-core + ]; propagatedBuildInputs = [ appdirs - websockets - tqdm pyee + tqdm urllib3 + websockets ]; + checkInputs = [ + syncer + pytest-xdist + pytestCheckHook + ]; + + patches = [ + # Switch to poetry-core, https://github.com/pyppeteer/pyppeteer/pull/262 + (fetchpatch { + name = "switch-poetry-core.patch"; + url = "https://github.com/pyppeteer/pyppeteer/commit/e248baebefcf262fd96f261d940e74ed49ba2df9.patch"; + sha256 = "03g8n35kn2alqki37s0hf2231fk2zkr4nr1x1g2rfrhps9d6fyvw"; + }) + ]; + + postPatch = '' + # https://github.com/pyppeteer/pyppeteer/pull/252 + substituteInPlace pyproject.toml \ + --replace 'websockets = "^8.1"' 'websockets = "*"' + ''; + + disabledTestPaths = [ + # Requires network access + "tests/test_browser.py" + "tests/test_browser_context.py" + "tests/test_connection.py" + "tests/test_coverage.py" + "tests/test_dialog.py" + "tests/test_element_handle.py" + "tests/test_execution_context.py" + "tests/test_frame.py" + "tests/test_input.py" + "tests/test_launcher.py" + "tests/test_network.py" + "tests/test_page.py" + "tests/test_pyppeteer.py" + "tests/test_target.py" + "tests/test_tracing.py" + "tests/test_worker.py" + ]; + + disabledTests = [ + # Requires network access + "TestScreenShot" + "TestBrowserCrash" + "TestPDF" + ]; + + pythonImportsCheck = [ "pyppeteer" ]; + meta = { description = "Headless chrome/chromium automation library (unofficial port of puppeteer)"; homepage = "https://github.com/pyppeteer/pyppeteer"; From 07f326fb5f11b2ebe49264917373649c8e3f7a12 Mon Sep 17 00:00:00 2001 From: Mario Rodas Date: Wed, 26 May 2021 04:20:00 +0000 Subject: [PATCH 08/23] postgresqlPackages.timescaledb: 2.2.1 -> 2.3.0 https://github.com/timescale/timescaledb/releases/tag/2.3.0 --- pkgs/servers/sql/postgresql/ext/timescaledb.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/servers/sql/postgresql/ext/timescaledb.nix b/pkgs/servers/sql/postgresql/ext/timescaledb.nix index 7d90bdbcc72d..4afb4c985441 100644 --- a/pkgs/servers/sql/postgresql/ext/timescaledb.nix +++ b/pkgs/servers/sql/postgresql/ext/timescaledb.nix @@ -8,7 +8,7 @@ stdenv.mkDerivation rec { pname = "timescaledb"; - version = "2.2.1"; + version = "2.3.0"; nativeBuildInputs = [ cmake ]; buildInputs = [ postgresql openssl libkrb5 ]; @@ -17,7 +17,7 @@ stdenv.mkDerivation rec { owner = "timescale"; repo = "timescaledb"; rev = "refs/tags/${version}"; - sha256 = "1hk3yyiddhz9lxls981101malzs9b5vnw9wiiw2cxzcslkmg2gv9"; + sha256 = "03k6skl3191i5jby710xr1caq85cvzbjqmqv59mfkfbvihn2zfx2"; }; cmakeFlags = [ "-DSEND_TELEMETRY_DEFAULT=OFF" "-DREGRESS_CHECKS=OFF" ] From 52d8d95554f996b0a711c7b656e773bd32833df9 Mon Sep 17 00:00:00 2001 From: "R. RyanTM" Date: Wed, 26 May 2021 06:24:12 +0000 Subject: [PATCH 09/23] fly: 7.2.0 -> 7.3.0 --- .../tools/continuous-integration/fly/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/tools/continuous-integration/fly/default.nix b/pkgs/development/tools/continuous-integration/fly/default.nix index 76f0d86ae5c4..b34e1514750d 100644 --- a/pkgs/development/tools/continuous-integration/fly/default.nix +++ b/pkgs/development/tools/continuous-integration/fly/default.nix @@ -2,16 +2,16 @@ buildGoModule rec { pname = "fly"; - version = "7.2.0"; + version = "7.3.0"; src = fetchFromGitHub { owner = "concourse"; repo = "concourse"; rev = "v${version}"; - sha256 = "sha256-uKzN5h2gJqsD25ETgfYqu4ijC2b0ZLGdMGTiliFOatA="; + sha256 = "sha256-Hj6MqDTXGFuKNuG+bV154WnTR3BRnh9JcBuMecMKPY8="; }; - vendorSha256 = "sha256-2PvXylOPVA0/mIQhhKv8o65bfAxkvKP6FPunzTWwVtI="; + vendorSha256 = "sha256-30rrRkPIH0sr8koKRLs1Twe6Z55+lr9gkgUDrY+WOTw="; doCheck = false; From 8f23eb073a814df9322a44c1484585d267f7d10e Mon Sep 17 00:00:00 2001 From: eyjhb Date: Wed, 26 May 2021 10:55:20 +0200 Subject: [PATCH 10/23] betterlockscreen: readd patch for i3color --- .../misc/screensavers/betterlockscreen/default.nix | 2 ++ .../betterlockscreen/replace-i3lock.patch | 14 ++++++++++++++ 2 files changed, 16 insertions(+) create mode 100644 pkgs/misc/screensavers/betterlockscreen/replace-i3lock.patch diff --git a/pkgs/misc/screensavers/betterlockscreen/default.nix b/pkgs/misc/screensavers/betterlockscreen/default.nix index 287db1086977..127344193d84 100644 --- a/pkgs/misc/screensavers/betterlockscreen/default.nix +++ b/pkgs/misc/screensavers/betterlockscreen/default.nix @@ -16,6 +16,8 @@ stdenv.mkDerivation rec { nativeBuildInputs = [ makeWrapper ]; + patches = [ ./replace-i3lock.patch ]; + installPhase = let PATH = diff --git a/pkgs/misc/screensavers/betterlockscreen/replace-i3lock.patch b/pkgs/misc/screensavers/betterlockscreen/replace-i3lock.patch new file mode 100644 index 000000000000..439c3561f960 --- /dev/null +++ b/pkgs/misc/screensavers/betterlockscreen/replace-i3lock.patch @@ -0,0 +1,14 @@ +diff --git a/betterlockscreen b/betterlockscreen +index 6dd06e0..746d820 100755 +--- a/betterlockscreen ++++ b/betterlockscreen +@@ -87,7 +87,7 @@ prelock() { + lock() { + #$1 image path + +- i3lock \ ++ i3lock-color \ + -c 00000000 \ + -t -i "$1" \ + --timepos='x+110:h-70' \ + From dbc085cb44b90e4d533b6a24b7c9ca3c2c93d5e1 Mon Sep 17 00:00:00 2001 From: Harrison Houghton Date: Wed, 26 May 2021 10:59:47 -0400 Subject: [PATCH 11/23] acoustics: fix There's a bit of LaTeX math code in a comment in a test file: ``` .. math:: L = 10 \cdot \\log_{10}{\\left(\\frac{MS}{p_r^2} \\right)} ``` which of course should be `\\cdot`. I could patch it, but I think skipping deprecation warnings in tests is probably ok... (If nothing else it's easier.) --- pkgs/development/python-modules/acoustics/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/acoustics/default.nix b/pkgs/development/python-modules/acoustics/default.nix index 7b62c6791cb1..b652c28c6293 100644 --- a/pkgs/development/python-modules/acoustics/default.nix +++ b/pkgs/development/python-modules/acoustics/default.nix @@ -15,7 +15,7 @@ buildPythonPackage rec { checkPhase = '' pushd tests - py.test ./. + py.test -Wignore::DeprecationWarning ./. popd ''; From 6874b7001e4ba9e3176e0e49bad01a72bdf80251 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Wed, 26 May 2021 20:25:53 +0200 Subject: [PATCH 12/23] python3Packages.pynacl: switch to pytestCheckHook --- .../python-modules/pynacl/default.nix | 24 ++++++++++++------- 1 file changed, 16 insertions(+), 8 deletions(-) diff --git a/pkgs/development/python-modules/pynacl/default.nix b/pkgs/development/python-modules/pynacl/default.nix index 37cf0a9ef10a..ebd6aeb0fee3 100644 --- a/pkgs/development/python-modules/pynacl/default.nix +++ b/pkgs/development/python-modules/pynacl/default.nix @@ -1,16 +1,17 @@ { lib , buildPythonPackage , fetchPypi -, pytest +, pytestCheckHook +, pythonOlder , libsodium , cffi -, six , hypothesis }: buildPythonPackage rec { pname = "pynacl"; version = "1.4.0"; + disabled = pythonOlder "3.6"; src = fetchPypi { inherit version; @@ -18,15 +19,22 @@ buildPythonPackage rec { sha256 = "01b56hxrbif3hx8l6rwz5kljrgvlbj7shmmd2rjh0hn7974a5sal"; }; - checkInputs = [ pytest hypothesis ]; - buildInputs = [ libsodium ]; - propagatedBuildInputs = [ cffi six ]; + buildInputs = [ + libsodium + ]; + + propagatedBuildInputs = [ + cffi + ]; + + checkInputs = [ + hypothesis + pytestCheckHook + ]; SODIUM_INSTALL = "system"; - checkPhase = '' - py.test - ''; + pythonImportsCheck = [ "nacl" ]; meta = with lib; { maintainers = with maintainers; [ va1entin ]; From b5a12b4b61fca35c7ca94de0338a7e16841888f4 Mon Sep 17 00:00:00 2001 From: Maximilian Bosch Date: Wed, 26 May 2021 20:50:01 +0200 Subject: [PATCH 13/23] nixos/release-notes: fix `slaptest` command for openldap section When running - as suggested - `slaptest -f slapd.conf $TMPDIR` I get the following result: [root@ldap:/tmp/tmp.De46ABIbFf]# slaptest -f /nix/store/lks3ihydj40ff6yqvz0k33ycrc9vbyry-slapd.conf $TMPDIR usage: slaptest [-v] [-d debuglevel] [-f configfile] [-F configdir] [-o [=]] [-n databasenumber] [-u] [-Q] [root@ldap:/tmp/tmp.De46ABIbFf]# echo $? 1 Adding a `-F` option fixes the issue. --- nixos/doc/manual/release-notes/rl-2105.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/doc/manual/release-notes/rl-2105.xml b/nixos/doc/manual/release-notes/rl-2105.xml index 07b28147d696..7364151ef666 100644 --- a/nixos/doc/manual/release-notes/rl-2105.xml +++ b/nixos/doc/manual/release-notes/rl-2105.xml @@ -436,7 +436,7 @@ TMPDIR=$(mktemp -d) - slaptest -f /path/to/slapd.conf $TMPDIR + slaptest -f /path/to/slapd.conf -F $TMPDIR slapcat -F $TMPDIR -n0 -H 'ldap:///???(!(objectClass=olcSchemaConfig))' From c9624410211b192ea67c243ed58e0b43e8ea8758 Mon Sep 17 00:00:00 2001 From: "R. RyanTM" Date: Wed, 26 May 2021 19:15:35 +0000 Subject: [PATCH 14/23] gnome.hitori: 3.38.1 -> 3.38.2 --- pkgs/desktops/gnome/games/hitori/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/desktops/gnome/games/hitori/default.nix b/pkgs/desktops/gnome/games/hitori/default.nix index 1dc07bae26b1..9c08aa5cada4 100644 --- a/pkgs/desktops/gnome/games/hitori/default.nix +++ b/pkgs/desktops/gnome/games/hitori/default.nix @@ -18,11 +18,11 @@ stdenv.mkDerivation rec { pname = "hitori"; - version = "3.38.1"; + version = "3.38.2"; src = fetchurl { url = "mirror://gnome/sources/hitori/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; - sha256 = "Ar0sQh1OIYAmVxToVL0S79PG0Vbd8h95599gAR1OQYQ="; + sha256 = "wmQ1cwN/ansW6SCK7e6GkQJvCBq6qhYJQu21LwkCnKw="; }; nativeBuildInputs = [ From 4c7cf79b3605e51ce9d757f963ce6bfca047e9ca Mon Sep 17 00:00:00 2001 From: Cole Helbling Date: Tue, 25 May 2021 11:37:49 -0700 Subject: [PATCH 15/23] terraform-providers.hydra: 0.1.1 -> 0.1.2 --- .../networking/cluster/terraform-providers/providers.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/networking/cluster/terraform-providers/providers.json b/pkgs/applications/networking/cluster/terraform-providers/providers.json index 994b212d9df6..a3d8a98b77f5 100644 --- a/pkgs/applications/networking/cluster/terraform-providers/providers.json +++ b/pkgs/applications/networking/cluster/terraform-providers/providers.json @@ -440,10 +440,10 @@ "owner": "DeterminateSystems", "provider-source-address": "registry.terraform.io/DeterminateSystems/hydra", "repo": "terraform-provider-hydra", - "rev": "v0.1.1", - "sha256": "093al7crxgjimy4nnxvb1xy9p7yc0c7gf2rgvql7y3y3n8bz5q1b", + "rev": "v0.1.2", + "sha256": "1a1ah5pzng9ik8f18kqx87fdh1c5wqbn2bsbhqrzd1nb8fc5xl03", "vendorSha256": null, - "version": "0.1.1" + "version": "0.1.2" }, "ibm": { "owner": "IBM-Cloud", From b38eb1b34caa474b7a16a2e61d6aaeab244696ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Luis=20Lafuente?= Date: Wed, 26 May 2021 21:37:54 +0200 Subject: [PATCH 16/23] clojure: 1.10.3.839 -> 1.10.3.849 --- pkgs/development/interpreters/clojure/default.nix | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/pkgs/development/interpreters/clojure/default.nix b/pkgs/development/interpreters/clojure/default.nix index c7608ae02779..80f9fac63ceb 100644 --- a/pkgs/development/interpreters/clojure/default.nix +++ b/pkgs/development/interpreters/clojure/default.nix @@ -2,12 +2,12 @@ stdenv.mkDerivation rec { pname = "clojure"; - version = "1.10.3.839"; + version = "1.10.3.849"; src = fetchurl { # https://clojure.org/releases/tools url = "https://download.clojure.org/install/clojure-tools-${version}.tar.gz"; - sha256 = "sha256-nf8Vd60Opobj3gUPyYohQTzkG1G4kW9wWdBKRUba9+c="; + sha256 = "sha256-0bHb6FsCZP1LdxY21+hz6lF+ka9N0yoIHUWVd+zc7wg="; }; nativeBuildInputs = [ @@ -15,7 +15,7 @@ stdenv.mkDerivation rec { makeWrapper ]; - # See https://github.com/clojure/brew-install/blob/1.10.1/src/main/resources/clojure/install/linux-install.sh + # See https://github.com/clojure/brew-install/blob/1.10.3/src/main/resources/clojure/install/linux-install.sh installPhase = let binPath = lib.makeBinPath [ rlwrap jdk ]; @@ -34,6 +34,7 @@ stdenv.mkDerivation rec { echo "Installing clojure and clj into $bin_dir" substituteInPlace clojure --replace PREFIX $out + substituteInPlace clj --replace BINDIR $bin_dir install -Dm755 clojure "$bin_dir/clojure" install -Dm755 clj "$bin_dir/clj" From 84aa23742f6c72501f9cc209f29c438766f5352d Mon Sep 17 00:00:00 2001 From: Trolli Schmittlauch Date: Wed, 26 May 2021 21:57:38 +0200 Subject: [PATCH 17/23] poppler: build with nss by default for signature support (#124294) Since 21.01, poppler supports PDF signing. As applications like okular start to make use of that feature, nss support for poppler is enabled by default to avoid unnecessary package duplication. When building a `minimal` version of poppler, nss is disabled as well. closes #120928 --- pkgs/development/libraries/poppler/default.nix | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pkgs/development/libraries/poppler/default.nix b/pkgs/development/libraries/poppler/default.nix index 0146d80221bf..8a5c6e132a71 100644 --- a/pkgs/development/libraries/poppler/default.nix +++ b/pkgs/development/libraries/poppler/default.nix @@ -65,10 +65,9 @@ stdenv.mkDerivation rec { cairo lcms curl + nss ] ++ lib.optionals qt5Support [ qtbase - ] ++ lib.optionals utils [ - nss ] ++ lib.optionals introspectionSupport [ gobject-introspection ]; From 1a87d5544c88fa6e72800ea7bc3d524b76926af9 Mon Sep 17 00:00:00 2001 From: "Ian M. Jones" Date: Wed, 26 May 2021 21:28:27 +0100 Subject: [PATCH 18/23] snippetpixie: 1.5.1 -> 1.5.2 --- pkgs/tools/text/snippetpixie/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/text/snippetpixie/default.nix b/pkgs/tools/text/snippetpixie/default.nix index 935f593177bb..6cd6bdda0d9d 100644 --- a/pkgs/tools/text/snippetpixie/default.nix +++ b/pkgs/tools/text/snippetpixie/default.nix @@ -24,13 +24,13 @@ stdenv.mkDerivation rec { pname = "snippetpixie"; - version = "1.5.1"; + version = "1.5.2"; src = fetchFromGitHub { owner = "bytepixie"; repo = pname; rev = version; - sha256 = "047ghk0zfmcsnbr4h2h5ar7g1sw2mnk8r2887v81dh3vf767rqg2"; + sha256 = "173fm9h7lnhhbg5qbjz40g0fy60dwd2l55mdcc1j8dh73vz96pfr"; }; nativeBuildInputs = [ From a635c12d1fd234e26b121a9b7b1898fb4f2bc45e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Wed, 26 May 2021 23:25:55 +0200 Subject: [PATCH 19/23] containerd: fix checksum --- pkgs/applications/virtualization/containerd/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/applications/virtualization/containerd/default.nix b/pkgs/applications/virtualization/containerd/default.nix index fa504511513c..5435c88f58d6 100644 --- a/pkgs/applications/virtualization/containerd/default.nix +++ b/pkgs/applications/virtualization/containerd/default.nix @@ -16,7 +16,7 @@ buildGoPackage rec { owner = "containerd"; repo = "containerd"; rev = "v${version}"; - sha256 = "sha256-1u+H/gJaQhltf/pq7uaAPEUlQ5R6ZByall2neNkon8s="; + sha256 = "sha256-jVyg+fyMuDnV/TM0Z2t+Cr17a6XBv11aWijhsqMnA5s="; }; goPackagePath = "github.com/containerd/containerd"; From 2a6db4c056b66006804ec39d4185363d1d5f9658 Mon Sep 17 00:00:00 2001 From: austinbutler Date: Wed, 26 May 2021 21:35:46 +0000 Subject: [PATCH 20/23] stellar-core: 0.5.1 -> 17.0.0 (#123294) --- .../stellar-core-dirty-version.patch | 15 --------- .../applications/blockchains/stellar-core.nix | 31 +++++++++---------- 2 files changed, 15 insertions(+), 31 deletions(-) delete mode 100644 pkgs/applications/blockchains/stellar-core-dirty-version.patch diff --git a/pkgs/applications/blockchains/stellar-core-dirty-version.patch b/pkgs/applications/blockchains/stellar-core-dirty-version.patch deleted file mode 100644 index 57d66ce5919a..000000000000 --- a/pkgs/applications/blockchains/stellar-core-dirty-version.patch +++ /dev/null @@ -1,15 +0,0 @@ -Subject: Prevent "-dirty" from being erroneously added to the version - -diff --git a/src/Makefile.am b/src/Makefile.am -index d36d1a3..00048fc 100644 ---- a/src/Makefile.am -+++ b/src/Makefile.am -@@ -28,7 +28,7 @@ always: - # Always rebuild because .git/HEAD is a symbolic ref one can't depend on - StellarCoreVersion.h: always - @vers=$$(cd "$(srcdir)" \ -- && git describe --always --dirty --tags 2>/dev/null \ -+ && git describe --always --tags 2>/dev/null \ - || echo "$(PACKAGE) $(VERSION)"); \ - echo "#define STELLAR_CORE_VERSION \"$$vers\"" > $@~ - @if cmp -s $@~ $@; then rm -f $@~; else \ diff --git a/pkgs/applications/blockchains/stellar-core.nix b/pkgs/applications/blockchains/stellar-core.nix index ceb48bf6aa4d..197453599b28 100644 --- a/pkgs/applications/blockchains/stellar-core.nix +++ b/pkgs/applications/blockchains/stellar-core.nix @@ -1,31 +1,30 @@ -{ lib, stdenv, fetchgit, autoconf, libtool, automake, pkg-config, git -, bison, flex, postgresql }: +{ lib, stdenv, fetchFromGitHub, autoconf, libtool, automake, pkg-config, git +, bison, flex, postgresql, ripgrep }: -let +stdenv.mkDerivation rec { pname = "stellar-core"; - version = "0.5.1"; + version = "17.0.0"; -in stdenv.mkDerivation { - name = "${pname}-${version}"; - - src = fetchgit { - url = "https://github.com/stellar/stellar-core.git"; - rev = "refs/tags/v${version}"; - sha256 = "0ldw3qr0sajgam38z2w2iym0214ial6iahbzx3b965cw92n8n88z"; + src = fetchFromGitHub { + owner = "stellar"; + repo = pname; + rev = "v${version}"; + sha256 = "1ngl8yjqb8xzhdwzlxzzxf14q2hgwy2ysb17sn5380rrn0jswin1"; fetchSubmodules = true; - leaveDotGit = true; }; - nativeBuildInputs = [ pkg-config ]; - buildInputs = [ autoconf automake libtool git ]; + nativeBuildInputs = [ automake autoconf git libtool pkg-config ripgrep ]; propagatedBuildInputs = [ bison flex postgresql ]; - patches = [ ./stellar-core-dirty-version.patch ]; - preConfigure = '' + # Due to https://github.com/NixOS/nixpkgs/issues/8567 we cannot rely on + # having the .git directory present, so directly provide the version + substituteInPlace src/Makefile.am --replace '$$vers' '${pname} ${version}'; + # Everything needs to be staged in git because the build uses # `git ls-files` to search for source files to compile. + git init git add . ./autogen.sh From 3869caac0facef0a45a886d930a640c763f0f8d2 Mon Sep 17 00:00:00 2001 From: Ronuk Raval Date: Thu, 20 May 2021 22:54:23 -0400 Subject: [PATCH 21/23] maintainers: add rraval --- maintainers/maintainer-list.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index 0130499a993d..d6cc8883397e 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -8721,6 +8721,12 @@ githubId = 221121; name = "Robert P. Seaton"; }; + rraval = { + email = "ronuk.raval@gmail.com"; + github = "rraval"; + githubId = 373566; + name = "Ronuk Raval"; + }; rszibele = { email = "richard@szibele.com"; github = "rszibele"; From bf0a5ffbf4833225791a2d0a72375099e8ffe5e3 Mon Sep 17 00:00:00 2001 From: Ronuk Raval Date: Tue, 18 May 2021 22:34:40 -0400 Subject: [PATCH 22/23] gfshare: init at 2.0.0 --- pkgs/tools/security/gfshare/default.nix | 28 +++++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 30 insertions(+) create mode 100644 pkgs/tools/security/gfshare/default.nix diff --git a/pkgs/tools/security/gfshare/default.nix b/pkgs/tools/security/gfshare/default.nix new file mode 100644 index 000000000000..3079c7fb57f2 --- /dev/null +++ b/pkgs/tools/security/gfshare/default.nix @@ -0,0 +1,28 @@ +{ lib, stdenv, fetchgit, autoreconfHook }: + +stdenv.mkDerivation rec { + pname = "gfshare"; + version = "2.0.0"; + + src = fetchgit { + url = "git://git.gitano.org.uk/libgfshare.git"; + rev = version; + sha256 = "0s37xn9pr5p820hd40489xwra7kg3gzqrxhc2j9rnxnd489hl0pr"; + }; + + nativeBuildInputs = [ autoreconfHook ]; + doCheck = true; + + outputs = [ "bin" "lib" "dev" "out" ]; + + meta = with lib; { + # Not the most descriptive homepage but it's what Debian and Ubuntu use + # https://packages.debian.org/sid/libgfshare2 + # https://launchpad.net/ubuntu/impish/+source/libgfshare/+copyright + homepage = "https://git.gitano.org.uk/libgfshare.git/"; + description = "Shamir's secret-sharing method in the Galois Field GF(2**8)"; + license = licenses.mit; + platforms = platforms.all; + maintainers = [ maintainers.rraval ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 974595bb1192..459617a3aa5e 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -852,6 +852,8 @@ in amidst = callPackage ../tools/games/amidst { }; + gfshare = callPackage ../tools/security/gfshare { }; + gobgp = callPackage ../tools/networking/gobgp { }; metapixel = callPackage ../tools/graphics/metapixel { }; From 6d8b59ab3047997ad225efe048ae6f1f72561e13 Mon Sep 17 00:00:00 2001 From: Robert Scott Date: Wed, 26 May 2021 23:14:32 +0100 Subject: [PATCH 23/23] python3Packages.mat2: fix tests against ffmpeg 4.4 seems upstream have already noticed this breakage and have fixed it in master --- pkgs/development/python-modules/mat2/default.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pkgs/development/python-modules/mat2/default.nix b/pkgs/development/python-modules/mat2/default.nix index 0b097024a55f..6c1ba9a40c63 100644 --- a/pkgs/development/python-modules/mat2/default.nix +++ b/pkgs/development/python-modules/mat2/default.nix @@ -3,6 +3,7 @@ , python , pythonOlder , fetchFromGitLab +, fetchpatch , substituteAll , bubblewrap , exiftool @@ -49,6 +50,12 @@ buildPythonPackage rec { ./executable-name.patch # hardcode path to mat2 executable ./tests.patch + # remove for next release + (fetchpatch { + name = "fix-tests-ffmpeg-4.4.patch"; + url = "https://0xacab.org/jvoisin/mat2/-/commit/c9be50f968212b01f8d8ad85e59e19c3e67d8578.patch"; + sha256 = "0895dkv6575ps3drdfnli15cggx27n9irjx0axigrm4ql4ma0648"; + }) ]; postPatch = ''