From fad85f2c0a655ab51d76e2444136954770ca36c4 Mon Sep 17 00:00:00 2001 From: Ben Darwin Date: Mon, 18 Jul 2022 15:32:40 -0400 Subject: [PATCH 01/52] python3Packages.tables: hdf5_1_10 -> hdf5 --- pkgs/top-level/python-packages.nix | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 4f430c6bb183..c94a11703158 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -10378,9 +10378,7 @@ in { tableaudocumentapi = callPackage ../development/python-modules/tableaudocumentapi { }; - tables = callPackage ../development/python-modules/tables { - hdf5 = pkgs.hdf5_1_10; - }; + tables = callPackage ../development/python-modules/tables { }; tablib = callPackage ../development/python-modules/tablib { }; From 274b5fa829d55c15807651fea15d017240cba97f Mon Sep 17 00:00:00 2001 From: Ben Darwin Date: Thu, 16 Jul 2020 15:32:49 -0400 Subject: [PATCH 02/52] python3Packages.monai: init at 0.9.0 --- .../python-modules/monai/default.nix | 64 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 + 2 files changed, 66 insertions(+) create mode 100644 pkgs/development/python-modules/monai/default.nix diff --git a/pkgs/development/python-modules/monai/default.nix b/pkgs/development/python-modules/monai/default.nix new file mode 100644 index 000000000000..74ccf0b1868e --- /dev/null +++ b/pkgs/development/python-modules/monai/default.nix @@ -0,0 +1,64 @@ +{ lib +, buildPythonPackage +, fetchFromGitHub +, pythonOlder +, ninja +, ignite +, numpy +, pybind11 +, pytorch +, which +}: + +buildPythonPackage rec { + pname = "monai"; + version = "0.9.0"; + disabled = pythonOlder "3.7"; + + src = fetchFromGitHub { + owner = "Project-MONAI"; + repo = "MONAI"; + rev = version; + sha256 = "sha256-HxW9WYxt2a7fS9/1E9DtiH+SCTTJoxYBfgZqskYdcvI="; + }; + + # Ninja is not detected by setuptools for some reason even though it's present: + postPatch = '' + substituteInPlace "setup.cfg" --replace "ninja" "" + ''; + + preBuild = '' + export MAX_JOBS=$NIX_BUILD_CORES; + ''; + + nativeBuildInputs = [ ninja which ]; + buildInputs = [ pybind11 ]; + propagatedBuildInputs = [ numpy pytorch ignite ]; + + BUILD_MONAI = 1; + + doCheck = false; # takes too long; numerous dependencies, some not in Nixpkgs + + pythonImportsCheck = [ + "monai" + "monai.apps" + "monai.data" + "monai.engines" + "monai.handlers" + "monai.inferers" + "monai.losses" + "monai.metrics" + "monai.optimizers" + "monai.networks" + "monai.transforms" + "monai.utils" + "monai.visualize" + ]; + + meta = with lib; { + description = "Pytorch framework (based on Ignite) for deep learning in medical imaging"; + homepage = "https://github.com/Project-MONAI/MONAI"; + license = licenses.asl20; + maintainers = [ maintainers.bcdarwin ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 4f430c6bb183..7276bf4309f8 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -5541,6 +5541,8 @@ in { moku = callPackage ../development/python-modules/moku { }; + monai = callPackage ../development/python-modules/monai { }; + monero = callPackage ../development/python-modules/monero { }; mongomock = callPackage ../development/python-modules/mongomock { }; From cda3541bff2b138dceaf76d53e453cc67b423e56 Mon Sep 17 00:00:00 2001 From: Ben Darwin Date: Tue, 26 Jul 2022 15:10:26 -0400 Subject: [PATCH 03/52] libminc: unstable-2020-07-17 -> 2.4.05 - hdf5_1_10 -> hdf5 - enable previously erroring test --- pkgs/development/libraries/libminc/default.nix | 12 ++++++------ pkgs/top-level/all-packages.nix | 4 +--- 2 files changed, 7 insertions(+), 9 deletions(-) diff --git a/pkgs/development/libraries/libminc/default.nix b/pkgs/development/libraries/libminc/default.nix index f1f6dc1b374f..00db5fc83377 100644 --- a/pkgs/development/libraries/libminc/default.nix +++ b/pkgs/development/libraries/libminc/default.nix @@ -2,15 +2,15 @@ stdenv.mkDerivation rec { pname = "libminc"; - version = "unstable-2020-07-17"; + version = "2.4.05"; owner = "BIC-MNI"; src = fetchFromGitHub { inherit owner; repo = pname; - rev = "ffb5fb234a852ea7e8da8bb2b3b49f67acbe56ca"; - sha256 = "0yr4ksghpvxh9zg0a4p7hvln3qirsi08plvjp5kxx2qiyj96zsdm"; + rev = "aa08255f0856e70fb001c5f9ee1f4e5a8c12d47d"; # new release, but no git tag + sha256 = "XMTO6/HkyrrQ0s5DzJLCmmWheye2DGMnpDbcGdP6J+A="; }; postPatch = '' @@ -24,14 +24,14 @@ stdenv.mkDerivation rec { cmakeFlags = [ "-DLIBMINC_MINC1_SUPPORT=ON" "-DLIBMINC_BUILD_SHARED_LIBS=ON" + "-DLIBMINC_USE_NIFTI=ON" "-DLIBMINC_USE_SYSTEM_NIFTI=ON" ]; doCheck = !stdenv.isDarwin; - checkPhase = '' - ctest -j1 -E 'ezminc_rw_test' --output-on-failure # -j1: see https://github.com/BIC-MNI/libminc/issues/110 - # ezminc_rw_test: can't find libminc_io.so.5.2.0 + checkPhase = '' + ctest -j1 --output-on-failure ''; meta = with lib; { diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index e449c34634bd..716a613989ee 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -19440,9 +19440,7 @@ with pkgs; libmilter = callPackage ../development/libraries/libmilter { }; - libminc = callPackage ../development/libraries/libminc { - hdf5 = hdf5_1_10; - }; + libminc = callPackage ../development/libraries/libminc { }; libmkv = callPackage ../development/libraries/libmkv { }; From 125da198662adacbeb31d247b96eabdcb2dc3462 Mon Sep 17 00:00:00 2001 From: Ben Darwin Date: Tue, 26 Jul 2022 15:47:22 -0400 Subject: [PATCH 04/52] mni_autoreg: unstable-2017-02-22 -> unstable-2022-05-20 --- .../science/biology/mni_autoreg/default.nix | 18 ++++-------------- 1 file changed, 4 insertions(+), 14 deletions(-) diff --git a/pkgs/applications/science/biology/mni_autoreg/default.nix b/pkgs/applications/science/biology/mni_autoreg/default.nix index d7882bd4854e..29ab02ee3139 100644 --- a/pkgs/applications/science/biology/mni_autoreg/default.nix +++ b/pkgs/applications/science/biology/mni_autoreg/default.nix @@ -1,26 +1,16 @@ -{ lib, stdenv, fetchFromGitHub, fetchpatch, cmake, makeWrapper, perlPackages, libminc }: +{ lib, stdenv, fetchFromGitHub, cmake, makeWrapper, perlPackages, libminc }: stdenv.mkDerivation rec { pname = "mni_autoreg"; - version = "unstable-2017-09-22"; + version = "unstable-2022-05-20"; src = fetchFromGitHub { owner = "BIC-MNI"; repo = pname; - rev = "ab99e29987dc029737785baebf24896ec37a2d76"; - sha256 = "0axl069nv57vmb2wvqq7s9v3bfxwspzmk37bxm4973ai1irgppjq"; + rev = "be7bd25bf7776974e0f2c1d90b6e7f8ccc0c8874"; + sha256 = "sGMZbCrdV6yAOgGiqvBFOUr6pGlTCqwy8yNrPxMoKco="; }; - patches = [ - # Pull upstream workaround for -fno-common toolchains: - # https://github.com/BIC-MNI/mni_autoreg/pull/28 - (fetchpatch { - name = "fno-common.patch"; - url = "https://github.com/BIC-MNI/mni_autoreg/commit/06adfacbd84369ea3bcc4376596ac1c0f2e49af9.patch"; - sha256 = "004sdrbx9kcj1qqwjly6p03svakl0x2sbv83salyg63fv67jynx8"; - }) - ]; - nativeBuildInputs = [ cmake makeWrapper ]; buildInputs = [ libminc ]; propagatedBuildInputs = with perlPackages; [ perl GetoptTabular MNI-Perllib ]; From f5706406ed1b38f17402929a5a85c701484dffad Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Fri, 29 Jul 2022 23:03:57 +0000 Subject: [PATCH 05/52] smug: 0.2.7 -> 0.3.2 --- pkgs/tools/misc/smug/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/misc/smug/default.nix b/pkgs/tools/misc/smug/default.nix index cf78662620ce..252ce555c99a 100644 --- a/pkgs/tools/misc/smug/default.nix +++ b/pkgs/tools/misc/smug/default.nix @@ -2,7 +2,7 @@ buildGoModule rec { pname = "smug"; - version = "0.2.7"; + version = "0.3.2"; subPackages = [ "." ]; @@ -10,10 +10,10 @@ buildGoModule rec { owner = "ivaaaan"; repo = "smug"; rev = "v${version}"; - sha256 = "178125835dhnaq9k42yv4pfxpyhgb5179wrxkimb59fy0nk8jzx8"; + sha256 = "sha256-JZV4UfrmvcM7d8Ld4m/jC3GvzJCUgXqsGBSSnz81fXk="; }; - vendorSha256 = "1rba5rpvlr8dyhj145b5i57pm4skfpj3vm7vydkn79k6ak6x985x"; + vendorSha256 = "sha256-vaDUzVRmpmNn8/vUPeR1U5N6T4llFRIk9A1lum8uauU="; nativeBuildInputs = [ installShellFiles ]; From a821f7c91a6b9819a6738d6c12ea0ad4a26a1c17 Mon Sep 17 00:00:00 2001 From: Ben Darwin Date: Wed, 7 Oct 2020 15:02:34 -0400 Subject: [PATCH 06/52] ciftilib: init at 1.6.0 --- .../science/biology/ciftilib/default.nix | 36 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 4 +++ 2 files changed, 40 insertions(+) create mode 100644 pkgs/development/libraries/science/biology/ciftilib/default.nix diff --git a/pkgs/development/libraries/science/biology/ciftilib/default.nix b/pkgs/development/libraries/science/biology/ciftilib/default.nix new file mode 100644 index 000000000000..797607ed8f54 --- /dev/null +++ b/pkgs/development/libraries/science/biology/ciftilib/default.nix @@ -0,0 +1,36 @@ +{ lib +, stdenv +, fetchFromGitHub +, cmake +, boost +, libxmlxx +, pkg-config +, zlib +}: + +stdenv.mkDerivation rec { + pname = "ciftilib"; + version = "1.6.0"; + + src = fetchFromGitHub { + owner = "Washington-University"; + repo = "CiftiLib"; + rev = "v${version}"; + hash = "sha256-xc2dpMse4SozYEV/w3rXCrh1LKpTThq5nHB2y5uAD0A="; + }; + + nativeBuildInputs = [ cmake pkg-config ]; + buildInputs = [ boost libxmlxx zlib ]; + + cmakeFlags = [ "-DCMAKE_CTEST_ARGUMENTS=--exclude-regex;'big|datatype-md5'" ]; + + doCheck = true; + + meta = with lib; { + homepage = "https://github.com/Washington-University/CiftiLib"; + description = "Library for reading and writing CIFTI files"; + maintainers = with maintainers; [ bcdarwin ]; + platforms = platforms.linux; + license = licenses.bsd2; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index e449c34634bd..6787fa90969c 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -33493,6 +33493,10 @@ with pkgs; inherit (llvmPackages) openmp; }; + ciftilib = callPackage ../development/libraries/science/biology/ciftilib { + boost = boost16x; + }; + cmtk = callPackage ../applications/science/biology/cmtk { }; clustal-omega = callPackage ../applications/science/biology/clustal-omega { }; From 067ebaa7df93c797b6c488d157f197bc58449ef5 Mon Sep 17 00:00:00 2001 From: Ben Darwin Date: Sun, 31 Jul 2022 13:43:22 -0400 Subject: [PATCH 07/52] python3Packages.threadpoolctl: 3.0.0 -> 3.1.0 --- pkgs/development/python-modules/threadpoolctl/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/threadpoolctl/default.nix b/pkgs/development/python-modules/threadpoolctl/default.nix index 2c85c15ebdd3..3a0b523784a3 100644 --- a/pkgs/development/python-modules/threadpoolctl/default.nix +++ b/pkgs/development/python-modules/threadpoolctl/default.nix @@ -10,7 +10,7 @@ buildPythonPackage rec { pname = "threadpoolctl"; - version = "3.0.0"; + version = "3.1.0"; disabled = pythonOlder "3.6"; format = "flit"; @@ -19,7 +19,7 @@ buildPythonPackage rec { owner = "joblib"; repo = pname; rev = version; - sha256 = "02zccsiq4gvawy7q2fh3m3hvr40hl2ylmwwny6dv0lqsr2iwgnmn"; + sha256 = "sha256-/qt7cgFbvpc1BLZC7a4S0RToqSggKXAqF1Xr6xOqzw8="; }; checkInputs = [ pytestCheckHook numpy scipy ]; From 1c795f46ca9caf5c7143f0095967c6dc991c3949 Mon Sep 17 00:00:00 2001 From: Ben Darwin Date: Mon, 1 Aug 2022 15:56:58 -0400 Subject: [PATCH 08/52] python3Packages.batchgenerators: 0.21 -> 0.24 --- .../batchgenerators/default.nix | 30 +++++++++---------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/pkgs/development/python-modules/batchgenerators/default.nix b/pkgs/development/python-modules/batchgenerators/default.nix index a20d0c696cd6..4fda2f331f6d 100644 --- a/pkgs/development/python-modules/batchgenerators/default.nix +++ b/pkgs/development/python-modules/batchgenerators/default.nix @@ -15,7 +15,7 @@ buildPythonPackage rec { pname = "batchgenerators"; - version = "0.21"; + version = "0.24"; format = "setuptools"; disabled = pythonOlder "3.7"; @@ -24,7 +24,7 @@ buildPythonPackage rec { owner = "MIC-DKFZ"; repo = pname; rev = "v${version}"; - hash = "sha256-q8mBWcy+PkJcfiKtq8P2bnTw56FE1suVS0zUgUEmc5k="; + hash = "sha256-47jAeHMJPBk7GpUvXtQuJchgiSy6M50anftsuXWk2ag="; }; propagatedBuildInputs = [ @@ -37,26 +37,26 @@ buildPythonPackage rec { threadpoolctl ]; - checkInputs = [ - pytestCheckHook - ]; - - patches = [ - # Remove deprecated unittest2, https://github.com/MIC-DKFZ/batchgenerators/pull/78 - (fetchpatch { - name = "remove-unittest2.patch"; - url = "https://github.com/MIC-DKFZ/batchgenerators/commit/87a9437057df8a7550aa3b3eaf840871cc0d5cef.patch"; - sha256 = "sha256-vozBK7g2dLxx9din/R2vU28Mm+LoGAO/BmQlt/ShmEo="; - }) - ]; - + # see https://github.com/MIC-DKFZ/batchgenerators/pull/78 postPatch = '' substituteInPlace setup.py \ --replace '"unittest2",' "" ''; + checkInputs = [ + pytestCheckHook + ]; + + # see https://github.com/MIC-DKFZ/batchgenerators/pull/78 + disabledTestPaths = [ "tests/test_axis_mirroring.py" ]; + pythonImportsCheck = [ "batchgenerators" + "batchgenerators.augmentations" + "batchgenerators.dataloading" + "batchgenerators.datasets" + "batchgenerators.transforms" + "batchgenerators.utilities" ]; meta = with lib; { From a2bbcde74ebd76b54b1297bf8b71f81c88fb8ed7 Mon Sep 17 00:00:00 2001 From: Ben Darwin Date: Fri, 5 Aug 2022 11:14:25 -0400 Subject: [PATCH 09/52] vtk_9: 9.0.3 -> 9.1.0 --- pkgs/development/libraries/vtk/9.x.nix | 15 +++------------ pkgs/development/libraries/vtk/generic.nix | 6 ++++-- 2 files changed, 7 insertions(+), 14 deletions(-) diff --git a/pkgs/development/libraries/vtk/9.x.nix b/pkgs/development/libraries/vtk/9.x.nix index 5e918e8122fd..dea68ca153db 100644 --- a/pkgs/development/libraries/vtk/9.x.nix +++ b/pkgs/development/libraries/vtk/9.x.nix @@ -1,14 +1,5 @@ import ./generic.nix { - majorVersion = "9.0"; - minorVersion = "3"; - sourceSha256 = "vD65Ylsrjb/stgUqKrCR/JFAXeQzOw7GjzMjgVFU7Yo="; - - patchesToFetch = [ - # Add missing header includes. - # https://gitlab.kitware.com/vtk/vtk/-/merge_requests/7611 - { - url = "https://gitlab.kitware.com/vtk/vtk/-/commit/e066c3f4fbbfe7470c6207db0fc3f3952db633cb.patch"; - sha256 = "ggmDisS3qoMquOqrmIYlCIT7TLxP/DUtW29ktjaEnlM="; - } - ]; + majorVersion = "9.1"; + minorVersion = "0"; + sourceSha256 = "sha256-j+1C9Pjx64CDEHto6qmtcdoHEQFhoxFq2Af0PlylzpY="; } diff --git a/pkgs/development/libraries/vtk/generic.nix b/pkgs/development/libraries/vtk/generic.nix index 43c6ded8a5d0..467abeead3e3 100644 --- a/pkgs/development/libraries/vtk/generic.nix +++ b/pkgs/development/libraries/vtk/generic.nix @@ -1,7 +1,7 @@ { majorVersion, minorVersion, sourceSha256, patchesToFetch ? [] }: { stdenv, lib, fetchurl, cmake, libGLU, libGL, libX11, xorgproto, libXt, libpng, libtiff , fetchpatch -, enableQt ? false, wrapQtAppsHook, qtbase, qtx11extras, qttools +, enableQt ? false, qtbase, qtx11extras, qttools, qtdeclarative, qtEnv , enablePython ? false, pythonInterpreter ? throw "vtk: Python support requested, but no python interpreter was given." # Darwin support , Cocoa, CoreServices, DiskArbitration, IOKit, CFNetwork, Security, GLUT, OpenGL @@ -25,7 +25,9 @@ in stdenv.mkDerivation rec { nativeBuildInputs = [ cmake ]; buildInputs = [ libpng libtiff ] - ++ optionals enableQt [ qtbase qtx11extras qttools ] + ++ optionals enableQt (if lib.versionOlder majorVersion "9" + then [ qtbase qtx11extras qttools ] + else [ (qtEnv "qvtk-qt-env" [ qtx11extras qttools qtdeclarative ]) ]) ++ optionals stdenv.isLinux [ libGLU libGL From 1015914bdc785a67e539bd61bc06d98f00380a02 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sun, 7 Aug 2022 22:15:18 +0200 Subject: [PATCH 10/52] python310Packages.readme_renderer: 35.0 -> 36.0 --- pkgs/development/python-modules/readme_renderer/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/readme_renderer/default.nix b/pkgs/development/python-modules/readme_renderer/default.nix index 1c1ea480cd40..9519a2c61a94 100644 --- a/pkgs/development/python-modules/readme_renderer/default.nix +++ b/pkgs/development/python-modules/readme_renderer/default.nix @@ -12,7 +12,7 @@ buildPythonPackage rec { pname = "readme-renderer"; - version = "35.0"; + version = "36.0"; format = "setuptools"; disabled = pythonOlder "3.6"; @@ -20,7 +20,7 @@ buildPythonPackage rec { src = fetchPypi { pname = "readme_renderer"; inherit version; - sha256 = "sha256-pyeZms/CIvwh2CoS7UjJV8SYl4XlhlgHxlpIfSFndJc="; + sha256 = "sha256-9xru+aWI/L7R9MwAG6YRNw6UoM0nx1sRQFN2GOx48KI="; }; propagatedBuildInputs = [ From db4098283bb7f11f67c3b219716561e1abbedc23 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Wed, 10 Aug 2022 23:38:20 +0000 Subject: [PATCH 11/52] sq: 0.15.4 -> 0.15.6 --- pkgs/development/tools/sq/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/tools/sq/default.nix b/pkgs/development/tools/sq/default.nix index 0be6e6c7bb6e..4aa6dd211f70 100644 --- a/pkgs/development/tools/sq/default.nix +++ b/pkgs/development/tools/sq/default.nix @@ -1,18 +1,18 @@ { lib, buildGoModule, fetchFromGitHub, installShellFiles, testers, sq }: buildGoModule rec { pname = "sq"; - version = "0.15.4"; + version = "0.15.6"; src = fetchFromGitHub { owner = "neilotoole"; repo = pname; rev = "v${version}"; - sha256 = "sha256-4CINLOHUVXQ+4e5I1fMqog6LubMm8RnbFmeuBOwALaw="; + sha256 = "sha256-QEg80di2DmMfIrvsRFp7nELs7LiJRVa/wENDnf1zQ2Y="; }; nativeBuildInputs = [ installShellFiles ]; - vendorSha256 = "sha256-lNpWXKtnzwySzinNPxAKuaLqweWuS6zz8s2W4xXWlqM="; + vendorSha256 = "sha256-P1NxcjRA0g9NK2EaEG5E9G2TywTp5uvHesQE7+EG4ag="; # Some tests violates sandbox constraints. doCheck = false; From b09ab93d600747af3d8e72a443eabc476b3527de Mon Sep 17 00:00:00 2001 From: Adam Stephens Date: Thu, 11 Aug 2022 01:10:31 +0000 Subject: [PATCH 12/52] squeezelite: 1.9.9.1401 -> 1.9.9.1403 --- pkgs/applications/audio/squeezelite/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/audio/squeezelite/default.nix b/pkgs/applications/audio/squeezelite/default.nix index 5fc0d6f4200f..e13a791ccbbc 100644 --- a/pkgs/applications/audio/squeezelite/default.nix +++ b/pkgs/applications/audio/squeezelite/default.nix @@ -34,13 +34,13 @@ stdenv.mkDerivation { pname = binName; # versions are specified in `squeezelite.h` # see https://github.com/ralph-irving/squeezelite/issues/29 - version = "1.9.9.1401"; + version = "1.9.9.1403"; src = fetchFromGitHub { owner = "ralph-irving"; repo = "squeezelite"; - rev = "894df3ea80f66a27a9ae5fab918acf62a6798b8b"; - hash = "sha256-LIi+9vb0+56AGvVrLx4gQaUkUNjIi6PmqrLViLT1DSU="; + rev = "bc72c0de3fff771540a2a45aaafafed539387b3c"; + hash = "sha256-205i61mbeQG2MzSE9NtPHSuNeyMbjZzbZVCFFzjqKqQ="; }; buildInputs = [ flac libmad libvorbis mpg123 ] From 0579df5eb85ec722749a6bf04df02ac415c80727 Mon Sep 17 00:00:00 2001 From: Mario Rodas Date: Fri, 12 Aug 2022 04:20:00 +0000 Subject: [PATCH 13/52] brakeman: 5.2.3 -> 5.3.1 https://github.com/presidentbeef/brakeman/releases/tag/v5.3.0 --- pkgs/development/tools/analysis/brakeman/Gemfile.lock | 4 ++-- pkgs/development/tools/analysis/brakeman/gemset.nix | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/development/tools/analysis/brakeman/Gemfile.lock b/pkgs/development/tools/analysis/brakeman/Gemfile.lock index 7fb375b76721..9a4aa06c1e55 100644 --- a/pkgs/development/tools/analysis/brakeman/Gemfile.lock +++ b/pkgs/development/tools/analysis/brakeman/Gemfile.lock @@ -1,7 +1,7 @@ GEM remote: https://rubygems.org/ specs: - brakeman (5.2.3) + brakeman (5.3.1) PLATFORMS ruby @@ -10,4 +10,4 @@ DEPENDENCIES brakeman BUNDLED WITH - 2.3.9 + 2.3.20 diff --git a/pkgs/development/tools/analysis/brakeman/gemset.nix b/pkgs/development/tools/analysis/brakeman/gemset.nix index f401d4ad1599..523721979860 100644 --- a/pkgs/development/tools/analysis/brakeman/gemset.nix +++ b/pkgs/development/tools/analysis/brakeman/gemset.nix @@ -4,9 +4,9 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "1m188ypcl2lb1hin21fmyk9d4fbjw4w7cr2k6l37jasw3rmgnvjv"; + sha256 = "0zr2p0w4ckv65cv3vdwnk9f3yydmjdmw75x7dskx1gqr9j9q3306"; type = "gem"; }; - version = "5.2.3"; + version = "5.3.1"; }; } From bdd963f323db1382475a837a810ae6c0e6160c5d Mon Sep 17 00:00:00 2001 From: Mario Rodas Date: Fri, 12 Aug 2022 04:20:00 +0000 Subject: [PATCH 14/52] smug: install completions --- pkgs/tools/misc/smug/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/tools/misc/smug/default.nix b/pkgs/tools/misc/smug/default.nix index 252ce555c99a..1f8263cdc745 100644 --- a/pkgs/tools/misc/smug/default.nix +++ b/pkgs/tools/misc/smug/default.nix @@ -21,6 +21,7 @@ buildGoModule rec { postInstall = '' installManPage ./man/man1/smug.1 + installShellCompletion completion/smug.{bash,fish} ''; meta = with lib; { From 454730f02a3ef507d22fff495c516b8958828202 Mon Sep 17 00:00:00 2001 From: Mario Rodas Date: Fri, 12 Aug 2022 04:20:00 +0000 Subject: [PATCH 15/52] _1password: fix hashes --- pkgs/applications/misc/1password/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/misc/1password/default.nix b/pkgs/applications/misc/1password/default.nix index 97df954ed2a1..de28815e9d02 100644 --- a/pkgs/applications/misc/1password/default.nix +++ b/pkgs/applications/misc/1password/default.nix @@ -14,10 +14,10 @@ let pname = "1password-cli"; version = "2.6.1"; sources = rec { - aarch64-linux = fetch "linux_arm64" "sha256-2V3/F7/HEOvk2T1dv4rnS0xu6Z5EqGSV/9erED7ZS1w=" "zip"; - i686-linux = fetch "linux_386" "sha256-z4pKZY5DQ2oDHHuet1S/p7GM+rXS8/8xmTrN+rqCUBo=" "zip"; + aarch64-linux = fetch "linux_arm64" "sha256-udKcojp7CUz5mXIFeLiXKJ7X1A/fejoeLUc+2zlnlKo=" "zip"; + i686-linux = fetch "linux_386" "sha256-gJpwZrtgzC+fD8dqc2hgfsAiYmVkAY3xSmIQnsC5naw=" "zip"; x86_64-linux = fetch "linux_amd64" "sha256-X+VyoXg7HRq70b9qRhk2N/UvBlhIkvCWM6kadaGDhsU=" "zip"; - aarch64-darwin = fetch "apple_universal" "sha256-YPidRXNzNNuDoM2Gd5dEsCDxwosBJFKSzjoP0SPkQZs=" "pkg"; + aarch64-darwin = fetch "apple_universal" "sha256-Z8MKp9fQBsvg1nQ0QSrnMV0Bxy6LmnwHb5WIrhGjxv8=" "pkg"; x86_64-darwin = aarch64-darwin; }; platforms = builtins.attrNames sources; From e94c62f9a16028fb843c80fced864a0723f9f969 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Fri, 12 Aug 2022 06:01:23 +0000 Subject: [PATCH 16/52] dapr-cli: 1.8.0 -> 1.8.1 --- pkgs/development/tools/dapr/cli/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/tools/dapr/cli/default.nix b/pkgs/development/tools/dapr/cli/default.nix index 12fc1aa0a965..6b5924f85027 100644 --- a/pkgs/development/tools/dapr/cli/default.nix +++ b/pkgs/development/tools/dapr/cli/default.nix @@ -2,13 +2,13 @@ buildGoModule rec { pname = "dapr-cli"; - version = "1.8.0"; + version = "1.8.1"; src = fetchFromGitHub { owner = "dapr"; repo = "cli"; rev = "v${version}"; - sha256 = "sha256-ytn7fG84Wu4+fcgkV5B9djCw8KgAJWgffoNbV7wveK4="; + sha256 = "sha256-NzHg/pn0Gek3JhcdOBFilmmw0xaKtjTote11LLr4oj8="; }; vendorSha256 = "sha256-ZsuDaFcBPZuyt5rmjeBkzkrphCCcraLZCrMiQ2FtAUc="; From 6ea4ce1184238d0a1d76ffb79b31470edee5759e Mon Sep 17 00:00:00 2001 From: Grace Dinh Date: Fri, 12 Aug 2022 00:48:54 -0700 Subject: [PATCH 17/52] maintainers: add gdinh --- maintainers/maintainer-list.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index 253691fb2c6a..b5af4d65b902 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -4661,6 +4661,12 @@ githubId = 37017396; name = "gbtb"; }; + gdinh = { + email = "nix@contact.dinh.ai"; + github = "gdinh"; + githubId = 34658064; + name = "Grace Dinh"; + }; gebner = { email = "gebner@gebner.org"; github = "gebner"; From b6a68f8f42c4a1b7878d12ca0d3c187a5c880260 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 12 Aug 2022 10:49:51 +0200 Subject: [PATCH 18/52] memray: init at 1.2.0 --- pkgs/development/tools/memray/default.nix | 63 +++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 + 2 files changed, 65 insertions(+) create mode 100644 pkgs/development/tools/memray/default.nix diff --git a/pkgs/development/tools/memray/default.nix b/pkgs/development/tools/memray/default.nix new file mode 100644 index 000000000000..d352622d53b4 --- /dev/null +++ b/pkgs/development/tools/memray/default.nix @@ -0,0 +1,63 @@ +{ lib +, fetchFromGitHub +, libunwind +, lz4 +, pkg-config +, python3 +}: + +python3.pkgs.buildPythonApplication rec { + pname = "memray"; + version = "1.2.0"; + format = "setuptools"; + + src = fetchFromGitHub { + owner = "bloomberg"; + repo = pname; + rev = "v${version}"; + hash = "sha256-MZOKo0VaCJM/YyvCByM5Yg7H/8onDKNSufBzr+GsFlo="; + }; + + buildInputs = [ + libunwind + lz4 + pkg-config + ] ++ (with python3.pkgs; [ + cython + ]); + + propagatedBuildInputs = with python3.pkgs; [ + jinja2 + rich + ]; + + checkInputs = with python3.pkgs; [ + pytestCheckHook + ]; + + pythonImportsCheck = [ + "memray" + ]; + + pytestFlagsArray = [ + "tests" + ]; + + disabledTests = [ + # Import issue + "test_header_allocator" + ]; + + disabledTestPaths = [ + # Very time-consuming and some tests fails (performance-related?) + "tests/integration/test_main.py" + ]; + + meta = with lib; { + description = "Memory profiler for Python"; + homepage = "https://bloomberg.github.io/memray/"; + license = licenses.asl20; + maintainers = with maintainers; [ fab ]; + platforms = platforms.linux; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index b0ad84a9e997..bca8e94b745f 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -20154,6 +20154,8 @@ with pkgs; deps = [ memorymapping ]; } ../development/libraries/memorymapping/setup-hook.sh; + memray = callPackage ../development/tools/memray { }; + memstream = callPackage ../development/libraries/memstream { }; memstreamHook = makeSetupHook { deps = [ memstream ]; From fb24dd718f63abe5f723508aa600a9cc2c2ce270 Mon Sep 17 00:00:00 2001 From: Grace Dinh Date: Fri, 12 Aug 2022 02:52:03 -0700 Subject: [PATCH 19/52] scalapack: add darwin support --- .../libraries/science/math/scalapack/default.nix | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/pkgs/development/libraries/science/math/scalapack/default.nix b/pkgs/development/libraries/science/math/scalapack/default.nix index ebf167de8d9d..4f41cdb5fb7e 100644 --- a/pkgs/development/libraries/science/math/scalapack/default.nix +++ b/pkgs/development/libraries/science/math/scalapack/default.nix @@ -38,8 +38,11 @@ stdenv.mkDerivation rec { checkInputs = [ openssh ]; buildInputs = [ blas lapack ]; propagatedBuildInputs = [ mpi ]; + hardeningDisable = lib.optionals (stdenv.isAarch64 && stdenv.isDarwin) [ "stackprotector" ]; - doCheck = true; + # xslu and xsllt tests seem to time out on x86_64-darwin. + # this line is left so those who force installation on x86_64-darwin can still build + doCheck = !(stdenv.isx86_64 && stdenv.isDarwin); preConfigure = '' cmakeFlagsArray+=( @@ -73,7 +76,9 @@ stdenv.mkDerivation rec { homepage = "http://www.netlib.org/scalapack/"; description = "Library of high-performance linear algebra routines for parallel distributed memory machines"; license = licenses.bsd3; - platforms = [ "x86_64-linux" ]; + platforms = platforms.unix; maintainers = with maintainers; [ costrouc markuskowa ]; + # xslu and xsllt tests fail on x86 darwin + broken = stdenv.isDarwin && stdenv.isx86_64; }; } From 2464f69c9482365a61eef824b8f6a0cdb50f0e79 Mon Sep 17 00:00:00 2001 From: Grace Dinh Date: Fri, 12 Aug 2022 02:53:09 -0700 Subject: [PATCH 20/52] scalapack: add gdinh to maintainers --- pkgs/development/libraries/science/math/scalapack/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/libraries/science/math/scalapack/default.nix b/pkgs/development/libraries/science/math/scalapack/default.nix index 4f41cdb5fb7e..c0abcf6da659 100644 --- a/pkgs/development/libraries/science/math/scalapack/default.nix +++ b/pkgs/development/libraries/science/math/scalapack/default.nix @@ -77,7 +77,7 @@ stdenv.mkDerivation rec { description = "Library of high-performance linear algebra routines for parallel distributed memory machines"; license = licenses.bsd3; platforms = platforms.unix; - maintainers = with maintainers; [ costrouc markuskowa ]; + maintainers = with maintainers; [ costrouc markuskowa gdinh ]; # xslu and xsllt tests fail on x86 darwin broken = stdenv.isDarwin && stdenv.isx86_64; }; From 042ecbec9939227bd5dc92760945bac90640bec8 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Fri, 12 Aug 2022 13:37:56 +0000 Subject: [PATCH 21/52] minio-client: 2022-08-05T08-01-28Z -> 2022-08-11T00-30-48Z --- pkgs/tools/networking/minio-client/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/networking/minio-client/default.nix b/pkgs/tools/networking/minio-client/default.nix index e01cddab88b7..a4d1e7365b89 100644 --- a/pkgs/tools/networking/minio-client/default.nix +++ b/pkgs/tools/networking/minio-client/default.nix @@ -2,16 +2,16 @@ buildGoModule rec { pname = "minio-client"; - version = "2022-08-05T08-01-28Z"; + version = "2022-08-11T00-30-48Z"; src = fetchFromGitHub { owner = "minio"; repo = "mc"; rev = "RELEASE.${version}"; - sha256 = "sha256-XtRpRp5KtqM+VwaouzbcjoiwuUDo4NtgaQ/bsCmwP58="; + sha256 = "sha256-wv/Y4MIJFISf+fvV3BYbA5kQqETsYe4vt2lp36DfFrE="; }; - vendorSha256 = "sha256-0WljjAgL//PqooHwAusMQwJpLRYzjpDUNcrmCHUGyNs="; + vendorSha256 = "sha256-5kpE0jtE3ljnUsXQY2cWvABVpegrTSYZCIYy0pz4iz8="; subPackages = [ "." ]; From d351fcb816c2332daf5d8c54794041ec8d3a0c5b Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Fri, 12 Aug 2022 13:38:11 +0000 Subject: [PATCH 22/52] minio: 2022-08-08T18-34-09Z -> 2022-08-11T04-37-28Z --- pkgs/servers/minio/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/servers/minio/default.nix b/pkgs/servers/minio/default.nix index 9340dc24fc24..e497f8099f9b 100644 --- a/pkgs/servers/minio/default.nix +++ b/pkgs/servers/minio/default.nix @@ -15,16 +15,16 @@ let in buildGoModule rec { pname = "minio"; - version = "2022-08-08T18-34-09Z"; + version = "2022-08-11T04-37-28Z"; src = fetchFromGitHub { owner = "minio"; repo = "minio"; rev = "RELEASE.${version}"; - sha256 = "sha256-HuKfpQY6dllxkrictCMBczHTg2oCLQtZrJQqPG2l6N8="; + sha256 = "sha256-gxDTHy/CDqeQhf/RZaaoloGEfAOg9djjIWdWyb+7fhM="; }; - vendorSha256 = "sha256-uoavsixaLQg0gL70m4ea5fgH5R06YyIZHy1oxDSA0ko="; + vendorSha256 = "sha256-LSAB+0+yNsxi5qCXEBVf3aE8Rt+UP63AIGBV5OhWJDY="; doCheck = false; From 56f992c3a4ba6beab7201bad1ad969932cb7b9a9 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 12 Aug 2022 17:35:06 +0200 Subject: [PATCH 23/52] python310Packages.json-schema-for-humans: 0.41.6 -> 0.41.8 --- .../python-modules/json-schema-for-humans/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/json-schema-for-humans/default.nix b/pkgs/development/python-modules/json-schema-for-humans/default.nix index 856ee981e380..da52d12ef08e 100644 --- a/pkgs/development/python-modules/json-schema-for-humans/default.nix +++ b/pkgs/development/python-modules/json-schema-for-humans/default.nix @@ -18,7 +18,7 @@ buildPythonPackage rec { pname = "json-schema-for-humans"; - version = "0.41.6"; + version = "0.41.8"; format = "pyproject"; disabled = pythonOlder "3.7"; @@ -27,7 +27,7 @@ buildPythonPackage rec { owner = "coveooss"; repo = pname; rev = "v${version}"; - hash = "sha256-t5t+tZwhzOHpI2nc69baWtZamEOeouseMuVBnCQyjzQ="; + hash = "sha256-lz08+T8ITsCI0qjcd/JcgXG4o87UjoP1NQa01FJ7fO0="; }; postPatch = '' From 6f2273d532499a7c299f995522c8dbfeb879d08b Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 12 Aug 2022 21:41:21 +0200 Subject: [PATCH 24/52] python310Packages.bleak-retry-connector: 1.7.1 -> 1.7.2 --- .../python-modules/bleak-retry-connector/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/bleak-retry-connector/default.nix b/pkgs/development/python-modules/bleak-retry-connector/default.nix index f5352c5d2f6d..540bdd3aa4ec 100644 --- a/pkgs/development/python-modules/bleak-retry-connector/default.nix +++ b/pkgs/development/python-modules/bleak-retry-connector/default.nix @@ -11,7 +11,7 @@ buildPythonPackage rec { pname = "bleak-retry-connector"; - version = "1.7.1"; + version = "1.7.2"; format = "pyproject"; disabled = pythonOlder "3.7"; @@ -20,7 +20,7 @@ buildPythonPackage rec { owner = "Bluetooth-Devices"; repo = pname; rev = "v${version}"; - hash = "sha256-ql7j+m8g7ZgkgqJGUVE903n1b73kqWDExgSbnDpKQwc="; + hash = "sha256-qRUS+JJWd2MPXa5Bs2WzZIHk6VcPe75yBoArFGk2yHQ="; }; nativeBuildInputs = [ From 47c9da058daa35f4109f3ea389327a856b56b4f0 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 12 Aug 2022 21:46:50 +0200 Subject: [PATCH 25/52] python310Packages.pyswitchbot: 0.18.6 -> 0.18.7 --- pkgs/development/python-modules/pyswitchbot/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/pyswitchbot/default.nix b/pkgs/development/python-modules/pyswitchbot/default.nix index ed37b4dde36e..0258e3c8b517 100644 --- a/pkgs/development/python-modules/pyswitchbot/default.nix +++ b/pkgs/development/python-modules/pyswitchbot/default.nix @@ -8,7 +8,7 @@ buildPythonPackage rec { pname = "pyswitchbot"; - version = "0.18.6"; + version = "0.18.7"; format = "setuptools"; disabled = pythonOlder "3.7"; @@ -17,7 +17,7 @@ buildPythonPackage rec { owner = "Danielhiversen"; repo = "pySwitchbot"; rev = "refs/tags/${version}"; - hash = "sha256-4mVKs3Lycb9DVdFcG1gzM4FjJiQTcV7aT/OLpBacZjU="; + hash = "sha256-TAFrrCwlcbKoQk6puoSx2sk1WeucThf7614RNQ1NFbM="; }; propagatedBuildInputs = [ From 3f3a62a7f9268a5232ddd882a2f4a3ba08c3c9a8 Mon Sep 17 00:00:00 2001 From: Astro Date: Fri, 12 Aug 2022 21:47:08 +0200 Subject: [PATCH 26/52] kvmtool: unstable-2022-04-04 -> unstable-2022-06-09 --- pkgs/applications/virtualization/kvmtool/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/virtualization/kvmtool/default.nix b/pkgs/applications/virtualization/kvmtool/default.nix index a99a9f64d861..29579a70cde4 100644 --- a/pkgs/applications/virtualization/kvmtool/default.nix +++ b/pkgs/applications/virtualization/kvmtool/default.nix @@ -2,12 +2,12 @@ stdenv.mkDerivation { pname = "kvmtool"; - version = "unstable-2022-04-04"; + version = "unstable-2022-06-09"; src = fetchgit { url = "https://git.kernel.org/pub/scm/linux/kernel/git/will/kvmtool.git"; - rev = "5657dd3e48b41bc6db38fa657994bc0e030fd31f"; - sha256 = "1y1j44lk9957f2dmyrscbxl4zncp4ibvvcdj6bwylb8jsvmd5fs2"; + rev = "f44af23e3a62e46158341807b0d2d132249b96a8"; + sha256 = "sha256-M83dCCXU/fkh21x10vx6BLg9Wja1714qW7yxl5zY6z0="; }; enableParallelBuilding = true; From 1bfd675b554e73142b8e1b9f0e59130b73b5658c Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Fri, 12 Aug 2022 22:48:06 +0200 Subject: [PATCH 27/52] python3Packages.govee-ble: 0.14.0 -> 0.14.1 --- pkgs/development/python-modules/govee-ble/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/govee-ble/default.nix b/pkgs/development/python-modules/govee-ble/default.nix index 1a3a31d7d717..99964db9806e 100644 --- a/pkgs/development/python-modules/govee-ble/default.nix +++ b/pkgs/development/python-modules/govee-ble/default.nix @@ -11,7 +11,7 @@ buildPythonPackage rec { pname = "govee-ble"; - version = "0.14.0"; + version = "0.14.1"; format = "pyproject"; disabled = pythonOlder "3.9"; @@ -20,7 +20,7 @@ buildPythonPackage rec { owner = "Bluetooth-Devices"; repo = pname; rev = "v${version}"; - hash = "sha256-iJ3fvbQBIk2fpCfz9/uvxk6WcGaL8OVDsNQux+pTBhM="; + hash = "sha256-gAhrhHTPwNipAFS22GXKjeVXqx0AGorvsqqEWKwRLzA="; }; nativeBuildInputs = [ From 4a844a7fd300392f6a01871eaa6b8fafac00a54e Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 12 Aug 2022 22:49:15 +0200 Subject: [PATCH 28/52] cirrusgo: init at 0.1.0 --- pkgs/tools/security/cirrusgo/default.nix | 26 ++++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 28 insertions(+) create mode 100644 pkgs/tools/security/cirrusgo/default.nix diff --git a/pkgs/tools/security/cirrusgo/default.nix b/pkgs/tools/security/cirrusgo/default.nix new file mode 100644 index 000000000000..56fb7c71b1ec --- /dev/null +++ b/pkgs/tools/security/cirrusgo/default.nix @@ -0,0 +1,26 @@ +{ lib +, stdenv +, buildGoModule +, fetchFromGitHub +}: + +buildGoModule rec { + pname = "cirrusgo"; + version = "0.1.0"; + + src = fetchFromGitHub { + owner = "Ph33rr"; + repo = pname; + rev = "v${version}"; + hash = "sha256-FYI/Ldu91YB/4wCiVADeYxYQOeBGro1msY5VXsnixw4="; + }; + + vendorSha256 = "sha256-KCf2KQ8u+nX/+zMGZ6unWb/Vz6zPNkKtMioFo1FlnVI="; + + meta = with lib; { + description = "Tool to scan SAAS and PAAS applications"; + homepage = "https://github.com/Ph33rr/cirrusgo"; + license = with licenses; [ mit ]; + maintainers = with maintainers; [ fab ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 30dcfec3cc20..02911a7bb950 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -4942,6 +4942,8 @@ with pkgs; cirrus-cli = callPackage ../development/tools/continuous-integration/cirrus-cli { }; + cirrusgo = callPackage ../tools/security/cirrusgo { }; + inherit (callPackage ../applications/networking/remote/citrix-workspace { }) citrix_workspace_21_01_0 citrix_workspace_21_03_0 From e04ce09c6119c75e919d58656ee67f2890763fc4 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Fri, 12 Aug 2022 22:50:17 +0200 Subject: [PATCH 29/52] python3Packages.zigpy: 0.49.0 -> 0.49.1 --- pkgs/development/python-modules/zigpy/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/zigpy/default.nix b/pkgs/development/python-modules/zigpy/default.nix index 43cf5d59f81f..ebcb22aa338a 100644 --- a/pkgs/development/python-modules/zigpy/default.nix +++ b/pkgs/development/python-modules/zigpy/default.nix @@ -16,7 +16,7 @@ buildPythonPackage rec { pname = "zigpy"; - version = "0.49.0"; + version = "0.49.1"; format = "setuptools"; disabled = pythonOlder "3.7"; @@ -25,7 +25,7 @@ buildPythonPackage rec { owner = "zigpy"; repo = "zigpy"; rev = "refs/tags/${version}"; - sha256 = "sha256-mCqRqi7AUsrvfSOHyfK+WVj/4D7/4RDOYFWveS+tS/A="; + sha256 = "sha256-ai0qWKgsh8kIS4juvzpE+amsnIbEOJbhGutV75yRGog="; }; propagatedBuildInputs = [ From 39ffe4d6af4e227c6666cf99ce8815b203d285a7 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Fri, 12 Aug 2022 22:56:39 +0200 Subject: [PATCH 30/52] home-assistant: 2022.8.3 -> 2022.8.4 https://github.com/home-assistant/core/releases/tag/2022.8.4 --- pkgs/servers/home-assistant/component-packages.nix | 2 +- pkgs/servers/home-assistant/default.nix | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/servers/home-assistant/component-packages.nix b/pkgs/servers/home-assistant/component-packages.nix index e8d156728d47..d72ae2519e7c 100644 --- a/pkgs/servers/home-assistant/component-packages.nix +++ b/pkgs/servers/home-assistant/component-packages.nix @@ -2,7 +2,7 @@ # Do not edit! { - version = "2022.8.3"; + version = "2022.8.4"; components = { "abode" = ps: with ps; [ abodepy diff --git a/pkgs/servers/home-assistant/default.nix b/pkgs/servers/home-assistant/default.nix index c045703afe1f..c82178ba74bb 100644 --- a/pkgs/servers/home-assistant/default.nix +++ b/pkgs/servers/home-assistant/default.nix @@ -307,7 +307,7 @@ let extraPackagesFile = writeText "home-assistant-packages" (lib.concatMapStringsSep "\n" (pkg: pkg.pname) extraBuildInputs); # Don't forget to run parse-requirements.py after updating - hassVersion = "2022.8.3"; + hassVersion = "2022.8.4"; in python.pkgs.buildPythonApplication rec { pname = "homeassistant"; @@ -325,7 +325,7 @@ in python.pkgs.buildPythonApplication rec { owner = "home-assistant"; repo = "core"; rev = version; - hash = "sha256-Wx5l51+vcByOqdwqcnOn1+yYgp98kXggRmgO/wtiI+U="; + hash = "sha256-x6W69oGCPXK7OLN/XaF4A+OSubSnhFYof1SvLwy9+jY="; }; # leave this in, so users don't have to constantly update their downstream patch handling From 421d8d63744e7d7bac4fd4aef9c114ccfc376226 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Fri, 12 Aug 2022 21:27:51 +0000 Subject: [PATCH 31/52] hwinfo: 22.0 -> 22.1 --- pkgs/tools/system/hwinfo/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/system/hwinfo/default.nix b/pkgs/tools/system/hwinfo/default.nix index fcdf35345819..b990ce1c2ed9 100644 --- a/pkgs/tools/system/hwinfo/default.nix +++ b/pkgs/tools/system/hwinfo/default.nix @@ -9,13 +9,13 @@ stdenv.mkDerivation rec { pname = "hwinfo"; - version = "22.0"; + version = "22.1"; src = fetchFromGitHub { owner = "opensuse"; repo = "hwinfo"; rev = version; - sha256 = "sha256-hjKF/fyV7/uQF6iJNOsRpX4Iw7aDURkdb7hbwfIDBPo="; + sha256 = "sha256-nGWpUqBkpiiNuH5kEHWR1/+0aYIeLf9k3AmzQR85Swk="; }; nativeBuildInputs = [ From 6445755b9782b954a0c33e261af3b5d3cf6e43ce Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 12 Aug 2022 23:51:47 +0200 Subject: [PATCH 32/52] cpuid: 20220620 -> 20220812 --- pkgs/os-specific/linux/cpuid/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/os-specific/linux/cpuid/default.nix b/pkgs/os-specific/linux/cpuid/default.nix index 86a873e06368..abe6f44f31a9 100644 --- a/pkgs/os-specific/linux/cpuid/default.nix +++ b/pkgs/os-specific/linux/cpuid/default.nix @@ -6,11 +6,11 @@ stdenv.mkDerivation rec { pname = "cpuid"; - version = "20220620"; + version = "20220812"; src = fetchurl { url = "http://etallen.com/cpuid/${pname}-${version}.src.tar.gz"; - sha256 = "sha256-kVmhwJWm5ExspjBsUIC/4qe83iXo3Bbwb1+HTXcyyxo="; + sha256 = "sha256-O/aPuX2UcU+QdjzK2BDfjcX3/pwfmjZSQ2SR/XVBWr8="; }; # For pod2man during the build process. From 3f5777d82157f8d910eaa99bcc6be2f49b7ad42b Mon Sep 17 00:00:00 2001 From: Nick Cao Date: Sat, 13 Aug 2022 11:13:12 +0800 Subject: [PATCH 33/52] tdesktop: 4.0.2 -> 4.1.0 --- .../instant-messengers/telegram/tdesktop/default.nix | 4 ++-- .../instant-messengers/telegram/tdesktop/tg_owt.nix | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/pkgs/applications/networking/instant-messengers/telegram/tdesktop/default.nix b/pkgs/applications/networking/instant-messengers/telegram/tdesktop/default.nix index 5b7416555ff5..3f1468126fd8 100644 --- a/pkgs/applications/networking/instant-messengers/telegram/tdesktop/default.nix +++ b/pkgs/applications/networking/instant-messengers/telegram/tdesktop/default.nix @@ -73,7 +73,7 @@ let in env.mkDerivation rec { pname = "telegram-desktop"; - version = "4.0.2"; + version = "4.1.0"; # Note: Update via pkgs/applications/networking/instant-messengers/telegram/tdesktop/update.py # Telegram-Desktop with submodules @@ -82,7 +82,7 @@ env.mkDerivation rec { repo = "tdesktop"; rev = "v${version}"; fetchSubmodules = true; - sha256 = "07fhm36394171w0rvay1x9x1br3z36z4dlpi57bkq23dvi331pxj"; + sha256 = "06va1b5dac7a2av6vc0xin27y1hfnf4xbafy10myv33am8l5222m"; }; postPatch = '' diff --git a/pkgs/applications/networking/instant-messengers/telegram/tdesktop/tg_owt.nix b/pkgs/applications/networking/instant-messengers/telegram/tdesktop/tg_owt.nix index 9d50168323d5..590e8f337fe6 100644 --- a/pkgs/applications/networking/instant-messengers/telegram/tdesktop/tg_owt.nix +++ b/pkgs/applications/networking/instant-messengers/telegram/tdesktop/tg_owt.nix @@ -9,13 +9,13 @@ stdenv.mkDerivation { pname = "tg_owt"; - version = "unstable-2022-05-08"; + version = "unstable-2022-08-11"; src = fetchFromGitHub { owner = "desktop-app"; repo = "tg_owt"; - rev = "10d5f4bf77333ef6b43516f90d2ce13273255f41"; - sha256 = "02sky7sx73rj8xm1f70vy94zxaab6qiif742fv0vi4y6pfqrngn7"; + rev = "a5fbc9123e056e611e69acf0ceb4252ddd838adb"; + sha256 = "1hzck63spjjkqzkj0mlrxygrix4lw0n3i5cmc0vkxaphfzawz74n"; fetchSubmodules = true; }; From 0cf240704c57e5fadda627ad73adc2f315104b1d Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sat, 13 Aug 2022 03:53:53 +0000 Subject: [PATCH 34/52] cargo-public-api: 0.12.4 -> 0.13.0 --- pkgs/development/tools/rust/cargo-public-api/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/tools/rust/cargo-public-api/default.nix b/pkgs/development/tools/rust/cargo-public-api/default.nix index e58c741d2c71..2e058b8a204a 100644 --- a/pkgs/development/tools/rust/cargo-public-api/default.nix +++ b/pkgs/development/tools/rust/cargo-public-api/default.nix @@ -8,14 +8,14 @@ rustPlatform.buildRustPackage rec { pname = "cargo-public-api"; - version = "0.12.4"; + version = "0.13.0"; src = fetchCrate { inherit pname version; - sha256 = "sha256-URCKsI7q0/b8KkCooKeYr342m7C8ukJJITRDgOUmcEM="; + sha256 = "sha256-e+HM4pO0bLszlcSklsiRPamr/GUVckuw7uBSgDSK7d0="; }; - cargoSha256 = "sha256-qXJeNbGvC6zoxdn2QmApw1m7gn4CI1eUC3Cqhrn8dpU="; + cargoSha256 = "sha256-RKO/YMVWKVtparAfDUtpQ3mbRWataNnjnFUUQozQghs="; nativeBuildInputs = [ pkg-config ]; From 878db861024f89f5a8c952e0d6bae4c68e7661d3 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sat, 13 Aug 2022 04:43:04 +0000 Subject: [PATCH 35/52] python310Packages.libtmux: 0.11.0 -> 0.13.0 --- pkgs/development/python-modules/libtmux/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/libtmux/default.nix b/pkgs/development/python-modules/libtmux/default.nix index 74515e1c1396..20010ca1f92e 100644 --- a/pkgs/development/python-modules/libtmux/default.nix +++ b/pkgs/development/python-modules/libtmux/default.nix @@ -9,14 +9,14 @@ buildPythonPackage rec { pname = "libtmux"; - version = "0.11.0"; + version = "0.13.0"; format = "pyproject"; src = fetchFromGitHub { owner = "tmux-python"; repo = pname; - rev = "v${version}"; - hash = "sha256-QbKqS40la6UGZENyGEw5kXigzexp3q7ff43fKlQ9GqE="; + rev = "refs/tags/v${version}"; + hash = "sha256-u08lxVMuyO5CwFbmxn69QqdSWcvGaSMZgizRJlsHa0k="; }; nativeBuildInputs = [ From eb33604cffdfa992c8a54d2c639621b9553f4a95 Mon Sep 17 00:00:00 2001 From: Mario Rodas Date: Sat, 13 Aug 2022 04:45:00 +0000 Subject: [PATCH 36/52] python310Packages.libtmux: fix build on darwin --- pkgs/development/python-modules/libtmux/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/development/python-modules/libtmux/default.nix b/pkgs/development/python-modules/libtmux/default.nix index 20010ca1f92e..98261d9fc63e 100644 --- a/pkgs/development/python-modules/libtmux/default.nix +++ b/pkgs/development/python-modules/libtmux/default.nix @@ -1,4 +1,5 @@ { lib +, stdenv , fetchFromGitHub , buildPythonPackage , poetry-core @@ -30,6 +31,10 @@ buildPythonPackage rec { pytestCheckHook ]; + pytestFlagsArray = lib.optionals stdenv.isDarwin [ "--ignore=tests/test_test.py" ]; + + pythonImportsCheck = [ "libtmux" ]; + meta = with lib; { description = "Scripting library for tmux"; homepage = "https://libtmux.readthedocs.io/"; From c088cf36823eb28d25a8b43623e1219dd1e18b7b Mon Sep 17 00:00:00 2001 From: Mario Rodas Date: Sat, 13 Aug 2022 04:45:00 +0000 Subject: [PATCH 37/52] python310Packages.libtmux: update meta --- pkgs/development/python-modules/libtmux/default.nix | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/libtmux/default.nix b/pkgs/development/python-modules/libtmux/default.nix index 98261d9fc63e..199f467fbbca 100644 --- a/pkgs/development/python-modules/libtmux/default.nix +++ b/pkgs/development/python-modules/libtmux/default.nix @@ -36,9 +36,10 @@ buildPythonPackage rec { pythonImportsCheck = [ "libtmux" ]; meta = with lib; { - description = "Scripting library for tmux"; - homepage = "https://libtmux.readthedocs.io/"; - license = licenses.bsd3; + description = "Typed scripting library / ORM / API wrapper for tmux"; + homepage = "https://libtmux.git-pull.com/"; + changelog = "https://github.com/tmux-python/libtmux/raw/v${version}/CHANGES"; + license = licenses.mit; maintainers = with maintainers; [ ]; }; } From e64306119cede2bdde3560a09f6c5a9cff71ee48 Mon Sep 17 00:00:00 2001 From: Mario Rodas Date: Sat, 13 Aug 2022 04:45:00 +0000 Subject: [PATCH 38/52] tmuxp: 1.11.0 -> 1.12.1 https://github.com/tmux-python/tmuxp/releases/tag/v1.12.0 https://github.com/tmux-python/tmuxp/releases/tag/v1.12.1 --- pkgs/tools/misc/tmuxp/default.nix | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/misc/tmuxp/default.nix b/pkgs/tools/misc/tmuxp/default.nix index b24c3ead956d..84a4519c0ea5 100644 --- a/pkgs/tools/misc/tmuxp/default.nix +++ b/pkgs/tools/misc/tmuxp/default.nix @@ -6,13 +6,18 @@ let in pypkgs.buildPythonApplication rec { pname = "tmuxp"; - version = "1.11.0"; + version = "1.12.1"; src = pypkgs.fetchPypi { inherit pname version; - sha256 = "sha256-N5kZ+e17ZgLOCvV/lcT/hdG1VNqLxh98QOQyM0BmZCA="; + sha256 = "078624c5ac7aa4142735f856fadb9281fcebb10e6b98d1be2b2f2bbd106613b9"; }; + postPatch = '' + substituteInPlace setup.py \ + --replace "libtmux>=0.12.0,<0.13.0" "libtmux" + ''; + # No tests in archive doCheck = false; From 0aa1c74387b4111aff74f00861ec0506f81557b6 Mon Sep 17 00:00:00 2001 From: Mario Rodas Date: Fri, 12 Aug 2022 23:45:00 -0500 Subject: [PATCH 39/52] tmuxp: install completions --- pkgs/tools/misc/tmuxp/default.nix | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/pkgs/tools/misc/tmuxp/default.nix b/pkgs/tools/misc/tmuxp/default.nix index 84a4519c0ea5..14e5da0702eb 100644 --- a/pkgs/tools/misc/tmuxp/default.nix +++ b/pkgs/tools/misc/tmuxp/default.nix @@ -1,4 +1,4 @@ -{ lib, python3Packages }: +{ lib, python3Packages, installShellFiles }: let pypkgs = python3Packages; @@ -21,6 +21,8 @@ pypkgs.buildPythonApplication rec { # No tests in archive doCheck = false; + nativeBuildInputs = [ installShellFiles ]; + propagatedBuildInputs = with pypkgs; [ click colorama @@ -28,6 +30,13 @@ pypkgs.buildPythonApplication rec { libtmux ]; + postInstall = '' + installShellCompletion --cmd tmuxp \ + --bash <(_TMUXP_COMPLETE=bash_source $out/bin/tmuxp) \ + --fish <(_TMUXP_COMPLETE=fish_source $out/bin/tmuxp) \ + --zsh <(_TMUXP_COMPLETE=zsh_source $out/bin/tmuxp) + ''; + meta = with lib; { description = "Manage tmux workspaces from JSON and YAML"; homepage = "https://tmuxp.git-pull.com/"; From f401b58ff67c5a31a8778f6fa93bbf7acda1f360 Mon Sep 17 00:00:00 2001 From: Mario Rodas Date: Sat, 13 Aug 2022 04:45:00 +0000 Subject: [PATCH 40/52] tmuxp: update meta --- pkgs/tools/misc/tmuxp/default.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/misc/tmuxp/default.nix b/pkgs/tools/misc/tmuxp/default.nix index 14e5da0702eb..768e4d33e3de 100644 --- a/pkgs/tools/misc/tmuxp/default.nix +++ b/pkgs/tools/misc/tmuxp/default.nix @@ -38,9 +38,10 @@ pypkgs.buildPythonApplication rec { ''; meta = with lib; { - description = "Manage tmux workspaces from JSON and YAML"; + description = "tmux session manager"; homepage = "https://tmuxp.git-pull.com/"; - license = licenses.bsd3; + changelog = "https://github.com/tmux-python/tmuxp/raw/v${version}/CHANGES"; + license = licenses.mit; maintainers = with maintainers; [ peterhoeg ]; }; } From 93964ae51fdf8acbdb0ca455e923023e29f8e8b2 Mon Sep 17 00:00:00 2001 From: Adam Joseph Date: Fri, 12 Aug 2022 22:42:37 -0700 Subject: [PATCH 41/52] colordiff: use w3m-batch instead of w3m colordiff uses w3m at build time to format its documentation. Let's use w3m-batch instead to avoid dragging in all of gtk3. --- pkgs/tools/text/colordiff/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/text/colordiff/default.nix b/pkgs/tools/text/colordiff/default.nix index a7e8293851b9..df5b35dd9be0 100644 --- a/pkgs/tools/text/colordiff/default.nix +++ b/pkgs/tools/text/colordiff/default.nix @@ -1,4 +1,4 @@ -{ lib, stdenv, fetchFromGitHub, docbook_xml_dtd_412, docbook_xsl, perl, w3m, xmlto, diffutils }: +{ lib, stdenv, fetchFromGitHub, docbook_xml_dtd_412, docbook_xsl, perl, w3m-batch, xmlto, diffutils }: stdenv.mkDerivation rec { pname = "colordiff"; @@ -11,7 +11,7 @@ stdenv.mkDerivation rec { sha256 = "sha256-+TtVnUX88LMd8zmhLsKTyR9JlgR7IkUB18PF3LRgPB0="; }; - nativeBuildInputs = [ docbook_xml_dtd_412 docbook_xsl perl w3m xmlto ]; + nativeBuildInputs = [ docbook_xml_dtd_412 docbook_xsl perl w3m-batch xmlto ]; buildInputs = [ perl ]; From f3135084fa2efdb1c0a1716b0ad6afcf07af26c7 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sat, 13 Aug 2022 06:17:52 +0000 Subject: [PATCH 42/52] esbuild: 0.15.0 -> 0.15.2 --- pkgs/development/tools/esbuild/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/tools/esbuild/default.nix b/pkgs/development/tools/esbuild/default.nix index b95a58470fce..e815e2157ec1 100644 --- a/pkgs/development/tools/esbuild/default.nix +++ b/pkgs/development/tools/esbuild/default.nix @@ -2,13 +2,13 @@ buildGoModule rec { pname = "esbuild"; - version = "0.15.0"; + version = "0.15.2"; src = fetchFromGitHub { owner = "evanw"; repo = "esbuild"; rev = "v${version}"; - sha256 = "sha256-ZQRU3UlUkvTgbRMGg+BVNy+0BSUYGYUysgZ69YTeqiA="; + sha256 = "sha256-VYW3XQvwxeUnfNMXFcqB6xhh45YgTv4Iu6ce6MEclpw="; }; vendorSha256 = "sha256-+BfxCyg0KkDQpHt/wycy/8CTG6YBA/VJvJFhhzUnSiQ="; From f0924b9416f1b8fe9d8fa9217e89aa0de40973d2 Mon Sep 17 00:00:00 2001 From: Ashish SHUKLA Date: Sat, 13 Aug 2022 08:32:43 +0200 Subject: [PATCH 43/52] ugrep: 3.8.3 -> 3.9.0 --- pkgs/tools/text/ugrep/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/text/ugrep/default.nix b/pkgs/tools/text/ugrep/default.nix index 51e2f9778c4b..cad0f96998cf 100644 --- a/pkgs/tools/text/ugrep/default.nix +++ b/pkgs/tools/text/ugrep/default.nix @@ -11,13 +11,13 @@ stdenv.mkDerivation rec { pname = "ugrep"; - version = "3.8.3"; + version = "3.9.0"; src = fetchFromGitHub { owner = "Genivia"; repo = pname; rev = "v${version}"; - sha256 = "sha256-p2x3WQIzM1FJBn9mvqfisjTLgjtkZouV/fr/waCiYw0="; + sha256 = "sha256-9tHSdO9VlsbLqFFA/CKhbPvstU3+26jBaBw/tX5qJnw="; }; buildInputs = [ From b7f66b4a4315ba970134ca373b0690143a7e43e8 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sat, 13 Aug 2022 06:34:12 +0000 Subject: [PATCH 44/52] flyctl: 0.0.370 -> 0.0.372 --- pkgs/development/web/flyctl/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/web/flyctl/default.nix b/pkgs/development/web/flyctl/default.nix index 92de17fe00a8..5ecb5c5b9469 100644 --- a/pkgs/development/web/flyctl/default.nix +++ b/pkgs/development/web/flyctl/default.nix @@ -2,16 +2,16 @@ buildGoModule rec { pname = "flyctl"; - version = "0.0.370"; + version = "0.0.372"; src = fetchFromGitHub { owner = "superfly"; repo = "flyctl"; rev = "v${version}"; - sha256 = "sha256-Med1B6E6e1oLkpaL8aNtT/qoHZtkCOwSRVkVQRPNRpI="; + sha256 = "sha256-KsSaBzAjiexyhUmYEFEHhWuRROt553Lhkm1idlT8n5s="; }; - vendorSha256 = "sha256-CloCB7El/fSlBXVzBstm1wgMEobBNKPIQJCilS/PhX8="; + vendorSha256 = "sha256-E6QeWu88MXMMfZAM7vMIGXpJQuduX6GTj3tXvlE9hFo="; subPackages = [ "." ]; From 7a162bf379c632b4992754f1db29f696acbe5a84 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sat, 13 Aug 2022 07:12:45 +0000 Subject: [PATCH 45/52] htpdate: 1.3.5 -> 1.3.6 --- pkgs/tools/networking/htpdate/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/networking/htpdate/default.nix b/pkgs/tools/networking/htpdate/default.nix index 9e4cf7846bdb..e821163f2298 100644 --- a/pkgs/tools/networking/htpdate/default.nix +++ b/pkgs/tools/networking/htpdate/default.nix @@ -1,14 +1,14 @@ { stdenv, lib, fetchFromGitHub }: stdenv.mkDerivation rec { - version = "1.3.5"; + version = "1.3.6"; pname = "htpdate"; src = fetchFromGitHub { owner = "twekkel"; repo = pname; rev = "v${version}"; - sha256 = "sha256-L3CKBgGk9R8qJFWOS98Tm1j/s/5t6+/Vt2EcZ+or0Ng="; + sha256 = "sha256-0NLlBNYTJ+hmQLH/UYwIOIbq3G1sDo/A03xFHsXdzig="; }; makeFlags = [ From 939999e9871a1b4588dfaf4c6918fb7ecd184de5 Mon Sep 17 00:00:00 2001 From: "Zak B. Elep" Date: Sat, 13 Aug 2022 15:34:54 +0800 Subject: [PATCH 46/52] perlPackages.ObjectPad: init at 0.68 --- pkgs/top-level/perl-packages.nix | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/pkgs/top-level/perl-packages.nix b/pkgs/top-level/perl-packages.nix index 5bc1299ee5c4..272cbeb38e66 100644 --- a/pkgs/top-level/perl-packages.nix +++ b/pkgs/top-level/perl-packages.nix @@ -17313,6 +17313,23 @@ let }; }; + ObjectPad = buildPerlModule { + pname = "Object-Pad"; + version = "0.68"; + src = fetchurl { + url = "mirror://cpan/authors/id/P/PE/PEVANS/Object-Pad-0.68.tar.gz"; + sha256 = "sha256-xN5jBIQxMJZNrskozF99HphTnu/X7azHvn4Yg0XhnXE="; + }; + buildInputs = [ TestFatal TestRefcount ]; + perlPreHook = lib.optionalString stdenv.isDarwin "export LD=$CC"; + propagatedBuildInputs = [ XSParseKeyword XSParseSublike ]; + meta = { + description = "simple syntax for lexical field-based objects"; + license = with lib.licenses; [ artistic1 gpl1Plus ]; + maintainers = [ maintainers.zakame ]; + }; + }; + ObjectSignature = buildPerlPackage { pname = "Object-Signature"; version = "1.08"; From f2eeeae35ed3854ac5005c41a3b66a769a3cf394 Mon Sep 17 00:00:00 2001 From: Nick Cao Date: Sat, 13 Aug 2022 17:42:36 +0800 Subject: [PATCH 47/52] libkrunfw: init at 3.3.0 --- .../libraries/libkrunfw/default.nix | 49 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 + 2 files changed, 51 insertions(+) create mode 100644 pkgs/development/libraries/libkrunfw/default.nix diff --git a/pkgs/development/libraries/libkrunfw/default.nix b/pkgs/development/libraries/libkrunfw/default.nix new file mode 100644 index 000000000000..10ff37460496 --- /dev/null +++ b/pkgs/development/libraries/libkrunfw/default.nix @@ -0,0 +1,49 @@ +{ lib +, stdenv +, fetchFromGitHub +, fetchurl +, flex +, bison +, bc +, elfutils +, python3 +, sevVariant ? false +}: + +assert sevVariant -> stdenv.isx86_64; +stdenv.mkDerivation rec { + pname = "libkrunfw"; + version = "3.3.0"; + + src = fetchFromGitHub { + owner = "containers"; + repo = pname; + rev = "v${version}"; + hash = "sha256-ay+E5AgJeA0i3T4JDosDawwtezDGquzAvYEWHGbPidg="; + }; + + kernelSrc = fetchurl { + url = "https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-5.15.59.tar.xz"; + hash = "sha256-5t3GQgVzQNsGs7khwrMb/tLGETWejxRMPlz5w6wzvMs="; + }; + + preBuild = '' + substituteInPlace Makefile --replace 'curl $(KERNEL_REMOTE) -o $(KERNEL_TARBALL)' 'ln -s $(kernelSrc) $(KERNEL_TARBALL)' + ''; + + nativeBuildInputs = [ flex bison bc python3 python3.pkgs.pyelftools ]; + buildInputs = [ elfutils ]; + + makeFlags = [ "PREFIX=${placeholder "out"}" ] + ++ lib.optional sevVariant "SEV=1"; + + enableParallelBuilding = true; + + meta = with lib; { + description = "A dynamic library bundling the guest payload consumed by libkrun"; + homepage = "https://github.com/containers/libkrunfw"; + license = with licenses; [ lgpl2Only lgpl21Only ]; + maintainers = with maintainers; [ nickcao ]; + platforms = [ "x86_64-linux" "aarch64-linux" ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index d3c097f739ca..534feb374694 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -23877,6 +23877,8 @@ with pkgs; libcgroup = callPackage ../os-specific/linux/libcgroup { }; + libkrunfw = callPackage ../development/libraries/libkrunfw { }; + libnl = callPackage ../os-specific/linux/libnl { }; libtraceevent = callPackage ../os-specific/linux/libtraceevent {}; From 412a17da665c76f2d0818ed10976ca459bd2fcf1 Mon Sep 17 00:00:00 2001 From: Nick Cao Date: Sat, 13 Aug 2022 17:43:05 +0800 Subject: [PATCH 48/52] libkrun: init at 1.3.0 --- .../development/libraries/libkrun/default.nix | 49 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 4 ++ 2 files changed, 53 insertions(+) create mode 100644 pkgs/development/libraries/libkrun/default.nix diff --git a/pkgs/development/libraries/libkrun/default.nix b/pkgs/development/libraries/libkrun/default.nix new file mode 100644 index 000000000000..21be0c8437ae --- /dev/null +++ b/pkgs/development/libraries/libkrun/default.nix @@ -0,0 +1,49 @@ +{ lib +, stdenv +, fetchFromGitHub +, rustPlatform +, pkg-config +, glibc +, openssl +, libkrunfw +, sevVariant ? false +}: + +stdenv.mkDerivation rec { + pname = "libkrun"; + version = "1.3.0"; + + src = fetchFromGitHub { + owner = "containers"; + repo = pname; + rev = "v${version}"; + hash = "sha256-qVyEqiqaQ8wfZhL5u+Bsaa1yXlgHUitSj5bo7FJ5Y8c="; + }; + + cargoDeps = rustPlatform.fetchCargoTarball { + inherit src; + hash = "sha256-jxSzhj1iU8qY+sZEVCYTaUqpaA4egjJi9qxrapASQF0="; + }; + + nativeBuildInputs = with rustPlatform;[ + cargoSetupHook + rust.cargo + rust.rustc + ] ++ lib.optional sevVariant pkg-config; + + buildInputs = [ + glibc + glibc.static + (libkrunfw.override { inherit sevVariant; }) + ] ++ lib.optional sevVariant openssl; + + makeFlags = [ "PREFIX=${placeholder "out"}" ] + ++ lib.optional sevVariant "SEV=1"; + + meta = with lib; { + description = "A dynamic library providing Virtualization-based process isolation capabilities"; + homepage = "https://github.com/containers/libkrun"; + license = licenses.asl20; + maintainers = with maintainers; [ nickcao ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 534feb374694..3827869cbc39 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -23877,6 +23877,10 @@ with pkgs; libcgroup = callPackage ../os-specific/linux/libcgroup { }; + libkrun = callPackage ../development/libraries/libkrun { }; + + libkrun-sev = callPackage ../development/libraries/libkrun { sevVariant = true; }; + libkrunfw = callPackage ../development/libraries/libkrunfw { }; libnl = callPackage ../os-specific/linux/libnl { }; From 0edab34d9c41aac44c2794cebe2ad3ad64a0721c Mon Sep 17 00:00:00 2001 From: Nick Cao Date: Sat, 13 Aug 2022 17:43:27 +0800 Subject: [PATCH 49/52] krunvm: init at 0.2.1 --- .../virtualization/krunvm/default.nix | 42 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 + 2 files changed, 44 insertions(+) create mode 100644 pkgs/applications/virtualization/krunvm/default.nix diff --git a/pkgs/applications/virtualization/krunvm/default.nix b/pkgs/applications/virtualization/krunvm/default.nix new file mode 100644 index 000000000000..cd2ff0e706f4 --- /dev/null +++ b/pkgs/applications/virtualization/krunvm/default.nix @@ -0,0 +1,42 @@ +{ lib +, stdenv +, rustPlatform +, fetchFromGitHub +, asciidoctor +, libkrun +}: + +stdenv.mkDerivation rec { + pname = "krunvm"; + version = "0.2.1"; + + src = fetchFromGitHub { + owner = "containers"; + repo = pname; + rev = "v${version}"; + sha256 = "sha256-rR762L8P+7ebE0u4MVCJoXc5mmqXlDFfSas+lFBMVFQ="; + }; + + cargoDeps = rustPlatform.fetchCargoTarball { + inherit src; + hash = "sha256-3WiXm90XiQHpCbhlkigg/ZATQeDdUKTstN7hwcsKm4o="; + }; + + nativeBuildInputs = with rustPlatform;[ + cargoSetupHook + rust.cargo + rust.rustc + asciidoctor + ]; + + buildInputs = [ libkrun ]; + + makeFlags = [ "PREFIX=${placeholder "out"}" ]; + + meta = with lib; { + description = "A CLI-based utility for creating microVMs from OCI images"; + homepage = "https://github.com/containers/krunvm"; + license = licenses.asl20; + maintainers = with maintainers; [ nickcao ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 3827869cbc39..d5571d97707f 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -7857,6 +7857,8 @@ with pkgs; krunner-pass = libsForQt5.callPackage ../tools/security/krunner-pass { }; + krunvm = callPackage ../applications/virtualization/krunvm { }; + kronometer = libsForQt5.callPackage ../tools/misc/kronometer { }; krop = callPackage ../applications/graphics/krop { }; From 39f67006192a4c6b66424dd5c282e1d9b0633d6d Mon Sep 17 00:00:00 2001 From: Danielle Hutzley Date: Thu, 11 Aug 2022 12:52:16 -0700 Subject: [PATCH 50/52] minetest: 5.5.1 -> 5.6.0 --- pkgs/development/libraries/irrlichtmt/default.nix | 12 +++++++----- pkgs/games/minetest/default.nix | 12 +++++++----- 2 files changed, 14 insertions(+), 10 deletions(-) diff --git a/pkgs/development/libraries/irrlichtmt/default.nix b/pkgs/development/libraries/irrlichtmt/default.nix index e7537404f09c..5865b876207a 100644 --- a/pkgs/development/libraries/irrlichtmt/default.nix +++ b/pkgs/development/libraries/irrlichtmt/default.nix @@ -16,13 +16,13 @@ }: stdenv.mkDerivation rec { pname = "irrlichtmt"; - version = "1.9.0mt5"; + version = "1.9.0mt7"; src = fetchFromGitHub { owner = "minetest"; repo = "irrlicht"; rev = version; - sha256 = "sha256-ocsO4nKab2YxHY1qqZbF4OErpBKmG4V+psgC40APs8s="; + sha256 = "sha256-Eu7zW3mXl7GPRmLnKjt/dPoZ64HPYulI7MO1dJfj+10="; }; nativeBuildInputs = [ @@ -30,9 +30,11 @@ stdenv.mkDerivation rec { ]; # https://github.com/minetest/minetest/pull/10729 - postPatch = lib.optionalString withTouchSupport '' - substituteInPlace include/IrrCompileConfig.h \ - --replace '//#define _IRR_LINUX_X11_XINPUT2_' '#define _IRR_LINUX_X11_XINPUT2_' + postPatch = lib.optionalString (!withTouchSupport) '' + sed -i '1i #define NO_IRR_LINUX_X11_XINPUT2_' include/IrrCompileConfig.h + + # HACK: Fix mistake in build script + sed -i '/''${X11_Xi_LIB}/d' source/Irrlicht/CMakeLists.txt ''; buildInputs = [ diff --git a/pkgs/games/minetest/default.nix b/pkgs/games/minetest/default.nix index ed6b2deda509..4bc2e24329ea 100644 --- a/pkgs/games/minetest/default.nix +++ b/pkgs/games/minetest/default.nix @@ -132,12 +132,14 @@ let }; v5 = { - version = "5.5.1"; - sha256 = "sha256-ssaDy6tYxhXGZ1+05J5DwoKYnfhKIKtZj66DOV84WxA="; - dataSha256 = "sha256-SI6I1wXbB0CgTmIemm3VY9DNnWMoI5bt/hqRwHlUl4k="; + version = "5.6.0"; + sha256 = "sha256-wcbYcVHs4L0etOwUBjKvzsmZtnpOxpFgLV8nx3UfJQI="; + dataSha256 = "sha256-TVaDHYstFEuT0nBExwLE1PtM1CZh71t9CRxC9rEYTd4="; }; + mkClient = version: generic (version // { buildClient = true; buildServer = false; }); + mkServer = version: generic (version // { buildClient = false; buildServer = true; }); in { - minetestclient_5 = generic (v5 // { buildClient = true; buildServer = false; }); - minetestserver_5 = generic (v5 // { buildClient = false; buildServer = true; }); + minetestclient_5 = mkClient v5; + minetestserver_5 = mkServer v5; } From ce29c9f8eb25523126d970273c7e878daf425126 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 13 Aug 2022 12:29:46 +0200 Subject: [PATCH 51/52] offpunk: don't use alias for testVersion --- pkgs/applications/networking/browsers/offpunk/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/networking/browsers/offpunk/default.nix b/pkgs/applications/networking/browsers/offpunk/default.nix index c3a44a6dbbe3..8f6d2712caaf 100644 --- a/pkgs/applications/networking/browsers/offpunk/default.nix +++ b/pkgs/applications/networking/browsers/offpunk/default.nix @@ -6,7 +6,7 @@ offpunk, python3, stdenv, - testVersion, + testers, timg, xdg-utils, xsel, @@ -55,7 +55,7 @@ stdenv.mkDerivation (finalAttrs: { runHook postInstall ''; - passthru.tests.version = testVersion { package = offpunk; }; + passthru.tests.version = testers.testVersion { package = offpunk; }; meta = with lib; { description = "An Offline-First browser for the smolnet "; From c6db4ad1626e14bc554f155a3bba984b9e427013 Mon Sep 17 00:00:00 2001 From: Jonas Heinrich Date: Thu, 4 Aug 2022 10:44:32 +0200 Subject: [PATCH 52/52] wayout: init at 1.1.2 --- pkgs/tools/wayland/wayout/default.nix | 28 +++++++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 30 insertions(+) create mode 100644 pkgs/tools/wayland/wayout/default.nix diff --git a/pkgs/tools/wayland/wayout/default.nix b/pkgs/tools/wayland/wayout/default.nix new file mode 100644 index 000000000000..bf949cfc0549 --- /dev/null +++ b/pkgs/tools/wayland/wayout/default.nix @@ -0,0 +1,28 @@ +{ lib +, stdenv +, fetchFromSourcehut +, rustPlatform +}: + +rustPlatform.buildRustPackage rec { + pname = "wayout"; + version = "1.1.3"; + + src = fetchFromSourcehut { + owner = "~shinyzenith"; + repo = pname; + rev = version; + sha256 = "sha256-EzRetxx0NojhBlBPwhQ7p9rGXDUBlocVqxcEVGIF3+0="; + }; + + cargoSha256 = "sha256-QlxXbfeWJdCythYRRLSpJbTzKkwrL4kmAfyL3tRt194="; + + meta = with lib; { + description = "Simple output management tool for wlroots based compositors implementing"; + homepage = "https://git.sr.ht/~shinyzenith/wayout"; + license = licenses.bsd2; + maintainers = with maintainers; [ onny ]; + broken = stdenv.isDarwin; # Build failed on Darwin + }; + +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 29023f8e0158..445e64d696ac 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -3319,6 +3319,8 @@ with pkgs; wayland-proxy-virtwl = callPackage ../tools/wayland/wayland-proxy-virtwl { }; + wayout = callPackage ../tools/wayland/wayout { }; + way-displays = callPackage ../tools/wayland/way-displays { }; wev = callPackage ../tools/wayland/wev { };