From 675111e5acee20c48dbadb34b9bdde676d20d337 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Wed, 29 Mar 2023 11:08:53 +0000 Subject: patchelfUnstable: unstable-2023-03-18 -> unstable-2023-03-27 --- pkgs/development/tools/misc/patchelf/unstable.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/tools/misc/patchelf/unstable.nix b/pkgs/development/tools/misc/patchelf/unstable.nix index 3f20cb7834f..d90c6ef4a8c 100644 --- a/pkgs/development/tools/misc/patchelf/unstable.nix +++ b/pkgs/development/tools/misc/patchelf/unstable.nix @@ -2,13 +2,13 @@ stdenv.mkDerivation rec { pname = "patchelf"; - version = "unstable-2023-03-18"; + version = "unstable-2023-03-27"; src = fetchFromGitHub { owner = "NixOS"; repo = "patchelf"; - rev = "265b31ae22c6e1d20b01295aaa7bcf28fd31a5cf"; - sha256 = "sha256-+iGvdjXvhk5mN8jp3u+M9fICKFqbtyZCx+WjQszaB1o="; + rev = "99db062953e88c26e1b1ae5120b8f8bd9f8d9b90"; + sha256 = "sha256-6UQR7pmaeIv4G/eymgrFXXfrh3ODfsqIIAu0A44N/6g="; }; # Drop test that fails on musl (?) -- cgit 1.4.1 From 6ae3b95f56fa98c3ac145212969906b84b02fbf4 Mon Sep 17 00:00:00 2001 From: Nick Cao Date: Fri, 31 Mar 2023 09:35:05 +0800 Subject: tcsh: fix cross compilation --- pkgs/shells/tcsh/default.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkgs/shells/tcsh/default.nix b/pkgs/shells/tcsh/default.nix index 1676d2f0845..b5f87a1ef65 100644 --- a/pkgs/shells/tcsh/default.nix +++ b/pkgs/shells/tcsh/default.nix @@ -4,6 +4,7 @@ , fetchpatch , libxcrypt , ncurses +, buildPackages }: stdenv.mkDerivation rec { @@ -16,6 +17,11 @@ stdenv.mkDerivation rec { }; strictDeps = true; + + depsBuildBuild = [ + buildPackages.stdenv.cc + ]; + buildInputs = [ libxcrypt ncurses -- cgit 1.4.1 From 18f4e2dc98292f213f0cb698f98315c7820e3b62 Mon Sep 17 00:00:00 2001 From: Nick Cao Date: Fri, 31 Mar 2023 10:16:07 +0800 Subject: tcsh: drop outdated patch for musl --- pkgs/shells/tcsh/default.nix | 9 --------- 1 file changed, 9 deletions(-) diff --git a/pkgs/shells/tcsh/default.nix b/pkgs/shells/tcsh/default.nix index b5f87a1ef65..72c97a46e3c 100644 --- a/pkgs/shells/tcsh/default.nix +++ b/pkgs/shells/tcsh/default.nix @@ -1,7 +1,6 @@ { lib , stdenv , fetchurl -, fetchpatch , libxcrypt , ncurses , buildPackages @@ -27,14 +26,6 @@ stdenv.mkDerivation rec { ncurses ]; - patches = lib.optional stdenv.hostPlatform.isMusl - # Use system malloc - (fetchpatch { - name = "sysmalloc.patch"; - url = "https://git.alpinelinux.org/aports/plain/community/tcsh/001-sysmalloc.patch?id=184585c046cdd56512f1a76e426dd799b368f8cf"; - sha256 = "1qc6ydxhdfizsbkaxhpn3wib8sfphrw10xnnsxx2prvzg9g2zp67"; - }); - meta = with lib; { homepage = "https://www.tcsh.org/"; description = "An enhanced version of the Berkeley UNIX C shell (csh)"; -- cgit 1.4.1 From f96d3b9bca8ca466688db170996a3f3eef85a7bc Mon Sep 17 00:00:00 2001 From: Nick Cao Date: Tue, 4 Apr 2023 10:17:47 +0800 Subject: uhk-agent: 2.1.1 -> 2.1.2 --- pkgs/os-specific/linux/uhk-agent/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/os-specific/linux/uhk-agent/default.nix b/pkgs/os-specific/linux/uhk-agent/default.nix index 0b7739012ec..f75d8578833 100644 --- a/pkgs/os-specific/linux/uhk-agent/default.nix +++ b/pkgs/os-specific/linux/uhk-agent/default.nix @@ -1,11 +1,11 @@ -{ appimageTools, lib, fetchurl, polkit, udev }: +{ appimageTools, lib, fetchurl }: let pname = "uhk-agent"; - version = "2.1.1"; + version = "2.1.2"; src = fetchurl { url = "https://github.com/UltimateHackingKeyboard/agent/releases/download/v${version}/UHK.Agent-${version}-linux-x86_64.AppImage"; name = "${pname}-${version}.AppImage"; - sha256 = "sha256-NhDHwQeh+zbA7XykriSMaygNm1SorMd+yy/m6sPgAhg="; + sha256 = "sha256-G/UT1ec7rWl8xONZnT+dpHAFOQh6/s0Vq7MTqAcmJSA="; }; appimageContents = appimageTools.extract { -- cgit 1.4.1 From 0221a9ba5beb8dfbd8f520759e68e60a543d0e14 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Tue, 4 Apr 2023 12:16:49 +0200 Subject: tts: Run tests in passthru It was reported multiple times, that tts tests get stuck when many tests are run in parallel, like during nixpkgs-review runs. --- pkgs/tools/audio/tts/default.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pkgs/tools/audio/tts/default.nix b/pkgs/tools/audio/tts/default.nix index 1c3cc91616c..8b279a106fa 100644 --- a/pkgs/tools/audio/tts/default.nix +++ b/pkgs/tools/audio/tts/default.nix @@ -1,8 +1,8 @@ { lib , python3 , fetchFromGitHub -, fetchpatch , espeak-ng +, tts }: let @@ -115,6 +115,10 @@ python.pkgs.buildPythonApplication rec { ) ''; + # tests get stuck when run in nixpkgs-review, tested in passthru + doCheck = false; + passthru.tests.pytest = tts.overridePythonAttrs (_: { doCheck = true; }); + nativeCheckInputs = with python.pkgs; [ espeak-ng pytestCheckHook -- cgit 1.4.1 From fd9c4cdb2453aa638414a6a44c783a8c96bfb2e2 Mon Sep 17 00:00:00 2001 From: "John D. Boy" <2187261+jboynyc@users.noreply.github.com> Date: Fri, 24 Mar 2023 09:12:58 +0100 Subject: python310Packages.textnets: 0.8.7 -> 0.8.8 --- pkgs/development/python-modules/textnets/default.nix | 18 +++++------------- 1 file changed, 5 insertions(+), 13 deletions(-) diff --git a/pkgs/development/python-modules/textnets/default.nix b/pkgs/development/python-modules/textnets/default.nix index da3da57d35d..a63fa00e640 100644 --- a/pkgs/development/python-modules/textnets/default.nix +++ b/pkgs/development/python-modules/textnets/default.nix @@ -2,7 +2,7 @@ , buildPythonPackage , cairocffi , cython -, fetchFromGitHub +, fetchPypi , igraph , leidenalg , pandas @@ -20,16 +20,14 @@ buildPythonPackage rec { pname = "textnets"; - version = "0.8.7"; + version = "0.8.8"; format = "pyproject"; disabled = pythonOlder "3.8"; - src = fetchFromGitHub { - owner = "jboynyc"; - repo = pname; - rev = "refs/tags/v${version}"; - hash = "sha256-BBndY+3leJBxiImuyRL7gMD5eocE4i96+97I9hDEwec="; + src = fetchPypi { + inherit pname version; + hash = "sha256-rjXEiaPYctrONIZz1Dd5OSDw5z8D2FPXi5TneKizFUQ="; }; nativeBuildInputs = [ @@ -50,12 +48,6 @@ buildPythonPackage rec { wasabi ]; - # Deselect test of experimental feature that fails due to having an - # additional dependency. - disabledTests = [ - "test_context" - ]; - nativeCheckInputs = [ pytestCheckHook en_core_web_sm -- cgit 1.4.1 From ee9df2c1a838f2f6905dd34d03b36926c55929e2 Mon Sep 17 00:00:00 2001 From: Ilan Joselevich Date: Tue, 4 Apr 2023 15:52:36 +0300 Subject: vulkan-headers: add update script --- .../libraries/vulkan-headers/default.nix | 2 ++ .../development/libraries/vulkan-headers/update.sh | 23 ++++++++++++++++++++++ .../libraries/vulkan-loader/default.nix | 14 ++++++------- pkgs/development/tools/spirv-tools/default.nix | 15 +++++++------- .../tools/vulkan-validation-layers/default.nix | 14 ++++++------- .../graphics/vulkan-extension-layer/default.nix | 14 ++++++------- .../tools/graphics/vulkan-tools-lunarg/default.nix | 16 +++++++-------- pkgs/tools/graphics/vulkan-tools/default.nix | 17 +++++++--------- 8 files changed, 68 insertions(+), 47 deletions(-) create mode 100755 pkgs/development/libraries/vulkan-headers/update.sh diff --git a/pkgs/development/libraries/vulkan-headers/default.nix b/pkgs/development/libraries/vulkan-headers/default.nix index e34cf98d510..dc102c7e678 100644 --- a/pkgs/development/libraries/vulkan-headers/default.nix +++ b/pkgs/development/libraries/vulkan-headers/default.nix @@ -12,6 +12,8 @@ stdenv.mkDerivation rec { hash = "sha256-mzxT6s4ZHShB9tGyyf8jDtVWVEclHPYW+9oKy7v0bC4="; }; + passthru.updateScript = ./update.sh; + meta = with lib; { description = "Vulkan Header files and API registry"; homepage = "https://www.lunarg.com"; diff --git a/pkgs/development/libraries/vulkan-headers/update.sh b/pkgs/development/libraries/vulkan-headers/update.sh new file mode 100755 index 00000000000..9857af699e2 --- /dev/null +++ b/pkgs/development/libraries/vulkan-headers/update.sh @@ -0,0 +1,23 @@ +#!/usr/bin/env nix-shell +#!nix-shell -i bash -p curl jq nix-update + +set -euf -o pipefail + +NEW_VERSION=$(curl https://vulkan.lunarg.com/sdk/latest/linux.json | jq -r '.linux') + +VULKAN_SDK_PACKAGES=( + "vulkan-headers" + "spirv-headers" + "glslang" + "vulkan-loader" + "spirv-tools" + "spirv-cross" + "vulkan-validation-layers" + "vulkan-tools" + "vulkan-tools-lunarg" + "vulkan-extension-layer" +) + +for P in "${VULKAN_SDK_PACKAGES[@]}"; do + nix-update "$P" --version "$NEW_VERSION" --commit +done diff --git a/pkgs/development/libraries/vulkan-loader/default.nix b/pkgs/development/libraries/vulkan-loader/default.nix index b45bf4c66be..2c22211969d 100644 --- a/pkgs/development/libraries/vulkan-loader/default.nix +++ b/pkgs/development/libraries/vulkan-loader/default.nix @@ -5,13 +5,12 @@ stdenv.mkDerivation rec { pname = "vulkan-loader"; version = "1.3.239.0"; - src = (assert version == vulkan-headers.version; - fetchFromGitHub { - owner = "KhronosGroup"; - repo = "Vulkan-Loader"; - rev = "sdk-${version}"; - hash = "sha256-4oxynsbFLmsrpI5NEs7gI50g0XVcaUWuZRn6JKB/+hA="; - }); + src = fetchFromGitHub { + owner = "KhronosGroup"; + repo = "Vulkan-Loader"; + rev = "sdk-${version}"; + hash = "sha256-4oxynsbFLmsrpI5NEs7gI50g0XVcaUWuZRn6JKB/+hA="; + }; patches = [ ./fix-pkgconfig.patch ]; @@ -41,5 +40,6 @@ stdenv.mkDerivation rec { platforms = platforms.unix; license = licenses.asl20; maintainers = [ maintainers.ralith ]; + broken = (version != vulkan-headers.version); }; } diff --git a/pkgs/development/tools/spirv-tools/default.nix b/pkgs/development/tools/spirv-tools/default.nix index cc8b30ab18c..25253633593 100644 --- a/pkgs/development/tools/spirv-tools/default.nix +++ b/pkgs/development/tools/spirv-tools/default.nix @@ -4,14 +4,12 @@ stdenv.mkDerivation rec { pname = "spirv-tools"; version = "1.3.239.0"; - src = (assert version == spirv-headers.version; - fetchFromGitHub { - owner = "KhronosGroup"; - repo = "SPIRV-Tools"; - rev = "sdk-${version}"; - hash = "sha256-xLYykbCHb6OH5wUSgheAfReXhxZtI3RqBJ+PxDZx58s="; - } - ); + src = fetchFromGitHub { + owner = "KhronosGroup"; + repo = "SPIRV-Tools"; + rev = "sdk-${version}"; + hash = "sha256-xLYykbCHb6OH5wUSgheAfReXhxZtI3RqBJ+PxDZx58s="; + }; nativeBuildInputs = [ cmake python3 ]; @@ -43,5 +41,6 @@ stdenv.mkDerivation rec { license = licenses.asl20; platforms = platforms.unix; maintainers = [ maintainers.ralith ]; + broken = (version != spirv-headers.version); }; } diff --git a/pkgs/development/tools/vulkan-validation-layers/default.nix b/pkgs/development/tools/vulkan-validation-layers/default.nix index c2477ed02d5..65797d3c81c 100644 --- a/pkgs/development/tools/vulkan-validation-layers/default.nix +++ b/pkgs/development/tools/vulkan-validation-layers/default.nix @@ -30,13 +30,12 @@ stdenv.mkDerivation rec { outputs = ["out" "headers"]; outputInclude = "headers"; - src = (assert (lib.all (pkg: pkg.version == version) [vulkan-headers glslang spirv-tools spirv-headers]); - fetchFromGitHub { - owner = "KhronosGroup"; - repo = "Vulkan-ValidationLayers"; - rev = "sdk-${version}"; - hash = "sha256-k/A0TaERQAHSM0Fal2IOaRvTz3FV2Go/17P12FSBG1s="; - }); + src = fetchFromGitHub { + owner = "KhronosGroup"; + repo = "Vulkan-ValidationLayers"; + rev = "sdk-${version}"; + hash = "sha256-k/A0TaERQAHSM0Fal2IOaRvTz3FV2Go/17P12FSBG1s="; + }; nativeBuildInputs = [ cmake @@ -85,5 +84,6 @@ stdenv.mkDerivation rec { platforms = platforms.linux; license = licenses.asl20; maintainers = [ maintainers.ralith ]; + broken = (lib.all (pkg: pkg.version != version) [vulkan-headers glslang spirv-tools spirv-headers]); }; } diff --git a/pkgs/tools/graphics/vulkan-extension-layer/default.nix b/pkgs/tools/graphics/vulkan-extension-layer/default.nix index 63d763a893d..a398c4f0e98 100644 --- a/pkgs/tools/graphics/vulkan-extension-layer/default.nix +++ b/pkgs/tools/graphics/vulkan-extension-layer/default.nix @@ -4,13 +4,12 @@ stdenv.mkDerivation rec { pname = "vulkan-extension-layer"; version = "1.3.239.0"; - src = (assert version == vulkan-headers.version; - fetchFromGitHub { - owner = "KhronosGroup"; - repo = "Vulkan-ExtensionLayer"; - rev = "sdk-${version}"; - hash = "sha256-0t9HGyiYk3twYQLFCcWsrPiXY1dqjdCadjP4yMLoFwA="; - }); + src = fetchFromGitHub { + owner = "KhronosGroup"; + repo = "Vulkan-ExtensionLayer"; + rev = "sdk-${version}"; + hash = "sha256-0t9HGyiYk3twYQLFCcWsrPiXY1dqjdCadjP4yMLoFwA="; + }; nativeBuildInputs = [ cmake jq ]; @@ -41,5 +40,6 @@ stdenv.mkDerivation rec { platforms = platforms.linux; license = licenses.asl20; maintainers = with maintainers; [ expipiplus1 ]; + broken = (version != vulkan-headers.version); }; } diff --git a/pkgs/tools/graphics/vulkan-tools-lunarg/default.nix b/pkgs/tools/graphics/vulkan-tools-lunarg/default.nix index ec1862df9cd..c837e0d3061 100644 --- a/pkgs/tools/graphics/vulkan-tools-lunarg/default.nix +++ b/pkgs/tools/graphics/vulkan-tools-lunarg/default.nix @@ -27,14 +27,13 @@ stdenv.mkDerivation rec { # The version must match that in vulkan-headers version = "1.3.239.0"; - src = (assert version == vulkan-headers.version; - fetchFromGitHub { - owner = "LunarG"; - repo = "VulkanTools"; - rev = "sdk-${version}"; - hash = "sha256-zgkuTy9ccg8D/riA1CM/PnbXW1R0jWEINtcEVilETwk="; - fetchSubmodules = true; - }); + src = fetchFromGitHub { + owner = "LunarG"; + repo = "VulkanTools"; + rev = "sdk-${version}"; + hash = "sha256-zgkuTy9ccg8D/riA1CM/PnbXW1R0jWEINtcEVilETwk="; + fetchSubmodules = true; + }; nativeBuildInputs = [ cmake python3 jq which pkg-config ]; @@ -103,5 +102,6 @@ stdenv.mkDerivation rec { platforms = platforms.linux; license = licenses.asl20; maintainers = [ maintainers.expipiplus1 ]; + broken = (version != vulkan-headers.version); }; } diff --git a/pkgs/tools/graphics/vulkan-tools/default.nix b/pkgs/tools/graphics/vulkan-tools/default.nix index da84038fd0f..b3a2bca200e 100644 --- a/pkgs/tools/graphics/vulkan-tools/default.nix +++ b/pkgs/tools/graphics/vulkan-tools/default.nix @@ -23,16 +23,12 @@ stdenv.mkDerivation rec { pname = "vulkan-tools"; version = "1.3.239.0"; - # It's not strictly necessary to have matching versions here, however - # since we're using the SDK version we may as well be consistent with - # the rest of nixpkgs. - src = (assert (version) == vulkan-headers.version; - fetchFromGitHub { - owner = "KhronosGroup"; - repo = "Vulkan-Tools"; - rev = "sdk-${version}"; - hash = "sha256-DQGwxTZzS0eATKodMpeJaQdXADvomiqPOspDYoPFZjI="; - }); + src = fetchFromGitHub { + owner = "KhronosGroup"; + repo = "Vulkan-Tools"; + rev = "sdk-${version}"; + hash = "sha256-DQGwxTZzS0eATKodMpeJaQdXADvomiqPOspDYoPFZjI="; + }; nativeBuildInputs = [ cmake @@ -107,5 +103,6 @@ stdenv.mkDerivation rec { platforms = platforms.unix; license = licenses.asl20; maintainers = [ maintainers.ralith ]; + broken = (version != vulkan-headers.version); }; } -- cgit 1.4.1 From 44fc252df914ea1ca32af4bfb3ad327a489e2824 Mon Sep 17 00:00:00 2001 From: Malo Bourgon Date: Mon, 3 Apr 2023 11:32:59 -0700 Subject: signalbackup-tools: 20230329 -> 20230404 Diff: https://github.com/bepaald/signalbackup-tools/compare/20230329...20230404 --- .../networking/instant-messengers/signalbackup-tools/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/networking/instant-messengers/signalbackup-tools/default.nix b/pkgs/applications/networking/instant-messengers/signalbackup-tools/default.nix index 0abb3ec0db0..48220b18a30 100644 --- a/pkgs/applications/networking/instant-messengers/signalbackup-tools/default.nix +++ b/pkgs/applications/networking/instant-messengers/signalbackup-tools/default.nix @@ -2,13 +2,13 @@ (if stdenv.isDarwin then darwin.apple_sdk_11_0.clang14Stdenv else stdenv).mkDerivation rec { pname = "signalbackup-tools"; - version = "20230329"; + version = "20230404"; src = fetchFromGitHub { owner = "bepaald"; repo = pname; rev = version; - hash = "sha256-i0slUBtJE3gYIKO7IxA0rDA4OOZYWYswuLOvece7Ejk="; + hash = "sha256-uDQeXEG3xTIXdzj9LaI+p5cLYy9nR2w7QTiZIJlZyQw="; }; postPatch = '' -- cgit 1.4.1 From 94a43ef878363525c920c39088d7a09808970be1 Mon Sep 17 00:00:00 2001 From: Mario Rodas Date: Wed, 5 Apr 2023 04:20:00 +0000 Subject: python310Packages.nvchecker: 2.10 -> 2.11 https://github.com/lilydjwg/nvchecker/releases/tag/v2.11 --- pkgs/development/python-modules/nvchecker/default.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pkgs/development/python-modules/nvchecker/default.nix b/pkgs/development/python-modules/nvchecker/default.nix index c6ab97d9c8f..0053b81d9a0 100644 --- a/pkgs/development/python-modules/nvchecker/default.nix +++ b/pkgs/development/python-modules/nvchecker/default.nix @@ -1,6 +1,6 @@ { lib , aiohttp -, appdirs +, platformdirs , buildPythonPackage , docutils , fetchFromGitHub @@ -20,8 +20,8 @@ buildPythonPackage rec { pname = "nvchecker"; - version = "2.10"; - format = "setuptools"; + version = "2.11"; + format = "pyproject"; disabled = pythonOlder "3.7"; @@ -29,7 +29,7 @@ buildPythonPackage rec { owner = "lilydjwg"; repo = pname; rev = "v${version}"; - hash = "sha256-NxHeHT56JCu8Gn/B4IcvPtgGcWH8V9CUQkJeKFcGk/Q="; + hash = "sha256-b/EGn26gTpnYuy2h6shnJI1dRwhl41eKJHzDJoFG1YI="; }; nativeBuildInputs = [ @@ -39,7 +39,7 @@ buildPythonPackage rec { propagatedBuildInputs = [ aiohttp - appdirs + platformdirs packaging pycurl setuptools -- cgit 1.4.1 From 4d39b37f6b5a242063a57fad8a5a56c34098f087 Mon Sep 17 00:00:00 2001 From: Mario Rodas Date: Wed, 5 Apr 2023 04:20:00 +0000 Subject: docker-slim: 1.40.0 -> 1.40.1 https://github.com/slimtoolkit/slim/releases/tag/1.40.1 --- pkgs/applications/virtualization/docker-slim/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/virtualization/docker-slim/default.nix b/pkgs/applications/virtualization/docker-slim/default.nix index bbefed66fae..47cfa4d96ce 100644 --- a/pkgs/applications/virtualization/docker-slim/default.nix +++ b/pkgs/applications/virtualization/docker-slim/default.nix @@ -2,16 +2,16 @@ buildGoModule rec { pname = "docker-slim"; - version = "1.40.0"; + version = "1.40.1"; src = fetchFromGitHub { owner = "slimtoolkit"; repo = "slim"; rev = version; - sha256 = "sha256-KbwkZIGkAdzPPo5CrWKnKzFsD8OUONk6JWo1wzwti3s="; + hash = "sha256-ec5Qedt6NrcWZilcN9dhosAN59orgS2xxjXWO9XDxVE="; }; - vendorSha256 = null; + vendorHash = null; subPackages = [ "cmd/slim" "cmd/slim-sensor" ]; -- cgit 1.4.1 From 6726464b6a64e6f4d836efec8f3a8ce023085953 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Wed, 5 Apr 2023 23:54:37 +0200 Subject: python312: 3.12.0a6 -> 3.12.0a7 https://docs.python.org/3.12/whatsnew/changelog.html#python-3-12-0-alpha-7 --- pkgs/development/interpreters/python/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/interpreters/python/default.nix b/pkgs/development/interpreters/python/default.nix index 70fd5c240df..dfbbdd74c71 100644 --- a/pkgs/development/interpreters/python/default.nix +++ b/pkgs/development/interpreters/python/default.nix @@ -197,9 +197,9 @@ in { major = "3"; minor = "12"; patch = "0"; - suffix = "a6"; + suffix = "a7"; }; - hash = "sha256-KYRAJSxLa04SDgFMFdcp6vird5MA3Mph1CLFN+ToXso="; + hash = "sha256-oZrk3Fr+vf9eExI0bxYAYqEeDb1fnmimqYHqN7IWCOE="; inherit (darwin) configd; inherit passthruFun; }; -- cgit 1.4.1 From 9a7b9af393a29a056daf9a6892e3369b76fd4590 Mon Sep 17 00:00:00 2001 From: Batuhan Apaydın Date: Tue, 4 Apr 2023 00:16:27 +0300 Subject: bom: 0.4.1 -> 0.5.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Batuhan Apaydın --- pkgs/tools/admin/bom/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/admin/bom/default.nix b/pkgs/tools/admin/bom/default.nix index f80c153fb44..4a22212e8c5 100644 --- a/pkgs/tools/admin/bom/default.nix +++ b/pkgs/tools/admin/bom/default.nix @@ -6,13 +6,13 @@ buildGoModule rec { pname = "bom"; - version = "0.4.1"; + version = "0.5.1"; src = fetchFromGitHub { owner = "kubernetes-sigs"; repo = pname; rev = "v${version}"; - sha256 = "sha256-HgBpEIUaeVCMkbu1KtBh0LGZQGFLyj3rF0cYDt8vDRk="; + sha256 = "sha256-/a+0kQn2m5JFxhlgs1pUeyWwwqVFrRbYCyUfcLsNGz8="; # populate values that require us to use git. By doing this in postFetch we # can delete .git afterwards and maintain better reproducibility of the src. leaveDotGit = true; @@ -25,7 +25,7 @@ buildGoModule rec { ''; }; - vendorSha256 = "sha256-m5IK/+mbwGSX8tQUMED8+H52o89QOJk8mhUXumZm+wo="; + vendorSha256 = "sha256-+dFHVIE3YFQVgYwEDtUWJAfHSnBZox8qejJtuIMPS2I="; nativeBuildInputs = [ installShellFiles ]; -- cgit 1.4.1 From be1280ceea8d4b3cd699d7b65007c3aa0898a329 Mon Sep 17 00:00:00 2001 From: Colin Date: Wed, 15 Mar 2023 03:20:53 +0000 Subject: browserpass: support cross compilation by only conditionally running tests tests were previously run during the buildPhase via the default `make` target: this patch moves that testing into the check phase and sets `doCheck` appropriately. Co-authored by: Nick Cao --- pkgs/tools/security/browserpass/default.nix | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/security/browserpass/default.nix b/pkgs/tools/security/browserpass/default.nix index 31a0bd63db0..83f34e2f066 100644 --- a/pkgs/tools/security/browserpass/default.nix +++ b/pkgs/tools/security/browserpass/default.nix @@ -1,4 +1,11 @@ -{ lib, buildGoModule, fetchFromGitHub, makeWrapper, gnupg }: +{ lib +, stdenv +, buildGoModule +, fetchFromGitHub +, gnupg +, makeWrapper +}: + buildGoModule rec { pname = "browserpass"; version = "3.1.0"; @@ -14,7 +21,7 @@ buildGoModule rec { vendorHash = "sha256-CjuH4ANP2bJDeA+o+1j+obbtk5/NVLet/OFS3Rms4r0="; - doCheck = false; + doCheck = stdenv.buildPlatform.canExecute stdenv.hostPlatform; postPatch = '' # Because this Makefile will be installed to be used by the user, patch @@ -32,9 +39,11 @@ buildGoModule rec { ''; buildPhase = '' - make + make browserpass ''; + checkTarget = "test"; + installPhase = '' make install -- cgit 1.4.1 From 7d574da9c96af0c08e6b70d004b9c9d87818939b Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Thu, 6 Apr 2023 16:49:38 +0000 Subject: rbspy: 0.16.0 -> 0.17.0 --- pkgs/development/tools/rbspy/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/tools/rbspy/default.nix b/pkgs/development/tools/rbspy/default.nix index 0e66f21a5cc..d54d52e139e 100644 --- a/pkgs/development/tools/rbspy/default.nix +++ b/pkgs/development/tools/rbspy/default.nix @@ -10,16 +10,16 @@ rustPlatform.buildRustPackage rec { pname = "rbspy"; - version = "0.16.0"; + version = "0.17.0"; src = fetchFromGitHub { owner = pname; repo = pname; rev = "v${version}"; - hash = "sha256-yM3bE79flvFSZvpkHXhhEh1MJrSSJzqZcX9aVRmz1ew="; + hash = "sha256-NshDX7sbXnmK6k/EDD5thUcNKvSV4bNdJ5N2hNLlsnA="; }; - cargoHash = "sha256-qvx5zPEIwvh2AIFCGNbVMNIRFtVjSLR9+exbSeQ9oXI="; + cargoHash = "sha256-JzspNL4T28awa/1Uajw0gLM3bYyUBYTjnfCXn9qG7SY="; doCheck = true; # The current implementation of rbspy fails to detect the version of ruby -- cgit 1.4.1 From 738606ed0a2b8d2cf02a9b07fdf07aed5e3cf188 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Thu, 6 Apr 2023 21:39:04 +0000 Subject: php80Extensions.blackfire: 1.86.5 -> 1.86.6 --- .../development/tools/misc/blackfire/php-probe.nix | 32 +++++++++++----------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/pkgs/development/tools/misc/blackfire/php-probe.nix b/pkgs/development/tools/misc/blackfire/php-probe.nix index 61ec33c7a16..e44e61da339 100644 --- a/pkgs/development/tools/misc/blackfire/php-probe.nix +++ b/pkgs/development/tools/misc/blackfire/php-probe.nix @@ -13,47 +13,47 @@ let phpMajor = lib.versions.majorMinor php.version; - version = "1.86.5"; + version = "1.86.6"; hashes = { "x86_64-linux" = { system = "amd64"; sha256 = { - "8.0" = "N+SRigtolwNjxdH5/jWazPq7oBh2dxoT6tNBugyVdL0="; - "8.1" = "MCxZcIduGTbGJsUR16wwUlxc1CbeSAIvNTfI76WQUrs="; - "8.2" = "OoQt4zAPUQTPCLnNxnc0/e0osjo0eDP7I6sn2n90ZgQ="; + "8.0" = "DbaawNIl1ZbSaITFUZE0GC0RgrJrjn0Wlb+o3OMhsAc="; + "8.1" = "VM7RljXwdGgF2ZVvsJ00YIGVfM5JqdRNrALSw+pMJks="; + "8.2" = "hrFNkAX4Am+78xxFfoSWn+bUZIklhb5uKRo1rGWumOA="; }; }; "i686-linux" = { system = "i386"; sha256 = { - "8.0" = "Vv/rqRvt9ganet4z84rN2uJ6LCvn8rop9jFQdlnYMB8="; - "8.1" = "lFRY2yWOuWY4Zu3Y7FYbvTSmpZl4epgPKzHffncwXpk="; - "8.2" = "VSRaPib7RfA5W0FG3JgaXTlGTnOLKaw3tz8p/Mkmpx8="; + "8.0" = "FdM+HsVytE5XdjlXDV6mrdylLDQdzCYjxkFrqWwTMbI="; + "8.1" = "Z6RZShh/Gcu9qLcj/yKJu7qy0RnA+nNFwz1IXCEZlKg="; + "8.2" = "mytoRBpSCR4Gibpi7AptgbTq+axBXlpfag9LAnVzUM4="; }; }; "aarch64-linux" = { system = "arm64"; sha256 = { - "8.0" = "XvLZrfYbyiAV0q/S3ANcafyLGQWkcJuRa1RUWSpaNH8="; - "8.1" = "msezMA7yhC16ATxN7c4xDdy6PrZ7HVito4x1L3mzh70="; - "8.2" = "Q7LTst4OBPrQ91vI/V9eN9MHo0qxTD1ZCWMFeYXT21s="; + "8.0" = "6sl3RXgBfXlJpmUDRGCmpLRKSmf1dy0vbRVHFnl7TyI="; + "8.1" = "hDv6G2L+fJylaqmOle0ND9iO28BA2ZPDfDlIhL2gqBQ="; + "8.2" = "ASm65Jwsc2x6R0sfWHyDWTw/FTeQap+SckG4Jdg2Zn8="; }; }; "aarch64-darwin" = { system = "arm64"; sha256 = { - "8.0" = "OSnjO2nmcqy+vytRNWFYMi8Y20n7AwAwmhDBS7K5MBQ="; - "8.1" = "VyPY1Gj6q4PpXDLPS9ARt9LUmYIG3hsGlEJjh9944Hc="; - "8.2" = "M+8Lwx2nzlxLEP+F1vcjB9HgInsz5vOc3AIEzQHrC2I="; + "8.0" = "zEAd+8v7j1mFOIMc2dThOY7e1XKHyMOx9dYWnJlJWAE="; + "8.1" = "ZaGwlLcBUSwGoAypw42rIkeXaeVegh05xwVMXfaAtgg="; + "8.2" = "gz8eKNLHlje3gUiXSIyE2csnOq9blS3GWZscTZbA9W4="; }; }; "x86_64-darwin" = { system = "amd64"; sha256 = { - "8.0" = "1xRcZic2XQLFkBhh2H9ZgCpG+1xq4oqhef7qEjhSeLQ="; - "8.1" = "MmI3TjvmLymRxo/Iy9s49A6le+pZiiflGq+CfU/xmW0="; - "8.2" = "n0Cy59tVUO70oTidB9lIPUXMkQ8ndzYHtYfXuQYQ2Mc="; + "8.0" = "yUcxwya/oTmu0acbuhe2ft2pyKroeWHQMouE2ch94EM="; + "8.1" = "u14WbwGRsDDhd6oZsvGKOgXpTQw3KMVeV1i9wl/vI+I="; + "8.2" = "oYYgo2qSkCuwNjUrJdhFziWyyWfwm1g+ZyqhudDuuoA="; }; }; }; -- cgit 1.4.1 From 111bb41f957438ebee975b30a888237efa6c6ac2 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Thu, 6 Apr 2023 23:18:12 +0000 Subject: pluto: 5.15.1 -> 5.16.0 --- pkgs/applications/networking/cluster/pluto/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/networking/cluster/pluto/default.nix b/pkgs/applications/networking/cluster/pluto/default.nix index 768a01b3de8..5b75fc6d59b 100644 --- a/pkgs/applications/networking/cluster/pluto/default.nix +++ b/pkgs/applications/networking/cluster/pluto/default.nix @@ -2,13 +2,13 @@ buildGoModule rec { pname = "pluto"; - version = "5.15.1"; + version = "5.16.0"; src = fetchFromGitHub { owner = "FairwindsOps"; repo = "pluto"; rev = "v${version}"; - sha256 = "sha256-qCWKmn0buITZo86hQncXWuEDQq0rITrCz/aRVR1+Zt4="; + sha256 = "sha256-M5zTnzuei/sECvRe89Dau72iIUuMtaLJyYTGeEF4GPo="; }; vendorHash = "sha256-3wtE2Cz+AVF+zfsLH/+6KMHPihYcuYsrzTguHNnwT+U="; -- cgit 1.4.1 From 25f427c739d12cbb2a0e09754136d0412de7e7d4 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Thu, 6 Apr 2023 23:34:40 +0000 Subject: whatsapp-for-linux: 1.6.1 -> 1.6.2 --- .../networking/instant-messengers/whatsapp-for-linux/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/networking/instant-messengers/whatsapp-for-linux/default.nix b/pkgs/applications/networking/instant-messengers/whatsapp-for-linux/default.nix index 00f413b3d68..32eaf8ada5c 100644 --- a/pkgs/applications/networking/instant-messengers/whatsapp-for-linux/default.nix +++ b/pkgs/applications/networking/instant-messengers/whatsapp-for-linux/default.nix @@ -27,13 +27,13 @@ stdenv.mkDerivation rec { pname = "whatsapp-for-linux"; - version = "1.6.1"; + version = "1.6.2"; src = fetchFromGitHub { owner = "eneshecan"; repo = pname; rev = "v${version}"; - sha256 = "sha256-oghO6DNVJqWFHRjUAkqfnoWc7qHJnK3givVLq6xGJeo="; + sha256 = "sha256-odE5syAFasGosc1WMU/pvQtk3YxuCci1YevZqNKfzYw="; }; nativeBuildInputs = [ -- cgit 1.4.1 From 82d4de8ecf4baf5621e83ac7a7caa5ea3c76a430 Mon Sep 17 00:00:00 2001 From: Adam Joseph Date: Fri, 7 Apr 2023 00:45:44 -0700 Subject: emacs: mark meta.broken if cross --- pkgs/applications/editors/emacs/generic.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/applications/editors/emacs/generic.nix b/pkgs/applications/editors/emacs/generic.nix index 278621c8fd3..e7bfadfaf3f 100644 --- a/pkgs/applications/editors/emacs/generic.nix +++ b/pkgs/applications/editors/emacs/generic.nix @@ -256,6 +256,7 @@ assert withTreeSitter -> tree-sitter != null; license = licenses.gpl3Plus; maintainers = with maintainers; [ lovek323 jwiegley adisbladis matthewbauer atemu ]; platforms = if withMacport then platforms.darwin else platforms.all; + broken = !(stdenv.buildPlatform.canExecute stdenv.hostPlatform); longDescription = '' GNU Emacs is an extensible, customizable text editor—and more. At its -- cgit 1.4.1 From 7dfe64b5946a26813c2764e3931d36a73c4a7fc1 Mon Sep 17 00:00:00 2001 From: Bobby Rong Date: Fri, 7 Apr 2023 18:47:23 +0800 Subject: cinnamon.cinnamon-desktop: 5.6.1 -> 5.6.2 https://github.com/linuxmint/cinnamon-desktop/compare/5.6.1...5.6.2 --- pkgs/desktops/cinnamon/cinnamon-desktop/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/desktops/cinnamon/cinnamon-desktop/default.nix b/pkgs/desktops/cinnamon/cinnamon-desktop/default.nix index c9c718fb7da..f5dfa0e3693 100644 --- a/pkgs/desktops/cinnamon/cinnamon-desktop/default.nix +++ b/pkgs/desktops/cinnamon/cinnamon-desktop/default.nix @@ -18,13 +18,13 @@ stdenv.mkDerivation rec { pname = "cinnamon-desktop"; - version = "5.6.1"; + version = "5.6.2"; src = fetchFromGitHub { owner = "linuxmint"; repo = pname; rev = version; - hash = "sha256-h2Jl/4SreniZtxziDwM0iwHXgGBrnHu8NLkIX7VGP18="; + hash = "sha256-X4jf7+QFjoev1K6ywxN0n9MYUv7xI1/su+hHeesG02Y="; }; outputs = [ "out" "dev" ]; -- cgit 1.4.1 From 1311d342bb2386f592767b9848b9a0c4ae37d3e3 Mon Sep 17 00:00:00 2001 From: Aaron Jheng Date: Fri, 7 Apr 2023 19:38:28 +0800 Subject: txtpbfmt: unstable-2023-01-18 -> unstable-2023-03-28 --- pkgs/development/tools/txtpbfmt/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/development/tools/txtpbfmt/default.nix b/pkgs/development/tools/txtpbfmt/default.nix index a4e26cfb4cb..757e1e560be 100644 --- a/pkgs/development/tools/txtpbfmt/default.nix +++ b/pkgs/development/tools/txtpbfmt/default.nix @@ -2,16 +2,16 @@ buildGoModule rec { pname = "txtpbfmt"; - version = "unstable-2023-01-18"; + version = "unstable-2023-03-28"; src = fetchFromGitHub { owner = "protocolbuffers"; repo = "txtpbfmt"; - rev = "fcc1fa29197ce17bc56812f84f5ff311f767fcd1"; - hash = "sha256-U+Kk2tQw+rJX7Xa8b5Hd7x0xY/6PN6TTYsLJkpB1Osg="; + rev = "3462fbc510c07c0844c2e370719c9c18302f476f"; + hash = "sha256-vvkZWDGrId164K6jhMXNa5BtOxQSgFDhMACGAH+9F08="; }; - vendorHash = "sha256-shjcQ3DJQYeAW0bX3OuF/esgIvrQ4yuLEa677iFV82g="; + vendorHash = "sha256-IdD+R8plU4/e9fQaGSM5hJxyMECb6hED0Qg8afwHKbY="; ldflags = [ "-s" "-w" ]; -- cgit 1.4.1 From 8302e0731dc6acaf5d1cad7388925efbcc9c9238 Mon Sep 17 00:00:00 2001 From: kilianar Date: Fri, 7 Apr 2023 14:25:06 +0200 Subject: fava: 1.24.3 -> 1.24.4 https://github.com/beancount/fava/releases/tag/v1.24.4 --- pkgs/applications/office/fava/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/office/fava/default.nix b/pkgs/applications/office/fava/default.nix index 0e24803028d..cbbe40f08e4 100644 --- a/pkgs/applications/office/fava/default.nix +++ b/pkgs/applications/office/fava/default.nix @@ -2,12 +2,12 @@ python3.pkgs.buildPythonApplication rec { pname = "fava"; - version = "1.24.3"; + version = "1.24.4"; format = "pyproject"; src = python3.pkgs.fetchPypi { inherit pname version; - hash = "sha256-eK0JMwu+WN3s6isCt124Cu9fjtL7Lig3+mice4FkwwU="; + hash = "sha256-klRPe6NQMn3HVayfCGc05mB0afi3x4Wlj3EI0XdSkMc="; }; nativeBuildInputs = with python3.pkgs; [ setuptools-scm ]; -- cgit 1.4.1 From e6c5f4cff886a131b74be494405e0d6a4c740518 Mon Sep 17 00:00:00 2001 From: Sandro Jäckel Date: Fri, 7 Apr 2023 16:46:39 +0200 Subject: telegram-desktop: rename from tdesktop --- .../telegram/tdesktop/default.nix | 216 --------------------- .../telegram/tdesktop/tg_owt.nix | 61 ------ .../instant-messengers/telegram/tdesktop/update.py | 73 ------- .../telegram/telegram-desktop/default.nix | 215 ++++++++++++++++++++ .../telegram/telegram-desktop/tg_owt.nix | 61 ++++++ .../telegram/telegram-desktop/update.py | 73 +++++++ pkgs/top-level/aliases.nix | 1 + pkgs/top-level/all-packages.nix | 4 +- 8 files changed, 352 insertions(+), 352 deletions(-) delete mode 100644 pkgs/applications/networking/instant-messengers/telegram/tdesktop/default.nix delete mode 100644 pkgs/applications/networking/instant-messengers/telegram/tdesktop/tg_owt.nix delete mode 100755 pkgs/applications/networking/instant-messengers/telegram/tdesktop/update.py create mode 100644 pkgs/applications/networking/instant-messengers/telegram/telegram-desktop/default.nix create mode 100644 pkgs/applications/networking/instant-messengers/telegram/telegram-desktop/tg_owt.nix create mode 100755 pkgs/applications/networking/instant-messengers/telegram/telegram-desktop/update.py diff --git a/pkgs/applications/networking/instant-messengers/telegram/tdesktop/default.nix b/pkgs/applications/networking/instant-messengers/telegram/tdesktop/default.nix deleted file mode 100644 index 6b47401c558..00000000000 --- a/pkgs/applications/networking/instant-messengers/telegram/tdesktop/default.nix +++ /dev/null @@ -1,216 +0,0 @@ -{ lib -, fetchFromGitHub -, fetchpatch -, fetchurl -, callPackage -, pkg-config -, cmake -, ninja -, python3 -, wrapGAppsHook -, wrapQtAppsHook -, extra-cmake-modules -, qtbase -, qtwayland -, qtsvg -, qtimageformats -, qt5compat -, gtk3 -, libdbusmenu -, lz4 -, xxHash -, ffmpeg -, openalSoft -, minizip -, libopus -, alsa-lib -, libpulseaudio -, pipewire -, range-v3 -, tl-expected -, hunspell -, glibmm_2_68 -, webkitgtk_4_1 -, jemalloc -, rnnoise -, protobuf -, abseil-cpp - # Transitive dependencies: -, util-linuxMinimal -, pcre -, libpthreadstubs -, libXdamage -, libXdmcp -, libselinux -, libsepol -, libepoxy -, at-spi2-core -, libXtst -, libthai -, libdatrie -, xdg-utils -, xorg -, libsysprof-capture -, libpsl -, brotli -, microsoft_gsl -, rlottie -, stdenv -}: - -# Main reference: -# - This package was originally based on the Arch package but all patches are now upstreamed: -# https://git.archlinux.org/svntogit/community.git/tree/trunk/PKGBUILD?h=packages/telegram-desktop -# Other references that could be useful: -# - https://git.alpinelinux.org/aports/tree/testing/telegram-desktop/APKBUILD -# - https://github.com/void-linux/void-packages/blob/master/srcpkgs/telegram-desktop/template - -let - tg_owt = callPackage ./tg_owt.nix { - abseil-cpp = abseil-cpp.override { - cxxStandard = "20"; - }; - }; - glibmm = glibmm_2_68.overrideAttrs (_: { - version = "2.76.0"; - src = fetchurl { - url = "mirror://gnome/sources/glibmm/2.76/glibmm-2.76.0.tar.xz"; - sha256 = "sha256-hjfYDOq9lP3dbkiXCggqJkVY1KuCaE4V/8h+fvNGKrI="; - }; - }); -in -stdenv.mkDerivation rec { - pname = "telegram-desktop"; - version = "4.7.1"; - # Note: Update via pkgs/applications/networking/instant-messengers/telegram/tdesktop/update.py - - # Telegram-Desktop with submodules - src = fetchFromGitHub { - owner = "telegramdesktop"; - repo = "tdesktop"; - rev = "v${version}"; - fetchSubmodules = true; - sha256 = "1qv8029xzp2j1j58b1lkw3q53cwaaazvp2la80mfbjv348c29iyk"; - }; - - patches = [ - # the generated .desktop files contains references to unwrapped tdesktop, breaking scheme handling - # and the scheme handler is already registered in the packaged .desktop file, rendering this unnecessary - # see https://github.com/NixOS/nixpkgs/issues/218370 - (fetchpatch { - url = "https://salsa.debian.org/debian/telegram-desktop/-/raw/09b363ed5a4fcd8ecc3282b9bfede5fbb83f97ef/debian/patches/Disable-register-custom-scheme.patch"; - hash = "sha256-B8X5lnSpwwdp1HlvyXJWQPybEN+plOwimdV5gW6aY2Y="; - }) - ]; - - postPatch = '' - substituteInPlace Telegram/ThirdParty/libtgvoip/os/linux/AudioInputALSA.cpp \ - --replace '"libasound.so.2"' '"${alsa-lib}/lib/libasound.so.2"' - substituteInPlace Telegram/ThirdParty/libtgvoip/os/linux/AudioOutputALSA.cpp \ - --replace '"libasound.so.2"' '"${alsa-lib}/lib/libasound.so.2"' - substituteInPlace Telegram/ThirdParty/libtgvoip/os/linux/AudioPulse.cpp \ - --replace '"libpulse.so.0"' '"${libpulseaudio}/lib/libpulse.so.0"' - substituteInPlace Telegram/lib_webview/webview/platform/linux/webview_linux_webkit_gtk.cpp \ - --replace '"libwebkit2gtk-4.1.so.0"' '"${webkitgtk_4_1}/lib/libwebkit2gtk-4.1.so.0"' - ''; - - # We want to run wrapProgram manually (with additional parameters) - dontWrapGApps = true; - dontWrapQtApps = true; - - nativeBuildInputs = [ - pkg-config - cmake - ninja - python3 - wrapGAppsHook - wrapQtAppsHook - extra-cmake-modules - ]; - - buildInputs = [ - qtbase - qtwayland - qtsvg - qtimageformats - qt5compat - gtk3 - libdbusmenu - lz4 - xxHash - ffmpeg - openalSoft - minizip - libopus - alsa-lib - libpulseaudio - pipewire - range-v3 - tl-expected - hunspell - glibmm - webkitgtk_4_1 - jemalloc - rnnoise - protobuf - tg_owt - # Transitive dependencies: - util-linuxMinimal # Required for libmount thus not nativeBuildInputs. - pcre - libpthreadstubs - libXdamage - libXdmcp - libselinux - libsepol - libepoxy - at-spi2-core - libXtst - libthai - libdatrie - libsysprof-capture - libpsl - brotli - microsoft_gsl - rlottie - ]; - - cmakeFlags = [ - "-Ddisable_autoupdate=ON" - # We're allowed to used the API ID of the Snap package: - "-DTDESKTOP_API_ID=611335" - "-DTDESKTOP_API_HASH=d524b414d21f4d37f08684c1df41ac9c" - # See: https://github.com/NixOS/nixpkgs/pull/130827#issuecomment-885212649 - "-DDESKTOP_APP_USE_PACKAGED_FONTS=OFF" - ]; - - postFixup = '' - # This is necessary to run Telegram in a pure environment. - # We also use gappsWrapperArgs from wrapGAppsHook. - wrapProgram $out/bin/telegram-desktop \ - "''${gappsWrapperArgs[@]}" \ - "''${qtWrapperArgs[@]}" \ - --prefix LD_LIBRARY_PATH : "${xorg.libXcursor}/lib" \ - --suffix PATH : ${lib.makeBinPath [ xdg-utils ]} \ - --set XDG_RUNTIME_DIR "XDG-RUNTIME-DIR" - sed -i $out/bin/telegram-desktop \ - -e "s,'XDG-RUNTIME-DIR',\"\''${XDG_RUNTIME_DIR:-/run/user/\$(id --user)}\"," - ''; - - passthru = { - inherit tg_owt; - updateScript = ./update.py; - }; - - meta = with lib; { - description = "Telegram Desktop messaging app"; - longDescription = '' - Desktop client for the Telegram messenger, based on the Telegram API and - the MTProto secure protocol. - ''; - license = licenses.gpl3Only; - platforms = platforms.linux; - homepage = "https://desktop.telegram.org/"; - changelog = "https://github.com/telegramdesktop/tdesktop/releases/tag/v${version}"; - maintainers = with maintainers; [ nickcao ]; - }; -} diff --git a/pkgs/applications/networking/instant-messengers/telegram/tdesktop/tg_owt.nix b/pkgs/applications/networking/instant-messengers/telegram/tdesktop/tg_owt.nix deleted file mode 100644 index 6e57a81dc29..00000000000 --- a/pkgs/applications/networking/instant-messengers/telegram/tdesktop/tg_owt.nix +++ /dev/null @@ -1,61 +0,0 @@ -{ lib, stdenv, fetchFromGitHub, fetchpatch -, pkg-config, cmake, ninja, yasm -, libjpeg, openssl_1_1, libopus, ffmpeg, alsa-lib, libpulseaudio, protobuf -, openh264, usrsctp, libevent, libvpx -, libX11, libXtst, libXcomposite, libXdamage, libXext, libXrender, libXrandr, libXi -, glib, abseil-cpp, pcre, util-linuxMinimal, libselinux, libsepol, pipewire -, mesa, valgrind, libepoxy, libglvnd -}: - -stdenv.mkDerivation { - pname = "tg_owt"; - version = "unstable-2023-03-14"; - - src = fetchFromGitHub { - owner = "desktop-app"; - repo = "tg_owt"; - rev = "1a18da2ed4d5ce134e984d1586b915738e0da257"; - sha256 = "18srnl688ng8grfpmgcjpdyr4cw87yjdvyw94b2jjq5jmnq9n3a3"; - fetchSubmodules = true; - }; - - outputs = [ "out" "dev" ]; - - nativeBuildInputs = [ pkg-config cmake ninja yasm ]; - - buildInputs = [ - libjpeg libopus ffmpeg alsa-lib libpulseaudio protobuf - openh264 usrsctp libevent libvpx - libX11 libXtst libXcomposite libXdamage libXext libXrender libXrandr libXi - glib abseil-cpp pcre util-linuxMinimal libselinux libsepol pipewire - mesa libepoxy libglvnd - ]; - - patches = [ - # GCC 12 Fix - (fetchpatch { - url = "https://github.com/desktop-app/tg_owt/pull/101/commits/86d2bcd7afb8706663d29e30f65863de5a626142.patch"; - hash = "sha256-iWS0mB8R0vqPU/0qf6Ax54UCAKYDVCPac2mi/VHbFm0="; - }) - # additional fix for GCC 12 + musl - (fetchpatch { - url = "https://git.alpinelinux.org/aports/plain/community/tg_owt/gcc12.patch?id=8120df03fa3b6db5b8ff92c7a52b680290ad6e20"; - hash = "sha256-ikgxUH1e7pz0n0pKUemrPXXa4UkECX+w467M9gU68zs="; - }) - ]; - - cmakeFlags = [ - # Building as a shared library isn't officially supported and may break at any time. - "-DBUILD_SHARED_LIBS=OFF" - ]; - - propagatedBuildInputs = [ - # Required for linking downstream binaries. - abseil-cpp openh264 usrsctp libevent libvpx openssl_1_1 - ]; - - meta = with lib; { - license = licenses.bsd3; - maintainers = with maintainers; [ oxalica ]; - }; -} diff --git a/pkgs/applications/networking/instant-messengers/telegram/tdesktop/update.py b/pkgs/applications/networking/instant-messengers/telegram/tdesktop/update.py deleted file mode 100755 index 89e40218623..00000000000 --- a/pkgs/applications/networking/instant-messengers/telegram/tdesktop/update.py +++ /dev/null @@ -1,73 +0,0 @@ -#! /usr/bin/env nix-shell -#! nix-shell -i python3 -p python3 nix nix-prefetch-git - -import fileinput -import json -import os -import re -import subprocess - -from datetime import datetime -from urllib.request import urlopen, Request - - -DIR = os.path.dirname(os.path.abspath(__file__)) -HEADERS = {'Accept': 'application/vnd.github.v3+json'} - - -def github_api_request(endpoint): - base_url = 'https://api.github.com/' - request = Request(base_url + endpoint, headers=HEADERS) - with urlopen(request) as http_response: - return json.loads(http_response.read().decode('utf-8')) - - -def get_commit_date(repo, sha): - url = f'https://api.github.com/repos/{repo}/commits/{sha}' - request = Request(url, headers=HEADERS) - with urlopen(request) as http_response: - commit = json.loads(http_response.read().decode()) - date = commit['commit']['committer']['date'].rstrip('Z') - date = datetime.fromisoformat(date).date().isoformat() - return 'unstable-' + date - - -def nix_prefetch_git(url, rev): - """Prefetches the requested Git revision (incl. submodules) of the given repository URL.""" - print(f'nix-prefetch-git {url} {rev}') - out = subprocess.check_output(['nix-prefetch-git', '--quiet', '--url', url, '--rev', rev, '--fetch-submodules']) - return json.loads(out)['sha256'] - - -def nix_prefetch_url(url, unpack=False): - """Prefetches the content of the given URL.""" - print(f'nix-prefetch-url {url}') - options = ['--type', 'sha256'] - if unpack: - options += ['--unpack'] - out = subprocess.check_output(['nix-prefetch-url'] + options + [url]) - return out.decode('utf-8').rstrip() - - -def update_file(relpath, version, sha256, rev=None): - file_path = os.path.join(DIR, relpath) - with fileinput.FileInput(file_path, inplace=True) as f: - for line in f: - result = line - result = re.sub(r'^ version = ".+";', f' version = "{version}";', result) - result = re.sub(r'^ sha256 = ".+";', f' sha256 = "{sha256}";', result) - if rev: - result = re.sub(r'^ rev = ".*";', f' rev = "{rev}";', result) - print(result, end='') - - -if __name__ == "__main__": - tdesktop_tag = github_api_request('repos/telegramdesktop/tdesktop/releases/latest')['tag_name'] - tdesktop_version = tdesktop_tag.lstrip('v') - tdesktop_hash = nix_prefetch_git('https://github.com/telegramdesktop/tdesktop.git', tdesktop_tag) - update_file('default.nix', tdesktop_version, tdesktop_hash) - tg_owt_ref = github_api_request('repos/desktop-app/tg_owt/commits/master')['sha'] - tg_owt_version = get_commit_date('desktop-app/tg_owt', tg_owt_ref) - tg_owt_hash = nix_prefetch_git('https://github.com/desktop-app/tg_owt.git', tg_owt_ref) - update_file('tg_owt.nix', tg_owt_version, tg_owt_hash, tg_owt_ref) - tg_owt_ref = github_api_request('repos/desktop-app/tg_owt/commits/master')['sha'] diff --git a/pkgs/applications/networking/instant-messengers/telegram/telegram-desktop/default.nix b/pkgs/applications/networking/instant-messengers/telegram/telegram-desktop/default.nix new file mode 100644 index 00000000000..763ed658af8 --- /dev/null +++ b/pkgs/applications/networking/instant-messengers/telegram/telegram-desktop/default.nix @@ -0,0 +1,215 @@ +{ lib +, fetchFromGitHub +, fetchpatch +, fetchurl +, callPackage +, pkg-config +, cmake +, ninja +, python3 +, wrapGAppsHook +, wrapQtAppsHook +, extra-cmake-modules +, qtbase +, qtwayland +, qtsvg +, qtimageformats +, qt5compat +, gtk3 +, libdbusmenu +, lz4 +, xxHash +, ffmpeg +, openalSoft +, minizip +, libopus +, alsa-lib +, libpulseaudio +, pipewire +, range-v3 +, tl-expected +, hunspell +, glibmm_2_68 +, webkitgtk_4_1 +, jemalloc +, rnnoise +, protobuf +, abseil-cpp + # Transitive dependencies: +, util-linuxMinimal +, pcre +, libpthreadstubs +, libXdamage +, libXdmcp +, libselinux +, libsepol +, libepoxy +, at-spi2-core +, libXtst +, libthai +, libdatrie +, xdg-utils +, xorg +, libsysprof-capture +, libpsl +, brotli +, microsoft_gsl +, rlottie +, stdenv +}: + +# Main reference: +# - This package was originally based on the Arch package but all patches are now upstreamed: +# https://git.archlinux.org/svntogit/community.git/tree/trunk/PKGBUILD?h=packages/telegram-desktop +# Other references that could be useful: +# - https://git.alpinelinux.org/aports/tree/testing/telegram-desktop/APKBUILD +# - https://github.com/void-linux/void-packages/blob/master/srcpkgs/telegram-desktop/template + +let + tg_owt = callPackage ./tg_owt.nix { + abseil-cpp = abseil-cpp.override { + cxxStandard = "20"; + }; + }; + glibmm = glibmm_2_68.overrideAttrs (_: { + version = "2.76.0"; + src = fetchurl { + url = "mirror://gnome/sources/glibmm/2.76/glibmm-2.76.0.tar.xz"; + sha256 = "sha256-hjfYDOq9lP3dbkiXCggqJkVY1KuCaE4V/8h+fvNGKrI="; + }; + }); +in +stdenv.mkDerivation rec { + pname = "telegram-desktop"; + version = "4.7.1"; + # Note: Update via pkgs/applications/networking/instant-messengers/telegram/tdesktop/update.py + + src = fetchFromGitHub { + owner = "telegramdesktop"; + repo = "tdesktop"; + rev = "v${version}"; + fetchSubmodules = true; + sha256 = "1qv8029xzp2j1j58b1lkw3q53cwaaazvp2la80mfbjv348c29iyk"; + }; + + patches = [ + # the generated .desktop files contains references to unwrapped tdesktop, breaking scheme handling + # and the scheme handler is already registered in the packaged .desktop file, rendering this unnecessary + # see https://github.com/NixOS/nixpkgs/issues/218370 + (fetchpatch { + url = "https://salsa.debian.org/debian/telegram-desktop/-/raw/09b363ed5a4fcd8ecc3282b9bfede5fbb83f97ef/debian/patches/Disable-register-custom-scheme.patch"; + hash = "sha256-B8X5lnSpwwdp1HlvyXJWQPybEN+plOwimdV5gW6aY2Y="; + }) + ]; + + postPatch = '' + substituteInPlace Telegram/ThirdParty/libtgvoip/os/linux/AudioInputALSA.cpp \ + --replace '"libasound.so.2"' '"${alsa-lib}/lib/libasound.so.2"' + substituteInPlace Telegram/ThirdParty/libtgvoip/os/linux/AudioOutputALSA.cpp \ + --replace '"libasound.so.2"' '"${alsa-lib}/lib/libasound.so.2"' + substituteInPlace Telegram/ThirdParty/libtgvoip/os/linux/AudioPulse.cpp \ + --replace '"libpulse.so.0"' '"${libpulseaudio}/lib/libpulse.so.0"' + substituteInPlace Telegram/lib_webview/webview/platform/linux/webview_linux_webkit_gtk.cpp \ + --replace '"libwebkit2gtk-4.1.so.0"' '"${webkitgtk_4_1}/lib/libwebkit2gtk-4.1.so.0"' + ''; + + # We want to run wrapProgram manually (with additional parameters) + dontWrapGApps = true; + dontWrapQtApps = true; + + nativeBuildInputs = [ + pkg-config + cmake + ninja + python3 + wrapGAppsHook + wrapQtAppsHook + extra-cmake-modules + ]; + + buildInputs = [ + qtbase + qtwayland + qtsvg + qtimageformats + qt5compat + gtk3 + libdbusmenu + lz4 + xxHash + ffmpeg + openalSoft + minizip + libopus + alsa-lib + libpulseaudio + pipewire + range-v3 + tl-expected + hunspell + glibmm + webkitgtk_4_1 + jemalloc + rnnoise + protobuf + tg_owt + # Transitive dependencies: + util-linuxMinimal # Required for libmount thus not nativeBuildInputs. + pcre + libpthreadstubs + libXdamage + libXdmcp + libselinux + libsepol + libepoxy + at-spi2-core + libXtst + libthai + libdatrie + libsysprof-capture + libpsl + brotli + microsoft_gsl + rlottie + ]; + + cmakeFlags = [ + "-Ddisable_autoupdate=ON" + # We're allowed to used the API ID of the Snap package: + "-DTDESKTOP_API_ID=611335" + "-DTDESKTOP_API_HASH=d524b414d21f4d37f08684c1df41ac9c" + # See: https://github.com/NixOS/nixpkgs/pull/130827#issuecomment-885212649 + "-DDESKTOP_APP_USE_PACKAGED_FONTS=OFF" + ]; + + postFixup = '' + # This is necessary to run Telegram in a pure environment. + # We also use gappsWrapperArgs from wrapGAppsHook. + wrapProgram $out/bin/telegram-desktop \ + "''${gappsWrapperArgs[@]}" \ + "''${qtWrapperArgs[@]}" \ + --prefix LD_LIBRARY_PATH : "${xorg.libXcursor}/lib" \ + --suffix PATH : ${lib.makeBinPath [ xdg-utils ]} \ + --set XDG_RUNTIME_DIR "XDG-RUNTIME-DIR" + sed -i $out/bin/telegram-desktop \ + -e "s,'XDG-RUNTIME-DIR',\"\''${XDG_RUNTIME_DIR:-/run/user/\$(id --user)}\"," + ''; + + passthru = { + inherit tg_owt; + updateScript = ./update.py; + }; + + meta = with lib; { + description = "Telegram Desktop messaging app"; + longDescription = '' + Desktop client for the Telegram messenger, based on the Telegram API and + the MTProto secure protocol. + ''; + license = licenses.gpl3Only; + platforms = platforms.linux; + homepage = "https://desktop.telegram.org/"; + changelog = "https://github.com/telegramdesktop/tdesktop/releases/tag/v${version}"; + maintainers = with maintainers; [ nickcao ]; + }; +} diff --git a/pkgs/applications/networking/instant-messengers/telegram/telegram-desktop/tg_owt.nix b/pkgs/applications/networking/instant-messengers/telegram/telegram-desktop/tg_owt.nix new file mode 100644 index 00000000000..6e57a81dc29 --- /dev/null +++ b/pkgs/applications/networking/instant-messengers/telegram/telegram-desktop/tg_owt.nix @@ -0,0 +1,61 @@ +{ lib, stdenv, fetchFromGitHub, fetchpatch +, pkg-config, cmake, ninja, yasm +, libjpeg, openssl_1_1, libopus, ffmpeg, alsa-lib, libpulseaudio, protobuf +, openh264, usrsctp, libevent, libvpx +, libX11, libXtst, libXcomposite, libXdamage, libXext, libXrender, libXrandr, libXi +, glib, abseil-cpp, pcre, util-linuxMinimal, libselinux, libsepol, pipewire +, mesa, valgrind, libepoxy, libglvnd +}: + +stdenv.mkDerivation { + pname = "tg_owt"; + version = "unstable-2023-03-14"; + + src = fetchFromGitHub { + owner = "desktop-app"; + repo = "tg_owt"; + rev = "1a18da2ed4d5ce134e984d1586b915738e0da257"; + sha256 = "18srnl688ng8grfpmgcjpdyr4cw87yjdvyw94b2jjq5jmnq9n3a3"; + fetchSubmodules = true; + }; + + outputs = [ "out" "dev" ]; + + nativeBuildInputs = [ pkg-config cmake ninja yasm ]; + + buildInputs = [ + libjpeg libopus ffmpeg alsa-lib libpulseaudio protobuf + openh264 usrsctp libevent libvpx + libX11 libXtst libXcomposite libXdamage libXext libXrender libXrandr libXi + glib abseil-cpp pcre util-linuxMinimal libselinux libsepol pipewire + mesa libepoxy libglvnd + ]; + + patches = [ + # GCC 12 Fix + (fetchpatch { + url = "https://github.com/desktop-app/tg_owt/pull/101/commits/86d2bcd7afb8706663d29e30f65863de5a626142.patch"; + hash = "sha256-iWS0mB8R0vqPU/0qf6Ax54UCAKYDVCPac2mi/VHbFm0="; + }) + # additional fix for GCC 12 + musl + (fetchpatch { + url = "https://git.alpinelinux.org/aports/plain/community/tg_owt/gcc12.patch?id=8120df03fa3b6db5b8ff92c7a52b680290ad6e20"; + hash = "sha256-ikgxUH1e7pz0n0pKUemrPXXa4UkECX+w467M9gU68zs="; + }) + ]; + + cmakeFlags = [ + # Building as a shared library isn't officially supported and may break at any time. + "-DBUILD_SHARED_LIBS=OFF" + ]; + + propagatedBuildInputs = [ + # Required for linking downstream binaries. + abseil-cpp openh264 usrsctp libevent libvpx openssl_1_1 + ]; + + meta = with lib; { + license = licenses.bsd3; + maintainers = with maintainers; [ oxalica ]; + }; +} diff --git a/pkgs/applications/networking/instant-messengers/telegram/telegram-desktop/update.py b/pkgs/applications/networking/instant-messengers/telegram/telegram-desktop/update.py new file mode 100755 index 00000000000..89e40218623 --- /dev/null +++ b/pkgs/applications/networking/instant-messengers/telegram/telegram-desktop/update.py @@ -0,0 +1,73 @@ +#! /usr/bin/env nix-shell +#! nix-shell -i python3 -p python3 nix nix-prefetch-git + +import fileinput +import json +import os +import re +import subprocess + +from datetime import datetime +from urllib.request import urlopen, Request + + +DIR = os.path.dirname(os.path.abspath(__file__)) +HEADERS = {'Accept': 'application/vnd.github.v3+json'} + + +def github_api_request(endpoint): + base_url = 'https://api.github.com/' + request = Request(base_url + endpoint, headers=HEADERS) + with urlopen(request) as http_response: + return json.loads(http_response.read().decode('utf-8')) + + +def get_commit_date(repo, sha): + url = f'https://api.github.com/repos/{repo}/commits/{sha}' + request = Request(url, headers=HEADERS) + with urlopen(request) as http_response: + commit = json.loads(http_response.read().decode()) + date = commit['commit']['committer']['date'].rstrip('Z') + date = datetime.fromisoformat(date).date().isoformat() + return 'unstable-' + date + + +def nix_prefetch_git(url, rev): + """Prefetches the requested Git revision (incl. submodules) of the given repository URL.""" + print(f'nix-prefetch-git {url} {rev}') + out = subprocess.check_output(['nix-prefetch-git', '--quiet', '--url', url, '--rev', rev, '--fetch-submodules']) + return json.loads(out)['sha256'] + + +def nix_prefetch_url(url, unpack=False): + """Prefetches the content of the given URL.""" + print(f'nix-prefetch-url {url}') + options = ['--type', 'sha256'] + if unpack: + options += ['--unpack'] + out = subprocess.check_output(['nix-prefetch-url'] + options + [url]) + return out.decode('utf-8').rstrip() + + +def update_file(relpath, version, sha256, rev=None): + file_path = os.path.join(DIR, relpath) + with fileinput.FileInput(file_path, inplace=True) as f: + for line in f: + result = line + result = re.sub(r'^ version = ".+";', f' version = "{version}";', result) + result = re.sub(r'^ sha256 = ".+";', f' sha256 = "{sha256}";', result) + if rev: + result = re.sub(r'^ rev = ".*";', f' rev = "{rev}";', result) + print(result, end='') + + +if __name__ == "__main__": + tdesktop_tag = github_api_request('repos/telegramdesktop/tdesktop/releases/latest')['tag_name'] + tdesktop_version = tdesktop_tag.lstrip('v') + tdesktop_hash = nix_prefetch_git('https://github.com/telegramdesktop/tdesktop.git', tdesktop_tag) + update_file('default.nix', tdesktop_version, tdesktop_hash) + tg_owt_ref = github_api_request('repos/desktop-app/tg_owt/commits/master')['sha'] + tg_owt_version = get_commit_date('desktop-app/tg_owt', tg_owt_ref) + tg_owt_hash = nix_prefetch_git('https://github.com/desktop-app/tg_owt.git', tg_owt_ref) + update_file('tg_owt.nix', tg_owt_version, tg_owt_hash, tg_owt_ref) + tg_owt_ref = github_api_request('repos/desktop-app/tg_owt/commits/master')['sha'] diff --git a/pkgs/top-level/aliases.nix b/pkgs/top-level/aliases.nix index 5004a976bd3..c124bc27d21 100644 --- a/pkgs/top-level/aliases.nix +++ b/pkgs/top-level/aliases.nix @@ -1560,6 +1560,7 @@ mapAliases ({ tangogps = foxtrotgps; # Added 2020-01-26 taplo-cli = taplo; # Added 2022-07-30 taplo-lsp = taplo; # Added 2022-07-30 + tdesktop = telegram-desktop; # Added 2023-04-07 tdm = throw "tdm has been removed because nobody can figure out how to fix OpenAL integration. Use precompiled binary and `steam-run` instead"; teleconsole = throw "teleconsole is archived by upstream"; # Added 2022-04-05 telepathy-qt = throw "telepathy-qt no longer supports Qt 4. Please use libsForQt5.telepathy instead"; # Added 2020-07-02 diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 01b088004bb..21fc62a4a82 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -31386,7 +31386,7 @@ with pkgs; then darwin.apple_sdk_11_0.stdenv else stdenv; - # tdesktop has random crashes when jemalloc is built with gcc. + # telegram-desktop has random crashes when jemalloc is built with gcc. # Apparently, it triggers some bug due to usage of gcc's builtin # functions like __builtin_ffsl by jemalloc when it's built with gcc. jemalloc = (jemalloc.override { stdenv = clangStdenv; }).overrideAttrs(_: { @@ -33925,7 +33925,7 @@ with pkgs; taskopen = callPackage ../applications/misc/taskopen { }; - tdesktop = qt6Packages.callPackage ../applications/networking/instant-messengers/telegram/tdesktop { + telegram-desktop = qt6Packages.callPackage ../applications/networking/instant-messengers/telegram/telegram-desktop { abseil-cpp = abseil-cpp_202206; }; -- cgit 1.4.1 From 09d8f40cc3ea3c007e25256d9c75271410c5a55d Mon Sep 17 00:00:00 2001 From: Jörg Thalheim Date: Fri, 7 Apr 2023 17:47:47 +0200 Subject: tensorflow-bin: 2.11.0 -> 2.12.0 --- pkgs/development/python-modules/tensorflow/bin.nix | 31 +++----------- .../python-modules/tensorflow/binary-hashes.nix | 50 ++++++++-------------- .../python-modules/tensorflow/prefetcher.sh | 17 +++----- 3 files changed, 32 insertions(+), 66 deletions(-) diff --git a/pkgs/development/python-modules/tensorflow/bin.nix b/pkgs/development/python-modules/tensorflow/bin.nix index 4b3d3d0ec6c..a2e7b2d21e8 100644 --- a/pkgs/development/python-modules/tensorflow/bin.nix +++ b/pkgs/development/python-modules/tensorflow/bin.nix @@ -16,13 +16,13 @@ , mock , scipy , wheel +, jax , opt-einsum , backports_weakref , tensorflow-estimator-bin , tensorboard , cudaSupport ? false , cudaPackages ? {} -, patchelfUnstable , zlib , python , keras-applications @@ -67,6 +67,7 @@ in buildPythonPackage { protobuf numpy scipy + jax termcolor grpcio six @@ -84,8 +85,7 @@ in buildPythonPackage { ] ++ lib.optional (!isPy3k) mock ++ lib.optionals (pythonOlder "3.4") [ backports_weakref ]; - # remove patchelfUnstable once patchelf 0.14 with https://github.com/NixOS/patchelf/pull/256 becomes the default - nativeBuildInputs = [ wheel ] ++ lib.optionals cudaSupport [ addOpenGLRunpath patchelfUnstable ]; + nativeBuildInputs = [ wheel ] ++ lib.optionals cudaSupport [ addOpenGLRunpath ]; preConfigure = '' unset SOURCE_DATE_EPOCH @@ -104,6 +104,7 @@ in buildPythonPackage { # - Relax flatbuffers, gast, protobuf, tensorboard, and tensorflow-estimator version requirements that don't match what we have packaged # - The purpose of python3Packages.libclang is not clear at the moment and we don't have it packaged yet # - keras and tensorlow-io-gcs-filesystem will be considered as optional for now. + # - numpy was pinned to fix some internal tests: https://github.com/tensorflow/tensorflow/issues/60216 sed -i *.dist-info/METADATA \ -e "/Requires-Dist: flatbuffers/d" \ -e "/Requires-Dist: gast/d" \ @@ -112,7 +113,8 @@ in buildPythonPackage { -e "/Requires-Dist: protobuf/d" \ -e "/Requires-Dist: tensorboard/d" \ -e "/Requires-Dist: tensorflow-estimator/d" \ - -e "/Requires-Dist: tensorflow-io-gcs-filesystem/d" + -e "/Requires-Dist: tensorflow-io-gcs-filesystem/d" \ + -e "s/Requires-Dist: numpy (.*)/Requires-Dist: numpy/" ) wheel pack ./unpacked/tensorflow* mv *.whl $orig_name # avoid changes to the _os_arch.whl suffix @@ -201,26 +203,5 @@ in buildPythonPackage { license = licenses.asl20; maintainers = with maintainers; [ jyp abbradar cdepillabout ]; platforms = [ "x86_64-linux" "x86_64-darwin" ]; - knownVulnerabilities = optionals (versionOlder packages.version "2.12.0") [ - "CVE-2023-27579" - "CVE-2023-25801" - "CVE-2023-25676" - "CVE-2023-25675" - "CVE-2023-25674" - "CVE-2023-25673" - "CVE-2023-25671" - "CVE-2023-25670" - "CVE-2023-25669" - "CVE-2023-25668" - "CVE-2023-25667" - "CVE-2023-25665" - "CVE-2023-25666" - "CVE-2023-25664" - "CVE-2023-25663" - "CVE-2023-25662" - "CVE-2023-25660" - "CVE-2023-25659" - "CVE-2023-25658" - ]; }; } diff --git a/pkgs/development/python-modules/tensorflow/binary-hashes.nix b/pkgs/development/python-modules/tensorflow/binary-hashes.nix index a59a31b5744..e2242ef76d9 100644 --- a/pkgs/development/python-modules/tensorflow/binary-hashes.nix +++ b/pkgs/development/python-modules/tensorflow/binary-hashes.nix @@ -1,51 +1,39 @@ { -version = "2.11.0"; -linux_py_37_cpu = { - url = "https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow_cpu-2.11.0-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl"; - sha256 = "0m360pj7ix57d30s9inq9g5cbv7jrgnk2ryygj8irfw569rrzk7x"; -}; +version = "2.12.0"; linux_py_38_cpu = { - url = "https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow_cpu-2.11.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl"; - sha256 = "1kx4rj15fnbmznpyjjbkw5mf0b03gw97h7ijlqf1kcdjzmbm24la"; + url = "https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow_cpu-2.12.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl"; + sha256 = "1lqdb3n8dp2f1vignddfqfbbghidkbrq9g78fqkjir8g318zf1m4"; }; linux_py_39_cpu = { - url = "https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow_cpu-2.11.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl"; - sha256 = "1isvyiwrhis8i2xjx5mmsrxv2i7fl0hg1jaa1pgw70c6sz5vqm0r"; + url = "https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow_cpu-2.12.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl"; + sha256 = "1k595l4gpmar9rg4kim2i41fv25i8p018fdmgxcb5v6836d5ns2m"; }; linux_py_310_cpu = { - url = "https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow_cpu-2.11.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl"; - sha256 = "1ni7yrk33xdh6zpy840y3hbidmfgj9dxp690yxrjwarr3694465k"; -}; -linux_py_37_gpu = { - url = "https://storage.googleapis.com/tensorflow/linux/gpu/tensorflow_gpu-2.11.0-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl"; - sha256 = "14r2sa25gmpda6kysv7dbbrzmaxb47jq2fpy9dfcfbiwsrzszwhi"; + url = "https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow_cpu-2.12.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl"; + sha256 = "1mhq429j9v82jwyqk6dcaz0sh57n0kyf2bfjrjz13xjblssij6rn"; }; linux_py_38_gpu = { - url = "https://storage.googleapis.com/tensorflow/linux/gpu/tensorflow_gpu-2.11.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl"; - sha256 = "1z8g3j1a8bzpfl3cwf74wal9npfyzr89l14wrrjmd311w9c06z25"; + url = "https://storage.googleapis.com/tensorflow/linux/gpu/tensorflow-2.12.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl"; + sha256 = "009wyvzdlzghb39mmrv36fvjrrrbllyadny9jzb7ixzry4r07193"; }; linux_py_39_gpu = { - url = "https://storage.googleapis.com/tensorflow/linux/gpu/tensorflow_gpu-2.11.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl"; - sha256 = "1nfhw5fwkvwyvcap41756avrg4c8xm0xrdgj8spqfjvamc3chcqp"; + url = "https://storage.googleapis.com/tensorflow/linux/gpu/tensorflow-2.12.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl"; + sha256 = "0l1cwsfw91vfgx8xqwz7cdphj1dy6ppfifm7f7f0n0i6rda6l382"; }; linux_py_310_gpu = { - url = "https://storage.googleapis.com/tensorflow/linux/gpu/tensorflow_gpu-2.11.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl"; - sha256 = "1vckr15ys8cks8pj9yld4zyhm8w7bjnc8yq6q1g3145fl99ygac1"; -}; -mac_py_37_cpu = { - url = "https://storage.googleapis.com/tensorflow/mac/cpu/tensorflow-2.11.0-cp37-cp37m-macosx_10_14_x86_64.whl"; - sha256 = "12lk1wx5dqklc210xya3sbm3gl4163454k13d2nnk94z2iwi376j"; + url = "https://storage.googleapis.com/tensorflow/linux/gpu/tensorflow-2.12.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl"; + sha256 = "0dl3nvr4pk4zknx484qd2mqdkjkms6s4alqrxqkqv2hqa4l9sz9m"; }; mac_py_38_cpu = { - url = "https://storage.googleapis.com/tensorflow/mac/cpu/tensorflow-2.11.0-cp38-cp38-macosx_10_14_x86_64.whl"; - sha256 = "1j4y6vhlpz27xllwr9n0gswmwld221ws8sl5wdn56hi347r2jv85"; + url = "https://storage.googleapis.com/tensorflow/mac/cpu/tensorflow-2.12.0-cp38-cp38-macosx_10_15_x86_64.whl"; + sha256 = "0jkxd9ccbq2czn16w3his6k1hxx0nhkrb56bkrskwzss9is4w6d7"; }; mac_py_39_cpu = { - url = "https://storage.googleapis.com/tensorflow/mac/cpu/tensorflow-2.11.0-cp39-cp39-macosx_10_14_x86_64.whl"; - sha256 = "11ylm1a2mxf9lz958p39q2pag4mqss6zsfxagk3ybwj1lsy2bkyr"; + url = "https://storage.googleapis.com/tensorflow/mac/cpu/tensorflow-2.12.0-cp39-cp39-macosx_10_15_x86_64.whl"; + sha256 = "0n7rsrxlkn143y80579bm8wwsabg2a9x6sx1h7ksw3s2x4sjdz22"; }; mac_py_310_cpu = { - url = "https://storage.googleapis.com/tensorflow/mac/cpu/tensorflow-2.11.0-cp310-cp310-macosx_10_14_x86_64.whl"; - sha256 = "1l6jnmi14sbxbrpwqw3bq6mv1mn5rhbkx9j3dxfnhh10dkn9y13c"; + url = "https://storage.googleapis.com/tensorflow/mac/cpu/tensorflow-2.12.0-cp310-cp310-macosx_10_15_x86_64.whl"; + sha256 = "18fj2jxl8b69jrzjkixhyyrml8qjwcid76y15ggzc5ksrkgw0jmy"; }; } diff --git a/pkgs/development/python-modules/tensorflow/prefetcher.sh b/pkgs/development/python-modules/tensorflow/prefetcher.sh index a4a7c5dfa57..8cdc11e11fd 100755 --- a/pkgs/development/python-modules/tensorflow/prefetcher.sh +++ b/pkgs/development/python-modules/tensorflow/prefetcher.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -version="2.11.0" +version="2.12.0" bucket="https://storage.googleapis.com/tensorflow" @@ -8,18 +8,15 @@ bucket="https://storage.googleapis.com/tensorflow" # on the following page: # https://www.tensorflow.org/install/pip?lang=python3#package-location url_and_key_list=( -"linux_py_37_cpu $bucket/linux/cpu/tensorflow_cpu-${version}-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl" "linux_py_38_cpu $bucket/linux/cpu/tensorflow_cpu-${version}-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl" "linux_py_39_cpu $bucket/linux/cpu/tensorflow_cpu-${version}-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl" "linux_py_310_cpu $bucket/linux/cpu/tensorflow_cpu-${version}-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl" -"linux_py_37_gpu $bucket/linux/gpu/tensorflow_gpu-${version}-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl" -"linux_py_38_gpu $bucket/linux/gpu/tensorflow_gpu-${version}-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl" -"linux_py_39_gpu $bucket/linux/gpu/tensorflow_gpu-${version}-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl" -"linux_py_310_gpu $bucket/linux/gpu/tensorflow_gpu-${version}-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl" -"mac_py_37_cpu $bucket/mac/cpu/tensorflow-${version}-cp37-cp37m-macosx_10_14_x86_64.whl" -"mac_py_38_cpu $bucket/mac/cpu/tensorflow-${version}-cp38-cp38-macosx_10_14_x86_64.whl" -"mac_py_39_cpu $bucket/mac/cpu/tensorflow-${version}-cp39-cp39-macosx_10_14_x86_64.whl" -"mac_py_310_cpu $bucket/mac/cpu/tensorflow-${version}-cp310-cp310-macosx_10_14_x86_64.whl" +"linux_py_38_gpu $bucket/linux/gpu/tensorflow-${version}-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl" +"linux_py_39_gpu $bucket/linux/gpu/tensorflow-${version}-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl" +"linux_py_310_gpu $bucket/linux/gpu/tensorflow-${version}-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl" +"mac_py_38_cpu $bucket/mac/cpu/tensorflow-${version}-cp38-cp38-macosx_10_15_x86_64.whl" +"mac_py_39_cpu $bucket/mac/cpu/tensorflow-${version}-cp39-cp39-macosx_10_15_x86_64.whl" +"mac_py_310_cpu $bucket/mac/cpu/tensorflow-${version}-cp310-cp310-macosx_10_15_x86_64.whl" ) hashfile=binary-hashes.nix -- cgit 1.4.1 From a5195d531540d767943a922ac6f6200f2fd2c2e6 Mon Sep 17 00:00:00 2001 From: rewine Date: Sat, 8 Apr 2023 01:47:13 +0800 Subject: deepin.gio-qt: 0.0.11 -> 0.0.12 --- pkgs/desktops/deepin/library/gio-qt/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/desktops/deepin/library/gio-qt/default.nix b/pkgs/desktops/deepin/library/gio-qt/default.nix index d00b5ffabe4..c2ee51aaade 100644 --- a/pkgs/desktops/deepin/library/gio-qt/default.nix +++ b/pkgs/desktops/deepin/library/gio-qt/default.nix @@ -13,13 +13,13 @@ stdenv.mkDerivation rec { pname = "gio-qt"; - version = "0.0.11"; + version = "0.0.12"; src = fetchFromGitHub { owner = "linuxdeepin"; repo = pname; rev = version; - sha256 = "sha256-dlY1CTlXywgGZUonBBe3cDwx8h2xXrPY6Ft/D59nlug="; + sha256 = "sha256-/wLaVR31T+EcT6D5Cw0QIjZasioPWC74KNmt1tckwXk="; }; nativeBuildInputs = [ -- cgit 1.4.1 From 10a28ebd9c1dd0b61753792d9fbc8f3c8baeb62a Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 7 Apr 2023 20:47:51 +0200 Subject: python310Packages.bc-detect-secrets: 1.4.16 -> 1.4.19 Diff: https://github.com/bridgecrewio/detect-secrets/compare/refs/tags/1.4.16...1.4.19 --- pkgs/development/python-modules/bc-detect-secrets/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/bc-detect-secrets/default.nix b/pkgs/development/python-modules/bc-detect-secrets/default.nix index dab2f6e5bbb..1a927c5ecf4 100644 --- a/pkgs/development/python-modules/bc-detect-secrets/default.nix +++ b/pkgs/development/python-modules/bc-detect-secrets/default.nix @@ -15,7 +15,7 @@ buildPythonPackage rec { pname = "bc-detect-secrets"; - version = "1.4.16"; + version = "1.4.19"; format = "setuptools"; disabled = pythonOlder "3.8"; @@ -24,7 +24,7 @@ buildPythonPackage rec { owner = "bridgecrewio"; repo = "detect-secrets"; rev = "refs/tags/${version}"; - hash = "sha256-PBpxhZPFO4X4dhSYWG2TtHgaNx/SCQlnr2D57uB0kr4="; + hash = "sha256-MIl0nobcQb8PRwLeam1tgP5JLHNAv3fP3wpwi64IJa4="; }; propagatedBuildInputs = [ -- cgit 1.4.1 From 905b5d01f1bda815f5e92c4d2dc7c30862b72379 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 7 Apr 2023 21:03:58 +0200 Subject: python310Packages.lsassy: 3.1.6 -> 3.1.7 Diff: https://github.com/Hackndo/lsassy/compare/refs/tags/v3.1.6...v3.1.7 Changelog: https://github.com/Hackndo/lsassy/releases/tag/v3.1.7 --- pkgs/development/python-modules/lsassy/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/lsassy/default.nix b/pkgs/development/python-modules/lsassy/default.nix index ab422f709da..b6b055c2306 100644 --- a/pkgs/development/python-modules/lsassy/default.nix +++ b/pkgs/development/python-modules/lsassy/default.nix @@ -10,7 +10,7 @@ buildPythonPackage rec { pname = "lsassy"; - version = "3.1.6"; + version = "3.1.7"; format = "setuptools"; disabled = pythonOlder "3.7"; @@ -19,7 +19,7 @@ buildPythonPackage rec { owner = "Hackndo"; repo = pname; rev = "refs/tags/v${version}"; - hash = "sha256-Rdgz9hU2un1CKX2dRI8tVzL2lG7Ufd5HwninOxOsxjM="; + hash = "sha256-q9zaKccgqj8haP7zQGS0rplfLylsPXggjzhN6VWV4/A="; }; propagatedBuildInputs = [ -- cgit 1.4.1 From adf82e5e13fe4fd8fdc2b8f3101c8ce56dec108b Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 7 Apr 2023 21:05:57 +0200 Subject: python310Packages.reolink-aio: 0.5.10 -> 0.5.11 Diff: https://github.com/starkillerOG/reolink_aio/compare/refs/tags/0.5.10...0.5.11 Changelog: https://github.com/starkillerOG/reolink_aio/releases/tag/0.5.11 --- pkgs/development/python-modules/reolink-aio/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/reolink-aio/default.nix b/pkgs/development/python-modules/reolink-aio/default.nix index 3ad88389cc1..937f76ee139 100644 --- a/pkgs/development/python-modules/reolink-aio/default.nix +++ b/pkgs/development/python-modules/reolink-aio/default.nix @@ -11,7 +11,7 @@ buildPythonPackage rec { pname = "reolink-aio"; - version = "0.5.10"; + version = "0.5.11"; format = "setuptools"; disabled = pythonOlder "3.9"; @@ -20,7 +20,7 @@ buildPythonPackage rec { owner = "starkillerOG"; repo = "reolink_aio"; rev = "refs/tags/${version}"; - hash = "sha256-UZURGOfNPccXukVoo1m/gY3tkOvpT5jy0AegQHFJqEQ="; + hash = "sha256-vz4hkma/EzAUL9+I8umzyDkAUGcaiBUEtn+WysX6M7o="; }; postPatch = '' -- cgit 1.4.1 From e37f7e59e3eca55319aa4a327ea17dea808d5143 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 7 Apr 2023 21:09:59 +0200 Subject: python310Packages.dsmr-parser: 1.2.0 -> 1.2.1 Diff: https://github.com/ndokter/dsmr_parser/compare/refs/tags/v1.2.0...v1.2.1 Changelog: https://github.com/ndokter/dsmr_parser/releases/tag/v1.2.1 --- pkgs/development/python-modules/dsmr-parser/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/dsmr-parser/default.nix b/pkgs/development/python-modules/dsmr-parser/default.nix index 89b6c23caf3..5cc30170873 100644 --- a/pkgs/development/python-modules/dsmr-parser/default.nix +++ b/pkgs/development/python-modules/dsmr-parser/default.nix @@ -12,7 +12,7 @@ buildPythonPackage rec { pname = "dsmr-parser"; - version = "1.2.0"; + version = "1.2.1"; format = "setuptools"; disabled = pythonOlder "3.8"; @@ -21,7 +21,7 @@ buildPythonPackage rec { owner = "ndokter"; repo = "dsmr_parser"; rev = "refs/tags/v${version}"; - hash = "sha256-giWchaiNuEN2m2XOpDigZKd0p0gOxp6RrIxPLHEvYOg="; + hash = "sha256-a02bpC9CVecAtIfWbLM74K4thaGI2GferEnJQKtIiu8="; }; propagatedBuildInputs = [ -- cgit 1.4.1 From 991f5472e9fa9a1d815dd536882b0e6cc7f9593a Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 7 Apr 2023 21:15:11 +0200 Subject: exploitdb: 2023-04-06 -> 2023-04-07 Diff: https://gitlab.com/exploit-database/exploitdb/-/compare/refs/tags/2023-04-06...2023-04-07 --- pkgs/tools/security/exploitdb/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/security/exploitdb/default.nix b/pkgs/tools/security/exploitdb/default.nix index b70c7c1e0a3..7956d01f8b2 100644 --- a/pkgs/tools/security/exploitdb/default.nix +++ b/pkgs/tools/security/exploitdb/default.nix @@ -6,13 +6,13 @@ stdenv.mkDerivation rec { pname = "exploitdb"; - version = "2023-04-06"; + version = "2023-04-07"; src = fetchFromGitLab { owner = "exploit-database"; repo = pname; rev = "refs/tags/${version}"; - hash = "sha256-Y+UdrSTmqLLLdUwv6ruAHEfqCCN7Sil8OGmIuVlPfRs="; + hash = "sha256-PcrnqlbhoE9clYCsGX6ttMr92a+2BhuDP8aT6wG9aN0="; }; nativeBuildInputs = [ -- cgit 1.4.1 From 909a397a80b141e0f9680b479e93a2fc0977c07b Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 7 Apr 2023 21:20:11 +0200 Subject: trufflehog: 3.31.3 -> 3.31.4 Diff: https://github.com/trufflesecurity/trufflehog/compare/refs/tags/v3.31.3...v3.31.4 Changelog: https://github.com/trufflesecurity/trufflehog/releases/tag/v3.31.4 --- pkgs/tools/security/trufflehog/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/security/trufflehog/default.nix b/pkgs/tools/security/trufflehog/default.nix index 37ec8cac900..b3aa386ba88 100644 --- a/pkgs/tools/security/trufflehog/default.nix +++ b/pkgs/tools/security/trufflehog/default.nix @@ -5,13 +5,13 @@ buildGoModule rec { pname = "trufflehog"; - version = "3.31.3"; + version = "3.31.4"; src = fetchFromGitHub { owner = "trufflesecurity"; repo = "trufflehog"; rev = "refs/tags/v${version}"; - hash = "sha256-Ik2zAcjLvsJc1c7WntamruAT3oZqkFK7CabfRQ6BQzA="; + hash = "sha256-fZO2WU1gJsf3KRFNF/I8dX4YW7RPn5hmN0MfjQED98I="; }; vendorHash = "sha256-PNEIuENQfSOTo4W4frx/e56OwphGZGSP6WBLLtQeS4M="; -- cgit 1.4.1 From 0f0c7b4993eaa300f8dcbede7405acce8a20d5fd Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 7 Apr 2023 21:31:22 +0200 Subject: python310Packages.app-model: 0.1.2 -> 0.1.4 Diff: https://github.com/pyapp-kit/app-model/compare/refs/tags/v0.1.2...v0.1.4 Changelog: https://github.com/pyapp-kit/app-model/blob/v0.1.4/CHANGELOG.md --- pkgs/development/python-modules/app-model/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/app-model/default.nix b/pkgs/development/python-modules/app-model/default.nix index 1191be3c823..14ed5bc4060 100644 --- a/pkgs/development/python-modules/app-model/default.nix +++ b/pkgs/development/python-modules/app-model/default.nix @@ -13,7 +13,7 @@ buildPythonPackage rec { pname = "app-model"; - version = "0.1.2"; + version = "0.1.4"; format = "pyproject"; disabled = pythonOlder "3.8"; @@ -22,7 +22,7 @@ buildPythonPackage rec { owner = "pyapp-kit"; repo = pname; rev = "refs/tags/v${version}"; - hash = "sha256-W1DL6HkqXkfVE9SPD0cUhPln5FBW5vPICpbQulRhaWs="; + hash = "sha256-GvMPWIvDydJ8C7wDR5DjmEGhVt0jd5e4WzP10a7mGm8="; }; SETUPTOOLS_SCM_PRETEND_VERSION = version; -- cgit 1.4.1 From 47e4e3669ff5da617439df92623ab1007345a643 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Fri, 7 Apr 2023 20:03:36 +0000 Subject: goda: 0.5.5 -> 0.5.6 --- pkgs/development/tools/goda/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/tools/goda/default.nix b/pkgs/development/tools/goda/default.nix index 0564cfa3157..65086bb44d5 100644 --- a/pkgs/development/tools/goda/default.nix +++ b/pkgs/development/tools/goda/default.nix @@ -2,13 +2,13 @@ buildGoModule rec { pname = "goda"; - version = "0.5.5"; + version = "0.5.6"; src = fetchFromGitHub { owner = "loov"; repo = "goda"; rev = "v${version}"; - sha256 = "sha256-yKhgk/DRcifh+exxTZFti1Aac/sgpvUsNKdioLAzmX0="; + sha256 = "sha256-l9ehpDAqZqNV+07ENXJ2GJEY6bb6W37Ls6UqjE9DEWQ="; }; vendorSha256 = "sha256-BYYuB4ZlCWD8NILkf4qrgM4q72ZTy7Ze3ICUXdoI5Ms="; -- cgit 1.4.1 From 01fbc66669f8148d9347b01ea520adf3de4a832a Mon Sep 17 00:00:00 2001 From: Michael Colicchia Date: Sat, 18 Feb 2023 10:57:01 +0000 Subject: python3Packages.deepl: init at 1.13.0 --- pkgs/development/python-modules/deepl/default.nix | 41 +++++++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 ++ 2 files changed, 43 insertions(+) create mode 100644 pkgs/development/python-modules/deepl/default.nix diff --git a/pkgs/development/python-modules/deepl/default.nix b/pkgs/development/python-modules/deepl/default.nix new file mode 100644 index 00000000000..b3d4c747706 --- /dev/null +++ b/pkgs/development/python-modules/deepl/default.nix @@ -0,0 +1,41 @@ +{ lib +, buildPythonPackage +, fetchPypi +, requests +, poetry-core +, keyring +}: + +buildPythonPackage rec { + pname = "deepl"; + version = "1.13.0"; + format = "pyproject"; + + src = fetchPypi { + inherit pname version; + hash = "sha256-Rq7L/rgfJJ3ZspuL1IfZv+x60t8cZRPkrVryJf12WLk="; + }; + + nativeBuildInputs = [ + poetry-core + ]; + + propagatedBuildInputs = [ + requests + keyring + ]; + + # Requires internet access and an API key + doCheck = false; + + pythonImportsCheck = [ + "deepl" + ]; + + meta = with lib; { + description = "A language translation API that allows other computer programs to send texts and documents to DeepL's servers and receive high-quality translations"; + homepage = "https://github.com/DeepLcom/deepl-python"; + license = licenses.mit; + maintainers = with maintainers; [ MaskedBelgian ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index ba5e500a298..7db09730801 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -2337,6 +2337,8 @@ self: super: with self; { deepdish = callPackage ../development/python-modules/deepdish { }; + deepl = callPackage ../development/python-modules/deepl { }; + deepmerge = callPackage ../development/python-modules/deepmerge { }; deeptoolsintervals = callPackage ../development/python-modules/deeptoolsintervals { }; -- cgit 1.4.1 From e42d62b7a2702fce668069110d791ee59b0a634c Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 7 Apr 2023 22:14:08 +0200 Subject: python310Packages.pyswitchbot: 0.37.5 -> 0.37.6 Diff: https://github.com/Danielhiversen/pySwitchbot/compare/refs/tags/0.37.5...0.37.6 Changelog: https://github.com/Danielhiversen/pySwitchbot/releases/tag/0.37.6 --- 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 9421d332f57..c3ad116570e 100644 --- a/pkgs/development/python-modules/pyswitchbot/default.nix +++ b/pkgs/development/python-modules/pyswitchbot/default.nix @@ -14,7 +14,7 @@ buildPythonPackage rec { pname = "pyswitchbot"; - version = "0.37.5"; + version = "0.37.6"; format = "setuptools"; disabled = pythonOlder "3.7"; @@ -23,7 +23,7 @@ buildPythonPackage rec { owner = "Danielhiversen"; repo = "pySwitchbot"; rev = "refs/tags/${version}"; - hash = "sha256-k4uTLiSODjAbwVZjd35RckbDb2DxFCV/Ixo3ErG9FHQ="; + hash = "sha256-LZkAyfcDX48hR7lak2mc27lTQQR3VX1ozpdi2btDzbY="; }; propagatedBuildInputs = [ -- cgit 1.4.1 From af32997ae484a1fa694d87723a89c28f4549ab8c Mon Sep 17 00:00:00 2001 From: Adam Joseph Date: Fri, 7 Apr 2023 00:27:17 -0700 Subject: alacritty: fix cross This commit fixes cross compilation of alacritty by: 1. If xdg-utils.meta.broken (see https://github.com/NixOS/nixpkgs/pull/225112#issuecomment-1500354929), late-bind it via runtime $PATH rather than compile-time reference. 2. Use `$STRIP` instead of `strip` --- pkgs/applications/terminal-emulators/alacritty/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/terminal-emulators/alacritty/default.nix b/pkgs/applications/terminal-emulators/alacritty/default.nix index ae1bc591989..574d9d17ccd 100644 --- a/pkgs/applications/terminal-emulators/alacritty/default.nix +++ b/pkgs/applications/terminal-emulators/alacritty/default.nix @@ -84,7 +84,7 @@ rustPlatform.buildRustPackage rec { outputs = [ "out" "terminfo" ]; - postPatch = '' + postPatch = lib.optionalString (!xdg-utils.meta.broken) '' substituteInPlace alacritty/src/config/ui_config.rs \ --replace xdg-open ${xdg-utils}/bin/xdg-open ''; @@ -104,7 +104,7 @@ rustPlatform.buildRustPackage rec { # patchelf generates an ELF that binutils' "strip" doesn't like: # strip: not enough room for program headers, try linking with -N # As a workaround, strip manually before running patchelf. - strip -S $out/bin/alacritty + $STRIP -S $out/bin/alacritty patchelf --set-rpath "${lib.makeLibraryPath rpathLibs}" $out/bin/alacritty '' -- cgit 1.4.1 From 273b77bfcff1fbb1e8d9d840e0b2ed0f90da6d80 Mon Sep 17 00:00:00 2001 From: Luflosi Date: Fri, 7 Apr 2023 23:28:55 +0200 Subject: kubo: 0.19.0 -> 0.19.1 https://github.com/ipfs/kubo/releases/tag/v0.19.1 --- pkgs/applications/networking/kubo/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/networking/kubo/default.nix b/pkgs/applications/networking/kubo/default.nix index 9e6e87aca07..0bedd4707b3 100644 --- a/pkgs/applications/networking/kubo/default.nix +++ b/pkgs/applications/networking/kubo/default.nix @@ -2,7 +2,7 @@ buildGoModule rec { pname = "kubo"; - version = "0.19.0"; # When updating, also check if the repo version changed and adjust repoVersion below + version = "0.19.1"; # When updating, also check if the repo version changed and adjust repoVersion below rev = "v${version}"; passthru.repoVersion = "13"; # Also update kubo-migrator when changing the repo version @@ -10,7 +10,7 @@ buildGoModule rec { # Kubo makes changes to it's source tarball that don't match the git source. src = fetchurl { url = "https://github.com/ipfs/kubo/releases/download/${rev}/kubo-source.tar.gz"; - hash = "sha256-PAxWijTAGOJKRDIKaulNPr/4uOJkm+vqNWAY7AjhFUw="; + hash = "sha256-gQIJKV5MD0TZ0GYdLFWNePnExThqEjUmZKCAHhGwtMU="; }; # tarball contains multiple files/directories -- cgit 1.4.1 From f642e1bd749dedaa0e057ce751d76f417b7f18e1 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 8 Apr 2023 00:39:12 +0200 Subject: python310Packages.sqlmap: 1.7.3 -> 1.7.4 Changelog: https://github.com/sqlmapproject/sqlmap/releases/tag/1.7.4 --- pkgs/development/python-modules/sqlmap/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/sqlmap/default.nix b/pkgs/development/python-modules/sqlmap/default.nix index a3792cc9108..33dfcab9235 100644 --- a/pkgs/development/python-modules/sqlmap/default.nix +++ b/pkgs/development/python-modules/sqlmap/default.nix @@ -8,14 +8,14 @@ buildPythonPackage rec { pname = "sqlmap"; - version = "1.7.3"; + version = "1.7.4"; format = "setuptools"; disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; - hash = "sha256-Madz55RkI+SEtkBep1rcQt2iIwd/LqfzCCKP+4jRHUE="; + hash = "sha256-U0mfnTteVPYP7gxRci/+poUf1QTdZ0Kk+f59e9S/A+4="; }; postPatch = '' -- cgit 1.4.1 From b31b88d74fd95127be2b66fd169e2a7cb035f6d6 Mon Sep 17 00:00:00 2001 From: Anderson Torres Date: Fri, 7 Apr 2023 11:35:21 -0300 Subject: harePackages.hare: remove patch It is now passing the tests! --- .../hare/hare/000-disable-failing-test-cases.diff | 37 ---------------------- pkgs/development/compilers/hare/hare/default.nix | 4 --- 2 files changed, 41 deletions(-) delete mode 100644 pkgs/development/compilers/hare/hare/000-disable-failing-test-cases.diff diff --git a/pkgs/development/compilers/hare/hare/000-disable-failing-test-cases.diff b/pkgs/development/compilers/hare/hare/000-disable-failing-test-cases.diff deleted file mode 100644 index 4f8ba605604..00000000000 --- a/pkgs/development/compilers/hare/hare/000-disable-failing-test-cases.diff +++ /dev/null @@ -1,37 +0,0 @@ -diff --git a/math/complex/+test.ha b/math/complex/+test.ha -index a1cc0916..705a0a41 100644 ---- a/math/complex/+test.ha -+++ b/math/complex/+test.ha -@@ -567,8 +567,8 @@ const TEST_COSSC: [](c128, c128) = [ - (math::INF, math::NAN)), // real sign unspecified - ((math::INF, math::NAN), - (math::NAN, math::NAN)), -- ((math::NAN, 0f64), -- (math::NAN, -0f64)), // imaginary sign unspecified -+// ((math::NAN, 0f64), -+// (math::NAN, -0f64)), // imaginary sign unspecified - ((math::NAN, 1f64), - (math::NAN, math::NAN)), - ((math::NAN, math::INF), -@@ -583,8 +583,8 @@ const TEST_COSHSC: [](c128, c128) = [ - (1f64, 0f64)), - ((0f64, math::INF), - (math::NAN, 0f64)), // imaginary sign unspecified -- ((0f64, math::NAN), -- (math::NAN, 0f64)), // imaginary sign unspecified -+// ((0f64, math::NAN), -+// (math::NAN, 0f64)), // imaginary sign unspecified - ((1f64, math::INF), - (math::NAN, math::NAN)), - ((1f64, math::NAN), -@@ -627,8 +627,8 @@ const TEST_EXPSC: [](c128, c128) = [ - (0f64, 0f64)), // real and imaginary sign unspecified - ((math::INF, math::INF), - (math::INF, math::NAN)), // real sign unspecified -- ((-math::INF, math::NAN), -- (0f64, 0f64)), // real and imaginary sign unspecified -+// ((-math::INF, math::NAN), -+// (0f64, 0f64)), // real and imaginary sign unspecified - ((math::INF, math::NAN), - (math::INF, math::NAN)), // real sign unspecified - ((math::NAN, 0f64), diff --git a/pkgs/development/compilers/hare/hare/default.nix b/pkgs/development/compilers/hare/hare/default.nix index 546bb61bbc6..297e5e6c82c 100644 --- a/pkgs/development/compilers/hare/hare/default.nix +++ b/pkgs/development/compilers/hare/hare/default.nix @@ -23,10 +23,6 @@ stdenv.mkDerivation (self: { hash = "sha256-1cSXWD8jpW1VJZDTDOkIabczqbaDCOWsyaUSGtsKsUM="; }; - patches = [ - ./000-disable-failing-test-cases.diff - ]; - nativeBuildInputs = [ binutils-unwrapped harec -- cgit 1.4.1 From 83c7a01cb4280c0e406519b2b5ecd32c19fc195b Mon Sep 17 00:00:00 2001 From: Nick Cao Date: Sat, 8 Apr 2023 11:05:40 +0800 Subject: stratis-cli: 3.5.0 -> 3.5.1 Diff: https://github.com/stratis-storage/stratis-cli/compare/v3.5.0...v3.5.1 --- pkgs/tools/filesystems/stratis-cli/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/filesystems/stratis-cli/default.nix b/pkgs/tools/filesystems/stratis-cli/default.nix index cf60c13f0fe..89f1eb81822 100644 --- a/pkgs/tools/filesystems/stratis-cli/default.nix +++ b/pkgs/tools/filesystems/stratis-cli/default.nix @@ -6,13 +6,13 @@ python3Packages.buildPythonApplication rec { pname = "stratis-cli"; - version = "3.5.0"; + version = "3.5.1"; src = fetchFromGitHub { owner = "stratis-storage"; repo = pname; rev = "v${version}"; - hash = "sha256-IfvI8DVjm68SewHtQbhGGU1oku4eZnF7cRyeVPB/Ctk="; + hash = "sha256-aDWHXKmlKKJo+ckW1vA0bm4q5z2g/Zx5frVDR6Kwgjw="; }; propagatedBuildInputs = with python3Packages; [ -- cgit 1.4.1 From c0f788dc0c92168b6ec16c01116febf1d825f3f4 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 8 Apr 2023 03:06:48 +0000 Subject: terraform-providers.dnsimple: 0.16.3 -> 0.17.0 --- .../networking/cluster/terraform-providers/providers.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/networking/cluster/terraform-providers/providers.json b/pkgs/applications/networking/cluster/terraform-providers/providers.json index 7d6a8b58ed2..2b0aecdbdb0 100644 --- a/pkgs/applications/networking/cluster/terraform-providers/providers.json +++ b/pkgs/applications/networking/cluster/terraform-providers/providers.json @@ -327,13 +327,13 @@ "vendorHash": "sha256-Ba4J6LUchqhdZTxcJxTgP20aZVioybIzKvF4j5TDQIk=" }, "dnsimple": { - "hash": "sha256-fLYaGjQy4NtXuVePYQ8/dI7W04QM6UV3h6f2qU8hM6k=", + "hash": "sha256-40ueiX2LrtTyiMgCgHRq07hMYrLKh6N+7wfrXr+MC7w=", "homepage": "https://registry.terraform.io/providers/dnsimple/dnsimple", "owner": "dnsimple", "repo": "terraform-provider-dnsimple", - "rev": "v0.16.3", + "rev": "v0.17.0", "spdx": "MPL-2.0", - "vendorHash": "sha256-gARkcCVDxamHHyLhUaJ85OGDmUjeOW8LUxVyM348QUY=" + "vendorHash": "sha256-LXRNq5nxoZ6xZdKioT6cjyLaYChRAN28PzKsJ5BRako=" }, "docker": { "hash": "sha256-UyHOI8C0eDV5YllAi9clHp/CEldHjIp3FHHMPy1rK58=", -- cgit 1.4.1 From 42f239e0ff9ef4f5e06e011b4e64ce9f4bed2d28 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 8 Apr 2023 03:08:07 +0000 Subject: terraform-providers.argocd: 5.0.1 -> 5.1.0 --- .../networking/cluster/terraform-providers/providers.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/networking/cluster/terraform-providers/providers.json b/pkgs/applications/networking/cluster/terraform-providers/providers.json index 2b0aecdbdb0..3095c1f69c9 100644 --- a/pkgs/applications/networking/cluster/terraform-providers/providers.json +++ b/pkgs/applications/networking/cluster/terraform-providers/providers.json @@ -73,11 +73,11 @@ "vendorHash": "sha256-DqAHkNxfI1txtW9PadHzgWuRCiuV/CVqq/qba+e0O7M=" }, "argocd": { - "hash": "sha256-fmIbmjXOwIvtNMNQHtg3ucKzwXdh0do8DW5c6iYlil0=", + "hash": "sha256-IDPX+j9bxQGoBpG/XpLpsFx48iDLcCUzDso08xAsOf0=", "homepage": "https://registry.terraform.io/providers/oboukili/argocd", "owner": "oboukili", "repo": "terraform-provider-argocd", - "rev": "v5.0.1", + "rev": "v5.1.0", "spdx": "MPL-2.0", "vendorHash": "sha256-mKefDPwWPlUleoAkJpTvJwQeOb7pA80cZQ7fpwir6kk=" }, -- cgit 1.4.1 From 3c7d47031eb3195287f6a39655456de933fbdf7e Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 8 Apr 2023 03:10:24 +0000 Subject: terraform-providers.huaweicloud: 1.47.0 -> 1.47.1 --- .../networking/cluster/terraform-providers/providers.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/networking/cluster/terraform-providers/providers.json b/pkgs/applications/networking/cluster/terraform-providers/providers.json index 3095c1f69c9..8146e41463f 100644 --- a/pkgs/applications/networking/cluster/terraform-providers/providers.json +++ b/pkgs/applications/networking/cluster/terraform-providers/providers.json @@ -539,11 +539,11 @@ "vendorHash": "sha256-rxh8Me+eOKPCbfHFT3tRsbM7JU67dBqv2JOiWArI/2Y=" }, "huaweicloud": { - "hash": "sha256-oPwvZClbKk4fbYc+cVHINcxNBU55w8LK53oyTUsCrTw=", + "hash": "sha256-VK/b74pGB8vjaWmUi8Zz4K5utIUYlfeYk18YZF8J1jI=", "homepage": "https://registry.terraform.io/providers/huaweicloud/huaweicloud", "owner": "huaweicloud", "repo": "terraform-provider-huaweicloud", - "rev": "v1.47.0", + "rev": "v1.47.1", "spdx": "MPL-2.0", "vendorHash": null }, -- cgit 1.4.1 From 5947116ce70c833ab05564a244b0edbea514416b Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 8 Apr 2023 03:10:51 +0000 Subject: terraform-providers.newrelic: 3.20.1 -> 3.20.2 --- .../networking/cluster/terraform-providers/providers.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/networking/cluster/terraform-providers/providers.json b/pkgs/applications/networking/cluster/terraform-providers/providers.json index 8146e41463f..be0ed012a39 100644 --- a/pkgs/applications/networking/cluster/terraform-providers/providers.json +++ b/pkgs/applications/networking/cluster/terraform-providers/providers.json @@ -764,13 +764,13 @@ "vendorHash": null }, "newrelic": { - "hash": "sha256-BGfIem4k0fQ6C5igNRBIOvd7ZRD7RKtTD59n5gdzht4=", + "hash": "sha256-/q1kKXdeVjxliE1HeGiusscLM4pYylgik88nxk5gPcs=", "homepage": "https://registry.terraform.io/providers/newrelic/newrelic", "owner": "newrelic", "repo": "terraform-provider-newrelic", - "rev": "v3.20.1", + "rev": "v3.20.2", "spdx": "MPL-2.0", - "vendorHash": "sha256-X/piLF1xMA/epnL/g0ZY0N+5PUjFZhNBV/lmsrwqwpA=" + "vendorHash": "sha256-WF4AdTu6lxoNSCsFKLMeQbHgH6j+hM0VNBRsue+azJA=" }, "nomad": { "hash": "sha256-oHY+jM4JQgLlE1wd+/H9H8H2g0e9ZuxI6OMlz3Izfjg=", -- cgit 1.4.1 From e779b8233f55b9b5525daffdd98f7b0ffd749742 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sat, 8 Apr 2023 05:19:02 +0000 Subject: python310Packages.ansible-doctor: 2.0.3 -> 2.0.4 --- pkgs/development/python-modules/ansible-doctor/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/ansible-doctor/default.nix b/pkgs/development/python-modules/ansible-doctor/default.nix index 473625e67aa..fa2b21cbc64 100644 --- a/pkgs/development/python-modules/ansible-doctor/default.nix +++ b/pkgs/development/python-modules/ansible-doctor/default.nix @@ -18,7 +18,7 @@ buildPythonPackage rec { pname = "ansible-doctor"; - version = "2.0.3"; + version = "2.0.4"; format = "pyproject"; disabled = pythonOlder "3.7"; @@ -27,7 +27,7 @@ buildPythonPackage rec { owner = "thegeeklab"; repo = "ansible-doctor"; rev = "refs/tags/v${version}"; - hash = "sha256-rhXhz6aUQ9hw83cfHmOLXMyyLQc7pSCGgurFhuglKjU="; + hash = "sha256-nZv1PdR0kGrke2AjcDWjDWBdsw64UpHYFNDFAe/UoJo="; }; pythonRelaxDeps = true; -- cgit 1.4.1