From e8e144a22a313a4618c6384d13ef55d8c8cfba3c Mon Sep 17 00:00:00 2001 From: ZerataX Date: Thu, 26 Nov 2020 23:08:51 +0100 Subject: [PATCH 01/31] srb2: init at 2.2.8 --- pkgs/games/srb2/default.nix | 93 +++++++++++++++++++++++++++++++ pkgs/games/srb2/wadlocation.patch | 72 ++++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 + 3 files changed, 167 insertions(+) create mode 100644 pkgs/games/srb2/default.nix create mode 100644 pkgs/games/srb2/wadlocation.patch diff --git a/pkgs/games/srb2/default.nix b/pkgs/games/srb2/default.nix new file mode 100644 index 000000000000..76800ba2ece8 --- /dev/null +++ b/pkgs/games/srb2/default.nix @@ -0,0 +1,93 @@ +{ lib +, stdenv +, fetchurl +, fetchFromGitHub +, substituteAll +, cmake +, curl +, nasm +, openmpt123 +, p7zip +, libgme +, libpng +, SDL2 +, SDL2_mixer +, zlib +}: + +let + +assets_version = "2.2.5"; + +assets = fetchurl { + url = "https://github.com/mazmazz/SRB2/releases/download/SRB2_assets_220/srb2-${assets_version}-assets.7z"; + sha256 = "1m9xf3vraq9nipsi09cyvvfa4i37gzfxg970rnqfswd86z9v6v00"; +}; + +assets_optional = fetchurl { + url = "https://github.com/mazmazz/SRB2/releases/download/SRB2_assets_220/srb2-${assets_version}-optional-assets.7z"; + sha256 = "1j29jrd0r1k2bb11wyyl6yv9b90s2i6jhrslnh77qkrhrwnwcdz4"; +}; + +in stdenv.mkDerivation rec { + pname = "srb2"; + version = "2.2.8"; + + src = fetchFromGitHub { + owner = "STJr"; + repo = "SRB2"; + rev = "SRB2_release_${version}"; + sha256 = "10prk617pbxkpiyybwwjzv425pkjczfqdb8pxwfyq91aa2rg0kl8"; + }; + + nativeBuildInputs = [ + cmake + nasm + p7zip + ]; + + buildInputs = [ + curl + libgme + libpng + openmpt123 + SDL2 + SDL2_mixer + zlib + ]; + + cmakeFlags = [ + "-DSRB2_ASSET_DIRECTORY=/build/source/assets" + "-DGME_INCLUDE_DIR=${libgme}/include" + "-DOPENMPT_INCLUDE_DIR=${openmpt123}/include" + "-DSDL2_MIXER_INCLUDE_DIR=${SDL2_mixer}/include/SDL2" + "-DSDL2_INCLUDE_DIR=${SDL2.dev}/include/SDL2" + ]; + + patches = [ + ./wadlocation.patch + ]; + + postPatch = '' + substituteInPlace src/sdl/i_system.c \ + --replace '@wadlocation@' $out + ''; + + preConfigure = '' + 7z x ${assets} -o"/build/source/assets" -aos + 7z x ${assets_optional} -o"/build/source/assets" -aos + ''; + + postInstall = '' + mkdir $out/bin + mv $out/lsdlsrb2-${version} $out/bin/srb2 + ''; + + meta = with lib; { + description = "Sonic Robo Blast 2 is a 3D Sonic the Hedgehog fangame based on a modified version of Doom Legacy"; + homepage = "https://www.srb2.org/"; + platforms = platforms.linux; + license = licenses.gpl2Plus; + maintainers = with maintainers; [ zeratax ]; + }; +} diff --git a/pkgs/games/srb2/wadlocation.patch b/pkgs/games/srb2/wadlocation.patch new file mode 100644 index 000000000000..ee3e1111e6f0 --- /dev/null +++ b/pkgs/games/srb2/wadlocation.patch @@ -0,0 +1,72 @@ +diff --git a/src/sdl/i_system.c b/src/sdl/i_system.c +index 10c0747bf..861f00728 100644 +--- a/src/sdl/i_system.c ++++ b/src/sdl/i_system.c +@@ -145,13 +145,7 @@ int TimeFunction(int requested_frequency); + + // Locations for searching the srb2.pk3 + #if defined (__unix__) || defined(__APPLE__) || defined (UNIXCOMMON) +-#define DEFAULTWADLOCATION1 "/usr/local/share/games/SRB2" +-#define DEFAULTWADLOCATION2 "/usr/local/games/SRB2" +-#define DEFAULTWADLOCATION3 "/usr/share/games/SRB2" +-#define DEFAULTWADLOCATION4 "/usr/games/SRB2" +-#define DEFAULTSEARCHPATH1 "/usr/local/games" +-#define DEFAULTSEARCHPATH2 "/usr/games" +-#define DEFAULTSEARCHPATH3 "/usr/local" ++#define DEFAULTWADLOCATION1 "@wadlocation@" + #elif defined (_WIN32) + #define DEFAULTWADLOCATION1 "c:\\games\\srb2" + #define DEFAULTWADLOCATION2 "\\games\\srb2" +@@ -2812,34 +2806,6 @@ static const char *locateWad(void) + if (((envstr = I_GetEnv("SRB2WADDIR")) != NULL) && isWadPathOk(envstr)) + return envstr; + +-#ifndef NOCWD +- I_OutputMsg(",."); +- // examine current dir +- strcpy(returnWadPath, "."); +- if (isWadPathOk(returnWadPath)) +- return NULL; +-#endif +- +- +-#ifdef CMAKECONFIG +-#ifndef NDEBUG +- I_OutputMsg(","CMAKE_ASSETS_DIR); +- strcpy(returnWadPath, CMAKE_ASSETS_DIR); +- if (isWadPathOk(returnWadPath)) +- { +- return returnWadPath; +- } +-#endif +-#endif +- +-#ifdef __APPLE__ +- OSX_GetResourcesPath(returnWadPath); +- I_OutputMsg(",%s", returnWadPath); +- if (isWadPathOk(returnWadPath)) +- { +- return returnWadPath; +- } +-#endif + + // examine default dirs + #ifdef DEFAULTWADLOCATION1 +@@ -2884,16 +2850,7 @@ static const char *locateWad(void) + if (isWadPathOk(returnWadPath)) + return returnWadPath; + #endif +-#ifndef NOHOME +- // find in $HOME +- I_OutputMsg(",HOME"); +- if ((envstr = I_GetEnv("HOME")) != NULL) +- { +- WadPath = searchWad(envstr); +- if (WadPath) +- return WadPath; +- } +-#endif ++ + #ifdef DEFAULTSEARCHPATH1 + // find in /usr/local + I_OutputMsg(", in:"DEFAULTSEARCHPATH1); diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 9c906177bb2e..855dcedbe91b 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -32158,6 +32158,8 @@ with pkgs; springLobby = callPackage ../games/spring/springlobby.nix { }; + srb2 = callPackage ../games/srb2 { }; + ssl-cert-check = callPackage ../tools/admin/ssl-cert-check { }; stardust = callPackage ../games/stardust { }; From a93a197fc986de833553c23ddded5a6202268956 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Llu=C3=ADs=20Batlle=20i=20Rossell?= Date: Mon, 9 May 2022 00:40:50 +0200 Subject: [PATCH 02/31] srb2kart: init at 1.3.0 --- pkgs/games/srb2kart/default.nix | 88 +++++++++++++++++++++++++++ pkgs/games/srb2kart/wadlocation.patch | 61 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 + 3 files changed, 151 insertions(+) create mode 100644 pkgs/games/srb2kart/default.nix create mode 100644 pkgs/games/srb2kart/wadlocation.patch diff --git a/pkgs/games/srb2kart/default.nix b/pkgs/games/srb2kart/default.nix new file mode 100644 index 000000000000..62f2915098de --- /dev/null +++ b/pkgs/games/srb2kart/default.nix @@ -0,0 +1,88 @@ +{ lib +, stdenv +, fetchurl +, fetchFromGitHub +, substituteAll +, cmake +, curl +, nasm +, unzip +, libgme +, libpng +, SDL2 +, SDL2_mixer +, zlib +}: + +let + +release_tag = "v1.3"; + +installer = fetchurl { + url = "https://github.com/STJr/Kart-Public/releases/download/${release_tag}/srb2kart-v13-Installer.exe"; + sha256 = "0bk36y7wf6xfdg6j0b8qvk8671hagikzdp5nlfqg478zrj0qf6cs"; +}; + +in stdenv.mkDerivation rec { + pname = "srb2kart"; + version = "1.3.0"; + + src = fetchFromGitHub { + owner = "STJr"; + repo = "Kart-Public"; + rev = release_tag; + sha256 = "131g9bmc9ihvz0klsc3yzd0pnkhx3mz1vzm8y7nrrsgdz5278y49"; + }; + + nativeBuildInputs = [ + cmake + nasm + unzip + ]; + + buildInputs = [ + curl + libgme + libpng + SDL2 + SDL2_mixer + zlib + ]; + + cmakeFlags = [ + #"-DSRB2_ASSET_DIRECTORY=/build/source/assets" + "-DGME_INCLUDE_DIR=${libgme}/include" + "-DSDL2_MIXER_INCLUDE_DIR=${SDL2_mixer}/include/SDL2" + "-DSDL2_INCLUDE_DIR=${SDL2.dev}/include/SDL2" + ]; + + patches = [ + ./wadlocation.patch + ]; + + postPatch = '' + substituteInPlace src/sdl/i_system.c \ + --replace '@wadlocation@' $out + ''; + + preConfigure = '' + mkdir assets/installer + pushd assets/installer + unzip ${installer} "*.kart" srb2.srb + popd + ''; + + postInstall = '' + mkdir -p $out/bin $out/share/games/SRB2Kart + mv $out/srb2kart* $out/bin/ + mv $out/*.kart $out/share/games/SRB2Kart + ''; + + meta = with lib; { + description = "SRB2Kart is a classic styled kart racer"; + homepage = "https://mb.srb2.org/threads/srb2kart.25868/"; + platforms = platforms.linux; + license = licenses.gpl2Plus; + maintainers = with maintainers; [ viric ]; + }; +} diff --git a/pkgs/games/srb2kart/wadlocation.patch b/pkgs/games/srb2kart/wadlocation.patch new file mode 100644 index 000000000000..1923cda041d2 --- /dev/null +++ b/pkgs/games/srb2kart/wadlocation.patch @@ -0,0 +1,61 @@ +diff --git a/src/sdl/i_system.c b/src/sdl/i_system.c +index 51f708d0..c4d971f7 100644 +--- a/src/sdl/i_system.c ++++ b/src/sdl/i_system.c +@@ -139,7 +139,7 @@ typedef LPVOID (WINAPI *p_MapViewOfFile) (HANDLE, DWORD, DWORD, DWORD, SIZE_T); + + // Locations for searching the srb2.srb + #if defined (__unix__) || defined(__APPLE__) || defined (UNIXCOMMON) +-#define DEFAULTWADLOCATION1 "/usr/local/share/games/SRB2Kart" ++#define DEFAULTWADLOCATION1 "@wadlocation@" + #define DEFAULTWADLOCATION2 "/usr/local/games/SRB2Kart" + #define DEFAULTWADLOCATION3 "/usr/share/games/SRB2Kart" + #define DEFAULTWADLOCATION4 "/usr/games/SRB2Kart" +@@ -3646,47 +3646,6 @@ static const char *locateWad(void) + if (((envstr = I_GetEnv("SRB2WADDIR")) != NULL) && isWadPathOk(envstr)) + return envstr; + +-#ifndef NOCWD +- I_OutputMsg(",."); +- // examine current dir +- strcpy(returnWadPath, "."); +- if (isWadPathOk(returnWadPath)) +- return NULL; +-#endif +- +- +-#ifdef DEFAULTDIR +- I_OutputMsg(",HOME/" DEFAULTDIR); +- // examine user jart directory +- if ((envstr = I_GetEnv("HOME")) != NULL) +- { +- sprintf(returnWadPath, "%s" PATHSEP DEFAULTDIR, envstr); +- if (isWadPathOk(returnWadPath)) +- return returnWadPath; +- } +-#endif +- +- +-#ifdef CMAKECONFIG +-#ifndef NDEBUG +- I_OutputMsg(","CMAKE_ASSETS_DIR); +- strcpy(returnWadPath, CMAKE_ASSETS_DIR); +- if (isWadPathOk(returnWadPath)) +- { +- return returnWadPath; +- } +-#endif +-#endif +- +-#ifdef __APPLE__ +- OSX_GetResourcesPath(returnWadPath); +- I_OutputMsg(",%s", returnWadPath); +- if (isWadPathOk(returnWadPath)) +- { +- return returnWadPath; +- } +-#endif +- + // examine default dirs + #ifdef DEFAULTWADLOCATION1 + I_OutputMsg(","DEFAULTWADLOCATION1); diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 855dcedbe91b..ec843c3bcc38 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -32160,6 +32160,8 @@ with pkgs; srb2 = callPackage ../games/srb2 { }; + srb2kart = callPackage ../games/srb2kart { }; + ssl-cert-check = callPackage ../tools/admin/ssl-cert-check { }; stardust = callPackage ../games/stardust { }; From 8085bbe67be3c031716f263045242921101ebaed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Llu=C3=ADs=20Batlle=20i=20Rossell?= Date: Mon, 9 May 2022 22:49:21 +0200 Subject: [PATCH 03/31] srb2: 2.2.8 -> 2.2.10 --- pkgs/games/srb2/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/games/srb2/default.nix b/pkgs/games/srb2/default.nix index 76800ba2ece8..ff5e0f430362 100644 --- a/pkgs/games/srb2/default.nix +++ b/pkgs/games/srb2/default.nix @@ -31,13 +31,13 @@ assets_optional = fetchurl { in stdenv.mkDerivation rec { pname = "srb2"; - version = "2.2.8"; + version = "2.2.10"; src = fetchFromGitHub { owner = "STJr"; repo = "SRB2"; rev = "SRB2_release_${version}"; - sha256 = "10prk617pbxkpiyybwwjzv425pkjczfqdb8pxwfyq91aa2rg0kl8"; + sha256 = "03388n094d2yr5si6ngnggbqhm8b2l0s0qvfnkz49li9bd6a81gg"; }; nativeBuildInputs = [ From cb4e7fd9bc53b75f8aeaa00b7486b15a3557c790 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20=C4=8Cun=C3=A1t?= Date: Mon, 23 May 2022 15:45:23 +0200 Subject: [PATCH 04/31] gdc: nicer eval failure from versions >= 12 12 will also be copied into future versions; these parts seem OK to be copied by default. --- pkgs/development/compilers/gcc/12/default.nix | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/pkgs/development/compilers/gcc/12/default.nix b/pkgs/development/compilers/gcc/12/default.nix index fb76b039fb0a..13d040fc4957 100644 --- a/pkgs/development/compilers/gcc/12/default.nix +++ b/pkgs/development/compilers/gcc/12/default.nix @@ -3,6 +3,7 @@ , langAda ? false , langObjC ? stdenv.targetPlatform.isDarwin , langObjCpp ? stdenv.targetPlatform.isDarwin +, langD ? false , langGo ? false , reproducibleBuild ? true , profiledCompiler ? false @@ -41,6 +42,10 @@ assert stdenv.hostPlatform.isDarwin -> gnused != null; assert langGo -> langCC; assert langAda -> gnatboot != null; +# TODO: fixup D bootstapping, probably by using gdc11 (and maybe other changes). +# error: GDC is required to build d +assert !langD; + # threadsCross is just for MinGW assert threadsCross != null -> stdenv.targetPlatform.isWindows; @@ -68,6 +73,7 @@ let majorVersion = "12"; url = "https://github.com/fxcoudert/gcc/compare/releases/gcc-11.1.0...gcc-11.1.0-arm-20210504.diff"; sha256 = "sha256-JqCGJAfbOxSmkNyq49aFHteK/RFsCSLQrL9mzUCnaD0="; }) + ++ optional langD ../libphobos.patch # Obtain latest patch with ../update-mcfgthread-patches.sh ++ optional (!crossStageStatic && targetPlatform.isMinGW) ./Added-mcf-thread-model-support-from-mcfgthread.patch; @@ -208,6 +214,7 @@ stdenv.mkDerivation ({ enableShared langC + langD langCC langFortran langAda @@ -248,14 +255,14 @@ stdenv.mkDerivation ({ inherit (import ../common/extra-target-flags.nix { - inherit lib stdenv crossStageStatic libcCross threadsCross; + inherit lib stdenv crossStageStatic langD libcCross threadsCross; }) EXTRA_FLAGS_FOR_TARGET EXTRA_LDFLAGS_FOR_TARGET ; passthru = { - inherit langC langCC langObjC langObjCpp langAda langFortran langGo version; + inherit langC langCC langObjC langObjCpp langAda langFortran langGo langD version; isGNU = true; }; From ff391e0f0d2a12bc8ee80b5d683cefe4b5f54736 Mon Sep 17 00:00:00 2001 From: K900 Date: Thu, 26 May 2022 19:37:45 +0300 Subject: [PATCH 05/31] u-boot: embiggen RPi kernel allocation again, again --- ...0001-configs-rpi-allow-for-bigger-kernels.patch | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/pkgs/misc/uboot/0001-configs-rpi-allow-for-bigger-kernels.patch b/pkgs/misc/uboot/0001-configs-rpi-allow-for-bigger-kernels.patch index 2dbf11bdf2e3..3a6fbeaef411 100644 --- a/pkgs/misc/uboot/0001-configs-rpi-allow-for-bigger-kernels.patch +++ b/pkgs/misc/uboot/0001-configs-rpi-allow-for-bigger-kernels.patch @@ -17,12 +17,12 @@ index 834f1cd..10ab1e7 100644 * parameter given to the kernel. So reserving memory from low to high - * satisfies this constraint again. Reserving 1M at 0x02600000-0x02700000 for - * the DTB leaves rest of the free RAM to the initrd starting at 0x02700000. -+ * satisfies this constraint again. Reserving 1M at 0x03700000-0x03800000 for -+ * the DTB leaves rest of the free RAM to the initrd starting at 0x03800000. ++ * satisfies this constraint again. Reserving 1M at 0x04700000-0x04800000 for ++ * the DTB leaves rest of the free RAM to the initrd starting at 0x04800000. * Even with the smallest possible CPU-GPU memory split of the CPU getting - * only 64M, the remaining 25M starting at 0x02700000 should allow quite - * large initrds before they start colliding with U-Boot. -+ * only 64M, the remaining 9M starting at 0x03800000 should allow reasonably ++ * only 64M, the remaining 8M starting at 0x04800000 should allow reasonably + * sized initrds before they start colliding with U-Boot. */ #define ENV_MEM_LAYOUT_SETTINGS \ @@ -33,10 +33,10 @@ index 834f1cd..10ab1e7 100644 - "pxefile_addr_r=0x02500000\0" \ - "fdt_addr_r=0x02600000\0" \ - "ramdisk_addr_r=0x02700000\0" -+ "scriptaddr=0x03500000\0" \ -+ "pxefile_addr_r=0x03600000\0" \ -+ "fdt_addr_r=0x03700000\0" \ -+ "ramdisk_addr_r=0x03800000\0" ++ "scriptaddr=0x04500000\0" \ ++ "pxefile_addr_r=0x04600000\0" \ ++ "fdt_addr_r=0x04700000\0" \ ++ "ramdisk_addr_r=0x04800000\0" #if CONFIG_IS_ENABLED(CMD_MMC) #define BOOT_TARGET_MMC(func) \ From 4ae6a966c567b1a3117be4d278a866ba7a6b52a7 Mon Sep 17 00:00:00 2001 From: "P. R. d. O" Date: Fri, 27 May 2022 10:30:57 -0600 Subject: [PATCH 06/31] python3Packages.protonvpn-nm-cli: 3.9.0 -> 3.10.0 --- pkgs/development/python-modules/protonvpn-nm-lib/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/protonvpn-nm-lib/default.nix b/pkgs/development/python-modules/protonvpn-nm-lib/default.nix index fe08860f44af..2d6ad894fa63 100644 --- a/pkgs/development/python-modules/protonvpn-nm-lib/default.nix +++ b/pkgs/development/python-modules/protonvpn-nm-lib/default.nix @@ -19,14 +19,14 @@ buildPythonPackage rec { pname = "protonvpn-nm-lib"; - version = "3.9.0"; + version = "3.10.0"; disabled = pythonOlder "3.7"; src = fetchFromGitHub { owner = "ProtonVPN"; repo = pname; rev = version; - sha256 = "sha256-yV3xeIyPc2DJj5DOa5PA1MHt00bjJ/Y9zZK77s/XRAA="; + sha256 = "sha256-WVIQ43J01BQzYhEPDHcoAmUvlsaDw0Z7yLQGajVdedU="; }; propagatedBuildInputs = [ From c6bc981598ba543ddc9f6f70c9801f72233b5851 Mon Sep 17 00:00:00 2001 From: "P. R. d. O" Date: Fri, 27 May 2022 10:31:38 -0600 Subject: [PATCH 07/31] protonvpn-cli: 3.11.1 -> 3.12.0 --- pkgs/applications/networking/protonvpn-cli/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/networking/protonvpn-cli/default.nix b/pkgs/applications/networking/protonvpn-cli/default.nix index 5182b5c256f3..f247b5d14824 100644 --- a/pkgs/applications/networking/protonvpn-cli/default.nix +++ b/pkgs/applications/networking/protonvpn-cli/default.nix @@ -9,7 +9,7 @@ buildPythonApplication rec { pname = "protonvpn-cli"; - version = "3.11.1"; + version = "3.12.0"; format = "setuptools"; disabled = pythonOlder "3.5"; @@ -18,7 +18,7 @@ buildPythonApplication rec { owner = "protonvpn"; repo = "linux-cli"; rev = version; - sha256 = "sha256-u+POtUz7NoGS23aOmvDCZPUp2HW1xXGtfbZR88cWCBc="; + sha256 = "sha256-z0ewAqf8hjyExqBN8KBsDwJ+SA/pIBYZhKtXF9M65HE="; }; propagatedBuildInputs = [ From 1402abc37bb364f4e3d17ae92824f2a22dcbd4fe Mon Sep 17 00:00:00 2001 From: "P. R. d. O" Date: Fri, 27 May 2022 10:32:15 -0600 Subject: [PATCH 08/31] protonvpn-gui: 1.8.0 -> 1.9.0 --- pkgs/applications/networking/protonvpn-gui/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/networking/protonvpn-gui/default.nix b/pkgs/applications/networking/protonvpn-gui/default.nix index 0a9dac31268b..e69fa4089930 100644 --- a/pkgs/applications/networking/protonvpn-gui/default.nix +++ b/pkgs/applications/networking/protonvpn-gui/default.nix @@ -17,13 +17,13 @@ buildPythonApplication rec { pname = "protonvpn-gui"; - version = "1.8.0"; + version = "1.9.0"; src = fetchFromGitHub { owner = "ProtonVPN"; repo = "linux-app"; - rev = "refs/tags/${version}"; - sha256 = "sha256-Od12qHiyXHu2JnjYV7amZz5xxL+eiWUVbcG5Tbcrr28="; + rev = version; + sha256 = "sha256-+YLrIhe7kzQHPRk/3D1r56ESS1BdDxP1PFeNIg/kGLw="; }; nativeBuildInputs = [ From 80fd3d729a3fa96ea9a783350376d196d83920c7 Mon Sep 17 00:00:00 2001 From: Emmanuel Rosa Date: Thu, 5 May 2022 08:19:46 -0400 Subject: [PATCH 09/31] bisq-desktop: 1.8.4 -> 1.9.1 --- pkgs/applications/blockchains/bisq-desktop/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/blockchains/bisq-desktop/default.nix b/pkgs/applications/blockchains/bisq-desktop/default.nix index b8c878755efe..5fbe31294196 100644 --- a/pkgs/applications/blockchains/bisq-desktop/default.nix +++ b/pkgs/applications/blockchains/bisq-desktop/default.nix @@ -34,11 +34,11 @@ let in stdenv.mkDerivation rec { pname = "bisq-desktop"; - version = "1.8.4"; + version = "1.9.1"; src = fetchurl { url = "https://github.com/bisq-network/bisq/releases/download/v${version}/Bisq-64bit-${version}.deb"; - sha256 = "09bpkmn22kal3cxg8sil02wy2f2gplsbdkp4viagn0jppma02jid"; + sha256 = "0gzfcp255z542adk1g6gsmfpp5zpivv6n1f5kzqgwgm5qmr24049"; }; nativeBuildInputs = [ makeWrapper copyDesktopItems imagemagick dpkg zip xz ]; From 54e5a04e8c0f384262b7e2e9a790f58f55e4c1ed Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sat, 28 May 2022 02:08:21 +0000 Subject: [PATCH 10/31] diffoscope: 213 -> 214 --- pkgs/tools/misc/diffoscope/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/misc/diffoscope/default.nix b/pkgs/tools/misc/diffoscope/default.nix index d2ab1a9ba44f..add11f233880 100644 --- a/pkgs/tools/misc/diffoscope/default.nix +++ b/pkgs/tools/misc/diffoscope/default.nix @@ -11,11 +11,11 @@ # Note: when upgrading this package, please run the list-missing-tools.sh script as described below! python3Packages.buildPythonApplication rec { pname = "diffoscope"; - version = "213"; + version = "214"; src = fetchurl { url = "https://diffoscope.org/archive/diffoscope-${version}.tar.bz2"; - sha256 = "sha256-l2kdV1QUGsS3D6Y/b485iDmQcBNIzaBywxhqfRDINX8="; + sha256 = "sha256-ap+U9b+pCfQ2UwqQDTx0mQ0nvXJsl4D89Q/Ecl7w+8c="; }; outputs = [ "out" "man" ]; From b0615fc1529b51dd0daf8f8d2a4308f1d04edcec Mon Sep 17 00:00:00 2001 From: Mario Rodas Date: Sat, 28 May 2022 04:20:00 +0000 Subject: [PATCH 11/31] shadowsocks-rust: 1.14.2 -> 1.14.3 https://github.com/shadowsocks/shadowsocks-rust/releases/tag/v1.14.3 --- pkgs/tools/networking/shadowsocks-rust/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/networking/shadowsocks-rust/default.nix b/pkgs/tools/networking/shadowsocks-rust/default.nix index 50ac8c7a8afe..0b203ba2caae 100644 --- a/pkgs/tools/networking/shadowsocks-rust/default.nix +++ b/pkgs/tools/networking/shadowsocks-rust/default.nix @@ -2,16 +2,16 @@ rustPlatform.buildRustPackage rec { pname = "shadowsocks-rust"; - version = "1.14.2"; + version = "1.14.3"; src = fetchFromGitHub { rev = "v${version}"; owner = "shadowsocks"; repo = pname; - sha256 = "sha256-zWiC1GhrI3gcXhr8JpAbFF6t7N6aBSho33FMu8bhF2o="; + sha256 = "sha256-tRiziyCw1Qpm22RtZHeKt4VFReJidFHsPxPSjxIA3hA="; }; - cargoSha256 = "sha256-nSKeFLWTHhtmlvA9MV6NpupKJo3d1jKpTBI5H8cHJ9s="; + cargoSha256 = "sha256-snnzNb1yJ8L5pMvNNEIf5hZOpFV6DKOWGtGP1T3YTWg="; RUSTC_BOOTSTRAP = 1; From f83d9e2c743c36ff2469c9661be7a89a89e4d7d1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Sat, 28 May 2022 22:42:27 +0200 Subject: [PATCH 12/31] yq-go: 4.25.1 -> 4.25.2 --- pkgs/development/tools/yq-go/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/tools/yq-go/default.nix b/pkgs/development/tools/yq-go/default.nix index f7780f2df154..71135ede5b22 100644 --- a/pkgs/development/tools/yq-go/default.nix +++ b/pkgs/development/tools/yq-go/default.nix @@ -2,16 +2,16 @@ buildGoModule rec { pname = "yq-go"; - version = "4.25.1"; + version = "4.25.2"; src = fetchFromGitHub { owner = "mikefarah"; repo = "yq"; rev = "v${version}"; - sha256 = "sha256-pop6FOOQoWGpFuvor2a1TP1tevw7+MIfm0PevGO9nUs="; + sha256 = "sha256-yvFh1wPOsmQLGTLrMG7dwcEukFpelP183Xa2n2XiHlQ="; }; - vendorSha256 = "sha256-R40zU0jOc/eIFVDsWG3+4o51iro7Sd7jwtyH/fpWVZs="; + vendorSha256 = "sha256-oUpHK6YKjKWTGL2yC1q2hK/K/gK8I+FwTVshTxHBOKI="; nativeBuildInputs = [ installShellFiles ]; From a4de88225b203d0c78d7b837998eba4b627b5481 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sun, 29 May 2022 00:50:38 +0200 Subject: [PATCH 13/31] checkov: 2.0.1161 -> 2.0.1162 --- pkgs/development/tools/analysis/checkov/default.nix | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/pkgs/development/tools/analysis/checkov/default.nix b/pkgs/development/tools/analysis/checkov/default.nix index 9bc5d11a46e7..4bf54e22aa63 100644 --- a/pkgs/development/tools/analysis/checkov/default.nix +++ b/pkgs/development/tools/analysis/checkov/default.nix @@ -32,13 +32,14 @@ with py.pkgs; buildPythonApplication rec { pname = "checkov"; - version = "2.0.1161"; + version = "2.0.1162"; + format = "setuptools"; src = fetchFromGitHub { owner = "bridgecrewio"; repo = pname; rev = version; - hash = "sha256-EJpmJ6/Q5j8olY0hD2wX2zeF0cTwFQuaMsno2zXRfvI="; + hash = "sha256-WE0pND22DucKBSY4rtZfPH9AKgBslCoUOj45Rkd9qBc="; }; nativeBuildInputs = with py.pkgs; [ @@ -63,6 +64,7 @@ buildPythonApplication rec { docker dockerfile-parse dpath + flake8 GitPython jmespath jsonpath-ng @@ -95,7 +97,6 @@ buildPythonApplication rec { postPatch = '' substituteInPlace setup.py \ --replace "bc-python-hcl2==" "bc-python-hcl2>=" \ - --replace "cyclonedx-python-lib>=0.11.0,<1.0.0" "cyclonedx-python-lib>=0.11.0" \ --replace "prettytable>=3.0.0" "prettytable" \ --replace "pycep-parser==0.3.6" "pycep-parser" ''; From b9e79f4fc94a8cfb0bb190b529baf2426604b361 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sun, 29 May 2022 02:06:29 +0000 Subject: [PATCH 14/31] python310Packages.mkdocs-material: 8.2.15 -> 8.2.16 --- pkgs/development/python-modules/mkdocs-material/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/mkdocs-material/default.nix b/pkgs/development/python-modules/mkdocs-material/default.nix index feed177a9af2..04147d74a0f1 100644 --- a/pkgs/development/python-modules/mkdocs-material/default.nix +++ b/pkgs/development/python-modules/mkdocs-material/default.nix @@ -13,7 +13,7 @@ buildPythonApplication rec { pname = "mkdocs-material"; - version = "8.2.15"; + version = "8.2.16"; format = "setuptools"; disabled = pythonOlder "3.6"; @@ -22,7 +22,7 @@ buildPythonApplication rec { owner = "squidfunk"; repo = pname; rev = "refs/tags/${version}"; - hash = "sha256-6x3ENFPGmtRDMV6YRGlTLCYusmX49LrGBDwicg8sDB0="; + hash = "sha256-ZRk1PGLUg3StD7JhuI+3hRc4lWwEO3CrMUfLSqFVgVk="; }; propagatedBuildInputs = [ From 063471168d60a9f5f5cf097d845fafc3bdd8404a Mon Sep 17 00:00:00 2001 From: "Bryan A. S" Date: Sat, 28 May 2022 23:30:39 -0300 Subject: [PATCH 15/31] argocd-autopilot: 0.3.5 -> 0.3.7 - bump version - fix typo in ldflags to make sure default manifests url works --- .../networking/cluster/argocd-autopilot/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/applications/networking/cluster/argocd-autopilot/default.nix b/pkgs/applications/networking/cluster/argocd-autopilot/default.nix index c56f937223c9..6ad61eb39691 100644 --- a/pkgs/applications/networking/cluster/argocd-autopilot/default.nix +++ b/pkgs/applications/networking/cluster/argocd-autopilot/default.nix @@ -2,16 +2,16 @@ buildGoModule rec { pname = "argocd-autopilot"; - version = "0.3.5"; + version = "0.3.7"; src = fetchFromGitHub { owner = "argoproj-labs"; repo = "argocd-autopilot"; rev = "v${version}"; - sha256 = "sha256-YqnmtDVtprQQFbL++X9rUJFGj+fMD+fvDRWsQ+uOxxo="; + sha256 = "sha256-dLmJQCASdWkzWOPQ0bdJLe2AD06+L2ghP2yWry1XL1k="; }; - vendorSha256 = "sha256-r8RTwMzFS/BkxW08+wfAovuFLpIOReDsuHi/Hx9cVPc="; + vendorSha256 = "sha256-0v/HTiQf/mZUU1b55jAnSj86NEFOUaiM+/MrVvwJYBM="; proxyVendor = true; @@ -24,7 +24,7 @@ buildGoModule rec { "-X ${package_url}.version=${src.rev}" "-X ${package_url}.buildDate=unknown" "-X ${package_url}.gitCommit=${src.rev}" - "-X ${package_url}.installationManifestURL=github.com/argoproj-labs/argocd-autopilot/manifests/base?ref=${src.rev}" + "-X ${package_url}.installationManifestsURL=github.com/argoproj-labs/argocd-autopilot/manifests/base?ref=${src.rev}" "-X ${package_url}.installationManifestsNamespacedURL=github.com/argoproj-labs/argocd-autopilot/manifests/insecure?ref=${src.rev}" ]; From 9c2dcb5ac55e5200ad4afc238cec5901e54dcec5 Mon Sep 17 00:00:00 2001 From: Aaron Jheng Date: Sun, 29 May 2022 03:10:04 +0000 Subject: [PATCH 16/31] ngrok-1: remove --- pkgs/tools/networking/ngrok-1/default.nix | 35 -------- pkgs/tools/networking/ngrok-1/deps.nix | 101 ---------------------- pkgs/top-level/all-packages.nix | 2 - 3 files changed, 138 deletions(-) delete mode 100644 pkgs/tools/networking/ngrok-1/default.nix delete mode 100644 pkgs/tools/networking/ngrok-1/deps.nix diff --git a/pkgs/tools/networking/ngrok-1/default.nix b/pkgs/tools/networking/ngrok-1/default.nix deleted file mode 100644 index d33b749399ff..000000000000 --- a/pkgs/tools/networking/ngrok-1/default.nix +++ /dev/null @@ -1,35 +0,0 @@ -{ buildGoPackage, go-bindata, fetchFromGitHub }: - -buildGoPackage rec { - pname = "ngrok"; - version = "1.7.1"; - rev = version; - - goPackagePath = "ngrok"; - - src = fetchFromGitHub { - inherit rev; - owner = "inconshreveable"; - repo = "ngrok"; - sha256 = "1r4nc9knp0nxg4vglg7v7jbyd1nh1j2590l720ahll8a4fbsx5a4"; - }; - - goDeps = ./deps.nix; - - nativeBuildInputs = [ go-bindata ]; - - preConfigure = '' - sed -e '/jteeuwen\/go-bindata/d' \ - -e '/export GOPATH/d' \ - -e 's/go get/#go get/' \ - -e 's|bin/go-bindata|go-bindata|' -i Makefile - make assets BUILDTAGS=release - export sourceRoot=$sourceRoot/src/ngrok - ''; - - tags = [ "release" ]; - - meta = { - homepage = "https://ngrok.com/"; - }; -} diff --git a/pkgs/tools/networking/ngrok-1/deps.nix b/pkgs/tools/networking/ngrok-1/deps.nix deleted file mode 100644 index 1db3c3e65191..000000000000 --- a/pkgs/tools/networking/ngrok-1/deps.nix +++ /dev/null @@ -1,101 +0,0 @@ -[ - { - goPackagePath = "github.com/gorilla/websocket"; - fetch = { - type = "git"; - url = "https://github.com/gorilla/websocket"; - rev = "a622679ebd7a3b813862379232f645f8e690e43f"; - sha256 = "1nc9jbcmgya1i6dmf6sbcqsnxi9hbjg6dz1z0k7zmc6xdwlq0y4q"; - }; - } - { - goPackagePath = "github.com/rcrowley/go-metrics"; - fetch = { - type = "git"; - url = "https://github.com/rcrowley/go-metrics"; - rev = "1ce93efbc8f9c568886b2ef85ce305b2217b3de3"; - sha256 = "06gg72krlmd0z3zdq6s716blrga95pyj8dc2f2psfbknbkyrkfqa"; - }; - } - { - goPackagePath = "github.com/inconshreveable/go-vhost"; - fetch = { - type = "git"; - url = "https://github.com/inconshreveable/go-vhost"; - rev = "c4c28117502e4bf00960c8282b2d1c51c865fe2c"; - sha256 = "1rway6sls6fl2s2jk20ajj36rrlzh9944ncc9pdd19kifix54z32"; - }; - } - { - goPackagePath = "code.google.com/p/log4go"; - fetch = { - type = "git"; - url = "https://github.com/ccpaging/log4go"; - rev = "cb4cc51cd03958183d3b637d0750497d88c2f7a8"; - sha256 = "0l9f86zzhla9hq35q4xhgs837283qrm4gxbp5lrwwls54ifiq7k2"; - }; - } - { - goPackagePath = "github.com/daviddengcn/go-colortext"; - fetch = { - type = "git"; - url = "https://github.com/daviddengcn/go-colortext"; - rev = "13eaeb896f5985a1ab74ddea58707a73d875ba57"; - sha256 = "0618xs9lc5xfp5zkkb5j47dr7i30ps3zj5fj0zpv8afqh2cc689x"; - }; - } - { - goPackagePath = "gopkg.in/yaml.v1"; - fetch = { - type = "git"; - url = "https://github.com/go-yaml/yaml"; - rev = "b0c168ac0cf9493da1f9bb76c34b26ffef940b4a"; - sha256 = "0jbdy41pplf2d1j24qwr8gc5qsig6ai5ch8rwgvg72kq9q0901cy"; - }; - } - { - goPackagePath = "github.com/inconshreveable/mousetrap"; - fetch = { - type = "git"; - url = "https://github.com/inconshreveable/mousetrap"; - rev = "9dbb96d2c3a964935b0870b5abaea13c98b483aa"; - sha256 = "1f9g8vm18qv1rcb745a4iahql9vfrz0jni9mnzriab2wy1pfdl5b"; - }; - } - { - goPackagePath = "github.com/nsf/termbox-go"; - fetch = { - type = "git"; - url = "https://github.com/nsf/termbox-go"; - rev = "9aecf65084a5754f12d27508fa2e6ed56851953b"; - sha256 = "16sak07bgvmax4zxfrd4jia1dgygk733xa8vk8cdx28z98awbfsh"; - }; - } - { - goPackagePath = "gopkg.in/inconshreveable/go-update.v0"; - fetch = { - type = "git"; - url = "https://github.com/inconshreveable/go-update"; - rev = "d8b0b1d421aa1cbf392c05869f8abbc669bb7066"; - sha256 = "0cvkik2w368fzimx3y29ncfgw7004qkbdf2n3jy5czvzn35q7dpa"; - }; - } - { - goPackagePath = "github.com/kardianos/osext"; - fetch = { - type = "git"; - url = "https://github.com/kardianos/osext"; - rev = "29ae4ffbc9a6fe9fb2bc5029050ce6996ea1d3bc"; - sha256 = "1mawalaz84i16njkz6f9fd5jxhcbxkbsjnav3cmqq2dncv2hyv8a"; - }; - } - { - goPackagePath = "github.com/kr/binarydist"; - fetch = { - type = "git"; - url = "https://github.com/kr/binarydist"; - rev = "9955b0ab8708602d411341e55fffd7e0700f86bd"; - sha256 = "11wncbbbrdcxl5ff3h6w8vqfg4bxsf8709mh6vda0cv236flkyn3"; - }; - } -] diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 74169cac397b..40a8886a4b2e 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -8646,8 +8646,6 @@ with pkgs; ngrok-2 = callPackage ../tools/networking/ngrok-2 { }; - ngrok-1 = callPackage ../tools/networking/ngrok-1 { }; - nifi = callPackage ../servers/web-apps/nifi { }; nitter = callPackage ../servers/nitter { }; From 9344541ff215ee2929767196fb639b0f93d6ad63 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sun, 29 May 2022 03:29:11 +0000 Subject: [PATCH 17/31] gnome.aisleriot: 3.22.22 -> 3.22.23 --- pkgs/desktops/gnome/games/aisleriot/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/desktops/gnome/games/aisleriot/default.nix b/pkgs/desktops/gnome/games/aisleriot/default.nix index 953a40623c0d..9876ee652604 100644 --- a/pkgs/desktops/gnome/games/aisleriot/default.nix +++ b/pkgs/desktops/gnome/games/aisleriot/default.nix @@ -19,14 +19,14 @@ stdenv.mkDerivation rec { pname = "aisleriot"; - version = "3.22.22"; + version = "3.22.23"; src = fetchFromGitLab { domain = "gitlab.gnome.org"; owner = "GNOME"; repo = pname; rev = version; - sha256 = "sha256-Jr4XEj6h+gI1gNqoJ/cJ3cDBB4mSbpzvOUQkwGxkLPs="; + sha256 = "sha256-s7z1bR2ZG3YxJcqNrhH+O5PfGeFoPWeWSI26VCCe33Y="; }; nativeBuildInputs = [ From 87fd72101b19775a91228e0c94c31939546d5bd2 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sun, 29 May 2022 04:12:29 +0000 Subject: [PATCH 18/31] gnome.gnome-terminal: 3.44.0 -> 3.44.1 --- pkgs/desktops/gnome/core/gnome-terminal/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/desktops/gnome/core/gnome-terminal/default.nix b/pkgs/desktops/gnome/core/gnome-terminal/default.nix index 85918f0e31c0..a8ca028b5558 100644 --- a/pkgs/desktops/gnome/core/gnome-terminal/default.nix +++ b/pkgs/desktops/gnome/core/gnome-terminal/default.nix @@ -28,11 +28,11 @@ stdenv.mkDerivation rec { pname = "gnome-terminal"; - version = "3.44.0"; + version = "3.44.1"; src = fetchurl { url = "mirror://gnome/sources/gnome-terminal/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; - sha256 = "qpZxie62CUWebApGigHqcMuMRTDaHVALLT9PxDi4/io="; + sha256 = "+28g7h/yMamq7asT1dxuWmTJVXESJISLeQCG6IlZ03s="; }; nativeBuildInputs = [ From c3e55aa79ac4d856eb8f309ff651173b0ebec7b4 Mon Sep 17 00:00:00 2001 From: Vincent Laporte Date: Sun, 22 May 2022 13:10:24 +0200 Subject: [PATCH 19/31] ocamlPackages.sedlex: remove at 1.99.5 --- .../ocaml-modules/sedlex/default.nix | 37 ------------------- pkgs/top-level/ocaml-packages.nix | 2 - 2 files changed, 39 deletions(-) delete mode 100644 pkgs/development/ocaml-modules/sedlex/default.nix diff --git a/pkgs/development/ocaml-modules/sedlex/default.nix b/pkgs/development/ocaml-modules/sedlex/default.nix deleted file mode 100644 index 685d4426cfc3..000000000000 --- a/pkgs/development/ocaml-modules/sedlex/default.nix +++ /dev/null @@ -1,37 +0,0 @@ -{ stdenv, lib, fetchFromGitHub, ocaml, findlib, gen, ppx_tools_versioned, ocaml-migrate-parsetree }: - -if lib.versionOlder ocaml.version "4.02" -then throw "sedlex is not available for OCaml ${ocaml.version}" -else - -stdenv.mkDerivation rec { - pname = "ocaml${ocaml.version}-sedlex"; - version = "1.99.5"; - - src = fetchFromGitHub { - owner = "ocaml-community"; - repo = "sedlex"; - rev = "fb84e1766fc4b29e79ec40029ffee5cdb37b392f"; - sha256 = "sha256-VhzlDTYBFXgKWT69PqZYLuHkiaDwzhmyX2XfaqzHFl4="; - }; - - nativeBuildInputs = [ ocaml findlib ]; - - propagatedBuildInputs = [ gen ocaml-migrate-parsetree ppx_tools_versioned ]; - - strictDeps = true; - - buildFlags = [ "all" "opt" ]; - - createFindlibDestdir = true; - - dontStrip = true; - - meta = { - homepage = "https://github.com/ocaml-community/sedlex"; - description = "An OCaml lexer generator for Unicode"; - license = lib.licenses.mit; - inherit (ocaml.meta) platforms; - maintainers = [ lib.maintainers.vbgl ]; - }; -} diff --git a/pkgs/top-level/ocaml-packages.nix b/pkgs/top-level/ocaml-packages.nix index 905294b8f8b5..ef3d6abc9ea1 100644 --- a/pkgs/top-level/ocaml-packages.nix +++ b/pkgs/top-level/ocaml-packages.nix @@ -1320,8 +1320,6 @@ let safepass = callPackage ../development/ocaml-modules/safepass { }; - sedlex = callPackage ../development/ocaml-modules/sedlex { }; - sedlex_2 = callPackage ../development/ocaml-modules/sedlex/2.nix { }; semaphore-compat = callPackage ../development/ocaml-modules/semaphore-compat { }; From 5637570f510374806019c8bcfe5df2994790b02e Mon Sep 17 00:00:00 2001 From: Vincent Laporte Date: Sun, 22 May 2022 13:28:08 +0200 Subject: [PATCH 20/31] ocamlPackages: rename sedlex_2 into sedlex --- pkgs/applications/science/logic/beluga/default.nix | 2 +- pkgs/development/compilers/fstar/default.nix | 2 +- pkgs/development/compilers/haxe/default.nix | 4 ++-- pkgs/development/ocaml-modules/higlo/default.nix | 4 ++-- pkgs/development/ocaml-modules/iri/default.nix | 4 ++-- pkgs/development/ocaml-modules/piqi/default.nix | 4 ++-- pkgs/development/ocaml-modules/sedlex/{2.nix => default.nix} | 0 pkgs/development/ocaml-modules/xtmpl/default.nix | 4 ++-- pkgs/development/tools/analysis/flow/default.nix | 2 +- pkgs/tools/audio/liquidsoap/full.nix | 2 +- pkgs/top-level/ocaml-packages.nix | 2 +- 11 files changed, 15 insertions(+), 15 deletions(-) rename pkgs/development/ocaml-modules/sedlex/{2.nix => default.nix} (100%) diff --git a/pkgs/applications/science/logic/beluga/default.nix b/pkgs/applications/science/logic/beluga/default.nix index 66cfd306128b..9af0cd694b70 100644 --- a/pkgs/applications/science/logic/beluga/default.nix +++ b/pkgs/applications/science/logic/beluga/default.nix @@ -14,7 +14,7 @@ ocamlPackages.buildDunePackage rec { useDune2 = true; buildInputs = with ocamlPackages; [ - gen sedlex_2 ocaml_extlib dune-build-info linenoise + gen sedlex ocaml_extlib dune-build-info linenoise ]; postPatch = '' diff --git a/pkgs/development/compilers/fstar/default.nix b/pkgs/development/compilers/fstar/default.nix index eb81efe2de0c..a269edd6668a 100644 --- a/pkgs/development/compilers/fstar/default.nix +++ b/pkgs/development/compilers/fstar/default.nix @@ -33,7 +33,7 @@ stdenv.mkDerivation rec { fileutils menhirLib pprint - sedlex_2 + sedlex ppxlib ppx_deriving ppx_deriving_yojson diff --git a/pkgs/development/compilers/haxe/default.nix b/pkgs/development/compilers/haxe/default.nix index 4ac022be6a9f..c362abbc1f63 100644 --- a/pkgs/development/compilers/haxe/default.nix +++ b/pkgs/development/compilers/haxe/default.nix @@ -6,7 +6,7 @@ let then with ocaml-ng.ocamlPackages_4_12; [ ocaml findlib - sedlex_2 + sedlex xml-light ptmap camlp5 @@ -18,7 +18,7 @@ let then with ocaml-ng.ocamlPackages_4_10; [ ocaml findlib - sedlex_2 + sedlex xml-light ptmap camlp5 diff --git a/pkgs/development/ocaml-modules/higlo/default.nix b/pkgs/development/ocaml-modules/higlo/default.nix index 19b2fa8942a5..87a4186a68c3 100644 --- a/pkgs/development/ocaml-modules/higlo/default.nix +++ b/pkgs/development/ocaml-modules/higlo/default.nix @@ -1,4 +1,4 @@ -{ lib, buildDunePackage, fetchFromGitLab, sedlex_2, xtmpl }: +{ lib, buildDunePackage, fetchFromGitLab, sedlex, xtmpl }: buildDunePackage rec { pname = "higlo"; @@ -12,7 +12,7 @@ buildDunePackage rec { sha256 = "sha256:09hsbwy5asacgh4gdj0vjpy4kzfnq3qji9szbsbyswsf1nbyczir"; }; - propagatedBuildInputs = [ sedlex_2 xtmpl ]; + propagatedBuildInputs = [ sedlex xtmpl ]; meta = with lib; { description = "OCaml library for syntax highlighting"; diff --git a/pkgs/development/ocaml-modules/iri/default.nix b/pkgs/development/ocaml-modules/iri/default.nix index 6a00fb453dfd..22f106975868 100644 --- a/pkgs/development/ocaml-modules/iri/default.nix +++ b/pkgs/development/ocaml-modules/iri/default.nix @@ -1,5 +1,5 @@ { lib, buildDunePackage, fetchFromGitLab -, sedlex_2, uunf, uutf +, sedlex, uunf, uutf }: buildDunePackage rec { @@ -15,7 +15,7 @@ buildDunePackage rec { sha256 = "sha256:0zk8nnwcyljkc1a556byncv6cn1vqhk4267z1lm15flh1k7chyax"; }; - propagatedBuildInputs = [ sedlex_2 uunf uutf ]; + propagatedBuildInputs = [ sedlex uunf uutf ]; meta = { description = "IRI (RFC3987) native OCaml implementation"; diff --git a/pkgs/development/ocaml-modules/piqi/default.nix b/pkgs/development/ocaml-modules/piqi/default.nix index 45d65a5be04f..f9eb09987fb9 100644 --- a/pkgs/development/ocaml-modules/piqi/default.nix +++ b/pkgs/development/ocaml-modules/piqi/default.nix @@ -1,4 +1,4 @@ -{ lib, stdenv, fetchFromGitHub, ocaml, findlib, which, sedlex_2, easy-format, xmlm, base64 }: +{ lib, stdenv, fetchFromGitHub, ocaml, findlib, which, sedlex, easy-format, xmlm, base64 }: stdenv.mkDerivation rec { version = "0.6.15"; @@ -13,7 +13,7 @@ stdenv.mkDerivation rec { }; nativeBuildInputs = [ ocaml findlib which ]; - propagatedBuildInputs = [ sedlex_2 xmlm easy-format base64 ]; + propagatedBuildInputs = [ sedlex xmlm easy-format base64 ]; strictDeps = true; diff --git a/pkgs/development/ocaml-modules/sedlex/2.nix b/pkgs/development/ocaml-modules/sedlex/default.nix similarity index 100% rename from pkgs/development/ocaml-modules/sedlex/2.nix rename to pkgs/development/ocaml-modules/sedlex/default.nix diff --git a/pkgs/development/ocaml-modules/xtmpl/default.nix b/pkgs/development/ocaml-modules/xtmpl/default.nix index 7c2f0a01e53c..6b4771fe1ff4 100644 --- a/pkgs/development/ocaml-modules/xtmpl/default.nix +++ b/pkgs/development/ocaml-modules/xtmpl/default.nix @@ -1,4 +1,4 @@ -{ lib, buildDunePackage, fetchFromGitLab, iri, re, sedlex_2, uutf }: +{ lib, buildDunePackage, fetchFromGitLab, iri, re, sedlex, uutf }: buildDunePackage rec { pname = "xtmpl"; @@ -12,7 +12,7 @@ buildDunePackage rec { sha256 = "sha256:0vwj0aayg60wm98d91fg3hmj90730liljy4cn8771dpxvz8m07bw"; }; - propagatedBuildInputs = [ iri re sedlex_2 uutf ]; + propagatedBuildInputs = [ iri re sedlex uutf ]; meta = with lib; { description = "XML templating library for OCaml"; diff --git a/pkgs/development/tools/analysis/flow/default.nix b/pkgs/development/tools/analysis/flow/default.nix index 2325ab03c96b..37241a953403 100644 --- a/pkgs/development/tools/analysis/flow/default.nix +++ b/pkgs/development/tools/analysis/flow/default.nix @@ -18,7 +18,7 @@ stdenv.mkDerivation rec { install -Dm644 resources/shell/bash-completion $out/share/bash-completion/completions/flow ''; - buildInputs = (with ocamlPackages; [ ocaml findlib ocamlbuild ocaml-migrate-parsetree-2 dtoa core_kernel sedlex_2 ocaml_lwt lwt_log lwt_ppx ppx_deriving ppx_gen_rec visitors wtf8 ]) + buildInputs = (with ocamlPackages; [ ocaml findlib ocamlbuild ocaml-migrate-parsetree-2 dtoa core_kernel sedlex ocaml_lwt lwt_log lwt_ppx ppx_deriving ppx_gen_rec visitors wtf8 ]) ++ lib.optionals stdenv.isDarwin [ CoreServices ]; meta = with lib; { diff --git a/pkgs/tools/audio/liquidsoap/full.nix b/pkgs/tools/audio/liquidsoap/full.nix index 1c52e6796b7b..94cc353dd1c4 100644 --- a/pkgs/tools/audio/liquidsoap/full.nix +++ b/pkgs/tools/audio/liquidsoap/full.nix @@ -59,7 +59,7 @@ stdenv.mkDerivation { ocamlPackages.xmlm ocamlPackages.ocaml_pcre ocamlPackages.camomile ocamlPackages.fdkaac - ocamlPackages.srt ocamlPackages.sedlex_2 ocamlPackages.menhir ocamlPackages.menhirLib + ocamlPackages.srt ocamlPackages.sedlex ocamlPackages.menhir ocamlPackages.menhirLib ]; hardeningDisable = [ "format" "fortify" ]; diff --git a/pkgs/top-level/ocaml-packages.nix b/pkgs/top-level/ocaml-packages.nix index ef3d6abc9ea1..cc8fc806324a 100644 --- a/pkgs/top-level/ocaml-packages.nix +++ b/pkgs/top-level/ocaml-packages.nix @@ -1320,7 +1320,7 @@ let safepass = callPackage ../development/ocaml-modules/safepass { }; - sedlex_2 = callPackage ../development/ocaml-modules/sedlex/2.nix { }; + sedlex = callPackage ../development/ocaml-modules/sedlex { }; semaphore-compat = callPackage ../development/ocaml-modules/semaphore-compat { }; From b8186ef950ef3360f9306a6c88f3cb218ecb926f Mon Sep 17 00:00:00 2001 From: Vincent Laporte Date: Sun, 22 May 2022 13:35:38 +0200 Subject: [PATCH 21/31] =?UTF-8?q?ocamlPackages.sedlex:=202.4=20=E2=86=92?= =?UTF-8?q?=202.5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ocaml-modules/sedlex/default.nix | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-) diff --git a/pkgs/development/ocaml-modules/sedlex/default.nix b/pkgs/development/ocaml-modules/sedlex/default.nix index 9f4badbc7cad..0a18424acac2 100644 --- a/pkgs/development/ocaml-modules/sedlex/default.nix +++ b/pkgs/development/ocaml-modules/sedlex/default.nix @@ -8,38 +8,34 @@ , uchar }: -if lib.versionOlder ocaml.version "4.08" -then throw "sedlex is not available for OCaml ${ocaml.version}" -else - let - unicodeVersion = "13.0.0"; + unicodeVersion = "14.0.0"; baseUrl = "https://www.unicode.org/Public/${unicodeVersion}"; DerivedCoreProperties = fetchurl { url = "${baseUrl}/ucd/DerivedCoreProperties.txt"; - sha256 = "0j12x112cd8fpgazkc8izxnhhpia44p1m36ff8yapslxndcmzm55"; + sha256 = "sha256:1g77s8g9443dd92f82pbkim7rk51s7xdwa3mxpzb1lcw8ryxvvg3"; }; DerivedGeneralCategory = fetchurl { url = "${baseUrl}/ucd/extracted/DerivedGeneralCategory.txt"; - sha256 = "0w6mkz4w79k23bnmwgfxc4yqc2ypv8ilrjn6nk25hrafksbg00j5"; + sha256 = "sha256:080l3bwwppm7gnyga1hzhd07b55viklimxpdsx0fsxhr8v47krnd"; }; PropList = fetchurl { url = "${baseUrl}/ucd/PropList.txt"; - sha256 = "1ks0585wimygbk2wqi9hqg8gyl25iffvdad5vya1zgsxs8z5lns8"; + sha256 = "sha256:08k75jzl7ws9l3sm1ywsj24qa4qvzn895wggdpp5nyj1a2wgvpbb"; }; in buildDunePackage rec { pname = "sedlex"; - version = "2.4"; + version = "2.5"; - useDune2 = true; + minimalOCamlVersion = "4.08"; src = fetchFromGitHub { owner = "ocaml-community"; repo = "sedlex"; rev = "v${version}"; - sha256 = "13g8az4zqg6hrnxmy3qrasslppzlag13dd1dsr8vlpg2vpfmfv6i"; + sha256 = "sha256:062a5dvrzvb81l3a9phljrhxfw9nlb61q341q0a6xn65hll3z2wy"; }; propagatedBuildInputs = [ From 94733b13d89372c76e51f9d1c53279d706d6b025 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Sat, 28 May 2022 19:10:44 +0200 Subject: [PATCH 22/31] grafana-mimir: 2.0.0 -> 2.1.0 --- pkgs/servers/monitoring/mimir/default.nix | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/pkgs/servers/monitoring/mimir/default.nix b/pkgs/servers/monitoring/mimir/default.nix index db5c45f2fd37..63e13da428c7 100644 --- a/pkgs/servers/monitoring/mimir/default.nix +++ b/pkgs/servers/monitoring/mimir/default.nix @@ -1,18 +1,21 @@ { lib, buildGoModule, fetchFromGitHub }: buildGoModule rec { pname = "mimir"; - version = "2.0.0"; + version = "2.1.0"; src = fetchFromGitHub { rev = "${pname}-${version}"; owner = "grafana"; repo = pname; - sha256 = "T1lljhC/TS3eoIc9AFo9Oy9/COM/XnfcwtkU618YCdM="; + sha256 = "sha256-n7Vzp/GQIC+Mryu9SycMZ3ScPo5O+5tA4TdigpKzmLU="; }; vendorSha256 = null; - subPackages = [ "cmd/mimir" ]; + subPackages = [ + "cmd/mimir" + "cmd/mimirtool" + ]; ldflags = let t = "github.com/grafana/mimir/pkg/util/version"; in [ From 64979024070de7a9eab3bd66f54a4680163efa3a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Sat, 28 May 2022 22:06:22 +0200 Subject: [PATCH 23/31] nixos/mimir: set workingdirectory Mimir writes files relatative to its working directory. With this option less files have to be configured. --- nixos/modules/services/monitoring/mimir.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/nixos/modules/services/monitoring/mimir.nix b/nixos/modules/services/monitoring/mimir.nix index df853f037ee6..a651b76c3876 100644 --- a/nixos/modules/services/monitoring/mimir.nix +++ b/nixos/modules/services/monitoring/mimir.nix @@ -56,6 +56,7 @@ in { ProtectSystem = "full"; DevicePolicy = "closed"; NoNewPrivileges = true; + WorkingDirectory = "/var/lib/mimir"; StateDirectory = "mimir"; }; }; From a6cdcce08bb18d17819a2a76dfac8da7ce1a6328 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Sat, 28 May 2022 22:07:34 +0200 Subject: [PATCH 24/31] nixos/mimir: add test --- nixos/tests/all-tests.nix | 1 + nixos/tests/grafana-mimir.nix | 50 +++++++++++++++++++++++ pkgs/servers/monitoring/mimir/default.nix | 6 ++- 3 files changed, 56 insertions(+), 1 deletion(-) create mode 100644 nixos/tests/grafana-mimir.nix diff --git a/nixos/tests/all-tests.nix b/nixos/tests/all-tests.nix index f4b6ee73562e..e61798676a0d 100644 --- a/nixos/tests/all-tests.nix +++ b/nixos/tests/all-tests.nix @@ -170,6 +170,7 @@ in frr = handleTest ./frr.nix {}; fsck = handleTest ./fsck.nix {}; ft2-clone = handleTest ./ft2-clone.nix {}; + grafana-mimir = handleTest ./grafana-mimir.nix {}; gerrit = handleTest ./gerrit.nix {}; geth = handleTest ./geth.nix {}; ghostunnel = handleTest ./ghostunnel.nix {}; diff --git a/nixos/tests/grafana-mimir.nix b/nixos/tests/grafana-mimir.nix new file mode 100644 index 000000000000..0aafa956f0be --- /dev/null +++ b/nixos/tests/grafana-mimir.nix @@ -0,0 +1,50 @@ +import ./make-test-python.nix ({ pkgs, ... }: { + name = "grafana-mimir"; + nodes = { + server = { ... }: { + environment.systemPackages = [ pkgs.jq ]; + services.mimir.enable = true; + services.mimir.configuration = { + ingester.ring.replication_factor = 1; + }; + + services.telegraf.enable = true; + services.telegraf.extraConfig = { + agent.interval = "1s"; + agent.flush_interval = "1s"; + inputs.exec = { + commands = [ + "${pkgs.coreutils}/bin/echo 'foo i=42i'" + ]; + data_format = "influx"; + }; + outputs = { + http = { + # test remote write + url = "http://localhost:8080/api/v1/push"; + + # Data format to output. + data_format = "prometheusremotewrite"; + + headers = { + Content-Type = "application/x-protobuf"; + Content-Encoding = "snappy"; + X-Scope-OrgID = "nixos"; + X-Prometheus-Remote-Write-Version = "0.1.0"; + }; + }; + }; + }; + }; + }; + + testScript = '' + start_all() + server.wait_for_unit("mimir.service") + server.wait_for_unit("telegraf.service") + server.wait_for_open_port(8080) + server.wait_until_succeeds( + "curl -H 'X-Scope-OrgID: nixos' http://127.0.0.1:8080/prometheus/api/v1/label/host/values | jq -r '.data[0]' | grep server" + ) + ''; +}) diff --git a/pkgs/servers/monitoring/mimir/default.nix b/pkgs/servers/monitoring/mimir/default.nix index 63e13da428c7..500ba3154753 100644 --- a/pkgs/servers/monitoring/mimir/default.nix +++ b/pkgs/servers/monitoring/mimir/default.nix @@ -1,4 +1,4 @@ -{ lib, buildGoModule, fetchFromGitHub }: +{ lib, buildGoModule, fetchFromGitHub, nixosTests }: buildGoModule rec { pname = "mimir"; version = "2.1.0"; @@ -17,6 +17,10 @@ buildGoModule rec { "cmd/mimirtool" ]; + passthru.tests = { + inherit (nixosTests) grafana-mimir; + }; + ldflags = let t = "github.com/grafana/mimir/pkg/util/version"; in [ ''-extldflags "-static"'' From d32a2bf207f41506cbcc86f69e057a47b8a83456 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Sun, 29 May 2022 09:47:13 +0200 Subject: [PATCH 25/31] nixos/mimir: also expose mimirtool to users --- nixos/modules/services/monitoring/mimir.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/nixos/modules/services/monitoring/mimir.nix b/nixos/modules/services/monitoring/mimir.nix index a651b76c3876..f85f3ab02c37 100644 --- a/nixos/modules/services/monitoring/mimir.nix +++ b/nixos/modules/services/monitoring/mimir.nix @@ -28,6 +28,9 @@ in { }; config = mkIf cfg.enable { + # for mimirtool + environment.systemPackages = [ pkgs.mimir ]; + assertions = [{ assertion = ( (cfg.configuration == {} -> cfg.configFile != null) && From 523eb4a181060ee60240e76512996bcbe5743c4a Mon Sep 17 00:00:00 2001 From: Robert Hensing Date: Sun, 29 May 2022 10:23:16 +0200 Subject: [PATCH 26/31] pkgs.tests: Add regression test for #175196 --- pkgs/test/config.nix | 21 +++++++++++++++++++++ pkgs/test/default.nix | 2 ++ 2 files changed, 23 insertions(+) create mode 100644 pkgs/test/config.nix diff --git a/pkgs/test/config.nix b/pkgs/test/config.nix new file mode 100644 index 000000000000..6047b013206a --- /dev/null +++ b/pkgs/test/config.nix @@ -0,0 +1,21 @@ +{ lib, ... }: +lib.recurseIntoAttrs { + + # https://github.com/NixOS/nixpkgs/issues/175196 + allowPkgsInPermittedInsecurePackages = + let pkgs = import ../.. { + config = { + permittedInsecurePackages = + tempAllow pkgs.authy "2.1.0" [ "electron-9.4.4" ]; + }; + }; + # Allow with forgetting + tempAllow = p: v: pa: + lib.optionals (lib.assertMsg (p.version == v) "${p.name} is no longer at version ${v}, consider removing the tempAllow") pa; + # For this test we don't _really_ care about the version though, + # only about evaluation strictness + tempAllowAlike = p: v: pa: builtins.seq v builtins.seq p.version pa; + + in pkgs.hello; + +} diff --git a/pkgs/test/default.nix b/pkgs/test/default.nix index ab235d610025..48bd6ac77469 100644 --- a/pkgs/test/default.nix +++ b/pkgs/test/default.nix @@ -22,6 +22,8 @@ with pkgs; cc-wrapper-libcxx-9 = callPackage ./cc-wrapper { stdenv = llvmPackages_9.libcxxStdenv; }; stdenv-inputs = callPackage ./stdenv-inputs { }; + config = callPackage ./config.nix { }; + haskell = callPackage ./haskell { }; cc-multilib-gcc = callPackage ./cc-wrapper/multilib.nix { stdenv = gccMultiStdenv; }; From 1a7c0eac1572f56afa970e5fe6493b85cecf51a5 Mon Sep 17 00:00:00 2001 From: Robert Hensing Date: Sun, 29 May 2022 10:24:20 +0200 Subject: [PATCH 27/31] pkgs/config.nix: Fix infinite recursion when freeform config is strict in pkgs https://github.com/NixOS/nixpkgs/issues/175196 The loop involved: - pkgs is strict in the config.nix freeformType's produced attrNames, as these are included in the config. - the attrNames were strict in all the direct attrValues, because of scanning for `mkIf`s. `lazyAttrsOf` removes proper `mkIf` support, which we don't need here. --- pkgs/top-level/config.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/top-level/config.nix b/pkgs/top-level/config.nix index ad06227e74f1..e038973e0858 100644 --- a/pkgs/top-level/config.nix +++ b/pkgs/top-level/config.nix @@ -128,7 +128,7 @@ let in { freeformType = - let t = lib.types.attrsOf lib.types.raw; + let t = lib.types.lazyAttrsOf lib.types.raw; in t // { merge = loc: defs: let r = t.merge loc defs; From b680431cb725c70f44a953c8ea69cb58bfe35af6 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sun, 29 May 2022 09:05:31 +0000 Subject: [PATCH 28/31] python310Packages.python-gitlab: 3.4.0 -> 3.5.0 --- pkgs/development/python-modules/python-gitlab/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/python-gitlab/default.nix b/pkgs/development/python-modules/python-gitlab/default.nix index 3db152119a22..c9b7194a4a16 100644 --- a/pkgs/development/python-modules/python-gitlab/default.nix +++ b/pkgs/development/python-modules/python-gitlab/default.nix @@ -10,14 +10,14 @@ buildPythonPackage rec { pname = "python-gitlab"; - version = "3.4.0"; + version = "3.5.0"; format = "setuptools"; disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; - sha256 = "sha256-YYC4HuLyZa2NhBKVahdAtNPOynsori9wff5iN1/tAII="; + sha256 = "sha256-Ka5/ubjJrrLm4ZvS/QSGfpPs169xmXjOaPrAzxFqsw0="; }; propagatedBuildInputs = [ From af04d4eb146cb3784c883a76997613f2524e310e Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sun, 29 May 2022 09:27:46 +0000 Subject: [PATCH 29/31] python310Packages.mlflow: 1.26.0 -> 1.26.1 --- pkgs/development/python-modules/mlflow/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/mlflow/default.nix b/pkgs/development/python-modules/mlflow/default.nix index 088318bc2e02..7f3f97255d96 100644 --- a/pkgs/development/python-modules/mlflow/default.nix +++ b/pkgs/development/python-modules/mlflow/default.nix @@ -32,14 +32,14 @@ buildPythonPackage rec { pname = "mlflow"; - version = "1.26.0"; + version = "1.26.1"; format = "setuptools"; disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; - hash = "sha256-2D1glQkovCY0lN0kfxGeoLigTkkPpij13mTeou7CAw4="; + hash = "sha256-VoBESElY6nG9MU7UICbP2V5kH+6+GFaKMuy/mv6bk9Q="; }; propagatedBuildInputs = [ From f579f725ed422275d31aa2a5977ddcaa177840ed Mon Sep 17 00:00:00 2001 From: happysalada Date: Sun, 29 May 2022 02:57:00 -0400 Subject: [PATCH 30/31] helix: 22.03 -> 22.05 --- pkgs/applications/editors/helix/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/editors/helix/default.nix b/pkgs/applications/editors/helix/default.nix index cb948b99065d..e33eaa787a2c 100644 --- a/pkgs/applications/editors/helix/default.nix +++ b/pkgs/applications/editors/helix/default.nix @@ -2,17 +2,17 @@ rustPlatform.buildRustPackage rec { pname = "helix"; - version = "22.03"; + version = "22.05"; # This release tarball includes source code for the tree-sitter grammars, # which is not ordinarily part of the repository. src = fetchzip { url = "https://github.com/helix-editor/helix/releases/download/${version}/helix-${version}-source.tar.xz"; - sha256 = "DP/hh6JfnyHdW2bg0cvhwlWvruNDvL9bmXM46iAUQzA="; + sha256 = "sha256-MVHfj9iVC8rFGFU+kpRcH0qX9kQ+scFsRgSw7suC5RU="; stripRoot = false; }; - cargoSha256 = "zJQ+KvO+6iUIb0eJ+LnMbitxaqTxfqgu7XXj3j0GiX4="; + cargoSha256 = "sha256-9jkSZ2yW0Pca1ats7Mgv7HprpjoZWLpsbuwMjYOKlmk="; nativeBuildInputs = [ makeWrapper ]; From 7b0d8aba7eaf23698616942200868a4765b3e35d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Sun, 29 May 2022 06:02:18 +0000 Subject: [PATCH 31/31] ghostwriter: 2.1.2 -> 2.1.3 https://github.com/wereturtle/ghostwriter/releases/tag/2.1.3 --- pkgs/applications/editors/ghostwriter/default.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/editors/ghostwriter/default.nix b/pkgs/applications/editors/ghostwriter/default.nix index dfdf75627bff..b97025d103c8 100644 --- a/pkgs/applications/editors/ghostwriter/default.nix +++ b/pkgs/applications/editors/ghostwriter/default.nix @@ -14,13 +14,13 @@ mkDerivation rec { pname = "ghostwriter"; - version = "2.1.2"; + version = "2.1.3"; src = fetchFromGitHub { owner = "wereturtle"; repo = pname; rev = version; - hash = "sha256-NpgtxYqxMWMZXZRZjujob40Nn6hirsSzcjoqRJR6Rws="; + hash = "sha256-U6evyaC7fLFyKzeDNAI3U3/IcCk8DTY8pb3e3xqSfwk="; }; nativeBuildInputs = [ qmake pkg-config qttools ]; @@ -34,6 +34,7 @@ mkDerivation rec { meta = with lib; { description = "A cross-platform, aesthetic, distraction-free Markdown editor"; homepage = src.meta.homepage; + changelog = "https://github.com/wereturtle/ghostwriter/blob/${src.rev}/CHANGELOG.md"; license = licenses.gpl3Plus; platforms = platforms.unix; maintainers = with maintainers; [ dotlambda erictapen ];