From c130b9133f8f43db86084a7d22d6a5783a99701a Mon Sep 17 00:00:00 2001 From: Mauricio Scheffer Date: Wed, 25 May 2022 22:04:50 +0100 Subject: [PATCH 01/58] pianoteq.{stage-trial,standard-trial}: 7.4.1 -> 7.5.4 --- pkgs/applications/audio/pianoteq/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/applications/audio/pianoteq/default.nix b/pkgs/applications/audio/pianoteq/default.nix index 9c258f69f664..26c62f3e30bf 100644 --- a/pkgs/applications/audio/pianoteq/default.nix +++ b/pkgs/applications/audio/pianoteq/default.nix @@ -162,20 +162,20 @@ in { # TODO currently can't install more than one because `lame` clashes stage-trial = mkPianoteq rec { name = "stage-trial"; - version = "7.4.1"; + version = "7.5.4"; archdir = "x86-64bit"; src = fetchPianoteqTrial { name = "pianoteq_stage_linux_trial_v${versionForFile version}.7z"; - sha256 = "14mbaz6i1rxqayrjjkck9yx8iijkm4q1qz29ymkd7sz2gpk7fcpa"; + sha256 = "sha256-ybtq+hjnaQxpLxv2KE0ZcbQXtn5DJJsnMwCmh3rlrIc="; }; }; standard-trial = mkPianoteq rec { name = "standard-trial"; - version = "7.4.1"; + version = "7.5.4"; archdir = "x86-64bit"; src = fetchPianoteqTrial { name = "pianoteq_linux_trial_v${versionForFile version}.7z"; - sha256 = "01xh4n0h7dd3xqhm0bx0a62mqmfvxvmr5cm5r2g249c9wqg5i32a"; + sha256 = "sha256-3a3+SKTEhvDtqK5Kg4E6KiLvn5+j6JN6ntIb72u2bdQ="; }; }; stage-6 = mkPianoteq rec { From 9aebffaaa00d63454cb6ff82b5b61dd8f0988f9a Mon Sep 17 00:00:00 2001 From: Stella Date: Sat, 16 Jul 2022 14:30:37 +0300 Subject: [PATCH 02/58] maintainers: add keksbg --- maintainers/maintainer-list.nix | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index eb86241c2ea3..5da37a62efe6 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -6615,6 +6615,15 @@ githubId = 37185887; name = "Calvin Kim"; }; + keksbg = { + email = "keksbg@riseup.net"; + name = "Stella"; + github = "keksbg"; + githubId = 10682187; + keys = [{ + fingerprint = "AB42 1F18 5A19 A160 AD77 9885 3D6D CA5B 6F2C 2A7A"; + }]; + }; keldu = { email = "mail@keldu.de"; github = "keldu"; From 89e77823854026acf7b24fa38b7ad8087ac579c3 Mon Sep 17 00:00:00 2001 From: afreakk Date: Sun, 24 Jul 2022 12:10:08 +0200 Subject: [PATCH 03/58] libagent: 0.14.4 -> 0.14.5 --- .../python-modules/bech32/default.nix | 22 ++++++++++ .../python-modules/libagent/default.nix | 41 +++++++++++++++---- pkgs/top-level/python-packages.nix | 2 + 3 files changed, 58 insertions(+), 7 deletions(-) create mode 100644 pkgs/development/python-modules/bech32/default.nix diff --git a/pkgs/development/python-modules/bech32/default.nix b/pkgs/development/python-modules/bech32/default.nix new file mode 100644 index 000000000000..33b9044d758f --- /dev/null +++ b/pkgs/development/python-modules/bech32/default.nix @@ -0,0 +1,22 @@ +{ lib +, buildPythonPackage +, fetchPypi +, pytestCheckHook +, pythonOlder +}: +buildPythonPackage rec { + pname = "bech32"; + version = "1.2.0"; + + disabled = pythonOlder "3.5"; + + src = fetchPypi { + inherit pname version; + sha256 = "sha256-fW24IUYDvXhx/PpsCCbvaLhbCr2Q+iHChanF4h0r2Jk="; + }; + + meta = with lib; { + homepage = "https://pypi.org/project/bech32/"; + license = with licenses; [ mit ]; + }; +} diff --git a/pkgs/development/python-modules/libagent/default.nix b/pkgs/development/python-modules/libagent/default.nix index 2deb4f18d123..1aa0346795ee 100644 --- a/pkgs/development/python-modules/libagent/default.nix +++ b/pkgs/development/python-modules/libagent/default.nix @@ -1,22 +1,49 @@ -{ lib, fetchFromGitHub, buildPythonPackage, ed25519, ecdsa , semver, mnemonic -, unidecode, mock, pytest , backports-shutil-which, configargparse -, python-daemon, pymsgbox, pynacl }: +{ lib +, fetchFromGitHub +, bech32 +, buildPythonPackage +, cryptography +, ed25519 +, ecdsa +, semver +, mnemonic +, unidecode +, mock +, pytest +, backports-shutil-which +, configargparse +, python-daemon +, pymsgbox +, pynacl +}: # XXX: when changing this package, please test the package onlykey-agent. buildPythonPackage rec { pname = "libagent"; - version = "0.14.4"; + version = "0.14.5"; src = fetchFromGitHub { owner = "romanz"; repo = "trezor-agent"; rev = "v${version}"; - sha256 = "1ksv494xpga27ifrjyn1bkqaya5h769lqb9rx1ng0n4kvmnrqr3l"; + sha256 = "sha256-RISAy0efdatr9u4CWNRGnlffkC8ksw1NyRpJWKwqz+s="; }; - propagatedBuildInputs = [ unidecode backports-shutil-which configargparse - python-daemon pymsgbox ecdsa ed25519 mnemonic semver pynacl ]; + propagatedBuildInputs = [ + unidecode + backports-shutil-which + configargparse + python-daemon + pymsgbox + ecdsa + ed25519 + mnemonic + semver + pynacl + bech32 + cryptography + ]; checkInputs = [ mock pytest ]; diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 7e36f7283157..907026a64109 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -1227,6 +1227,8 @@ in { beautifultable = callPackage ../development/python-modules/beautifultable { }; + bech32 = callPackage ../development/python-modules/bech32 { }; + bedup = callPackage ../development/python-modules/bedup { }; behave = callPackage ../development/python-modules/behave { }; From 058e14ca0f7a512e0f1a4a92d60fe2c7207b50d9 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sun, 31 Jul 2022 02:52:15 +0000 Subject: [PATCH 04/58] suitesparse-graphblas: 6.2.5 -> 7.1.2 --- .../libraries/science/math/suitesparse-graphblas/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/libraries/science/math/suitesparse-graphblas/default.nix b/pkgs/development/libraries/science/math/suitesparse-graphblas/default.nix index eea7c146ca33..3baa53458d42 100644 --- a/pkgs/development/libraries/science/math/suitesparse-graphblas/default.nix +++ b/pkgs/development/libraries/science/math/suitesparse-graphblas/default.nix @@ -6,7 +6,7 @@ stdenv.mkDerivation rec { pname = "suitesparse-graphblas"; - version = "6.2.5"; + version = "7.1.2"; outputs = [ "out" "dev" ]; @@ -14,7 +14,7 @@ stdenv.mkDerivation rec { owner = "DrTimothyAldenDavis"; repo = "GraphBLAS"; rev = "v${version}"; - sha256 = "sha256-N4yFlTxV+lVz70PSHPuWEEFLp0dpsImXYDLUYEo2JQI="; + sha256 = "sha256-fz8e2//bJB9SANEw29VrUeaqvmh/aSu6+ZnkMb6C40k="; }; nativeBuildInputs = [ From 356ac6d6ae8a9a86736d8b20ce692ad07580ea2d Mon Sep 17 00:00:00 2001 From: Weijia Wang <9713184+wegank@users.noreply.github.com> Date: Sun, 31 Jul 2022 13:28:19 +0200 Subject: [PATCH 05/58] scalp: init at unstable-2022-03-15 --- .../science/math/scalp/default.nix | 58 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 + 2 files changed, 60 insertions(+) create mode 100644 pkgs/applications/science/math/scalp/default.nix diff --git a/pkgs/applications/science/math/scalp/default.nix b/pkgs/applications/science/math/scalp/default.nix new file mode 100644 index 000000000000..05261701fc28 --- /dev/null +++ b/pkgs/applications/science/math/scalp/default.nix @@ -0,0 +1,58 @@ +{ lib +, stdenv +, fetchgit +, cmake +, withGurobi ? false +, gurobi +, withCplex ? false +, cplex +, withLpsolve ? true +, lp_solve +}: + +stdenv.mkDerivation rec { + pname = "scalp"; + version = "unstable-2022-03-15"; + + src = fetchgit { + url = "https://digidev.digi.e-technik.uni-kassel.de/git/scalp.git"; + # mirrored at https://github.com/wegank/scalp.git + rev = "185b84e4ff967f42cf2de5db4db4e6fa0cc18fb8"; + sha256 = "sha256-NyMZdJwdD3FR6uweYCclJjfcf3Y24Bns1ViwsmJ5izg="; + }; + + nativeBuildInputs = [ + cmake + ]; + + buildInputs = lib.optionals withGurobi [ + gurobi + ] ++ lib.optionals withCplex [ + cplex + ] ++ lib.optionals withLpsolve [ + lp_solve + ]; + + postPatch = lib.optionalString stdenv.isDarwin '' + substituteInPlace CMakeLists.txt \ + --replace "\''$ORIGIN" "\''${CMAKE_INSTALL_PREFIX}/lib" + ''; + + cmakeFlags = [ + "-DBUILD_TESTS=${lib.boolToString doCheck}" + ] ++ lib.optionals withGurobi [ + "-DGUROBI_DIR=${gurobi}" + ] ++ lib.optionals withCplex [ + "-DCPLEX_DIR=${cplex}" + ]; + + doCheck = true; + + meta = with lib; { + description = "Scalable Linear Programming Library"; + homepage = "https://digidev.digi.e-technik.uni-kassel.de/scalp/"; + license = licenses.lgpl3; + platforms = platforms.unix; + maintainers = with maintainers; [ wegank ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 353bb602ec6f..0d9bc56ccfce 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -34259,6 +34259,8 @@ with pkgs; pynac = callPackage ../applications/science/math/pynac { }; + scalp = callPackage ../applications/science/math/scalp { }; + singular = callPackage ../applications/science/math/singular { }; scilab-bin = callPackage ../applications/science/math/scilab-bin {}; From 4a52315a51e878329b6d17ac5304c2d4e98921db Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Moritz=20B=C3=B6hme?= Date: Thu, 9 Jun 2022 19:30:40 +0200 Subject: [PATCH 06/58] synology-drive-client: multiple changes --- .../synology-drive-client/default.nix | 31 +++++++++++++------ 1 file changed, 21 insertions(+), 10 deletions(-) diff --git a/pkgs/applications/networking/synology-drive-client/default.nix b/pkgs/applications/networking/synology-drive-client/default.nix index 3184c192b127..3158c3dc22ed 100644 --- a/pkgs/applications/networking/synology-drive-client/default.nix +++ b/pkgs/applications/networking/synology-drive-client/default.nix @@ -1,9 +1,9 @@ -{ stdenv, lib, qt5, fetchurl, autoPatchelfHook, dpkg, glibc, cpio, xar, undmg, gtk3, pango }: +{ stdenv, lib, writeScript, qt5, fetchurl, autoPatchelfHook, dpkg, glibc, cpio, xar, undmg, gtk3, pango, libxcb }: let pname = "synology-drive-client"; baseUrl = "https://global.download.synology.com/download/Utility/SynologyDriveClient"; - buildNumber = "12920"; - version = "3.1.0"; + version = "3.1.0-12923"; + buildNumber = with lib; last (splitString "-" version); meta = with lib; { description = "Desktop application to synchronize files and folders between the computer and the Synology Drive server."; homepage = "https://www.synology.com/en-global/dsm/feature/drive"; @@ -11,18 +11,29 @@ let maintainers = with maintainers; [ jcouyang MoritzBoehme ]; platforms = [ "x86_64-linux" "x86_64-darwin" ]; }; + passthru.updateScript = writeScript "update-synology-drive-client" '' + #!/usr/bin/env nix-shell + #!nix-shell -i bash -p curl common-updater-scripts + + set -eu -o pipefail + + version="$(curl -s https://www.synology.com/en-uk/releaseNote/SynologyDriveClient \ + | grep -oP '(?<=data-version=")(\d.){2}\d-\d{5}' \ + | head -1)" + update-source-version synology-drive-client "$version" + ''; linux = qt5.mkDerivation { - inherit pname version meta; + inherit pname version meta passthru; src = fetchurl { - url = "${baseUrl}/${version}-${buildNumber}/Ubuntu/Installer/x86_64/synology-drive-client-${buildNumber}.x86_64.deb"; - sha256 = "sha256-UAO/LwqPchIMhjdQP4METjVorMJsbvIDRkp4JxtZgOs="; + url = "${baseUrl}/${version}/Ubuntu/Installer/x86_64/synology-drive-client-${buildNumber}.x86_64.deb"; + sha256 = "sha256-gL08uJbA2S+SuP1afMBmcJMIcu7QRzdiXgIMxSZQl/I="; }; nativeBuildInputs = [ autoPatchelfHook dpkg ]; - buildInputs = [ glibc gtk3 pango ]; + buildInputs = [ glibc gtk3 pango libxcb ]; unpackPhase = '' mkdir -p $out @@ -43,11 +54,11 @@ let }; darwin = stdenv.mkDerivation { - inherit pname version meta; + inherit pname version meta passthru; src = fetchurl { - url = "${baseUrl}/${version}-${buildNumber}/Mac/Installer/synology-drive-client-${buildNumber}.dmg"; - sha256 = "15wici8ycil1mfh5cf89rfan4kb93wfkdsd4kmpvzjj4bnddwlxa"; + url = "${baseUrl}/${version}/Mac/Installer/synology-drive-client-${buildNumber}.dmg"; + sha256 = "0pwm2xi1b9p9zmhy4dhix3aas49i183wxslyidfwvlaphic9qkxm"; }; nativeBuildInputs = [ cpio xar undmg ]; From 0b5ab92ee4488907c3d3007bc6c0816df1effe06 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sat, 30 Jul 2022 08:04:49 +0000 Subject: [PATCH 07/58] sptlrx: 0.2.0 -> 1.0.0 Co-authored-by: bobby285271 --- pkgs/applications/audio/sptlrx/default.nix | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/pkgs/applications/audio/sptlrx/default.nix b/pkgs/applications/audio/sptlrx/default.nix index 4daab4704738..7b31325164b8 100644 --- a/pkgs/applications/audio/sptlrx/default.nix +++ b/pkgs/applications/audio/sptlrx/default.nix @@ -2,16 +2,16 @@ buildGoModule rec { pname = "sptlrx"; - version = "0.2.0"; + version = "1.0.0"; src = fetchFromGitHub { owner = "raitonoberu"; repo = pname; rev = "v${version}"; - sha256 = "sha256-b38DACSdnjwPsLMrkt0Ubpqpn/4SDAgrdSlp9iAcxfE="; + sha256 = "sha256-UDxmUc902A6+DC254wyvjSzNs95K7QIuDW+24o8VCCc="; }; - vendorSha256 = "sha256-/fqWnRQBpLNoTwqrFDKqQuv1r9do1voysBhLuj223S0="; + vendorSha256 = "sha256-t9Mkszzuw7YtBnADsZDjwN2AA6MuQH4+zzDiHe302A4="; ldflags = [ "-s" "-w" ]; @@ -19,8 +19,7 @@ buildGoModule rec { updateScript = nix-update-script { attrPath = pname; }; tests.version = testers.testVersion { package = sptlrx; - # TODO Wrong version in `0.2.0`. Has been fixed upstream. - version = "v0.1.0"; + version = "v${version}"; # needed because testVersion uses grep -Fw }; }; From 948d79e1d6ca34b247a0ef002ed0c0408414382c Mon Sep 17 00:00:00 2001 From: Weijia Wang <9713184+wegank@users.noreply.github.com> Date: Sun, 31 Jul 2022 22:15:03 +0200 Subject: [PATCH 08/58] libgweather: add darwin support --- pkgs/development/libraries/geocode-glib/default.nix | 2 +- pkgs/development/libraries/libgweather/default.nix | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/libraries/geocode-glib/default.nix b/pkgs/development/libraries/geocode-glib/default.nix index 346741652065..b55b5c19228a 100644 --- a/pkgs/development/libraries/geocode-glib/default.nix +++ b/pkgs/development/libraries/geocode-glib/default.nix @@ -79,6 +79,6 @@ stdenv.mkDerivation rec { description = "A convenience library for the geocoding and reverse geocoding using Nominatim service"; license = licenses.lgpl2Plus; maintainers = teams.gnome.members; - platforms = platforms.linux; + platforms = platforms.unix; }; } diff --git a/pkgs/development/libraries/libgweather/default.nix b/pkgs/development/libraries/libgweather/default.nix index e4a527ba4857..cae2095f8ebd 100644 --- a/pkgs/development/libraries/libgweather/default.nix +++ b/pkgs/development/libraries/libgweather/default.nix @@ -82,6 +82,6 @@ stdenv.mkDerivation rec { homepage = "https://wiki.gnome.org/Projects/LibGWeather"; license = licenses.gpl2Plus; maintainers = teams.gnome.members; - platforms = platforms.linux; + platforms = platforms.unix; }; } From 2fe12632ee915ce2595bc6bbb78a88a7e1af77f6 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Mon, 1 Aug 2022 01:08:27 +0000 Subject: [PATCH 09/58] ocamlPackages.reason: 3.8.0 -> 3.8.1 --- pkgs/development/compilers/reason/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/compilers/reason/default.nix b/pkgs/development/compilers/reason/default.nix index cc99aa078f9a..1de8de40c89d 100644 --- a/pkgs/development/compilers/reason/default.nix +++ b/pkgs/development/compilers/reason/default.nix @@ -4,11 +4,11 @@ stdenv.mkDerivation rec { pname = "ocaml${ocaml.version}-reason"; - version = "3.8.0"; + version = "3.8.1"; src = fetchurl { url = "https://github.com/reasonml/reason/releases/download/${version}/reason-${version}.tbz"; - sha256 = "sha256:0yc94m3ddk599crg33yxvkphxpy54kmdsl599c320wvn055p4y4l"; + sha256 = "sha256-v827CfYrTBCPJubcOAQxYT5N5LBl348UNk7+Ss6o5BQ="; }; nativeBuildInputs = [ From a65a74777fc0b5bf3cec3195e014107c0712cfcd Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Mon, 1 Aug 2022 03:38:19 +0000 Subject: [PATCH 10/58] oil: 0.11.0 -> 0.12.0 --- pkgs/shells/oil/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/shells/oil/default.nix b/pkgs/shells/oil/default.nix index d1a8c9650f1f..57b5d085c340 100644 --- a/pkgs/shells/oil/default.nix +++ b/pkgs/shells/oil/default.nix @@ -2,11 +2,11 @@ stdenv.mkDerivation rec { pname = "oil"; - version = "0.11.0"; + version = "0.12.0"; src = fetchurl { url = "https://www.oilshell.org/download/oil-${version}.tar.xz"; - hash = "sha256-5eAK53aFLEEjPvwKMQIZloUjSFaAcU0tzsUAr2PQAgg="; + hash = "sha256-1zwGfM17SWWIvQ19cSbIfiLRaq+Ee1r94GPJWJEPoP8="; }; postPatch = '' From 9a719a2f3a6e27e0ee781b1b506037be22d8676f Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Mon, 1 Aug 2022 10:01:06 +0000 Subject: [PATCH 11/58] qbs: 1.22.0 -> 1.23.0 --- pkgs/development/tools/build-managers/qbs/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/tools/build-managers/qbs/default.nix b/pkgs/development/tools/build-managers/qbs/default.nix index 14d9f146651a..ad792a17913f 100644 --- a/pkgs/development/tools/build-managers/qbs/default.nix +++ b/pkgs/development/tools/build-managers/qbs/default.nix @@ -3,13 +3,13 @@ stdenv.mkDerivation rec { pname = "qbs"; - version = "1.22.0"; + version = "1.23.0"; src = fetchFromGitHub { owner = "qbs"; repo = "qbs"; rev = "v${version}"; - sha256 = "sha256-gFPcT/TNsKEUNzkJVaXHCGNmhQ0dV1/NYgQQInYrcNI="; + sha256 = "sha256-F8dfSMim4OVGjBEGtIA4bGTNSLwZSwpHWI0J2e7pKCw="; }; nativeBuildInputs = [ qmake ]; From 5199c1593eec9f32a10be3de0773b20c0edc0bf8 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Mon, 1 Aug 2022 14:10:10 +0000 Subject: [PATCH 12/58] folly: 2022.07.25.00 -> 2022.08.01.00 --- pkgs/development/libraries/folly/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/libraries/folly/default.nix b/pkgs/development/libraries/folly/default.nix index 2cbe43a93a0f..4f37408908e6 100644 --- a/pkgs/development/libraries/folly/default.nix +++ b/pkgs/development/libraries/folly/default.nix @@ -22,13 +22,13 @@ stdenv.mkDerivation rec { pname = "folly"; - version = "2022.07.25.00"; + version = "2022.08.01.00"; src = fetchFromGitHub { owner = "facebook"; repo = "folly"; rev = "v${version}"; - sha256 = "sha256-Bb6Txg0GNhkRP1qqeracmYENrO6x79HXMuWU2gtGGxU="; + sha256 = "sha256-34yzl/w3ZaxWIKikFwiUpCty5Cn8V5Fgj5oTZ4QV6ZI="; }; nativeBuildInputs = [ From 278086eddb757507175f0b5bc3c54ff7fc0aaa54 Mon Sep 17 00:00:00 2001 From: Weijia Wang <9713184+wegank@users.noreply.github.com> Date: Mon, 1 Aug 2022 18:33:27 +0200 Subject: [PATCH 13/58] treewide: fix platforms --- pkgs/applications/audio/ssrc/default.nix | 2 +- pkgs/applications/misc/masterpdfeditor/default.nix | 2 +- pkgs/applications/misc/masterpdfeditor4/default.nix | 2 +- pkgs/applications/radio/welle-io/default.nix | 2 +- pkgs/applications/science/biology/spades/default.nix | 2 +- pkgs/development/compilers/bupc/default.nix | 2 +- pkgs/development/compilers/dale/default.nix | 2 +- pkgs/development/compilers/gnatboot/default.nix | 2 +- pkgs/development/libraries/libwhereami/default.nix | 2 +- pkgs/games/keeperrl/default.nix | 2 +- pkgs/games/tome4/default.nix | 2 +- pkgs/tools/security/b2sum/default.nix | 2 +- 12 files changed, 12 insertions(+), 12 deletions(-) diff --git a/pkgs/applications/audio/ssrc/default.nix b/pkgs/applications/audio/ssrc/default.nix index 3516c6e4db0c..1ac1d6658f8d 100644 --- a/pkgs/applications/audio/ssrc/default.nix +++ b/pkgs/applications/audio/ssrc/default.nix @@ -36,6 +36,6 @@ stdenv.mkDerivation rec { homepage = "http://shibatch.sourceforge.net/"; license = licenses.gpl2; maintainers = with maintainers; [ leenaars]; - platforms = with platforms; [ linux ] ; + platforms = platforms.linux; }; } diff --git a/pkgs/applications/misc/masterpdfeditor/default.nix b/pkgs/applications/misc/masterpdfeditor/default.nix index de131b7ce63f..5916179d772c 100644 --- a/pkgs/applications/misc/masterpdfeditor/default.nix +++ b/pkgs/applications/misc/masterpdfeditor/default.nix @@ -41,7 +41,7 @@ stdenv.mkDerivation rec { homepage = "https://code-industry.net/free-pdf-editor/"; sourceProvenance = with sourceTypes; [ binaryNativeCode ]; license = licenses.unfreeRedistributable; - platforms = with platforms; [ "x86_64-linux" ]; + platforms = [ "x86_64-linux" ]; maintainers = with maintainers; [ cmcdragonkai ]; }; } diff --git a/pkgs/applications/misc/masterpdfeditor4/default.nix b/pkgs/applications/misc/masterpdfeditor4/default.nix index befb11a0a48b..355c23d3d187 100644 --- a/pkgs/applications/misc/masterpdfeditor4/default.nix +++ b/pkgs/applications/misc/masterpdfeditor4/default.nix @@ -39,6 +39,6 @@ stdenv.mkDerivation rec { homepage = "https://code-industry.net/free-pdf-editor/"; sourceProvenance = with sourceTypes; [ binaryNativeCode ]; license = licenses.unfreeRedistributable; - platforms = with platforms; [ "x86_64-linux" ]; + platforms = [ "x86_64-linux" ]; }; } diff --git a/pkgs/applications/radio/welle-io/default.nix b/pkgs/applications/radio/welle-io/default.nix index fbc7eae9109d..fcb35bd66a49 100644 --- a/pkgs/applications/radio/welle-io/default.nix +++ b/pkgs/applications/radio/welle-io/default.nix @@ -41,6 +41,6 @@ mkDerivation rec { homepage = "https://www.welle.io/"; maintainers = with maintainers; [ ck3d markuskowa ]; license = licenses.gpl2Only; - platforms = with platforms; [ "x86_64-linux" "i686-linux" ] ++ darwin; + platforms = [ "x86_64-linux" "i686-linux" ] ++ platforms.darwin; }; } diff --git a/pkgs/applications/science/biology/spades/default.nix b/pkgs/applications/science/biology/spades/default.nix index 5302b43bb026..9780c8a99a46 100644 --- a/pkgs/applications/science/biology/spades/default.nix +++ b/pkgs/applications/science/biology/spades/default.nix @@ -21,7 +21,7 @@ stdenv.mkDerivation rec { description = "St. Petersburg genome assembler: assembly toolkit containing various assembly pipelines"; license = licenses.gpl2Only; homepage = "http://cab.spbu.ru/software/spades/"; - platforms = with platforms; [ "x86_64-linux" "x86_64-darwin"]; + platforms = [ "x86_64-linux" "x86_64-darwin" ]; maintainers = [ maintainers.bzizou ]; }; } diff --git a/pkgs/development/compilers/bupc/default.nix b/pkgs/development/compilers/bupc/default.nix index 07395ed5ae12..e8b6e5debb4e 100644 --- a/pkgs/development/compilers/bupc/default.nix +++ b/pkgs/development/compilers/bupc/default.nix @@ -34,7 +34,7 @@ stdenv.mkDerivation rec { ''; homepage = "https://upc.lbl.gov/"; license = licenses.mit; - platforms = with platforms; [ linux ]; + platforms = platforms.linux; maintainers = with maintainers; [ zimbatm ]; }; } diff --git a/pkgs/development/compilers/dale/default.nix b/pkgs/development/compilers/dale/default.nix index bf02d623e525..0e4baf3ce57e 100644 --- a/pkgs/development/compilers/dale/default.nix +++ b/pkgs/development/compilers/dale/default.nix @@ -36,7 +36,7 @@ stdenv.mkDerivation { homepage = "https://github.com/tomhrr/dale"; license = licenses.bsd3; maintainers = with maintainers; [ amiloradovsky ]; - platforms = with platforms; [ "i686-linux" "x86_64-linux" ]; + platforms = [ "i686-linux" "x86_64-linux" ]; # failed on Darwin: linker couldn't find the FFI lib # failed on AArch64: because LLVM 3.5 is failed there }; diff --git a/pkgs/development/compilers/gnatboot/default.nix b/pkgs/development/compilers/gnatboot/default.nix index b7fb8463d9cb..d7a7e981e086 100644 --- a/pkgs/development/compilers/gnatboot/default.nix +++ b/pkgs/development/compilers/gnatboot/default.nix @@ -46,6 +46,6 @@ stdenv.mkDerivation rec { homepage = "https://www.gnu.org/software/gnat"; license = licenses.gpl3; maintainers = with maintainers; [ ethindp ]; - platforms = with platforms; [ "x86_64-linux" ]; + platforms = [ "x86_64-linux" ]; }; } diff --git a/pkgs/development/libraries/libwhereami/default.nix b/pkgs/development/libraries/libwhereami/default.nix index d0dd593a03dd..11950c634861 100644 --- a/pkgs/development/libraries/libwhereami/default.nix +++ b/pkgs/development/libraries/libwhereami/default.nix @@ -22,7 +22,7 @@ stdenv.mkDerivation rec { description = "Library to report hypervisor information from inside a VM"; license = licenses.asl20; maintainers = [ maintainers.womfoo ]; - platforms = with platforms; [ "i686-linux" "x86_64-linux" "x86_64-darwin" ]; # fails on aarch64 + platforms = [ "i686-linux" "x86_64-linux" "x86_64-darwin" ]; # fails on aarch64 }; } diff --git a/pkgs/games/keeperrl/default.nix b/pkgs/games/keeperrl/default.nix index a1ead9a3f9cf..f1c0f1712629 100644 --- a/pkgs/games/keeperrl/default.nix +++ b/pkgs/games/keeperrl/default.nix @@ -70,6 +70,6 @@ stdenv.mkDerivation rec { license = licenses.gpl2; maintainers = with maintainers; [ ]; # TODO: Add OS X - platforms = with platforms; [ "i686-linux" "x86_64-linux" ]; + platforms = [ "i686-linux" "x86_64-linux" ]; }; } diff --git a/pkgs/games/tome4/default.nix b/pkgs/games/tome4/default.nix index b732777ed3a8..704d09d72de9 100644 --- a/pkgs/games/tome4/default.nix +++ b/pkgs/games/tome4/default.nix @@ -71,6 +71,6 @@ stdenv.mkDerivation rec { homepage = "https://te4.org/"; license = licenses.gpl3; maintainers = with maintainers; [ peterhoeg ]; - platforms = with platforms; [ "i686-linux" "x86_64-linux" ]; + platforms = [ "i686-linux" "x86_64-linux" ]; }; } diff --git a/pkgs/tools/security/b2sum/default.nix b/pkgs/tools/security/b2sum/default.nix index bf415e7554e6..e5de613bee7f 100644 --- a/pkgs/tools/security/b2sum/default.nix +++ b/pkgs/tools/security/b2sum/default.nix @@ -26,6 +26,6 @@ stdenv.mkDerivation { license = with licenses; [ asl20 cc0 openssl ]; maintainers = with maintainers; [ kirelagin ]; # "This code requires at least SSE2." - platforms = with platforms; [ "x86_64-linux" "i686-linux" ] ++ darwin; + platforms = [ "x86_64-linux" "i686-linux" ] ++ platforms.darwin; }; } From 6011ef0b7e5057799d84116a000eba3c8c80b569 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Mon, 1 Aug 2022 18:01:52 +0000 Subject: [PATCH 14/58] naabu: 2.0.9 -> 2.1.0 --- pkgs/tools/security/naabu/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/security/naabu/default.nix b/pkgs/tools/security/naabu/default.nix index ab34d667ee29..14c2c1def40f 100644 --- a/pkgs/tools/security/naabu/default.nix +++ b/pkgs/tools/security/naabu/default.nix @@ -6,16 +6,16 @@ buildGoModule rec { pname = "naabu"; - version = "2.0.9"; + version = "2.1.0"; src = fetchFromGitHub { owner = "projectdiscovery"; repo = "naabu"; rev = "v${version}"; - sha256 = "sha256-RmgyltdBk8uiE8EU5fJROJgCz0bTT1aUp8ZzbsnCzow="; + sha256 = "sha256-Gx2bYJXSApYhci7yQW45lLZjyfHVV8orPUIumC3+Yxg="; }; - vendorSha256 = "sha256-5Rp+/RPUmD3bAPEFGH03swx9/eV7dvvVL3UNwfIGkgQ="; + vendorSha256 = "sha256-wXXtebZUL4Nm7M7Eu0Ucks9forCC+6Yb8eyKPb43rxA="; buildInputs = [ libpcap From 2bc4f9f3d8a1c6e8c9b07fe8e9d09b6213a81524 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Mon, 1 Aug 2022 18:07:22 +0000 Subject: [PATCH 15/58] nerdctl: 0.22.0 -> 0.22.1 --- pkgs/applications/networking/cluster/nerdctl/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/networking/cluster/nerdctl/default.nix b/pkgs/applications/networking/cluster/nerdctl/default.nix index 06eebf6e0641..20cc26f2e3c9 100644 --- a/pkgs/applications/networking/cluster/nerdctl/default.nix +++ b/pkgs/applications/networking/cluster/nerdctl/default.nix @@ -10,16 +10,16 @@ buildGoModule rec { pname = "nerdctl"; - version = "0.22.0"; + version = "0.22.1"; src = fetchFromGitHub { owner = "containerd"; repo = pname; rev = "v${version}"; - sha256 = "sha256-XsAAhSJPb/ZpZb6x0c/soFI8FPrZhX6U76rDQs1Sw04="; + sha256 = "sha256-B9C35uxu/l4hFaSnjvXn7SChsCvXok/LcHkiwcndyts="; }; - vendorSha256 = "sha256-kpEdskjmRLM8TpjX6z19E8iG+wwI0vfULNWbPgeW3YM="; + vendorSha256 = "sha256-cwtjjb0a1VsZbTyz0TintD5Hdc8K0j7EBiE4UwhGU7c="; nativeBuildInputs = [ makeWrapper installShellFiles ]; From 661f3b16130fce96033119b46e72c4c6b5159a8d Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Mon, 1 Aug 2022 18:33:56 +0000 Subject: [PATCH 16/58] nix-direnv: 2.1.1 -> 2.1.2 --- pkgs/tools/misc/nix-direnv/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/misc/nix-direnv/default.nix b/pkgs/tools/misc/nix-direnv/default.nix index 6ec361563823..e4e34d1fb6ea 100644 --- a/pkgs/tools/misc/nix-direnv/default.nix +++ b/pkgs/tools/misc/nix-direnv/default.nix @@ -7,13 +7,13 @@ }: stdenv.mkDerivation rec { pname = "nix-direnv"; - version = "2.1.1"; + version = "2.1.2"; src = fetchFromGitHub { owner = "nix-community"; repo = "nix-direnv"; rev = version; - sha256 = "sha256-0K2qnoft7eBlhhHiEMHi4FcSy92ufAtAAmIz2dZkm7M="; + sha256 = "sha256-6UvOnFmohdhFenpEangbLLEdE0PeessRJjiO0mcydWI="; }; # Substitute instead of wrapping because the resulting file is From cc29693a0979c3b81da6942c214841ef11de95b5 Mon Sep 17 00:00:00 2001 From: John Ericson Date: Wed, 12 Jan 2022 08:48:49 +0000 Subject: [PATCH 17/58] buildRustCrate: Add support for standard library deps We are replicating one mechanism behind `-Z build-std`. There isn't yet crate2nix support for this, but one can (and I do) add the missing stdlib deps (for this feature to pick up) with overrides. --- .../rust/build-rust-crate/build-crate.nix | 8 ++++++- .../rust/build-rust-crate/default.nix | 21 ++++++++++++++----- 2 files changed, 23 insertions(+), 6 deletions(-) diff --git a/pkgs/build-support/rust/build-rust-crate/build-crate.nix b/pkgs/build-support/rust/build-rust-crate/build-crate.nix index b5db1ffa7fb5..b24398665a10 100644 --- a/pkgs/build-support/rust/build-rust-crate/build-crate.nix +++ b/pkgs/build-support/rust/build-rust-crate/build-crate.nix @@ -1,4 +1,8 @@ -{ lib, stdenv, mkRustcDepArgs, mkRustcFeatureArgs, rust }: +{ lib, stdenv +, mkRustcDepArgs, mkRustcFeatureArgs, needUnstableCLI +, rust +}: + { crateName, dependencies, crateFeatures, crateRenames, libName, release, libPath, @@ -18,6 +22,8 @@ (mkRustcFeatureArgs crateFeatures) ] ++ lib.optionals (stdenv.hostPlatform != stdenv.buildPlatform) [ "--target" (rust.toRustTargetSpec stdenv.hostPlatform) + ] ++ lib.optionals (needUnstableCLI dependencies) [ + "-Z" "unstable-options" ] ++ extraRustcOpts # since rustc 1.42 the "proc_macro" crate is part of the default crate prelude # https://github.com/rust-lang/cargo/commit/4d64eb99a4#diff-7f98585dbf9d30aa100c8318e2c77e79R1021-R1022 diff --git a/pkgs/build-support/rust/build-rust-crate/default.nix b/pkgs/build-support/rust/build-rust-crate/default.nix index e122871f8f5a..98030225bcbb 100644 --- a/pkgs/build-support/rust/build-rust-crate/default.nix +++ b/pkgs/build-support/rust/build-rust-crate/default.nix @@ -46,17 +46,28 @@ let ) else extern; + opts = lib.optionalString (dep.stdlib or false) "noprelude:"; + filename = + if lib.any (x: x == "lib" || x == "rlib") dep.crateType + then "${dep.metadata}.rlib" + else "${dep.metadata}${stdenv.hostPlatform.extensions.sharedLibrary}"; in - (if lib.any (x: x == "lib" || x == "rlib") dep.crateType then - " --extern ${name}=${dep.lib}/lib/lib${extern}-${dep.metadata}.rlib" - else - " --extern ${name}=${dep.lib}/lib/lib${extern}-${dep.metadata}${stdenv.hostPlatform.extensions.sharedLibrary}") + " --extern ${opts}${name}=${dep.lib}/lib/lib${extern}-${filename}" ) dependencies; # Create feature arguments for rustc. mkRustcFeatureArgs = lib.concatMapStringsSep " " (f: ''--cfg feature=\"${f}\"''); + # Whether we need to use unstable command line flags + # + # Currently just needed for standard library dependencies, which have a + # special "noprelude:" modifier. If in later versions of Rust this is + # stabilized we can account for that here, too, so we don't opt into + # instability unnecessarily. + needUnstableCLI = dependencies: + lib.any (dep: dep.stdlib or false) dependencies; + inherit (import ./log.nix { inherit lib; }) noisily echo_colored; configureCrate = import ./configure-crate.nix { @@ -64,7 +75,7 @@ let }; buildCrate = import ./build-crate.nix { - inherit lib stdenv mkRustcDepArgs mkRustcFeatureArgs rust; + inherit lib stdenv mkRustcDepArgs mkRustcFeatureArgs needUnstableCLI rust; }; installCrate = import ./install-crate.nix { inherit stdenv; }; From cc6cee2d8242da2a5f1bf060ac50b70f7ce0015a Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Mon, 1 Aug 2022 20:09:25 +0000 Subject: [PATCH 18/58] quickemu: 3.16 -> 4.0 --- pkgs/development/quickemu/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/quickemu/default.nix b/pkgs/development/quickemu/default.nix index aaffcbc23f04..c2f360fc0cf5 100644 --- a/pkgs/development/quickemu/default.nix +++ b/pkgs/development/quickemu/default.nix @@ -43,13 +43,13 @@ in stdenv.mkDerivation rec { pname = "quickemu"; - version = "3.16"; + version = "4.0"; src = fetchFromGitHub { owner = "quickemu-project"; repo = "quickemu"; rev = version; - sha256 = "sha256-vzgCPpr0ThDXOkvaOcbyvNkJvvoFpDnx68f1Y8sWUcc="; + sha256 = "sha256-CiCQg1UsSAwlEnZEmzU2ynn2RZ+wXPv9FV1b9GVkc00="; }; patches = [ From 71d086c862d2b5244a16240983cfcba6ae84338e Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Mon, 1 Aug 2022 20:12:08 +0000 Subject: [PATCH 19/58] r53-ddns: 1.0.1 -> 1.1.0 --- pkgs/applications/networking/r53-ddns/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/networking/r53-ddns/default.nix b/pkgs/applications/networking/r53-ddns/default.nix index e34d6495d9ba..321d1268caac 100644 --- a/pkgs/applications/networking/r53-ddns/default.nix +++ b/pkgs/applications/networking/r53-ddns/default.nix @@ -2,16 +2,16 @@ buildGoModule rec { pname = "r53-ddns"; - version = "1.0.1"; + version = "1.1.0"; src = fetchFromGitHub { owner = "fleaz"; repo = "r53-ddns"; rev = "v${version}"; - sha256 = "sha256:1pvd1karq1p81rkq2n7mh040n29f7wb8701ax6g2sqm1yz7gxd08"; + sha256 = "sha256-KJAPhSGaC3upWLfo2eeSD3Vit9Blmbol7s8y3f849N4="; }; - vendorSha256 = "sha256:1jhwds57gi548ahnh5m342csrs5rv9ysy7fqmfvg5w2s9slswq77"; + vendorSha256 = "sha256-KkyMd94cejWkgg/RJudy1lm/M3lsEJXFGqVTzGIX3qM="; meta = with lib; { license = licenses.mit; From eb5b3617c2726cc35a72b119435afeab102f0300 Mon Sep 17 00:00:00 2001 From: Craftman7 Date: Mon, 1 Aug 2022 16:12:46 -0700 Subject: [PATCH 20/58] exodus: add Crafter as maintainer --- pkgs/applications/blockchains/exodus/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/applications/blockchains/exodus/default.nix b/pkgs/applications/blockchains/exodus/default.nix index 00fe747193a5..38d891741985 100644 --- a/pkgs/applications/blockchains/exodus/default.nix +++ b/pkgs/applications/blockchains/exodus/default.nix @@ -73,6 +73,6 @@ stdenv.mkDerivation rec { sourceProvenance = with sourceTypes; [ binaryNativeCode ]; license = licenses.unfree; platforms = platforms.linux; - maintainers = with maintainers; [ mmahut rople380 ]; + maintainers = with maintainers; [ mmahut rople380 Crafter ]; }; } From 9ad45c50f14362ee42a57f239daafd9cf994eacd Mon Sep 17 00:00:00 2001 From: Craftman7 Date: Mon, 1 Aug 2022 16:17:49 -0700 Subject: [PATCH 21/58] exodus: 22.7.15 -> 22.7.29 --- pkgs/applications/blockchains/exodus/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/blockchains/exodus/default.nix b/pkgs/applications/blockchains/exodus/default.nix index 38d891741985..82da3f29173b 100644 --- a/pkgs/applications/blockchains/exodus/default.nix +++ b/pkgs/applications/blockchains/exodus/default.nix @@ -4,11 +4,11 @@ cups, vivaldi-ffmpeg-codecs, libpulseaudio, at-spi2-core, libxkbcommon, mesa }: stdenv.mkDerivation rec { pname = "exodus"; - version = "22.7.15"; + version = "22.7.29"; src = fetchzip { url = "https://downloads.exodus.io/releases/${pname}-linux-x64-${version}.zip"; - sha256 = "sha256-KAv+H6uJBDGzjg5Qmy54EtiVvV1OGJ6r3XnAQO7qjIg="; + sha256 = "sha256-vshcXuFuOuXlmdgqK+pj6dAbeYGNR2YA79AzkeUzNtk="; }; installPhase = '' From eef976c5cc42b37faef84b269b6209d68d448af1 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Tue, 2 Aug 2022 00:22:19 +0000 Subject: [PATCH 22/58] rt-tests: 2.3 -> 2.4 --- pkgs/os-specific/linux/rt-tests/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/os-specific/linux/rt-tests/default.nix b/pkgs/os-specific/linux/rt-tests/default.nix index 278a370d47d6..67000776256c 100644 --- a/pkgs/os-specific/linux/rt-tests/default.nix +++ b/pkgs/os-specific/linux/rt-tests/default.nix @@ -8,11 +8,11 @@ stdenv.mkDerivation rec { pname = "rt-tests"; - version = "2.3"; + version = "2.4"; src = fetchurl { url = "https://git.kernel.org/pub/scm/utils/rt-tests/rt-tests.git/snapshot/${pname}-${version}.tar.gz"; - sha256 = "Q+rNdpRdsmW2gcsrfwg12EzpvO6qlEP/Mb/OWQMNmr8="; + sha256 = "sha256-yuSfeYTaCZ0F1GXQkDnH8PBvyzR2w/XDitN8csHB9xE="; }; nativeBuildInputs = [ makeWrapper ]; From f2ff2843a0a3a14dc720c81cf8201f9b454b6bdf Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Tue, 2 Aug 2022 00:35:09 +0000 Subject: [PATCH 23/58] rsyslog: 8.2204.1 -> 8.2206.0 --- pkgs/tools/system/rsyslog/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/system/rsyslog/default.nix b/pkgs/tools/system/rsyslog/default.nix index 6876d441c52e..37c3fb07dfb6 100644 --- a/pkgs/tools/system/rsyslog/default.nix +++ b/pkgs/tools/system/rsyslog/default.nix @@ -11,11 +11,11 @@ with lib; stdenv.mkDerivation rec { pname = "rsyslog"; - version = "8.2204.1"; + version = "8.2206.0"; src = fetchurl { url = "https://www.rsyslog.com/files/download/rsyslog/${pname}-${version}.tar.gz"; - sha256 = "sha256-ptcx5GrT1k9q1LGbvxv1bKR2CkSiS7loIxidwucfcCg="; + sha256 = "sha256-oTdyGLJsB2eno/Z9Fm1TOK98JLRV017JmXThjmhFuic="; }; #patches = [ ./fix-gnutls-detection.patch ]; From 1104c057ec2e1e74e9859ba2fb09f9380795f672 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Tue, 2 Aug 2022 01:34:57 +0000 Subject: [PATCH 24/58] sanctity: 1.2.1 -> 1.3.1 --- pkgs/tools/misc/sanctity/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/misc/sanctity/default.nix b/pkgs/tools/misc/sanctity/default.nix index 6cb33a78bf40..cdfc1b89e634 100644 --- a/pkgs/tools/misc/sanctity/default.nix +++ b/pkgs/tools/misc/sanctity/default.nix @@ -2,17 +2,17 @@ rustPlatform.buildRustPackage rec { pname = "sanctity"; - version = "1.2.1"; + version = "1.3.1"; src = fetchFromGitea { domain = "codeberg.org"; owner = "annaaurora"; repo = pname; rev = "v${version}"; - sha256 = "sha256-rK4em0maJQS50zPfnuFSxRoXUuFCaw9ZOfmgf70Sdac="; + sha256 = "sha256-y6xj4A5SHcW747aFE9TfuurNnuUxjTUeKJmzxeiWqVc="; }; - cargoSha256 = "sha256-IQp/sSVgKY1j6N+UcifEi74dg/PkZJoeqLekeLc/vMU="; + cargoSha256 = "sha256-co58YBeFjP9DKzxDegQI7txuJ1smqJxdlRLae+Ppwh0="; meta = with lib; { description = "Test the 16 terminal colors in all combinations"; From 3e7e63e3e4dabb677cc95fd5d383c95a95ad712f Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Tue, 2 Aug 2022 02:04:28 +0000 Subject: [PATCH 25/58] sstp: 1.0.16 -> 1.0.17 --- pkgs/tools/networking/sstp/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/networking/sstp/default.nix b/pkgs/tools/networking/sstp/default.nix index 77f86458ad15..b297f2565f9a 100644 --- a/pkgs/tools/networking/sstp/default.nix +++ b/pkgs/tools/networking/sstp/default.nix @@ -2,11 +2,11 @@ stdenv.mkDerivation rec { pname = "sstp-client"; - version = "1.0.16"; + version = "1.0.17"; src = fetchurl { url = "mirror://sourceforge/sstp-client/sstp-client/sstp-client-${version}.tar.gz"; - sha256 = "sha256-r74U/RIveHX0+tDtmC0XRRNtLmbMNrl/cu8aERF4TKE="; + sha256 = "sha256-Kd07nHERrWmDzWY9Wi8Gnh+KlakTqryOFmlwFGZXkl0="; }; postPatch = '' From 055b22eeeb7d8e9813b190c2440f1456422f2b69 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Tue, 2 Aug 2022 02:53:34 +0000 Subject: [PATCH 26/58] signald: 0.18.5 -> 0.19.1 --- .../networking/instant-messengers/signald/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/networking/instant-messengers/signald/default.nix b/pkgs/applications/networking/instant-messengers/signald/default.nix index ac7040a9aaca..0b8552436451 100644 --- a/pkgs/applications/networking/instant-messengers/signald/default.nix +++ b/pkgs/applications/networking/instant-messengers/signald/default.nix @@ -4,18 +4,18 @@ let pname = "signald"; - version = "0.18.5"; + version = "0.19.1"; src = fetchFromGitLab { owner = pname; repo = pname; rev = version; - sha256 = "sha256-2cb1pyBOoOlFqJsNKXA0Q9x4wCE4yzzcfrDDtTp7HMk="; + sha256 = "sha256-Ma6kIKRVM8UUU/TvfVp2RVl/FLxFgBQU3mEypnujJ+c="; }; jre' = jre_minimal.override { jdk = jdk17_headless; - # from https://gitlab.com/signald/signald/-/blob/0.18.5/build.gradle#L173 + # from https://gitlab.com/signald/signald/-/blob/0.19.1/build.gradle#L173 modules = [ "java.base" "java.management" From 935c41b1192432c85cd8d3b38ad049a59a8760df Mon Sep 17 00:00:00 2001 From: Craftman7 Date: Mon, 1 Aug 2022 20:28:32 -0700 Subject: [PATCH 27/58] postman: 9.22.2 -> 9.25.2 --- pkgs/development/web/postman/darwin.nix | 4 ++-- pkgs/development/web/postman/default.nix | 2 +- pkgs/development/web/postman/linux.nix | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/development/web/postman/darwin.nix b/pkgs/development/web/postman/darwin.nix index 01e989bc2061..be52288701ec 100644 --- a/pkgs/development/web/postman/darwin.nix +++ b/pkgs/development/web/postman/darwin.nix @@ -11,12 +11,12 @@ let dist = { aarch64-darwin = { arch = "arm64"; - sha256 = "ddeb3c14cebc26bae01b338a8480aea26025bb033d85d33070ad22a401e52fee"; + sha256 = "62b4b3c63668fa4074b35afe08c212557437ff54c742a500087c74955cec9e04"; }; x86_64-darwin = { arch = "64"; - sha256 = "c5b249c9262efae5df9f4ccbc39b39e443a82876485174c2007c8dccc0b02f4b"; + sha256 = "42160a3c3011f43692fcb28b37dec5f708395318681de960f0cb932cea36021f"; }; }.${stdenvNoCC.hostPlatform.system} or (throw "Unsupported system: ${stdenvNoCC.hostPlatform.system}"); diff --git a/pkgs/development/web/postman/default.nix b/pkgs/development/web/postman/default.nix index e4524e75cb92..fa8940e71dbd 100644 --- a/pkgs/development/web/postman/default.nix +++ b/pkgs/development/web/postman/default.nix @@ -2,7 +2,7 @@ let pname = "postman"; - version = "9.22.2"; + version = "9.25.2"; meta = with lib; { homepage = "https://www.getpostman.com"; description = "API Development Environment"; diff --git a/pkgs/development/web/postman/linux.nix b/pkgs/development/web/postman/linux.nix index daf1c7afdeb6..f76450075461 100644 --- a/pkgs/development/web/postman/linux.nix +++ b/pkgs/development/web/postman/linux.nix @@ -48,7 +48,7 @@ stdenv.mkDerivation rec { src = fetchurl { url = "https://dl.pstmn.io/download/version/${version}/linux64"; - sha256 = "cfb85d7ae366ee1487ce1b2dab1c19ffa25c214af5c083a09447ed488493b115"; + sha256 = "118da102904cd7b04c50d3e2c2daac3fc1228f05e541eacef55e8ecbf73d3896"; name = "${pname}.tar.gz"; }; From 32cd729fbade41bd1610e448a9af5a8c162b1a81 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Tue, 2 Aug 2022 04:04:31 +0000 Subject: [PATCH 28/58] squid: 5.4.1 -> 5.6 --- pkgs/servers/squid/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/servers/squid/default.nix b/pkgs/servers/squid/default.nix index 70b9c869f116..917d15241164 100644 --- a/pkgs/servers/squid/default.nix +++ b/pkgs/servers/squid/default.nix @@ -4,11 +4,11 @@ stdenv.mkDerivation rec { pname = "squid"; - version = "5.4.1"; + version = "5.6"; src = fetchurl { url = "http://www.squid-cache.org/Versions/v5/${pname}-${version}.tar.xz"; - sha256 = "sha256-300xCpFmOuWcKbD4GD8iYjxeb3MYaa95OAWYerlMpBw="; + sha256 = "sha256-ONJzOKNHWXzg6T0MO+bl9mtnUEF8R0yofuDWG7bRSNs="; }; nativeBuildInputs = [ pkg-config ]; From 7af7eb8f1385321fd34f31dd82d459c8596a43c5 Mon Sep 17 00:00:00 2001 From: figsoda Date: Tue, 2 Aug 2022 15:24:49 +0800 Subject: [PATCH 29/58] epick: 0.6.0 -> 0.7.0 --- pkgs/applications/graphics/epick/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/graphics/epick/default.nix b/pkgs/applications/graphics/epick/default.nix index 563853f8f5a8..6e98f0fe2529 100644 --- a/pkgs/applications/graphics/epick/default.nix +++ b/pkgs/applications/graphics/epick/default.nix @@ -16,16 +16,16 @@ rustPlatform.buildRustPackage rec { pname = "epick"; - version = "0.6.0"; + version = "0.7.0"; src = fetchFromGitHub { owner = "vv9k"; repo = pname; rev = version; - sha256 = "sha256-x1C8kY9VpMg7aXgC/jRsLCeUV8uRLobgjSAQdK2/sHk="; + sha256 = "sha256-JSKenJEM+FUk/2BtAstIhJ26kFBRDvvFAlBsb0ltUsY="; }; - cargoSha256 = "sha256-KgQOlvKRt47lg7NteqBa2DLKkDf93JTzp9EIHn3clxY="; + cargoSha256 = "sha256-hFay+XL2oqA7SC+I3wlrzhUmUitO2vbeqfoArU9Jsp4="; nativeBuildInputs = lib.optional stdenv.isLinux python3; From ba126dbc8711a067dc3ac5c65dfa40bb7d0e9934 Mon Sep 17 00:00:00 2001 From: kilianar Date: Tue, 2 Aug 2022 09:34:17 +0200 Subject: [PATCH 30/58] vscode-extensions.asvetliakov.vscode-neovim: 0.0.86 -> 0.0.89 https://github.com/vscode-neovim/vscode-neovim/releases/tag/v0.0.89 --- pkgs/applications/editors/vscode/extensions/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/editors/vscode/extensions/default.nix b/pkgs/applications/editors/vscode/extensions/default.nix index ba827944210c..0026fec6c98e 100644 --- a/pkgs/applications/editors/vscode/extensions/default.nix +++ b/pkgs/applications/editors/vscode/extensions/default.nix @@ -286,8 +286,8 @@ let mktplcRef = { name = "vscode-neovim"; publisher = "asvetliakov"; - version = "0.0.86"; - sha256 = "sha256-XZd2xTcTqT6LytVwN+CybaFT71nwdobgZQQddMFdjU4="; + version = "0.0.89"; + sha256 = "sha256-4cCaMw7joaXeq+dk5cPZz6/zXDlxWeP/3IjkgSmmRvs="; }; meta = { license = lib.licenses.mit; From 6069b4b144628c5cfae6e5bef7fa423833a3fac5 Mon Sep 17 00:00:00 2001 From: kilianar Date: Tue, 2 Aug 2022 09:36:48 +0200 Subject: [PATCH 31/58] vscode-extensions.vscodevim.vim: 1.23.1 -> 1.23.2 https://github.com/VSCodeVim/Vim/releases/tag/v1.23.2 --- pkgs/applications/editors/vscode/extensions/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/editors/vscode/extensions/default.nix b/pkgs/applications/editors/vscode/extensions/default.nix index 0026fec6c98e..3cb4281da7a4 100644 --- a/pkgs/applications/editors/vscode/extensions/default.nix +++ b/pkgs/applications/editors/vscode/extensions/default.nix @@ -2508,8 +2508,8 @@ let mktplcRef = { name = "vim"; publisher = "vscodevim"; - version = "1.23.1"; - sha256 = "sha256-k3z3n+29vqvC/FqjrHUBnYIVcKuJpiT+nITbqVm0Low="; + version = "1.23.2"; + sha256 = "sha256-QC+5FJYjWsEaao1ifgMTJyg7vZ5JUbNNJiV+OuiIaM0="; }; meta = { license = lib.licenses.mit; From e1df6b9433841eac301edbb42baaedfc7d3a7b20 Mon Sep 17 00:00:00 2001 From: kilianar Date: Tue, 2 Aug 2022 09:38:03 +0200 Subject: [PATCH 32/58] vscode-extensions.xadillax.viml: 1.0.1 -> 2.1.2 https://github.com/XadillaX/vscode-language-viml/releases/tag/v2.1.2 --- pkgs/applications/editors/vscode/extensions/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/editors/vscode/extensions/default.nix b/pkgs/applications/editors/vscode/extensions/default.nix index 3cb4281da7a4..28c3080577a2 100644 --- a/pkgs/applications/editors/vscode/extensions/default.nix +++ b/pkgs/applications/editors/vscode/extensions/default.nix @@ -2556,8 +2556,8 @@ let mktplcRef = { name = "viml"; publisher = "xadillax"; - version = "1.0.1"; - sha256 = "sha256-mzf2PBSbvmgPjchyKmTaf3nASUi5/S9Djpoeh0y8gH0="; + version = "2.1.2"; + sha256 = "sha256-n91Rj1Rpp7j7gndkt0bV+jT1nRMv7+coVoSL5c7Ii3A="; }; meta = with lib; { license = licenses.mit; From c9ef570ff8fd431bc1fc085d8f4ef4bdfd3d7b54 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Tue, 2 Aug 2022 10:45:21 +0000 Subject: [PATCH 33/58] cargo-nextest: 0.9.30 -> 0.9.33 --- pkgs/development/tools/rust/cargo-nextest/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/tools/rust/cargo-nextest/default.nix b/pkgs/development/tools/rust/cargo-nextest/default.nix index fe5b0e317aee..2fe692d74f6f 100644 --- a/pkgs/development/tools/rust/cargo-nextest/default.nix +++ b/pkgs/development/tools/rust/cargo-nextest/default.nix @@ -2,16 +2,16 @@ rustPlatform.buildRustPackage rec { pname = "cargo-nextest"; - version = "0.9.30"; + version = "0.9.33"; src = fetchFromGitHub { owner = "nextest-rs"; repo = "nextest"; rev = "cargo-nextest-${version}"; - sha256 = "sha256-IHMehqvNvUNeqFFgIEHF4tmjpOPqAdj0s+/NeXvgqbs="; + sha256 = "sha256-RWlpco03YKlYv9QaGaySudBUG+rZaKURdgMeqFwrq1E="; }; - cargoSha256 = "sha256-z8lk2+vKYTVPGw+A3NH6FaZNgivvAblAz+OQOHmNoa4="; + cargoSha256 = "sha256-azT4enQOdj2/rznU3fA8tr+4a/mRLj/HNsyDNRYLonM="; buildInputs = lib.optionals stdenv.isDarwin [ Security ]; From 17b513517b4286c9bfa36595d7842275435d8601 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Tue, 2 Aug 2022 11:08:01 +0000 Subject: [PATCH 34/58] blueman: 2.3.1 -> 2.3.2 --- pkgs/tools/bluetooth/blueman/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/bluetooth/blueman/default.nix b/pkgs/tools/bluetooth/blueman/default.nix index 43c7ee6a251c..45f5e5ce0b60 100644 --- a/pkgs/tools/bluetooth/blueman/default.nix +++ b/pkgs/tools/bluetooth/blueman/default.nix @@ -9,11 +9,11 @@ let in stdenv.mkDerivation rec { pname = "blueman"; - version = "2.3.1"; + version = "2.3.2"; src = fetchurl { url = "https://github.com/blueman-project/blueman/releases/download/${version}/${pname}-${version}.tar.xz"; - sha256 = "sha256-9swQ+lLgcEG+f8cMnB+5SFeT5BBrwUCcjVXJsfwXq4I="; + sha256 = "sha256-hM99f9Fzh1HHfgYF9y5M3UtyMHindo/j81MJmToDUK4="; }; nativeBuildInputs = [ From 73570ddb89ad28f8815e61aceb2f12f2df686175 Mon Sep 17 00:00:00 2001 From: Stella Date: Sat, 16 Jul 2022 14:39:57 +0300 Subject: [PATCH 35/58] dwarfs: init at 0.6.1 Co-authored-by: Thomas --- pkgs/tools/filesystems/dwarfs/default.nix | 103 ++++++++++++++++++ .../filesystems/dwarfs/version_info.patch | 40 +++++++ pkgs/top-level/all-packages.nix | 2 + 3 files changed, 145 insertions(+) create mode 100644 pkgs/tools/filesystems/dwarfs/default.nix create mode 100644 pkgs/tools/filesystems/dwarfs/version_info.patch diff --git a/pkgs/tools/filesystems/dwarfs/default.nix b/pkgs/tools/filesystems/dwarfs/default.nix new file mode 100644 index 000000000000..22b29b5ed27f --- /dev/null +++ b/pkgs/tools/filesystems/dwarfs/default.nix @@ -0,0 +1,103 @@ +{ lib +, fetchFromGitHub +, stdenv +, substituteAll + +, bison +, boost +, cmake +, double-conversion +, fmt_8 +, fuse3 +, gflags +, glog +, gtest +, jemalloc +, libarchive +, libevent +, libunwind +, lz4 +, openssl +, pkg-config +, ronn +, xxHash +, zstd +}: + +stdenv.mkDerivation rec { + pname = "dwarfs"; + version = "0.6.1"; + + src = fetchFromGitHub { + owner = "mhx"; + repo = "dwarfs"; + rev = "v${version}"; + fetchSubmodules = true; + sha256 = "sha256-bGJkgcq8JxueRTX08QpJv1A0O5wXbiIgUY7BrY0Ln/M="; + }; + + patches = with lib.versions; [ + (substituteAll { + src = ./version_info.patch; + + gitRev = "v${version}"; + gitDesc = "v${version}"; + gitBranch = "v${version}"; + gitId = "v${version}"; # displayed as version number + + versionMajor = major version; + versionMinor = minor version; + versionPatch = patch version; + }) + ]; + + cmakeFlags = [ + "-DPREFER_SYSTEM_ZSTD=ON" + "-DPREFER_SYSTEM_XXHASH=ON" + "-DPREFER_SYSTEM_GTEST=ON" + + # may be added under an option in the future + # "-DWITH_LEGACY_FUSE=ON" + "-DWITH_TESTS=ON" + ]; + + nativeBuildInputs = [ + bison + cmake + pkg-config + ronn + ]; + + buildInputs = [ + # dwarfs + boost + fmt_8 + fuse3 + jemalloc + libarchive + lz4 + xxHash + zstd + + # folly + double-conversion + glog + libevent + libunwind + openssl + ]; + + doCheck = true; + checkInputs = [ gtest ]; + # this fails inside of the sandbox due to missing access + # to the FUSE device + GTEST_FILTER = "-tools.everything"; + + meta = with lib; { + description = "A fast high compression read-only file system"; + homepage = "https://github.com/mhx/dwarfs"; + license = licenses.gpl3Plus; + maintainers = with maintainers; [ keksbg ]; + platforms = platforms.linux; + }; +} diff --git a/pkgs/tools/filesystems/dwarfs/version_info.patch b/pkgs/tools/filesystems/dwarfs/version_info.patch new file mode 100644 index 000000000000..59936302ace0 --- /dev/null +++ b/pkgs/tools/filesystems/dwarfs/version_info.patch @@ -0,0 +1,40 @@ +diff --git a/include/dwarfs/version.h b/include/dwarfs/version.h +new file mode 100755 +index 0000000..9b12c59 +--- /dev/null ++++ b/include/dwarfs/version.h +@@ -0,0 +1,16 @@ ++// autogenerated code, do not modify ++ ++#pragma once ++ ++#define PRJ_VERSION_MAJOR @versionMajor@ ++#define PRJ_VERSION_MINOR @versionMinor@ ++#define PRJ_VERSION_PATCH @versionPatch@ ++ ++namespace dwarfs { ++ ++extern char const* PRJ_GIT_REV; ++extern char const* PRJ_GIT_DESC; ++extern char const* PRJ_GIT_BRANCH; ++extern char const* PRJ_GIT_ID; ++ ++} // namespace dwarfs +diff --git a/src/dwarfs/version.cpp b/src/dwarfs/version.cpp +new file mode 100755 +index 0000000..3af0215 +--- /dev/null ++++ b/src/dwarfs/version.cpp +@@ -0,0 +1,12 @@ ++// autogenerated code, do not modify ++ ++#include "dwarfs/version.h" ++ ++namespace dwarfs { ++ ++char const* PRJ_GIT_REV = "@gitRev@"; ++char const* PRJ_GIT_DESC = "@gitDesc@"; ++char const* PRJ_GIT_BRANCH = "@gitBranch@"; ++char const* PRJ_GIT_ID = "@gitId@"; ++ ++} // namespace dwarfs diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 6ea50d2fc5ba..06383cbdf7bd 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -1187,6 +1187,8 @@ with pkgs; davinci-resolve = callPackage ../applications/video/davinci-resolve { }; + dwarfs = callPackage ../tools/filesystems/dwarfs { }; + gamemode = callPackage ../tools/games/gamemode { libgamemode32 = pkgsi686Linux.gamemode.lib; }; From d5f7213a2a6e0ccd626f6e78055d247a28f2be11 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=20Houl=C3=A9?= Date: Tue, 2 Aug 2022 13:32:05 +0200 Subject: [PATCH 36/58] maintainers: add tomhoule --- maintainers/maintainer-list.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index d70d89137dd3..27472446d65c 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -13094,6 +13094,12 @@ githubId = 61303; name = "Tom Fitzhenry"; }; + tomhoule = { + email = "secondary+nixpkgs@tomhoule.com"; + github = "tomhoule"; + githubId = 13155277; + name = "Tom Houle"; + }; tomsmeets = { email = "tom.tsmeets@gmail.com"; github = "TomSmeets"; From 364b4f09bbf3c89872a76aa63fe7ec66417a0639 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=20Houl=C3=A9?= Date: Tue, 2 Aug 2022 13:32:56 +0200 Subject: [PATCH 37/58] prisma-engines: add tomhoule maintainer --- pkgs/development/tools/database/prisma-engines/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/tools/database/prisma-engines/default.nix b/pkgs/development/tools/database/prisma-engines/default.nix index e1a2ac340892..c39cf827e2da 100644 --- a/pkgs/development/tools/database/prisma-engines/default.nix +++ b/pkgs/development/tools/database/prisma-engines/default.nix @@ -59,7 +59,7 @@ rustPlatform.buildRustPackage rec { homepage = "https://www.prisma.io/"; license = licenses.asl20; platforms = platforms.unix; - maintainers = with maintainers; [ pamplemousse pimeys superherointj ]; + maintainers = with maintainers; [ pamplemousse pimeys superherointj tomhoule ]; }; } From 80cc01a3e03ac72bf3fa680d0841a4b95b14ed8b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=20Houl=C3=A9?= Date: Tue, 2 Aug 2022 13:48:43 +0200 Subject: [PATCH 38/58] prisma-engines: 4.0.0 -> 4.1.1 --- pkgs/development/tools/database/prisma-engines/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/tools/database/prisma-engines/default.nix b/pkgs/development/tools/database/prisma-engines/default.nix index c39cf827e2da..e83c92800865 100644 --- a/pkgs/development/tools/database/prisma-engines/default.nix +++ b/pkgs/development/tools/database/prisma-engines/default.nix @@ -13,7 +13,7 @@ # function correctly. rustPlatform.buildRustPackage rec { pname = "prisma-engines"; - version = "4.0.0"; + version = "4.1.1"; src = fetchFromGitHub { owner = "prisma"; @@ -25,7 +25,7 @@ rustPlatform.buildRustPackage rec { # Use system openssl. OPENSSL_NO_VENDOR = 1; - cargoSha256 = "sha256-//Kis4lDi3SxeptCCnLi/GWPj+Kyay2pQbILYnlEkXE="; + cargoSha256 = "sha256-srawH5z38/RvmsXIykSNm8D2DKAcleRJdyjKAAkVwgc="; nativeBuildInputs = [ pkg-config ]; From 196b1eabcdb8a0758ce6e434087f7942cf806e37 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=20Houl=C3=A9?= Date: Tue, 2 Aug 2022 13:53:33 +0200 Subject: [PATCH 39/58] nodePackages.prisma: 4.0.0 -> 4.1.1 --- pkgs/development/node-packages/overrides.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/node-packages/overrides.nix b/pkgs/development/node-packages/overrides.nix index 72200cdcc777..019d7815d8f3 100644 --- a/pkgs/development/node-packages/overrides.nix +++ b/pkgs/development/node-packages/overrides.nix @@ -360,7 +360,7 @@ final: prev: { src = fetchurl { url = "https://registry.npmjs.org/prisma/-/prisma-${version}.tgz"; - sha512 = "sha512-Dtsar03XpCBkcEb2ooGWO/WcgblDTLzGhPcustbehwlFXuTMliMDRzXsfygsgYwQoZnAUKRd1rhpvBNEUziOVw=="; + sha512 = "sha512-yw50J8If2dKP4wYIi695zthsCASQFHiogGvUHHWd3falx/rpsD6Sb1LMLRV9nO3iGG3lozxNJ2PSINxK7xwdpg=="; }; postInstall = with pkgs; '' wrapProgram "$out/bin/prisma" \ From eb38d95b8aa707888250bc121c7fc6002e4c9761 Mon Sep 17 00:00:00 2001 From: Alyssa Ross Date: Sat, 16 Jul 2022 13:34:58 +0000 Subject: [PATCH 40/58] minijail-tools: move constants.json from minijail It makes more sense to keep constants.json in the minijail package, because that's where the tool that consumes it, compile_seccomp_policy, lives. By having it in this package, we can set it as the default location for compile_seccomp_policy, which means it shouldn't ever even need to be specified on the command line (although it still can be). And we can hook into the cross-compilation machinery to get it to automatically use the constants for the right architecture. I've also changed from generating constants.json by running a test program in qemu-user to generating it from LLVM IR, which will save a huge QEMU build dependency. --- pkgs/tools/system/minijail/default.nix | 21 +------------------ pkgs/tools/system/minijail/tools.nix | 29 +++++++++++++++++++++++++- 2 files changed, 29 insertions(+), 21 deletions(-) diff --git a/pkgs/tools/system/minijail/default.nix b/pkgs/tools/system/minijail/default.nix index bf2c6adf76a4..73f8cad580a5 100644 --- a/pkgs/tools/system/minijail/default.nix +++ b/pkgs/tools/system/minijail/default.nix @@ -1,13 +1,4 @@ -{ stdenv, lib, fetchFromGitiles, glibc, libcap, qemu }: - -let - dumpConstants = - if stdenv.buildPlatform == stdenv.hostPlatform then "./dump_constants" - else if stdenv.hostPlatform.isAarch32 then "qemu-arm dump_constants" - else if stdenv.hostPlatform.isAarch64 then "qemu-aarch64 dump_constants" - else if stdenv.hostPlatform.isx86_64 then "qemu-x86_64 dump_constants" - else throw "Unsupported host platform"; -in +{ stdenv, lib, fetchFromGitiles, libcap }: stdenv.mkDerivation rec { pname = "minijail"; @@ -19,24 +10,15 @@ stdenv.mkDerivation rec { sha256 = "sha256-OpwzISZ5iZNQvJAX7UJJ4gELEaVfcQgY9cqMM0YvBzc="; }; - nativeBuildInputs = - lib.optional (stdenv.buildPlatform != stdenv.hostPlatform) qemu; buildInputs = [ libcap ]; makeFlags = [ "ECHO=echo" "LIBDIR=$(out)/lib" ]; - dumpConstantsFlags = lib.optional (stdenv.hostPlatform.libc == "glibc") - "LDFLAGS=-L${glibc.static}/lib"; postPatch = '' substituteInPlace Makefile --replace /bin/echo echo patchShebangs platform2_preinstall.sh ''; - postBuild = '' - make $makeFlags $buildFlags $dumpConstantsFlags dump_constants - ${dumpConstants} > constants.json - ''; - installPhase = '' ./platform2_preinstall.sh ${version} $out/include/chromeos @@ -47,7 +29,6 @@ stdenv.mkDerivation rec { cp -v *.pc $out/lib/pkgconfig cp -v libminijail.h scoped_minijail.h $out/include/chromeos cp -v minijail0 $out/bin - cp -v constants.json $out/share/minijail ''; enableParallelBuilding = true; diff --git a/pkgs/tools/system/minijail/tools.nix b/pkgs/tools/system/minijail/tools.nix index 875ea0dbff95..caaba84c0833 100644 --- a/pkgs/tools/system/minijail/tools.nix +++ b/pkgs/tools/system/minijail/tools.nix @@ -1,9 +1,36 @@ -{ buildPythonApplication, lib, minijail }: +{ lib, stdenv, buildPythonApplication, pkgsBuildTarget, python, minijail }: + +let + targetClang = pkgsBuildTarget.targetPackages.clangStdenv.cc; +in buildPythonApplication { pname = "minijail-tools"; inherit (minijail) version src; + postPatch = '' + substituteInPlace Makefile --replace /bin/echo echo + ''; + + postConfigure = '' + substituteInPlace tools/compile_seccomp_policy.py \ + --replace "'constants.json'" "'$out/share/constants.json'" + ''; + + preBuild = '' + make libconstants.gen.c libsyscalls.gen.c + ${targetClang}/bin/${targetClang.targetPrefix}cc -S -emit-llvm \ + libconstants.gen.c libsyscalls.gen.c + ${python.pythonForBuild.interpreter} tools/generate_constants_json.py \ + --output constants.json \ + libconstants.gen.ll libsyscalls.gen.ll + ''; + + postInstall = '' + mkdir -p $out/share + cp -v constants.json $out/share/constants.json + ''; + meta = with lib; { homepage = "https://android.googlesource.com/platform/external/minijail/+/refs/heads/master/tools/"; description = "A set of tools for minijail"; From ad7f06781bdc41b3c4c54526084ea41d81f4733e Mon Sep 17 00:00:00 2001 From: Alyssa Ross Date: Sat, 16 Jul 2022 14:35:52 +0000 Subject: [PATCH 41/58] crosvm: precompile seccomp policy files This saves crosvm having to compile them at runtime, and allows us to catch more errors at build time. --- .../virtualization/crosvm/default.nix | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/pkgs/applications/virtualization/crosvm/default.nix b/pkgs/applications/virtualization/crosvm/default.nix index 8309b856936c..6b9143c776e3 100644 --- a/pkgs/applications/virtualization/crosvm/default.nix +++ b/pkgs/applications/virtualization/crosvm/default.nix @@ -1,5 +1,5 @@ { stdenv, lib, rustPlatform, fetchgit -, pkg-config, wayland-scanner +, minijail-tools, pkg-config, wayland-scanner , libcap, libdrm, libepoxy, minijail, virglrenderer, wayland, wayland-protocols , linux }: @@ -29,7 +29,7 @@ in cargoLock.lockFile = ./Cargo.lock; - nativeBuildInputs = [ pkg-config wayland-scanner ]; + nativeBuildInputs = [ minijail-tools pkg-config wayland-scanner ]; buildInputs = [ libcap libdrm libepoxy minijail virglrenderer wayland wayland-protocols @@ -37,19 +37,24 @@ in postPatch = '' cp ${./Cargo.lock} Cargo.lock - sed -i "s|/usr/share/policy/crosvm/|$out/share/policy/|g" \ - seccomp/*/*.policy + sed -i "s|/usr/share/policy/crosvm/|$PWD/seccomp/${arch}/|g" \ + seccomp/${arch}/*.policy ''; preBuild = '' export DEFAULT_SECCOMP_POLICY_DIR=$out/share/policy + + for policy in seccomp/${arch}/*.policy; do + compile_seccomp_policy \ + --default-action trap $policy ''${policy%.policy}.bpf + done ''; buildFeatures = [ "default" "virgl_renderer" "virgl_renderer_next" ]; postInstall = '' mkdir -p $out/share/policy/ - cp seccomp/${arch}/* $out/share/policy/ + cp -v seccomp/${arch}/*.bpf $out/share/policy/ ''; CROSVM_CARGO_TEST_KERNEL_BINARY = From 5959e283cd9ce7dc8d08afcd22d62a6168d4bbbd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Forsman?= Date: Tue, 2 Aug 2022 14:12:52 +0200 Subject: [PATCH 42/58] syncthing: also link nixosTests.syncthing in passthru.tests Before this change it linked syncthing-init and syncthing-relay but was missing the main syncthing test itself. --- pkgs/applications/networking/syncthing/default.nix | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/networking/syncthing/default.nix b/pkgs/applications/networking/syncthing/default.nix index f09f9fb45ab3..39e76da67bc4 100644 --- a/pkgs/applications/networking/syncthing/default.nix +++ b/pkgs/applications/networking/syncthing/default.nix @@ -34,9 +34,8 @@ let inherit postInstall; - passthru.tests = with nixosTests; { - init = syncthing-init; - relay = syncthing-relay; + passthru.tests = { + inherit (nixosTests) syncthing syncthing-init syncthing-relay; }; meta = with lib; { From 244864acdc03060179deaa1418a536bc17a4d9f0 Mon Sep 17 00:00:00 2001 From: kilianar Date: Tue, 2 Aug 2022 11:14:32 +0200 Subject: [PATCH 43/58] syncthing: 1.20.3 -> 1.20.4 https://github.com/syncthing/syncthing/releases/tag/v1.20.4 --- pkgs/applications/networking/syncthing/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/networking/syncthing/default.nix b/pkgs/applications/networking/syncthing/default.nix index 39e76da67bc4..6fdc0e0d0051 100644 --- a/pkgs/applications/networking/syncthing/default.nix +++ b/pkgs/applications/networking/syncthing/default.nix @@ -4,13 +4,13 @@ let common = { stname, target, postInstall ? "" }: buildGoModule rec { pname = stname; - version = "1.20.3"; + version = "1.20.4"; src = fetchFromGitHub { owner = "syncthing"; repo = "syncthing"; rev = "v${version}"; - hash = "sha256-8sxCTPFdf5VDysANUYqic6zq5gipTL6wmPXstJc+6bA="; + hash = "sha256-umnlYvCtT+76Yer17T7ZvWJ5sUdXu+7kiRikrmWrIM8="; }; vendorSha256 = "sha256-CJFKY69Iz8GrVpvUdDveMQQFj6RXApfgYjP7B1wfgfo="; From 2e50f02809062a25c56f404b60ca6e2ae03b2f2d Mon Sep 17 00:00:00 2001 From: "Bryan A. S" Date: Tue, 2 Aug 2022 09:46:51 -0300 Subject: [PATCH 44/58] jrnl: 2.8.4 -> 3.0.0 - add missing deps - drop bdd tests --- pkgs/applications/misc/jrnl/default.nix | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/misc/jrnl/default.nix b/pkgs/applications/misc/jrnl/default.nix index 4aecdec4de9d..141db33e8b1f 100644 --- a/pkgs/applications/misc/jrnl/default.nix +++ b/pkgs/applications/misc/jrnl/default.nix @@ -5,14 +5,14 @@ python3.pkgs.buildPythonApplication rec { pname = "jrnl"; - version = "2.8.4"; + version = "3.0"; format = "pyproject"; src = fetchFromGitHub { owner = "jrnl-org"; repo = pname; rev = "v${version}"; - sha256 = "sha256-Edu+GW/D+R5r0R750Z1f8YUVPMYbm9PK4D73sTDzDEc="; + sha256 = "sha256-wyN7dlAbQwqvES8qEJ4Zo+fDMM/Lh9tNjf215Ywop10="; }; nativeBuildInputs = with python3.pkgs; [ @@ -31,14 +31,24 @@ python3.pkgs.buildPythonApplication rec { pyxdg pyyaml tzlocal + ruamel-yaml + rich ]; checkInputs = with python3.pkgs; [ pytest-bdd + pytest-xdist pytestCheckHook toml ]; + # Upstream expects a old pytest-bdd version + # Once it changes we should update here too + # https://github.com/jrnl-org/jrnl/blob/develop/poetry.lock#L732 + disabledTests = [ + "bdd" + ]; + postPatch = '' substituteInPlace pyproject.toml \ --replace 'tzlocal = ">2.0, <3.0"' 'tzlocal = ">2.0, !=3.0"' From bbc08180e5ba5846ff22b373153d65ca27f06069 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Tue, 2 Aug 2022 14:50:34 +0200 Subject: [PATCH 45/58] python3Packages.pipx: fix build --- pkgs/development/python-modules/pipx/default.nix | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/pipx/default.nix b/pkgs/development/python-modules/pipx/default.nix index fb0cef01705c..955b2d8a7d65 100644 --- a/pkgs/development/python-modules/pipx/default.nix +++ b/pkgs/development/python-modules/pipx/default.nix @@ -2,16 +2,19 @@ , buildPythonPackage , fetchFromGitHub , pythonOlder +, hatchling , userpath , argcomplete , packaging , importlib-metadata +, pip , pytestCheckHook }: buildPythonPackage rec { pname = "pipx"; version = "1.1.0"; + format = "pyproject"; disabled = pythonOlder "3.6"; @@ -23,6 +26,10 @@ buildPythonPackage rec { sha256 = "sha256-6cKKVOgHIoKNfGqvDWK5cwBGBDkgfyRuBRDV6fruBoA="; }; + nativeBuildInputs = [ + hatchling + ]; + propagatedBuildInputs = [ userpath argcomplete @@ -31,7 +38,9 @@ buildPythonPackage rec { importlib-metadata ]; - checkInputs = [ pytestCheckHook ]; + checkInputs = [ + pytestCheckHook + ]; preCheck = '' export HOME=$(mktemp -d) @@ -61,6 +70,7 @@ buildPythonPackage rec { "legacy_venv" "determination" "json" + "test_list_short" ]; meta = with lib; { From 20a308341e6ee0255009a3a1359eefcb7c0e2658 Mon Sep 17 00:00:00 2001 From: zowoq <59103226+zowoq@users.noreply.github.com> Date: Tue, 2 Aug 2022 23:05:03 +1000 Subject: [PATCH 46/58] fzf: 0.31.0 -> 0.32.0 https://github.com/junegunn/fzf/releases/tag/0.32.0 --- pkgs/tools/misc/fzf/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/misc/fzf/default.nix b/pkgs/tools/misc/fzf/default.nix index c5131b8a11e5..609df70be4d7 100644 --- a/pkgs/tools/misc/fzf/default.nix +++ b/pkgs/tools/misc/fzf/default.nix @@ -2,13 +2,13 @@ buildGoModule rec { pname = "fzf"; - version = "0.31.0"; + version = "0.32.0"; src = fetchFromGitHub { owner = "junegunn"; repo = pname; rev = version; - sha256 = "sha256-HKwf/ogNx+jCNSVHI8rt6WYRbuyT18V4nnMyZ6TmwVQ="; + sha256 = "sha256-3iizp1Dn6fxcNUgbK4RkD38Z7KrLUkZDDq3wnIPMjPY="; }; vendorSha256 = "sha256-3ry93xV3KKtFoFGt2yxzMd4jx3QG2+8TBrEEywj7HPQ="; From b3e03a8a0f8ca703fb1d6dbd45f5341c28041584 Mon Sep 17 00:00:00 2001 From: Tom Date: Tue, 2 Aug 2022 13:16:51 +0000 Subject: [PATCH 47/58] sgt-puzzles: 20220613 -> 20220802 (#184804) --- pkgs/games/sgt-puzzles/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/games/sgt-puzzles/default.nix b/pkgs/games/sgt-puzzles/default.nix index 7419b6810cb2..f765961266ed 100644 --- a/pkgs/games/sgt-puzzles/default.nix +++ b/pkgs/games/sgt-puzzles/default.nix @@ -5,11 +5,11 @@ stdenv.mkDerivation rec { pname = "sgt-puzzles"; - version = "20220613.387d323"; + version = "20220802.8399cff"; src = fetchurl { url = "http://www.chiark.greenend.org.uk/~sgtatham/puzzles/puzzles-${version}.tar.gz"; - hash = "sha256-Vcm7gxC9R7vvLkgkHblvEOONGLkYSHGMRfSBktgN/oQ="; + hash = "sha256-f68Nj8P8oIJj1LWyq8Iamv32ex+boPH/lsV5t+YhM9o="; }; sgt-puzzles-menu = fetchurl { From 80602db395b13be833133f762d17c8e34a21d579 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Na=C3=AFm=20Favier?= Date: Tue, 2 Aug 2022 01:14:18 +0200 Subject: [PATCH 48/58] linuxPackages.nvidia_x11_legacy390.settings: fix build https://aur.archlinux.org/pkgbase/nvidia-390xx-settings#comment-753829 --- .../os-specific/linux/nvidia-x11/settings.nix | 29 ++++++++++++------- 1 file changed, 19 insertions(+), 10 deletions(-) diff --git a/pkgs/os-specific/linux/nvidia-x11/settings.nix b/pkgs/os-specific/linux/nvidia-x11/settings.nix index 873e09df8dfb..884ccdd6c52d 100644 --- a/pkgs/os-specific/linux/nvidia-x11/settings.nix +++ b/pkgs/os-specific/linux/nvidia-x11/settings.nix @@ -1,6 +1,7 @@ nvidia_x11: sha256: -{ stdenv, lib, fetchFromGitHub, pkg-config, m4, jansson, gtk2, dbus, gtk3, libXv, libXrandr, libXext, libXxf86vm, libvdpau +{ stdenv, lib, fetchFromGitHub, fetchpatch, pkg-config, m4, jansson, gtk2, dbus, gtk3 +, libXv, libXrandr, libXext, libXxf86vm, libvdpau , librsvg, wrapGAppsHook , withGtk2 ? false, withGtk3 ? true }: @@ -43,21 +44,23 @@ in stdenv.mkDerivation { pname = "nvidia-settings"; version = nvidia_x11.settingsVersion; + inherit src; - nativeBuildInputs = [ pkg-config m4 ]; - - buildInputs = [ jansson libXv libXrandr libXext libXxf86vm libvdpau nvidia_x11 gtk2 dbus ] - ++ lib.optionals withGtk3 [ gtk3 librsvg wrapGAppsHook ]; - - enableParallelBuilding = true; - makeFlags = nvidia_x11.makeFlags ++ [ "NV_USE_BUNDLED_LIBJANSSON=0" ]; - installFlags = [ "PREFIX=$(out)" ]; + patches = lib.optional (lib.versionOlder nvidia_x11.settingsVersion "440") + (fetchpatch { + # fixes "multiple definition of `VDPAUDeviceFunctions'" linking errors + url = "https://github.com/NVIDIA/nvidia-settings/commit/a7c1f5fce6303a643fadff7d85d59934bd0cf6b6.patch"; + hash = "sha256-ZwF3dRTYt/hO8ELg9weoz1U/XcU93qiJL2d1aq1Jlak="; + }); postPatch = lib.optionalString nvidia_x11.useProfiles '' sed -i 's,/usr/share/nvidia/,${nvidia_x11.bin}/share/nvidia/,g' src/gtk+-2.x/ctkappprofile.c ''; + enableParallelBuilding = true; + makeFlags = nvidia_x11.makeFlags ++ [ "NV_USE_BUNDLED_LIBJANSSON=0" ]; + preBuild = '' if [ -e src/libXNVCtrl/libXNVCtrl.a ]; then ( cd src/libXNVCtrl @@ -66,6 +69,13 @@ stdenv.mkDerivation { fi ''; + nativeBuildInputs = [ pkg-config m4 ]; + + buildInputs = [ jansson libXv libXrandr libXext libXxf86vm libvdpau nvidia_x11 gtk2 dbus ] + ++ lib.optionals withGtk3 [ gtk3 librsvg wrapGAppsHook ]; + + installFlags = [ "PREFIX=$(out)" ]; + postInstall = '' ${lib.optionalString (!withGtk2) '' rm -f $out/lib/libnvidia-gtk2.so.* @@ -87,7 +97,6 @@ stdenv.mkDerivation { ''; binaryName = if withGtk3 then ".nvidia-settings-wrapped" else "nvidia-settings"; - postFixup = '' patchelf --set-rpath "$(patchelf --print-rpath $out/bin/$binaryName):$out/lib:${libXv}/lib" \ $out/bin/$binaryName From 6213fe5f7fcebad3149e61f5166367125715f63f Mon Sep 17 00:00:00 2001 From: Luc Perkins Date: Mon, 1 Aug 2022 17:42:15 +0200 Subject: [PATCH 49/58] twiggy: init at 0.7.0 --- pkgs/development/tools/twiggy/default.nix | 22 ++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 24 insertions(+) create mode 100644 pkgs/development/tools/twiggy/default.nix diff --git a/pkgs/development/tools/twiggy/default.nix b/pkgs/development/tools/twiggy/default.nix new file mode 100644 index 000000000000..f1ee4c68fb19 --- /dev/null +++ b/pkgs/development/tools/twiggy/default.nix @@ -0,0 +1,22 @@ +{ lib +, fetchCrate +, rustPlatform }: + +rustPlatform.buildRustPackage rec { + pname = "twiggy"; + version = "0.7.0"; + + src = fetchCrate { + inherit pname version; + sha256 = "sha256-NbtS7A5Zl8634Q3xyjVzNraNszjt1uIXqmctArfnqkk="; + }; + + cargoSha256 = "sha256-94pfhVZ0CNMn+lCl5O+wOyE+D6fVXbH4NAPx92nMNbM="; + + meta = with lib; { + homepage = "https://rustwasm.github.io/twiggy/"; + description = "A code size profiler for Wasm"; + license = with licenses; [ asl20 mit ]; + maintainers = with maintainers; [ lucperkins ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 5d5e966accc3..ddfe74299fe4 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -35603,6 +35603,8 @@ with pkgs; tvheadend = callPackage ../servers/tvheadend { }; + twiggy = callPackage ../development/tools/twiggy { }; + uacme = callPackage ../tools/admin/uacme { }; ums = callPackage ../servers/ums { }; From 9ce6a0c7dc6a1a7a5af1266343d0d7405d34fc37 Mon Sep 17 00:00:00 2001 From: "R. RyanTM" Date: Tue, 2 Aug 2022 06:38:37 -0700 Subject: [PATCH 50/58] yoda: 1.9.5 -> 1.9.6 (#184778) --- pkgs/development/libraries/physics/yoda/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/libraries/physics/yoda/default.nix b/pkgs/development/libraries/physics/yoda/default.nix index db7c18a33442..5424ad73787c 100644 --- a/pkgs/development/libraries/physics/yoda/default.nix +++ b/pkgs/development/libraries/physics/yoda/default.nix @@ -2,11 +2,11 @@ stdenv.mkDerivation rec { pname = "yoda"; - version = "1.9.5"; + version = "1.9.6"; src = fetchurl { url = "https://www.hepforge.org/archive/yoda/YODA-${version}.tar.bz2"; - hash = "sha256-WRkaDpr6jbU/+qIHn4Uy5bE94b5iJwPW9wYNNhBSi2s="; + hash = "sha256-IVI/ova2yPM0iVnzqUhzSpMMollR08kZC0Qk4Tc18qQ="; }; nativeBuildInputs = with python.pkgs; [ cython makeWrapper ]; From 630aff8aabaef04ce0019c29192bdd4b3c92df0f Mon Sep 17 00:00:00 2001 From: kilianar Date: Tue, 2 Aug 2022 15:48:07 +0200 Subject: [PATCH 51/58] gitlab-pages: 1.59.0 -> 1.62.0 https://gitlab.com/gitlab-org/gitlab-pages/-/tags/v1.62.0 --- pkgs/servers/http/gitlab-pages/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/servers/http/gitlab-pages/default.nix b/pkgs/servers/http/gitlab-pages/default.nix index 124286d6fefc..cc4b85518b2b 100644 --- a/pkgs/servers/http/gitlab-pages/default.nix +++ b/pkgs/servers/http/gitlab-pages/default.nix @@ -2,16 +2,16 @@ buildGoModule rec { pname = "gitlab-pages"; - version = "1.59.0"; + version = "1.62.0"; src = fetchFromGitLab { owner = "gitlab-org"; repo = "gitlab-pages"; rev = "v${version}"; - sha256 = "sha256-YfuGpenypYZrX0loLwBya2Yw1tFqEpEK7fcjCHnyHCQ="; + sha256 = "sha256-sGZUns6ad4FQ/5VYEi7hhgp35YIdbwyaMYPMbK8hlNA="; }; - vendorSha256 = "sha256-CRIrqM6alELkd7904H7+W9IRICPawEZEcVf98hBQogU="; + vendorSha256 = "sha256-UHSXhRfegqgKyFl2W/2am9VNIzVYeIuUsVlha8nAZw0="; subPackages = [ "." ]; meta = with lib; { From 463fe0db3d511b6b13d42263c565162d0604d4b7 Mon Sep 17 00:00:00 2001 From: Sumner Evans Date: Tue, 2 Aug 2022 08:23:59 -0600 Subject: [PATCH 52/58] matrix-synapse: 1.63.1 -> 1.64.0 Signed-off-by: Sumner Evans --- pkgs/servers/matrix-synapse/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/servers/matrix-synapse/default.nix b/pkgs/servers/matrix-synapse/default.nix index 366720b01bb7..8f5240b42eb1 100644 --- a/pkgs/servers/matrix-synapse/default.nix +++ b/pkgs/servers/matrix-synapse/default.nix @@ -11,11 +11,11 @@ in with python3.pkgs; buildPythonApplication rec { pname = "matrix-synapse"; - version = "1.63.1"; + version = "1.64.0"; src = fetchPypi { inherit pname version; - sha256 = "sha256-AjxvZye3bRjGT355eAnwuP2lvTU/RSnOPxxKqaUxN9g="; + sha256 = "sha256-hybl63hbhuUYnMi03z0Yp7L4n0x01z5uR8r5ZwHzgfI="; }; buildInputs = [ openssl ]; From 7e7b96164de1e29f8f38485fd6960c1d7e6c3d0d Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Tue, 2 Aug 2022 09:34:47 +0000 Subject: [PATCH 53/58] gnome.accerciser: 3.38.0 -> 3.40.0 --- pkgs/desktops/gnome/apps/accerciser/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/desktops/gnome/apps/accerciser/default.nix b/pkgs/desktops/gnome/apps/accerciser/default.nix index 9c099f65295b..7d4f5969d0df 100644 --- a/pkgs/desktops/gnome/apps/accerciser/default.nix +++ b/pkgs/desktops/gnome/apps/accerciser/default.nix @@ -17,13 +17,13 @@ python3.pkgs.buildPythonApplication rec { pname = "accerciser"; - version = "3.38.0"; + version = "3.40.0"; format = "other"; src = fetchurl { url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; - sha256 = "0fd9vv2abd2if2qj4nlfy7mpd7rc4sx18zhmxd5ijlnfhkpggbp5"; + sha256 = "U3VF1kgTwtKxSne2TiQBABXpl3z1+zz4qmXbzgHqNiU="; }; nativeBuildInputs = [ From 70e7bf379bc04da94d737f05efbf61911d11cd29 Mon Sep 17 00:00:00 2001 From: Peter Hoeg Date: Tue, 2 Aug 2022 09:49:48 +0800 Subject: [PATCH 54/58] python3Packages.tpm2-pytss: add missing pyyaml dependency --- .../development/python-modules/tpm2-pytss/default.nix | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/pkgs/development/python-modules/tpm2-pytss/default.nix b/pkgs/development/python-modules/tpm2-pytss/default.nix index e3e76da73443..8f8d49d34f1a 100644 --- a/pkgs/development/python-modules/tpm2-pytss/default.nix +++ b/pkgs/development/python-modules/tpm2-pytss/default.nix @@ -6,11 +6,12 @@ , cffi , cryptography , ibm-sw-tpm2 -, pkg-config -, pkgconfig +, pkgconfig # see nativeBuildInputs +, pkg-config # see nativeBuildInputs , pycparser , pytestCheckHook , python +, pyyaml , setuptools-scm , tpm2-tss }: @@ -27,9 +28,8 @@ buildPythonPackage rec { nativeBuildInputs = [ cffi - pkgconfig - # somehow propagating from pkgconfig does not work - pkg-config + pkgconfig # this is the python module + pkg-config # this is the actual pkg-config tool setuptools-scm ]; @@ -41,6 +41,7 @@ buildPythonPackage rec { cffi asn1crypto cryptography + pyyaml ]; # https://github.com/tpm2-software/tpm2-pytss/issues/341 From f73b6e98b1e89810700c610c4c76c4715e1e63bc Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Tue, 2 Aug 2022 15:19:53 +0000 Subject: [PATCH 55/58] python310Packages.validobj: 0.5.1 -> 0.6 --- pkgs/development/python-modules/validobj/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/validobj/default.nix b/pkgs/development/python-modules/validobj/default.nix index 2cf21522d4b3..3f0f40fc26c6 100644 --- a/pkgs/development/python-modules/validobj/default.nix +++ b/pkgs/development/python-modules/validobj/default.nix @@ -8,12 +8,12 @@ buildPythonPackage rec { pname = "validobj"; - version = "0.5.1"; + version = "0.6"; format = "pyproject"; src = fetchPypi { inherit pname version; - sha256 = "430b0b56931a2cebdb857a9fe9da2467c06a3b4db37b728e7f1a8706e8887705"; + sha256 = "sha256-BvnHn0Erk87Ce3tYwYf0tBwRJMrG19Af/Y568VJ02uo="; }; nativeBuildInputs = [ flit ]; From b717ec92055bbd1654aa6696d7f9801e48537b4b Mon Sep 17 00:00:00 2001 From: Peter Hoeg Date: Tue, 2 Aug 2022 23:32:41 +0800 Subject: [PATCH 56/58] tpm2-pkcs11: fix build --- pkgs/misc/tpm2-pkcs11/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/misc/tpm2-pkcs11/default.nix b/pkgs/misc/tpm2-pkcs11/default.nix index 87a9a0f979e5..dd0cf011b158 100644 --- a/pkgs/misc/tpm2-pkcs11/default.nix +++ b/pkgs/misc/tpm2-pkcs11/default.nix @@ -33,7 +33,7 @@ stdenv.mkDerivation rec { ]; buildInputs = [ tpm2-tss tpm2-tools opensc openssl sqlite libyaml - (python3.withPackages (ps: [ ps.pyyaml ps.cryptography ps.pyasn1-modules ps.tpm2-pytss ])) + (python3.withPackages (ps: with ps; [ packaging pyyaml cryptography pyasn1-modules tpm2-pytss ])) ]; outputs = [ "out" "bin" "dev" ]; From 1d86e567527d433ef8b9e4829d61d3a0fcb19ec7 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Tue, 2 Aug 2022 09:54:41 +0000 Subject: [PATCH 57/58] abcmidi: 2022.06.14 -> 2022.08.01 --- pkgs/tools/audio/abcmidi/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/audio/abcmidi/default.nix b/pkgs/tools/audio/abcmidi/default.nix index 17b83a091319..b5b484159c36 100644 --- a/pkgs/tools/audio/abcmidi/default.nix +++ b/pkgs/tools/audio/abcmidi/default.nix @@ -2,11 +2,11 @@ stdenv.mkDerivation rec { pname = "abcMIDI"; - version = "2022.06.14"; + version = "2022.08.01"; src = fetchzip { url = "https://ifdo.ca/~seymour/runabc/${pname}-${version}.zip"; - hash = "sha256-dmd0iPRKm5/GNz3VJ9pJgYiCSTENB0ZAOt3rLjujlYs="; + hash = "sha256-qFk/Rij7P17ZlJFjsrW8snp2anCGjqxfytzopIyHLL0="; }; meta = with lib; { From 25b464c8b318448d007957892923b4867f1ff6c7 Mon Sep 17 00:00:00 2001 From: zowoq <59103226+zowoq@users.noreply.github.com> Date: Wed, 3 Aug 2022 03:45:05 +1000 Subject: [PATCH 58/58] terraform-full: remove (#184649) * terraform-full: remove * .github/workflows/update-terraform-providers.yml: switch to terraform.full --- .github/workflows/update-terraform-providers.yml | 2 +- pkgs/top-level/aliases.nix | 1 + pkgs/top-level/all-packages.nix | 2 -- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/update-terraform-providers.yml b/.github/workflows/update-terraform-providers.yml index d332fef12e6c..1650f537b7bc 100644 --- a/.github/workflows/update-terraform-providers.yml +++ b/.github/workflows/update-terraform-providers.yml @@ -39,7 +39,7 @@ jobs: Check that all providers build with: ``` - @ofborg build terraform-full + @ofborg build terraform.full ``` branch: terraform-providers-update delete-branch: false diff --git a/pkgs/top-level/aliases.nix b/pkgs/top-level/aliases.nix index 3c28d18108c1..11b5bcb5e4ee 100644 --- a/pkgs/top-level/aliases.nix +++ b/pkgs/top-level/aliases.nix @@ -1383,6 +1383,7 @@ mapAliases ({ telepathy_qt5 = throw "'telepathy_qt5' has been renamed to/replaced by 'libsForQt5.telepathy'"; # Converted to throw 2022-02-22 telnet = throw "'telnet' has been renamed to/replaced by 'inetutils'"; # Converted to throw 2022-02-22 terminus = throw "terminus has been removed, it was unmaintained in nixpkgs"; # Added 2021-08-21 + terraform-full = throw "terraform-full has been removed, it was an alias for 'terraform.full'"; # Added 2022-08-02 terraform_0_13 = throw "terraform_0_13 has been removed from nixpkgs"; # Added 2022-06-26 terraform_0_14 = throw "terraform_0_14 has been removed from nixpkgs"; # Added 2022-06-26 terraform_0_15 = throw "terraform_0_15 has been removed from nixpkgs"; # Added 2022-06-26 diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 9653332e904d..dec06f3853ff 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -35543,8 +35543,6 @@ with pkgs; ; terraform = terraform_1; - # deprecated - terraform-full = terraform.full; terraform-providers = recurseIntoAttrs ( callPackage ../applications/networking/cluster/terraform-providers { }