From 2bd442211e1cc3fd17ada2f5ddc4e08ad0aed529 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Tue, 22 Aug 2023 18:08:06 +0200 Subject: [PATCH 01/51] python311Packages.bluetooth-data-tools: 1.7.0 -> 1.8.0 Diff: https://github.com/Bluetooth-Devices/bluetooth-data-tools/compare/refs/tags/v1.7.0...v1.8.0 Changelog: https://github.com/Bluetooth-Devices/bluetooth-data-tools/blob/v1.8.0/CHANGELOG.md --- .../python-modules/bluetooth-data-tools/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/bluetooth-data-tools/default.nix b/pkgs/development/python-modules/bluetooth-data-tools/default.nix index a68f8c8da43..cf31ead13f0 100644 --- a/pkgs/development/python-modules/bluetooth-data-tools/default.nix +++ b/pkgs/development/python-modules/bluetooth-data-tools/default.nix @@ -10,7 +10,7 @@ buildPythonPackage rec { pname = "bluetooth-data-tools"; - version = "1.7.0"; + version = "1.8.0"; format = "pyproject"; disabled = pythonOlder "3.9"; @@ -19,7 +19,7 @@ buildPythonPackage rec { owner = "Bluetooth-Devices"; repo = pname; rev = "refs/tags/v${version}"; - hash = "sha256-EmZPiZKm/80nJpPnJWhI9i4I6MhgQMifLOEUBFLqbSw="; + hash = "sha256-f3LiblHVREE6c3zLgkVz3mCj2t8B1DHVCro4OkQUu2Q="; }; # The project can build both an optimized cython version and an unoptimized From ec0c7f2799dd2afc2e0a3e03acd6d3bbc2ac3b44 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Wed, 23 Aug 2023 11:07:17 +0000 Subject: [PATCH 02/51] dolibarr: 16.0.5 -> 17.0.3 --- pkgs/servers/web-apps/dolibarr/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/servers/web-apps/dolibarr/default.nix b/pkgs/servers/web-apps/dolibarr/default.nix index 9c94ad3bd54..4e2070d91eb 100644 --- a/pkgs/servers/web-apps/dolibarr/default.nix +++ b/pkgs/servers/web-apps/dolibarr/default.nix @@ -2,13 +2,13 @@ stdenv.mkDerivation rec { pname = "dolibarr"; - version = "16.0.5"; + version = "17.0.3"; src = fetchFromGitHub { owner = "Dolibarr"; repo = "dolibarr"; rev = version; - sha256 = "sha256-+OAkUMwLXZGFPQocJARIG//+0V1Dv5MdZvythbp4KPw="; + sha256 = "sha256-RpmeBoFY2TyYTpHLG2Kx5FezUHzwukj1+SfZhQOqxqU="; }; dontBuild = true; From 2705576522b2d6d33c9df68f1d11e37cc3c08ab9 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 24 Aug 2023 00:29:26 +0200 Subject: [PATCH 03/51] python311Packages.bluetooth-data-tools: 1.8.0 -> 1.9.0 Diff: https://github.com/Bluetooth-Devices/bluetooth-data-tools/compare/refs/tags/v1.8.0...v1.9.0 Changelog: https://github.com/Bluetooth-Devices/bluetooth-data-tools/blob/v1.9.0/CHANGELOG.md --- .../python-modules/bluetooth-data-tools/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/bluetooth-data-tools/default.nix b/pkgs/development/python-modules/bluetooth-data-tools/default.nix index cf31ead13f0..7543d5bdbe8 100644 --- a/pkgs/development/python-modules/bluetooth-data-tools/default.nix +++ b/pkgs/development/python-modules/bluetooth-data-tools/default.nix @@ -10,7 +10,7 @@ buildPythonPackage rec { pname = "bluetooth-data-tools"; - version = "1.8.0"; + version = "1.9.0"; format = "pyproject"; disabled = pythonOlder "3.9"; @@ -19,7 +19,7 @@ buildPythonPackage rec { owner = "Bluetooth-Devices"; repo = pname; rev = "refs/tags/v${version}"; - hash = "sha256-f3LiblHVREE6c3zLgkVz3mCj2t8B1DHVCro4OkQUu2Q="; + hash = "sha256-LhrByEkc6WhPkp/V7c0jQJlYmT5q2zIQ0nHvb6Nq8Xo="; }; # The project can build both an optimized cython version and an unoptimized From 5d10258ef141348944da95f62d701a612fbbed37 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Thu, 24 Aug 2023 17:19:44 +0000 Subject: [PATCH 04/51] eksctl: 0.151.0 -> 0.153.0 --- pkgs/tools/admin/eksctl/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/admin/eksctl/default.nix b/pkgs/tools/admin/eksctl/default.nix index 9153e4c4ecf..1501679661a 100644 --- a/pkgs/tools/admin/eksctl/default.nix +++ b/pkgs/tools/admin/eksctl/default.nix @@ -6,16 +6,16 @@ buildGoModule rec { pname = "eksctl"; - version = "0.151.0"; + version = "0.153.0"; src = fetchFromGitHub { owner = "weaveworks"; repo = pname; rev = version; - hash = "sha256-XZo4g66r/pvIHT5XqvQYcwPzrYUGoQKNE2h5skhPzU4="; + hash = "sha256-BB2EPkfp8kcCPkRftKTPnMYqAJT6RSeqBhcjseJQMS8="; }; - vendorHash = "sha256-p+zCwVKUP6igQLR5GycsmF2oNyDfP/EEgg89kBDS1VU="; + vendorHash = "sha256-/aL1mweWPJRjjqzGBcGc7UHcH0ymVANdu2LkpoCTkh0="; doCheck = false; From 47c18883bca5181b339ee079226567e0dc369101 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 25 Aug 2023 00:21:23 +0200 Subject: [PATCH 05/51] python311Packages.snitun: 0.35.0 -> 0.36.1 Diff: https://github.com/NabuCasa/snitun/compare/refs/tags/0.35.0...0.36.1 Changelog: https://github.com/NabuCasa/snitun/releases/tag/0.36.1 --- pkgs/development/python-modules/snitun/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/snitun/default.nix b/pkgs/development/python-modules/snitun/default.nix index 42b225aa381..35d7a877fed 100644 --- a/pkgs/development/python-modules/snitun/default.nix +++ b/pkgs/development/python-modules/snitun/default.nix @@ -13,7 +13,7 @@ buildPythonPackage rec { pname = "snitun"; - version = "0.35.0"; + version = "0.36.1"; format = "setuptools"; disabled = pythonOlder "3.7"; @@ -22,7 +22,7 @@ buildPythonPackage rec { owner = "NabuCasa"; repo = pname; rev = "refs/tags/${version}"; - hash = "sha256-sZMmou9uHThl7AIMnuBxABnWTF1CCFsDj1I7FYxgJ3Y="; + hash = "sha256-ViFAPAA6uU5MQNHCTIw0OTR8eZPgF34GqRP+py6L6RU="; }; propagatedBuildInputs = [ From 517d3e5289b9bd8c545070a20bb215bf0dab4e54 Mon Sep 17 00:00:00 2001 From: Adam Stephens Date: Fri, 25 Aug 2023 15:00:27 -0400 Subject: [PATCH 06/51] lxd: 5.16 -> 5.17 --- pkgs/tools/admin/lxd/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/admin/lxd/default.nix b/pkgs/tools/admin/lxd/default.nix index 427d60f3edf..5e123ff6685 100644 --- a/pkgs/tools/admin/lxd/default.nix +++ b/pkgs/tools/admin/lxd/default.nix @@ -18,11 +18,11 @@ buildGoModule rec { pname = "lxd-unwrapped"; - version = "5.16"; + version = "5.17"; src = fetchurl { url = "https://github.com/canonical/lxd/releases/download/lxd-${version}/lxd-${version}.tar.gz"; - hash = "sha256-evtNPZvnx8rzr/tJkEp0E7BhUBWHBSJdMtZJQk3VZI8="; + hash = "sha256-21pw8Q8UYjuxdaKzNXoTanxxyTNRXXbuerIZPIQK4yg="; }; vendorHash = null; From 1910da6976d433ee0e981a25ebcec428107de2ff Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 25 Aug 2023 21:32:20 +0200 Subject: [PATCH 07/51] python311Packages.awscrt: 0.16.10 -> 0.19.0 Changelog: https://github.com/awslabs/aws-crt-python/releases/tag/v0.19.0 --- pkgs/development/python-modules/awscrt/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/awscrt/default.nix b/pkgs/development/python-modules/awscrt/default.nix index 2c85cbfcf79..dc9ddfeceb7 100644 --- a/pkgs/development/python-modules/awscrt/default.nix +++ b/pkgs/development/python-modules/awscrt/default.nix @@ -12,14 +12,14 @@ buildPythonPackage rec { pname = "awscrt"; - version = "0.16.10"; + version = "0.19.0"; format = "setuptools"; disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; - hash = "sha256-MQFJm0ebgvBAP2Fb9SDB+LlQaBjSdePiit4lzGvNuSs="; + hash = "sha256-Q5DA+lraOebUYgjFDj11XUPZY1X8qD/1dwgeMoL2SZ0="; }; buildInputs = lib.optionals stdenv.isDarwin [ From 6339c38f3056869a9cf47e4416d80307520ddfac Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 26 Aug 2023 00:24:37 +0200 Subject: [PATCH 08/51] awscli2: 2.13.7 -> 2.13.13 Diff: https://github.com/aws/aws-cli/compare/refs/tags/2.13.7...2.13.13 Changelog: https://github.com/aws/aws-cli/blob/2.13.13/CHANGELOG.rst --- pkgs/tools/admin/awscli2/default.nix | 35 ++++++++++++---------------- 1 file changed, 15 insertions(+), 20 deletions(-) diff --git a/pkgs/tools/admin/awscli2/default.nix b/pkgs/tools/admin/awscli2/default.nix index ef44da70227..c2465ea9591 100644 --- a/pkgs/tools/admin/awscli2/default.nix +++ b/pkgs/tools/admin/awscli2/default.nix @@ -3,7 +3,6 @@ , groff , less , fetchFromGitHub -, fetchpatch , nix-update-script , testers , awscli2 @@ -24,31 +23,27 @@ let in with py.pkgs; buildPythonApplication rec { pname = "awscli2"; - version = "2.13.7"; # N.B: if you change this, check if overrides are still up-to-date + version = "2.13.13"; # N.B: if you change this, check if overrides are still up-to-date format = "pyproject"; src = fetchFromGitHub { owner = "aws"; repo = "aws-cli"; - rev = version; - hash = "sha256-SQ9ggHSpQioptic5qjrhCB63t9pld7KGAeCNtq4OJyQ="; + rev = "refs/tags/${version}"; + hash = "sha256-0Wx/Ze6W0Fa8OzM79PFu2liSxl1UwuUqIoYT0WhTk5k="; }; - patches = [ - # https://github.com/aws/aws-cli/pull/7912 - (fetchpatch { - name = "update-flit-core.patch"; - url = "https://github.com/aws/aws-cli/commit/83412a4b2ec750bada640a34a87bfe07ce41fb50.patch"; - hash = "sha256-uhO6aOSptsARYWuXXEFhx+6rCW5/uGn2KQ15BnhzH68="; - }) - ]; - postPatch = '' substituteInPlace pyproject.toml \ --replace 'cryptography>=3.3.2,<40.0.2' 'cryptography>=3.3.2' \ - --replace 'flit_core>=3.7.1,<3.8.1' 'flit_core>=3.7.1' + --replace 'flit_core>=3.7.1,<3.8.1' 'flit_core>=3.7.1' \ + --replace 'awscrt>=0.16.4,<=0.16.16' 'awscrt>=0.16.4' - # upstream needs pip to build and install dependencies and validates this + substituteInPlace requirements-base.txt \ + --replace "wheel==0.38.4" "wheel>=0.38.4" \ + --replace "flit_core==3.8.0" "flit_core>=3.8.0" + + # Upstream needs pip to build and install dependencies and validates this # with a configure script, but we don't as we provide all of the packages # through PYTHONPATH sed -i '/pip>=/d' requirements/bootstrap.txt @@ -61,18 +56,18 @@ with py.pkgs; buildPythonApplication rec { propagatedBuildInputs = [ awscrt bcdoc + botocore colorama cryptography distro docutils groff + jmespath less prompt-toolkit - pyyaml - rsa - ruamel-yaml python-dateutil - jmespath + pyyaml + ruamel-yaml urllib3 ]; @@ -131,9 +126,9 @@ with py.pkgs; buildPythonApplication rec { }; meta = with lib; { + description = "Unified tool to manage your AWS services"; homepage = "https://docs.aws.amazon.com/cli/latest/userguide/install-cliv2.html"; changelog = "https://github.com/aws/aws-cli/blob/${version}/CHANGELOG.rst"; - description = "Unified tool to manage your AWS services"; license = licenses.asl20; maintainers = with maintainers; [ bhipple davegallant bryanasdev000 devusb anthonyroussel ]; mainProgram = "aws"; From 94b8060742eaf6d7a9f9b60276d9da334c8abc46 Mon Sep 17 00:00:00 2001 From: kashw2 Date: Sat, 26 Aug 2023 09:43:57 +1000 Subject: [PATCH 09/51] syft: 0.87.0 -> 0.88.0 --- pkgs/tools/admin/syft/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/admin/syft/default.nix b/pkgs/tools/admin/syft/default.nix index c8f91dc0fe6..0f823492d32 100644 --- a/pkgs/tools/admin/syft/default.nix +++ b/pkgs/tools/admin/syft/default.nix @@ -2,13 +2,13 @@ buildGoModule rec { pname = "syft"; - version = "0.87.0"; + version = "0.88.0"; src = fetchFromGitHub { owner = "anchore"; repo = pname; rev = "v${version}"; - hash = "sha256-qDeUo/xAGCy/Ih5B8AyiJ7q9aCd5iWNkW7T+0OqAfTY="; + hash = "sha256-A9EYbZigG6TmyYhMjqhpZRaYnR7KzCJpaOBEEaSXWQ4="; # 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; @@ -22,7 +22,7 @@ buildGoModule rec { }; # hash mismatch with darwin proxyVendor = true; - vendorHash = "sha256-7lrim4N3hT2qkpTIVF1A/GUu5BfJ3Z8A6H1nd8yHwaw="; + vendorHash = "sha256-7KL/Z95Gg2Cy6oUIVS8KLS3DvQYcLCZaxgKbtzR1M1U="; nativeBuildInputs = [ installShellFiles ]; From b5a2c6b5a7d3f0fd620ec5beca9297ecff4972db Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sat, 26 Aug 2023 00:10:07 +0000 Subject: [PATCH 10/51] diffoscope: 247 -> 248 --- pkgs/tools/misc/diffoscope/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/misc/diffoscope/default.nix b/pkgs/tools/misc/diffoscope/default.nix index 28457061703..85e148049fa 100644 --- a/pkgs/tools/misc/diffoscope/default.nix +++ b/pkgs/tools/misc/diffoscope/default.nix @@ -78,11 +78,11 @@ # Note: when upgrading this package, please run the list-missing-tools.sh script as described below! python3.pkgs.buildPythonApplication rec { pname = "diffoscope"; - version = "247"; + version = "248"; src = fetchurl { url = "https://diffoscope.org/archive/diffoscope-${version}.tar.bz2"; - hash = "sha256-sbLny1eK/eyCQKeSUyQc3DTvlHeCp8rAgrx681KjvNQ="; + hash = "sha256-Lub+SIr0EyY4YmPsoLXWavXJhcpmK5VRb6eEnozZ0XQ="; }; outputs = [ From b577764a78b6571140019ad30ebff8908f9ec54e Mon Sep 17 00:00:00 2001 From: Aaron Jheng Date: Sat, 26 Aug 2023 09:42:26 +0800 Subject: [PATCH 11/51] nbtscanner: 0.0.1 -> 0.0.2 --- .../security/nbtscanner/Cargo.lock.patch | 176 ++++++++++++++++++ pkgs/tools/security/nbtscanner/default.nix | 10 +- 2 files changed, 183 insertions(+), 3 deletions(-) create mode 100644 pkgs/tools/security/nbtscanner/Cargo.lock.patch diff --git a/pkgs/tools/security/nbtscanner/Cargo.lock.patch b/pkgs/tools/security/nbtscanner/Cargo.lock.patch new file mode 100644 index 00000000000..7ca50b7b4a1 --- /dev/null +++ b/pkgs/tools/security/nbtscanner/Cargo.lock.patch @@ -0,0 +1,176 @@ +diff --git a/Cargo.lock b/Cargo.lock +index 9b32d00..9767c48 100644 +--- a/Cargo.lock ++++ b/Cargo.lock +@@ -1,39 +1,44 @@ + # This file is automatically @generated by Cargo. + # It is not intended for manual editing. ++version = 3 ++ + [[package]] + name = "ansi_term" +-version = "0.10.2" ++version = "0.12.1" + source = "registry+https://github.com/rust-lang/crates.io-index" +-checksum = "6b3568b48b7cefa6b8ce125f9bb4989e52fbcc29ebea88df04cc7c5f12f70455" ++checksum = "d52a9bb7ec0cf484c551830a7ce27bd20d67eac647e1befb56b0be4ee39a55d2" ++dependencies = [ ++ "winapi", ++] + + [[package]] + name = "assert_matches" +-version = "1.1.0" ++version = "1.5.0" + source = "registry+https://github.com/rust-lang/crates.io-index" +-checksum = "9e772942dccdf11b368c31e044e4fca9189f80a773d2f0808379de65894cbf57" ++checksum = "9b34d609dfbaf33d6889b2b7106d3ca345eacad44200913df5ba02bfd31d2ba9" + + [[package]] + name = "atty" +-version = "0.2.6" ++version = "0.2.14" + source = "registry+https://github.com/rust-lang/crates.io-index" +-checksum = "8352656fd42c30a0c3c89d26dea01e3b77c0ab2af18230835c15e2e13cd51859" ++checksum = "d9b39be18770d11421cdb1b9947a45dd3f37e93092cbf377614828a319d5fee8" + dependencies = [ ++ "hermit-abi", + "libc", +- "termion", + "winapi", + ] + + [[package]] + name = "bitflags" +-version = "1.0.1" ++version = "1.3.2" + source = "registry+https://github.com/rust-lang/crates.io-index" +-checksum = "b3c30d3802dfb7281680d6285f2ccdaa8c2d8fee41f93805dba5c4cf50dc23cf" ++checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" + + [[package]] + name = "clap" +-version = "2.29.1" ++version = "2.34.0" + source = "registry+https://github.com/rust-lang/crates.io-index" +-checksum = "8f4a2b3bb7ef3c672d7c13d15613211d5a6976b6892c598b0fcb5d40765f19c2" ++checksum = "a0610544180c38b88101fecf2dd634b174a62eef6946f84dfc6a7127512b381c" + dependencies = [ + "ansi_term", + "atty", +@@ -45,77 +50,60 @@ dependencies = [ + ] + + [[package]] +-name = "libc" +-version = "0.2.36" ++name = "hermit-abi" ++version = "0.1.19" + source = "registry+https://github.com/rust-lang/crates.io-index" +-checksum = "1e5d97d6708edaa407429faa671b942dc0f2727222fb6b6539bf1db936e4b121" +- +-[[package]] +-name = "nbtscanner" +-version = "0.0.1" ++checksum = "62b467343b94ba476dcb2500d242dadbb39557df889310ac77c5d99100aaac33" + dependencies = [ +- "assert_matches", +- "clap", ++ "libc", + ] + + [[package]] +-name = "redox_syscall" +-version = "0.1.37" ++name = "libc" ++version = "0.2.147" + source = "registry+https://github.com/rust-lang/crates.io-index" +-checksum = "0d92eecebad22b767915e4d529f89f28ee96dbbf5a4810d2b844373f136417fd" ++checksum = "b4668fb0ea861c1df094127ac5f1da3409a82116a4ba74fca2e58ef927159bb3" + + [[package]] +-name = "redox_termios" +-version = "0.1.1" +-source = "registry+https://github.com/rust-lang/crates.io-index" +-checksum = "7e891cfe48e9100a70a3b6eb652fef28920c117d366339687bd5576160db0f76" ++name = "nbtscanner" ++version = "0.0.2" + dependencies = [ +- "redox_syscall", ++ "assert_matches", ++ "clap", + ] + + [[package]] + name = "strsim" +-version = "0.6.0" +-source = "registry+https://github.com/rust-lang/crates.io-index" +-checksum = "b4d15c810519a91cf877e7e36e63fe068815c678181439f2f29e2562147c3694" +- +-[[package]] +-name = "termion" +-version = "1.5.1" ++version = "0.8.0" + source = "registry+https://github.com/rust-lang/crates.io-index" +-checksum = "689a3bdfaab439fd92bc87df5c4c78417d3cbe537487274e9b0b2dce76e92096" +-dependencies = [ +- "libc", +- "redox_syscall", +- "redox_termios", +-] ++checksum = "8ea5119cdb4c55b55d432abb513a0429384878c15dde60cc77b1c99de1a95a6a" + + [[package]] + name = "textwrap" +-version = "0.9.0" ++version = "0.11.0" + source = "registry+https://github.com/rust-lang/crates.io-index" +-checksum = "c0b59b6b4b44d867f1370ef1bd91bfb262bf07bf0ae65c202ea2fbc16153b693" ++checksum = "d326610f408c7a4eb6f51c37c330e496b08506c9457c9d34287ecc38809fb060" + dependencies = [ + "unicode-width", + ] + + [[package]] + name = "unicode-width" +-version = "0.1.4" ++version = "0.1.10" + source = "registry+https://github.com/rust-lang/crates.io-index" +-checksum = "bf3a113775714a22dcb774d8ea3655c53a32debae63a063acc00a91cc586245f" ++checksum = "c0edd1e5b14653f783770bce4a4dabb4a5108a5370a5f5d8cfe8710c361f6c8b" + + [[package]] + name = "vec_map" +-version = "0.8.0" ++version = "0.8.2" + source = "registry+https://github.com/rust-lang/crates.io-index" +-checksum = "887b5b631c2ad01628bbbaa7dd4c869f80d3186688f8d0b6f58774fbe324988c" ++checksum = "f1bddf1187be692e79c5ffeab891132dfb0f236ed36a43c7ed39f1165ee20191" + + [[package]] + name = "winapi" +-version = "0.3.3" ++version = "0.3.9" + source = "registry+https://github.com/rust-lang/crates.io-index" +-checksum = "b09fb3b6f248ea4cd42c9a65113a847d612e17505d6ebd1f7357ad68a8bf8693" ++checksum = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419" + dependencies = [ + "winapi-i686-pc-windows-gnu", + "winapi-x86_64-pc-windows-gnu", +@@ -123,12 +111,12 @@ dependencies = [ + + [[package]] + name = "winapi-i686-pc-windows-gnu" +-version = "0.3.2" ++version = "0.4.0" + source = "registry+https://github.com/rust-lang/crates.io-index" +-checksum = "ec6667f60c23eca65c561e63a13d81b44234c2e38a6b6c959025ee907ec614cc" ++checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6" + + [[package]] + name = "winapi-x86_64-pc-windows-gnu" +-version = "0.3.2" ++version = "0.4.0" + source = "registry+https://github.com/rust-lang/crates.io-index" +-checksum = "98f12c52b2630cd05d2c3ffd8e008f7f48252c042b4871c72aed9dc733b96668" ++checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" diff --git a/pkgs/tools/security/nbtscanner/default.nix b/pkgs/tools/security/nbtscanner/default.nix index 6ad9fdd4770..51e9f085164 100644 --- a/pkgs/tools/security/nbtscanner/default.nix +++ b/pkgs/tools/security/nbtscanner/default.nix @@ -7,16 +7,20 @@ rustPlatform.buildRustPackage rec { pname = "nbtscanner"; - version = "0.0.1"; + version = "0.0.2"; src = fetchFromGitHub { owner = "jonkgrimes"; repo = pname; rev = version; - sha256 = "06507a8y41v42cmvjpzimyrzdp972w15fjpc6c6750n1wa2wdl6c"; + hash = "sha256-lnTTutOc829COwfNhBkSK8UpiNnGsm7Da53b+eSBt1Q="; }; - cargoSha256 = "0cis54zmr2x0f4z664lmhk9dzx00hvds6jh3x417308sz7ak11gd"; + cargoHash = "sha256-NffNQXKJ+b1w7Ar2M6UDev/AxruDEf8IGQ+mNdvU6e4="; + + cargoPatches = [ + ./Cargo.lock.patch + ]; buildInputs = lib.optional stdenv.isDarwin Security; From 80cc2d9317b9996e4e3b0b7d246609416a7ea5c1 Mon Sep 17 00:00:00 2001 From: Bobby Rong Date: Sat, 26 Aug 2023 10:22:20 +0800 Subject: [PATCH 12/51] minder: 1.15.2 -> 1.15.6 https://github.com/phase1geo/Minder/compare/1.15.2...1.15.6 --- pkgs/applications/misc/minder/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/misc/minder/default.nix b/pkgs/applications/misc/minder/default.nix index 78eec56b60c..6f3687b228a 100644 --- a/pkgs/applications/misc/minder/default.nix +++ b/pkgs/applications/misc/minder/default.nix @@ -25,13 +25,13 @@ stdenv.mkDerivation rec { pname = "minder"; - version = "1.15.2"; + version = "1.15.6"; src = fetchFromGitHub { owner = "phase1geo"; repo = pname; rev = version; - sha256 = "sha256-aMKu59IWHjK6NlaIZgbpKPISsvGub2tQxEdvogx2XCY="; + sha256 = "sha256-vxUZo68QdeuFlQxLldWplmeGtyX2NHo3AJZmt+JLCF4="; }; nativeBuildInputs = [ From 59a7584c68241bc080c09349e976887af1f5fc2b Mon Sep 17 00:00:00 2001 From: Mario Rodas Date: Sat, 26 Aug 2023 04:20:00 +0000 Subject: [PATCH 13/51] luau: 0.591 -> 0.592 Diff: https://github.com/Roblox/luau/compare/0.591...0.592 Changelog: https://github.com/Roblox/luau/releases/tag/0.592 --- pkgs/development/interpreters/luau/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/interpreters/luau/default.nix b/pkgs/development/interpreters/luau/default.nix index 4bacb15a79d..2ae58455f42 100644 --- a/pkgs/development/interpreters/luau/default.nix +++ b/pkgs/development/interpreters/luau/default.nix @@ -2,13 +2,13 @@ stdenv.mkDerivation rec { pname = "luau"; - version = "0.591"; + version = "0.592"; src = fetchFromGitHub { owner = "Roblox"; repo = "luau"; rev = version; - hash = "sha256-eCYB+B5bglUcF+xAAHBWwwgDrvY9NatmcwL/GUnIhOk="; + hash = "sha256-S0Sr28jPnFBurLlCCj3BzTLh7yvzEPlR0MAUz7cDf1k="; }; nativeBuildInputs = [ cmake ]; From 0876dbf59714520587161ce6e991efc61f41c342 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sat, 26 Aug 2023 06:05:05 +0000 Subject: [PATCH 14/51] sqlcmd: 1.2.1 -> 1.3.0 --- pkgs/development/tools/database/sqlcmd/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/tools/database/sqlcmd/default.nix b/pkgs/development/tools/database/sqlcmd/default.nix index b6fac2c3127..3ad3ef0656f 100644 --- a/pkgs/development/tools/database/sqlcmd/default.nix +++ b/pkgs/development/tools/database/sqlcmd/default.nix @@ -8,16 +8,16 @@ buildGoModule rec { pname = "sqlcmd"; - version = "1.2.1"; + version = "1.3.0"; src = fetchFromGitHub { repo = "go-sqlcmd"; owner = "microsoft"; rev = "v${version}"; - sha256 = "sha256-d9XxE+yY3LEsg9JYOFYs9r2ZHaH0+tnEOqNV+5tEiAs="; + sha256 = "sha256-omclEa/URexzzpn5jRw2ivBPxmx6kw+WBIOk4XZASkU="; }; - vendorHash = "sha256-+buoX9etR34p1N2G8+48ZvF6cg/y4uKb89sSIwkoeuY="; + vendorHash = "sha256-mqyKH6xLfTqKVStEZYqau19U9y/NlqoD0XLeoWHScgM="; proxyVendor = true; ldflags = [ "-s" "-w" "-X main.version=${version}" ]; From 72069257bf9e72a8cc6a65c2f4b504922d8e915f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ga=C3=ABl=20Reyrol?= Date: Sat, 26 Aug 2023 10:14:07 +0200 Subject: [PATCH 15/51] phpExtensions.opentelemetry: init at 1.0.0beta6 --- .../php-packages/opentelemetry/default.nix | 25 +++++++++++++++++++ pkgs/top-level/php-packages.nix | 2 ++ 2 files changed, 27 insertions(+) create mode 100644 pkgs/development/php-packages/opentelemetry/default.nix diff --git a/pkgs/development/php-packages/opentelemetry/default.nix b/pkgs/development/php-packages/opentelemetry/default.nix new file mode 100644 index 00000000000..dda00a883d3 --- /dev/null +++ b/pkgs/development/php-packages/opentelemetry/default.nix @@ -0,0 +1,25 @@ +{ lib, buildPecl, fetchFromGitHub }: + +let + version = "1.0.0beta6"; +in buildPecl { + inherit version; + pname = "opentelemetry"; + + src = fetchFromGitHub { + owner = "open-telemetry"; + repo = "opentelemetry-php-instrumentation"; + rev = version; + hash = "sha256-dbyFb+Wh4thbnwASgPuQ4ceeke6NDMFLvNXjp66hLCM="; + }; + + doCheck = true; + + meta = with lib; { + changelog = "https://github.com/open-telemetry/opentelemetry-php-instrumentation/releases/tag/${version}"; + description = "OpenTelemetry PHP auto-instrumentation extension"; + homepage = "https://opentelemetry.io/"; + license = licenses.asl20; + maintainers = with maintainers; [ gaelreyrol ]; + }; +} diff --git a/pkgs/top-level/php-packages.nix b/pkgs/top-level/php-packages.nix index 42df62fb1fa..df8acbf2900 100644 --- a/pkgs/top-level/php-packages.nix +++ b/pkgs/top-level/php-packages.nix @@ -254,6 +254,8 @@ lib.makeScope pkgs.newScope (self: with self; { oci8 = callPackage ../development/php-packages/oci8 { }; + opentelemetry = callPackage ../development/php-packages/opentelemetry { }; + openswoole = callPackage ../development/php-packages/openswoole { }; pdlib = callPackage ../development/php-packages/pdlib { }; From 49d00dd6d6461587f51bbf2fae4c233b0e092634 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 26 Aug 2023 10:42:52 +0200 Subject: [PATCH 16/51] python311Packages.anytree: 2.8.0 -> 2.9.0 Diff: https://github.com/c0fec0de/anytree/compare/refs/tags/2.8.0...2.9.0 Changelog: https://github.com/c0fec0de/anytree/releases/tag/2.9.0 --- .../python-modules/anytree/default.nix | 51 +++++++++++-------- 1 file changed, 30 insertions(+), 21 deletions(-) diff --git a/pkgs/development/python-modules/anytree/default.nix b/pkgs/development/python-modules/anytree/default.nix index d49b2234963..a83d8748d47 100644 --- a/pkgs/development/python-modules/anytree/default.nix +++ b/pkgs/development/python-modules/anytree/default.nix @@ -1,24 +1,28 @@ { lib , buildPythonPackage -, fetchPypi -, pythonOlder -, substituteAll -, six -, withGraphviz ? true -, graphviz +, fetchFromGitHub , fontconfig -# Tests +, graphviz +, poetry-core , pytestCheckHook -, nose +, pythonOlder +, six +, substituteAll +, withGraphviz ? true }: buildPythonPackage rec { pname = "anytree"; - version = "2.8.0"; + version = "2.9.0"; + format = "pyproject"; - src = fetchPypi { - inherit pname version; - sha256 = "3f0f93f355a91bc3e6245319bf4c1d50e3416cc7a35cc1133c1ff38306bbccab"; + disabled = pythonOlder "3.7"; + + src = fetchFromGitHub { + owner = "c0fec0de"; + repo = "anytree"; + rev = "refs/tags/${version}"; + hash = "sha256-e7mmOOvrZuMCcyUg74YLLXGzkb5nCtuYmhNzAbY65gg="; }; patches = lib.optionals withGraphviz [ @@ -28,30 +32,35 @@ buildPythonPackage rec { }) ]; + nativeBuildInputs = [ + poetry-core + ]; + propagatedBuildInputs = [ six ]; - # tests print “Fontconfig error: Cannot load default config file” + nativeCheckInputs = [ + pytestCheckHook + ]; + + # Tests print “Fontconfig error: Cannot load default config file” preCheck = lib.optionalString withGraphviz '' export FONTCONFIG_FILE=${fontconfig.out}/etc/fonts/fonts.conf ''; - # circular dependency anytree → graphviz → pango → glib → gtk-doc → anytree + # Circular dependency anytree → graphviz → pango → glib → gtk-doc → anytree doCheck = withGraphviz; - nativeCheckInputs = [ pytestCheckHook nose ]; - - pytestFlagsArray = lib.optionals (pythonOlder "3.4") [ - # Use enums, which aren't available pre-python3.4 - "--ignore=tests/test_resolver.py" - "--ignore=tests/test_search.py" + pythonImportsCheck = [ + "anytree" ]; meta = with lib; { description = "Powerful and Lightweight Python Tree Data Structure"; homepage = "https://github.com/c0fec0de/anytree"; + changelog = "https://github.com/c0fec0de/anytree/releases/tag/${version}"; license = licenses.asl20; - maintainers = [ ]; + maintainers = with maitnainers; [ ]; }; } From 1d67c02fc341d236704b3bf67a4439268ea6884a Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 26 Aug 2023 10:47:44 +0200 Subject: [PATCH 17/51] python311Packages.awacs: 2.3.0 -> 2.4.0 Changelog: https://github.com/cloudtools/awacs/blob/2.4.0/CHANGELOG.md --- pkgs/development/python-modules/awacs/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/awacs/default.nix b/pkgs/development/python-modules/awacs/default.nix index 54e7b32825f..f59eaccd1b9 100644 --- a/pkgs/development/python-modules/awacs/default.nix +++ b/pkgs/development/python-modules/awacs/default.nix @@ -8,13 +8,13 @@ buildPythonPackage rec { pname = "awacs"; - version = "2.3.0"; + version = "2.4.0"; disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; - hash = "sha256-0tizZWcHe1qbLxpXS/IngExaFFUHZyXXlksWcNL/vEw="; + hash = "sha256-iflg6tjqFl1gWOzlJhQwGHhAQ/pKm9n8GVvUz6fSboM="; }; propagatedBuildInputs = lib.lists.optionals (pythonOlder "3.8") [ From 5000fb7c4791b4948b41ce906e5a5db0e4ecb62c Mon Sep 17 00:00:00 2001 From: Red Star Over Earth Date: Sat, 26 Aug 2023 17:31:47 +0800 Subject: [PATCH 18/51] kcp: init at 1.7 --- pkgs/development/libraries/kcp/default.nix | 27 ++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 29 insertions(+) create mode 100644 pkgs/development/libraries/kcp/default.nix diff --git a/pkgs/development/libraries/kcp/default.nix b/pkgs/development/libraries/kcp/default.nix new file mode 100644 index 00000000000..69a2b91553e --- /dev/null +++ b/pkgs/development/libraries/kcp/default.nix @@ -0,0 +1,27 @@ +{ lib +, stdenv +, fetchFromGitHub +, cmake +}: + +stdenv.mkDerivation rec { + pname = "kcp"; + version = "1.7"; + + src = fetchFromGitHub { + owner = "skywind3000"; + repo = "kcp"; + rev = version; + hash = "sha256-yW40x4T++4rB7hoabGN8qiSN7octyoUYEfE9oDlLxjU="; + }; + + nativeBuildInputs = [ cmake ]; + + meta = with lib; { + description = "A Fast and Reliable ARQ Protocol"; + homepage = "https://github.com/skywind3000/kcp"; + license = licenses.mit; + maintainers = with maintainers; [ rs0vere ]; + platforms = platforms.all; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 202f1e65baf..1ba33eafffd 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -22328,6 +22328,8 @@ with pkgs; judy = callPackage ../development/libraries/judy { }; + kcp = callPackage ../development/libraries/kcp { }; + kddockwidgets = libsForQt5.callPackage ../development/libraries/kddockwidgets { }; keybinder = callPackage ../development/libraries/keybinder { From 56bb8b73a62b5c3684f48225fe54b2c95cd6a884 Mon Sep 17 00:00:00 2001 From: Raito Bezarius Date: Sat, 26 Aug 2023 12:17:29 +0200 Subject: [PATCH 19/51] llvmPackages_15.libcxxabi: fix build on Linux and Darwin The previous fix in 314584b2 broke *-linux. --- pkgs/development/compilers/llvm/15/libcxxabi/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/compilers/llvm/15/libcxxabi/default.nix b/pkgs/development/compilers/llvm/15/libcxxabi/default.nix index ec61918e341..77ba2d2d008 100644 --- a/pkgs/development/compilers/llvm/15/libcxxabi/default.nix +++ b/pkgs/development/compilers/llvm/15/libcxxabi/default.nix @@ -68,7 +68,6 @@ stdenv.mkDerivation rec { ] ++ lib.optionals (stdenv.hostPlatform.useLLVM or false) [ "-DLLVM_ENABLE_LIBCXX=ON" "-DLIBCXXABI_USE_LLVM_UNWINDER=ON" - ] ++ lib.optionals ((stdenv.hostPlatform.useLLVM or false) || !stdenv.hostPlatform.isDarwin) [ # libcxxabi's CMake looks as though it treats -nostdlib++ as implying -nostdlib, # but that does not appear to be the case for example when building # pkgsLLVM.libcxxabi (which uses clangNoCompilerRtWithLibc). From e5e3e6e4d6a643d89ddaa156786eb2cb2fd3c7ea Mon Sep 17 00:00:00 2001 From: Raito Bezarius Date: Sat, 26 Aug 2023 12:17:52 +0200 Subject: [PATCH 20/51] llvmPackages_16.libcxxabi: fix build on Linux and Darwin The previous fix in adc89508 broke *-linux. --- pkgs/development/compilers/llvm/16/libcxxabi/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/compilers/llvm/16/libcxxabi/default.nix b/pkgs/development/compilers/llvm/16/libcxxabi/default.nix index ec61918e341..77ba2d2d008 100644 --- a/pkgs/development/compilers/llvm/16/libcxxabi/default.nix +++ b/pkgs/development/compilers/llvm/16/libcxxabi/default.nix @@ -68,7 +68,6 @@ stdenv.mkDerivation rec { ] ++ lib.optionals (stdenv.hostPlatform.useLLVM or false) [ "-DLLVM_ENABLE_LIBCXX=ON" "-DLIBCXXABI_USE_LLVM_UNWINDER=ON" - ] ++ lib.optionals ((stdenv.hostPlatform.useLLVM or false) || !stdenv.hostPlatform.isDarwin) [ # libcxxabi's CMake looks as though it treats -nostdlib++ as implying -nostdlib, # but that does not appear to be the case for example when building # pkgsLLVM.libcxxabi (which uses clangNoCompilerRtWithLibc). From 6d6210ee9b9e8c9ecf47421675fb6396c992e467 Mon Sep 17 00:00:00 2001 From: Raito Bezarius Date: Sat, 26 Aug 2023 12:18:07 +0200 Subject: [PATCH 21/51] llvmPackages_git.libcxxabi: fix build on Linux and Darwin The previous fix in db0c2564 broke *-linux. --- pkgs/development/compilers/llvm/git/libcxxabi/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/compilers/llvm/git/libcxxabi/default.nix b/pkgs/development/compilers/llvm/git/libcxxabi/default.nix index b65a480117e..362de957886 100644 --- a/pkgs/development/compilers/llvm/git/libcxxabi/default.nix +++ b/pkgs/development/compilers/llvm/git/libcxxabi/default.nix @@ -68,7 +68,6 @@ stdenv.mkDerivation rec { ] ++ lib.optionals (stdenv.hostPlatform.useLLVM or false) [ "-DLLVM_ENABLE_LIBCXX=ON" "-DLIBCXXABI_USE_LLVM_UNWINDER=ON" - ] ++ lib.optionals ((stdenv.hostPlatform.useLLVM or false) || !stdenv.hostPlatform.isDarwin) [ # libcxxabi's CMake looks as though it treats -nostdlib++ as implying -nostdlib, # but that does not appear to be the case for example when building # pkgsLLVM.libcxxabi (which uses clangNoCompilerRtWithLibc). From d9e42ac41bec0a2d99ca70e6fbe4f9300a4ae11f Mon Sep 17 00:00:00 2001 From: Raito Bezarius Date: Sat, 26 Aug 2023 12:47:33 +0200 Subject: [PATCH 22/51] emscripten: 3.1.42 -> 3.1.45 https://github.com/emscripten-core/emscripten/releases/tag/3.1.43 https://github.com/emscripten-core/emscripten/releases/tag/3.1.44 https://github.com/emscripten-core/emscripten/releases/tag/3.1.45 --- pkgs/development/compilers/emscripten/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/compilers/emscripten/default.nix b/pkgs/development/compilers/emscripten/default.nix index be746158230..37ccb5f1a02 100644 --- a/pkgs/development/compilers/emscripten/default.nix +++ b/pkgs/development/compilers/emscripten/default.nix @@ -8,7 +8,7 @@ stdenv.mkDerivation rec { pname = "emscripten"; - version = "3.1.42"; + version = "3.1.45"; llvmEnv = symlinkJoin { name = "emscripten-llvm-${version}"; @@ -19,7 +19,7 @@ stdenv.mkDerivation rec { name = "emscripten-node-modules-${version}"; inherit pname version src; - npmDepsHash = "sha256-QlKm6UvPUa7+VJ9ZvXdxYZzK+U96Ju/oAHPhZ/hyv/I="; + npmDepsHash = "sha256-kcWAio1fKuwqFCFlupX9KevjWPbv9W/Z/5EPrihQ6ms="; dontBuild = true; @@ -32,7 +32,7 @@ stdenv.mkDerivation rec { src = fetchFromGitHub { owner = "emscripten-core"; repo = "emscripten"; - hash = "sha256-elp/LPd9SAuVZy42Wkgb6pCbPi2GnETTfyRJqU92S0E="; + hash = "sha256-yf0Yb/UjaBQpIEPZzzjaUmR+JzKPSJHMkrYLHxDXwOg="; rev = version; }; From f036cc78a5dcf1e4f312b17aadc7953a146cadc5 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 26 Aug 2023 12:49:24 +0200 Subject: [PATCH 23/51] python311Packages.types-docopt: init at 0.6.11.4 --- .../python-modules/types-docopt/default.nix | 29 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 ++ 2 files changed, 31 insertions(+) create mode 100644 pkgs/development/python-modules/types-docopt/default.nix diff --git a/pkgs/development/python-modules/types-docopt/default.nix b/pkgs/development/python-modules/types-docopt/default.nix new file mode 100644 index 00000000000..7c1128efb84 --- /dev/null +++ b/pkgs/development/python-modules/types-docopt/default.nix @@ -0,0 +1,29 @@ +{ lib +, buildPythonPackage +, fetchPypi +}: + +buildPythonPackage rec { + pname = "types-docopt"; + version = "0.6.11.4"; + format = "setuptools"; + + src = fetchPypi { + inherit pname version; + hash = "sha256-mRpkwVaTEMIkCuc0/SwQYnq7ikr6875axvTv+aYB8xo="; + }; + + # Module has no tests + doCheck = false; + + pythonImportsCheck = [ + "docopt-stubs" + ]; + + meta = with lib; { + description = "Typing stubs for docopt"; + homepage = "https://pypi.org/project/types-docopt/"; + license = with licenses; [ asl20 ]; + maintainers = with maintainers; [ fab ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 2e3225440d0..4ac1ee10eb6 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -13132,6 +13132,8 @@ self: super: with self; { types-deprecated = callPackage ../development/python-modules/types-deprecated { }; + types-docopt = callPackage ../development/python-modules/types-docopt { }; + types-docutils = callPackage ../development/python-modules/types-docutils { }; types-enum34 = callPackage ../development/python-modules/types-enum34 { }; From c1bb32ee723b7dfe84d643cb93cb0c62092b6cc1 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 26 Aug 2023 12:50:17 +0200 Subject: [PATCH 24/51] catcli: 0.8.7 -> 0.9.6 Diff: https://github.com/deadc0de6/catcli/compare/refs/tags/v0.8.7...v0.9.6 Changelog: https://github.com/deadc0de6/catcli/releases/tag/v0.9.6 --- pkgs/tools/filesystems/catcli/default.nix | 26 ++++++++++++++++------- 1 file changed, 18 insertions(+), 8 deletions(-) diff --git a/pkgs/tools/filesystems/catcli/default.nix b/pkgs/tools/filesystems/catcli/default.nix index eedbdcc2228..a2f5402dca2 100644 --- a/pkgs/tools/filesystems/catcli/default.nix +++ b/pkgs/tools/filesystems/catcli/default.nix @@ -1,28 +1,38 @@ { lib , fetchFromGitHub -, buildPythonApplication -, docopt, anytree +, python3 }: -buildPythonApplication rec { - +python3.pkgs.buildPythonApplication rec { pname = "catcli"; - version = "0.8.7"; + version = "0.9.6"; + format = "setuptools"; src = fetchFromGitHub { owner = "deadc0de6"; repo = pname; rev = "refs/tags/v${version}"; - sha256 = "sha256-hVunxgc/aUapQYe6k3hKdkC+2Jw0x1HjI/kl/fJdWUo="; + hash = "sha256-+/kd7oPT6msojPj25bzG9HwVqPj47gIUg9LngbDc3y8="; }; - propagatedBuildInputs = [ docopt anytree ]; - postPatch = "patchShebangs . "; + propagatedBuildInputs = with python3.pkgs; [ + anytree + docopt + fusepy + pyfzf + types-docopt + ]; + + nativeCheckInputs = with python3.pkgs; [ + pytestCheckHook + ]; + meta = with lib; { description = "The command line catalog tool for your offline data"; homepage = "https://github.com/deadc0de6/catcli"; + changelog = "https://github.com/deadc0de6/catcli/releases/tag/v${version}"; license = licenses.gpl3Only; maintainers = with maintainers; [ petersjt014 ]; platforms = platforms.all; From 242c5e57ae6660dd0df44991dcdfe1cd6e6775f6 Mon Sep 17 00:00:00 2001 From: Raito Bezarius Date: Sat, 26 Aug 2023 13:02:17 +0200 Subject: [PATCH 25/51] python3Packages.cairo-lang: drop The Python cairo-lang package was devised to be a set of tooling for the 0.x Cairo language for general provable computations via zero knowledge STARK mechanisms. It has been superseded by the Rust compiler for the Cairo language nowadays which is available in nixpkgs. We do not need to keep this EOL and unmaintained package. --- .../python-modules/cairo-lang/default.nix | 105 ------------------ pkgs/top-level/python-packages.nix | 2 - 2 files changed, 107 deletions(-) delete mode 100644 pkgs/development/python-modules/cairo-lang/default.nix diff --git a/pkgs/development/python-modules/cairo-lang/default.nix b/pkgs/development/python-modules/cairo-lang/default.nix deleted file mode 100644 index d183b607b31..00000000000 --- a/pkgs/development/python-modules/cairo-lang/default.nix +++ /dev/null @@ -1,105 +0,0 @@ -{ lib -, aiohttp -, buildPythonPackage -, cachetools -, ecdsa -, eth-hash -, fastecdsa -, fetchzip -, frozendict -, gmp -, lark -, marshmallow -, marshmallow-dataclass -, marshmallow-enum -, marshmallow-oneofschema -, mpmath -, numpy -, pipdeptree -, prometheus-client -, pytest -, pytest-asyncio -, pytestCheckHook -, pythonOlder -, pythonRelaxDepsHook -, pyyaml -, setuptools -, sympy -, typeguard -, web3 -}: - -buildPythonPackage rec { - pname = "cairo-lang"; - version = "0.10.1"; - format = "setuptools"; - - disabled = pythonOlder "3.7"; - - src = fetchzip { - url = "https://github.com/starkware-libs/cairo-lang/releases/download/v${version}/cairo-lang-${version}.zip"; - hash = "sha256-MNbzDqqNhij9JizozLp9hhQjbRGzWxECOErS3TOPlAA="; - }; - - nativeBuildInputs = [ - pythonRelaxDepsHook - ]; - - buildInputs = [ - gmp - ]; - - propagatedBuildInputs = [ - aiohttp - cachetools - setuptools - ecdsa - fastecdsa - sympy - mpmath - numpy - typeguard - frozendict - prometheus-client - marshmallow - marshmallow-enum - marshmallow-dataclass - marshmallow-oneofschema - pipdeptree - lark - web3 - eth-hash - pyyaml - ] ++ eth-hash.optional-dependencies.pycryptodome; - - nativeCheckInputs = [ - pytest-asyncio - pytestCheckHook - ]; - - pythonRelaxDeps = [ - "frozendict" - ]; - - pythonRemoveDeps = [ - # TODO: pytest and pytest-asyncio must be removed as they are check inputs - "pytest" - "pytest-asyncio" - ]; - - postFixup = '' - chmod +x $out/bin/* - ''; - - # There seems to be no test included in the ZIP release… - # Cloning from GitHub is harder because they use a custom CMake setup - # TODO(raitobezarius): upstream was pinged out of band about it. - doCheck = false; - - meta = with lib; { - description = "Tooling for Cairo language"; - homepage = "https://github.com/starkware/cairo-lang"; - license = licenses.mit; - maintainers = with maintainers; [ raitobezarius ]; - }; -} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 2e3225440d0..b6904651f7b 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -1677,8 +1677,6 @@ self: super: with self; { caio = callPackage ../development/python-modules/caio { }; - cairo-lang = callPackage ../development/python-modules/cairo-lang { }; - cairocffi = callPackage ../development/python-modules/cairocffi { }; cairosvg = callPackage ../development/python-modules/cairosvg { }; From 20423599cfb990b956f343d7a6ee91315ef19cd1 Mon Sep 17 00:00:00 2001 From: Raito Bezarius Date: Sat, 26 Aug 2023 13:02:56 +0200 Subject: [PATCH 26/51] netbox: 3.5.7 -> 3.5.8 https://github.com/netbox-community/netbox/releases/tag/v3.5.8 --- pkgs/servers/web-apps/netbox/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/servers/web-apps/netbox/default.nix b/pkgs/servers/web-apps/netbox/default.nix index e5f99033b5d..5ba7efc83ea 100644 --- a/pkgs/servers/web-apps/netbox/default.nix +++ b/pkgs/servers/web-apps/netbox/default.nix @@ -26,8 +26,8 @@ in }; netbox = callPackage generic { - version = "3.5.7"; - hash = "sha256-R5P4FOhn7rE6e9H9U3JlE3ms4Svv6ps4c3+ZjE1KwNM="; + version = "3.5.8"; + hash = "sha256-i8LwMZYItDG5wz0yVn59710R615i81/KYT58og1Ut6A="; extraPatches = [ # Allow setting the STATIC_ROOT from within the configuration and setting a custom redis URL ./config.patch From b07febf83e2c102dc7aa9bab02a3e7847854e3ed Mon Sep 17 00:00:00 2001 From: Raito Bezarius Date: Sat, 26 Aug 2023 13:06:52 +0200 Subject: [PATCH 27/51] python3Packages.web3: remove myself from maintainers I do not have further interest neither time to work on this in the future. --- pkgs/development/python-modules/web3/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/web3/default.nix b/pkgs/development/python-modules/web3/default.nix index f4afe064615..af2dedceed6 100644 --- a/pkgs/development/python-modules/web3/default.nix +++ b/pkgs/development/python-modules/web3/default.nix @@ -67,6 +67,6 @@ buildPythonPackage rec { description = "Web3 library for interactions"; homepage = "https://github.com/ethereum/web3"; license = licenses.mit; - maintainers = with maintainers; [ raitobezarius ]; + maintainers = with maintainers; [ ]; }; } From f4c4822443a5bd975520a66456c7efb93752e5ab Mon Sep 17 00:00:00 2001 From: Raito Bezarius Date: Sat, 26 Aug 2023 13:17:36 +0200 Subject: [PATCH 28/51] sq: 0.40.0 -> 0.42.0 https://github.com/neilotoole/sq/releases/tag/v0.41.0 https://github.com/neilotoole/sq/releases/tag/v0.42.0 As the default version for Go is < 1.21, this did not build anymore. Switched to `buildGo121Module` in the meantime. --- pkgs/development/tools/sq/default.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pkgs/development/tools/sq/default.nix b/pkgs/development/tools/sq/default.nix index eb2f96e34fd..058c84b3c91 100644 --- a/pkgs/development/tools/sq/default.nix +++ b/pkgs/development/tools/sq/default.nix @@ -1,17 +1,17 @@ -{ lib, buildGoModule, fetchFromGitHub, installShellFiles, testers, sq }: +{ lib, buildGo121Module, fetchFromGitHub, installShellFiles, testers, sq }: -buildGoModule rec { +buildGo121Module rec { pname = "sq"; - version = "0.40.0"; + version = "0.42.0"; src = fetchFromGitHub { owner = "neilotoole"; repo = pname; rev = "v${version}"; - sha256 = "sha256-TD9brvMxU2gdiOiJPs/M5PmiwFd99P9YohCG7bcjLas="; + hash = "sha256-IL3041R35WL+sYCpTjfPXUpd7GTcQoaILYBufwH1WoE="; }; - vendorHash = "sha256-/LsQfhU5+Wobts6R3cJDJaKSvPUqWNBpx9ILgNC2otc="; + vendorHash = "sha256-ez5qhGgK0q3oDT0L0Fs+JKJjMbNoJukzCoir2a9ro48="; proxyVendor = true; From 4b9f347f336a65f4b3d64a2083afdc0418a8f45a Mon Sep 17 00:00:00 2001 From: Raito Bezarius Date: Sat, 26 Aug 2023 13:21:48 +0200 Subject: [PATCH 29/51] cairo-lang: 2.0.2 -> 2.2.0 https://github.com/starkware-libs/cairo/releases/tag/v2.1.0 https://github.com/starkware-libs/cairo/releases/tag/v2.1.1 https://github.com/starkware-libs/cairo/releases/tag/v2.2.0 --- pkgs/development/compilers/cairo/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/compilers/cairo/default.nix b/pkgs/development/compilers/cairo/default.nix index 46eeaec1678..31eda13e26b 100644 --- a/pkgs/development/compilers/cairo/default.nix +++ b/pkgs/development/compilers/cairo/default.nix @@ -6,16 +6,16 @@ rustPlatform.buildRustPackage rec { pname = "cairo"; - version = "2.0.2"; + version = "2.2.0"; src = fetchFromGitHub { owner = "starkware-libs"; repo = "cairo"; rev = "v${version}"; - hash = "sha256-tFWY4bqI+YVVu0E9EPl+c0UAsSn/cjgvEOQtyT9tkYg="; + hash = "sha256-X8CqiikY1/S8/WxrZbcwOB+bz0PJsNpuLWLb+k3+5kw="; }; - cargoHash = "sha256-fnkzR07MIwzjvg2ZRhhzYIUhuidEBZt0mGfxwHyhyVE="; + cargoHash = "sha256-jrUH3vmTbbxod547JAE5sOSo+FR15XNgVpM15uXAsvg="; nativeCheckInputs = [ rustfmt From 7207b25099d0a199d438dde143c67de4074a586a Mon Sep 17 00:00:00 2001 From: Raito Bezarius Date: Sat, 26 Aug 2023 13:44:19 +0200 Subject: [PATCH 30/51] nixos/tests/dolibarr: use -X GET instead -X POST to test for redirection Previously, we were POST-ing the homepage to test for redirection, this is wrong. We are supposed to GET-ing it. This is fixed. --- nixos/tests/dolibarr.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/tests/dolibarr.nix b/nixos/tests/dolibarr.nix index 2f012a0c67d..4fdee9e9698 100644 --- a/nixos/tests/dolibarr.nix +++ b/nixos/tests/dolibarr.nix @@ -50,7 +50,7 @@ import ./make-test-python.nix ({ pkgs, lib, ... }: { # Now, we have installed the machine, let's verify we still have the right configuration. assert 'nixos' in machine.succeed("cat /var/lib/dolibarr/conf.php") # We do not want any redirect now as we have installed the machine. - machine.succeed('curl -f -X POST http://localhost') + machine.succeed('curl -f -X GET http://localhost') # Test authentication to the webservice. parser = TokenParser() parser.feed(machine.succeed('curl -f -X GET http://localhost/index.php?mainmenu=login&username=root')) From face05ad58b99ca1755da9bd36b05c38a8b0e992 Mon Sep 17 00:00:00 2001 From: Misaka13514 Date: Sat, 26 Aug 2023 19:47:41 +0800 Subject: [PATCH 31/51] nuclei: 2.9.12 -> 2.9.13 Diff: https://github.com/projectdiscovery/nuclei/compare/v2.9.12...v2.9.13 Changelog: https://github.com/projectdiscovery/nuclei/releases/tag/v2.9.13 --- pkgs/tools/security/nuclei/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/security/nuclei/default.nix b/pkgs/tools/security/nuclei/default.nix index f4d4a66e04a..344ba03a361 100644 --- a/pkgs/tools/security/nuclei/default.nix +++ b/pkgs/tools/security/nuclei/default.nix @@ -5,13 +5,13 @@ buildGoModule rec { pname = "nuclei"; - version = "2.9.12"; + version = "2.9.13"; src = fetchFromGitHub { owner = "projectdiscovery"; repo = pname; rev = "refs/tags/v${version}"; - hash = "sha256-XLSNBFblgDkGGimwx0KqgHfDOekj7GH81EaKQ106v5U="; + hash = "sha256-mjb7U7F4OZ9nRjtLjZk1s7T+n/VqV/RPMbnGodxRVUE="; }; vendorHash = "sha256-/1F2aY3cRLRz06s1KXQ6bt7UgaZgiXEjS/5stGi7xIw="; From 8f1e76455141194a9a68b9a201b914d741a5cfdf Mon Sep 17 00:00:00 2001 From: Austin Horstman Date: Sat, 26 Aug 2023 07:03:52 -0500 Subject: [PATCH 32/51] treewide: add meta.mainProgram (#251487) * skhd: add meta.mainProgram * yabai: add meta.mainProgram * kitty: add meta.mainProgram * alacritty: add meta.mainProgram * thunar: add meta.mainProgram * looking-glass-client: add meta.mainProgram * thunderbird: add meta.mainProgram * ckb-next: add meta.mainProgram * virt-manager: add meta.mainProgram * gh: add meta.mainProgram --- .../networking/mailreaders/thunderbird/packages.nix | 2 ++ pkgs/applications/terminal-emulators/alacritty/default.nix | 1 + pkgs/applications/terminal-emulators/kitty/default.nix | 1 + pkgs/applications/version-management/gh/default.nix | 1 + .../virtualization/looking-glass-client/default.nix | 1 + pkgs/applications/virtualization/virt-manager/default.nix | 1 + pkgs/desktops/xfce/core/thunar/default.nix | 1 + pkgs/os-specific/darwin/skhd/default.nix | 3 ++- pkgs/os-specific/darwin/yabai/default.nix | 1 + pkgs/tools/misc/ckb-next/default.nix | 1 + 10 files changed, 12 insertions(+), 1 deletion(-) diff --git a/pkgs/applications/networking/mailreaders/thunderbird/packages.nix b/pkgs/applications/networking/mailreaders/thunderbird/packages.nix index eef91d60d87..dd580227aa2 100644 --- a/pkgs/applications/networking/mailreaders/thunderbird/packages.nix +++ b/pkgs/applications/networking/mailreaders/thunderbird/packages.nix @@ -22,6 +22,7 @@ rec { changelog = "https://www.thunderbird.net/en-US/thunderbird/${version}/releasenotes/"; description = "A full-featured e-mail client"; homepage = "https://thunderbird.net/"; + mainProgram = "thunderbird"; maintainers = with maintainers; [ eelco lovesegfault pierron vcunat ]; platforms = platforms.unix; badPlatforms = platforms.darwin; @@ -59,6 +60,7 @@ rec { changelog = "https://www.thunderbird.net/en-US/thunderbird/${version}/releasenotes/"; description = "A full-featured e-mail client"; homepage = "https://thunderbird.net/"; + mainProgram = "thunderbird"; maintainers = with maintainers; [ eelco lovesegfault pierron vcunat ]; platforms = platforms.unix; badPlatforms = platforms.darwin; diff --git a/pkgs/applications/terminal-emulators/alacritty/default.nix b/pkgs/applications/terminal-emulators/alacritty/default.nix index be1ccdc354e..ffa1780b5e7 100644 --- a/pkgs/applications/terminal-emulators/alacritty/default.nix +++ b/pkgs/applications/terminal-emulators/alacritty/default.nix @@ -132,6 +132,7 @@ rustPlatform.buildRustPackage rec { description = "A cross-platform, GPU-accelerated terminal emulator"; homepage = "https://github.com/alacritty/alacritty"; license = licenses.asl20; + mainProgram = "alacritty"; maintainers = with maintainers; [ Br1ght0ne mic92 ]; platforms = platforms.unix; changelog = "https://github.com/alacritty/alacritty/blob/v${version}/CHANGELOG.md"; diff --git a/pkgs/applications/terminal-emulators/kitty/default.nix b/pkgs/applications/terminal-emulators/kitty/default.nix index 9b4a1be708f..6e0322c2b94 100644 --- a/pkgs/applications/terminal-emulators/kitty/default.nix +++ b/pkgs/applications/terminal-emulators/kitty/default.nix @@ -239,6 +239,7 @@ buildPythonApplication rec { license = licenses.gpl3Only; changelog = "https://sw.kovidgoyal.net/kitty/changelog/"; platforms = platforms.darwin ++ platforms.linux; + mainProgram = "kitty"; maintainers = with maintainers; [ tex rvolosatovs Luflosi adamcstephens ]; }; } diff --git a/pkgs/applications/version-management/gh/default.nix b/pkgs/applications/version-management/gh/default.nix index 84de388ca60..c0dfb435a24 100644 --- a/pkgs/applications/version-management/gh/default.nix +++ b/pkgs/applications/version-management/gh/default.nix @@ -47,6 +47,7 @@ buildGoModule rec { homepage = "https://cli.github.com/"; changelog = "https://github.com/cli/cli/releases/tag/v${version}"; license = licenses.mit; + mainProgram = "gh"; maintainers = with maintainers; [ zowoq ]; }; } diff --git a/pkgs/applications/virtualization/looking-glass-client/default.nix b/pkgs/applications/virtualization/looking-glass-client/default.nix index 60808705e8d..67baa3ab91b 100644 --- a/pkgs/applications/virtualization/looking-glass-client/default.nix +++ b/pkgs/applications/virtualization/looking-glass-client/default.nix @@ -95,6 +95,7 @@ stdenv.mkDerivation rec { ''; homepage = "https://looking-glass.io/"; license = licenses.gpl2Plus; + mainProgram = "looking-glass-client"; maintainers = with maintainers; [ alexbakker babbaj j-brn ]; platforms = [ "x86_64-linux" ]; }; diff --git a/pkgs/applications/virtualization/virt-manager/default.nix b/pkgs/applications/virtualization/virt-manager/default.nix index 31c8bbfdc5e..0165fc34df5 100644 --- a/pkgs/applications/virtualization/virt-manager/default.nix +++ b/pkgs/applications/virtualization/virt-manager/default.nix @@ -93,6 +93,7 @@ python3.pkgs.buildPythonApplication rec { ''; license = licenses.gpl2; platforms = platforms.unix; + mainProgram = "virt-manager"; maintainers = with maintainers; [ qknight offline fpletz globin ]; }; } diff --git a/pkgs/desktops/xfce/core/thunar/default.nix b/pkgs/desktops/xfce/core/thunar/default.nix index f9e8c86b631..0d80c6bd451 100644 --- a/pkgs/desktops/xfce/core/thunar/default.nix +++ b/pkgs/desktops/xfce/core/thunar/default.nix @@ -58,6 +58,7 @@ let unwrapped = mkXfceDerivation { meta = with lib; { description = "Xfce file manager"; + mainProgram = "thunar"; maintainers = with maintainers; [ ] ++ teams.xfce.members; }; }; diff --git a/pkgs/os-specific/darwin/skhd/default.nix b/pkgs/os-specific/darwin/skhd/default.nix index 2de0a8d4d51..be70e1c8bcd 100644 --- a/pkgs/os-specific/darwin/skhd/default.nix +++ b/pkgs/os-specific/darwin/skhd/default.nix @@ -35,7 +35,8 @@ stdenv.mkDerivation (finalAttrs: { description = "Simple hotkey daemon for macOS"; homepage = "https://github.com/koekeishiya/skhd"; license = lib.licenses.mit; - maintainers = with lib.maintainers; [ cmacrae lnl7 periklis khaneliman]; + mainProgram = "skhd"; + maintainers = with lib.maintainers; [ cmacrae lnl7 periklis khaneliman ]; platforms = lib.platforms.darwin; }; }) diff --git a/pkgs/os-specific/darwin/yabai/default.nix b/pkgs/os-specific/darwin/yabai/default.nix index 703916db553..e31c6b4f74c 100644 --- a/pkgs/os-specific/darwin/yabai/default.nix +++ b/pkgs/os-specific/darwin/yabai/default.nix @@ -37,6 +37,7 @@ let changelog = "https://github.com/koekeishiya/yabai/blob/v${version}/CHANGELOG.md"; license = licenses.mit; platforms = platforms.darwin; + mainProgram = "yabai"; maintainers = with maintainers; [ cmacrae shardy diff --git a/pkgs/tools/misc/ckb-next/default.nix b/pkgs/tools/misc/ckb-next/default.nix index efd581a06cb..f9309ecf81d 100644 --- a/pkgs/tools/misc/ckb-next/default.nix +++ b/pkgs/tools/misc/ckb-next/default.nix @@ -50,6 +50,7 @@ mkDerivation rec { homepage = "https://github.com/ckb-next/ckb-next"; license = licenses.gpl2; platforms = platforms.linux; + mainProgram = "ckb-next"; maintainers = with maintainers; [ ]; }; } From 6175a329d29f290924587ba7a02572a05055f331 Mon Sep 17 00:00:00 2001 From: Adam Stephens Date: Sat, 26 Aug 2023 08:49:01 -0400 Subject: [PATCH 33/51] lxd: fix passthru test building --- nixos/tests/all-tests.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/tests/all-tests.nix b/nixos/tests/all-tests.nix index 19aaac69459..b3d47d9eba8 100644 --- a/nixos/tests/all-tests.nix +++ b/nixos/tests/all-tests.nix @@ -443,7 +443,7 @@ in { loki = handleTest ./loki.nix {}; luks = handleTest ./luks.nix {}; lvm2 = handleTest ./lvm2 {}; - lxd = handleTest ./lxd {}; + lxd = pkgs.recurseIntoAttrs (handleTest ./lxd {}); lxd-image-server = handleTest ./lxd-image-server.nix {}; #logstash = handleTest ./logstash.nix {}; lorri = handleTest ./lorri/default.nix {}; From c709ea868a530a64b9146df2f8a6c21a28b51da2 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Mon, 21 Aug 2023 16:28:52 +0200 Subject: [PATCH 34/51] python311Packages.aws-lambda-builders: 1.34.0 -> 1.36.0 Diff: https://github.com/awslabs/aws-lambda-builders/compare/refs/tags/v1.34.0...v1.36.0 Changelog: https://github.com/aws/aws-lambda-builders/releases/tag/v1.36.0 --- .../python-modules/aws-lambda-builders/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/aws-lambda-builders/default.nix b/pkgs/development/python-modules/aws-lambda-builders/default.nix index 536a67b4837..39618c8e514 100644 --- a/pkgs/development/python-modules/aws-lambda-builders/default.nix +++ b/pkgs/development/python-modules/aws-lambda-builders/default.nix @@ -12,7 +12,7 @@ buildPythonPackage rec { pname = "aws-lambda-builders"; - version = "1.34.0"; + version = "1.36.0"; format = "setuptools"; disabled = pythonOlder "3.7"; @@ -21,7 +21,7 @@ buildPythonPackage rec { owner = "awslabs"; repo = "aws-lambda-builders"; rev = "refs/tags/v${version}"; - hash = "sha256-MjX0im9GX0mdWkumUoJUIBjPZl/Ok5+sR6Dgq6vVGKM="; + hash = "sha256-cHpeNY0WY4yai/yWw2Oy1QLLjlj8PFNdB3BMbkP31Ds="; }; propagatedBuildInputs = [ From 1249d49eb364132be57f2620b04ce4c759e067f5 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 26 Aug 2023 15:12:09 +0200 Subject: [PATCH 35/51] aws-sam-cli: add changelog to meta --- pkgs/development/tools/aws-sam-cli/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/development/tools/aws-sam-cli/default.nix b/pkgs/development/tools/aws-sam-cli/default.nix index 32b7ba5a178..08a76223acf 100644 --- a/pkgs/development/tools/aws-sam-cli/default.nix +++ b/pkgs/development/tools/aws-sam-cli/default.nix @@ -56,8 +56,9 @@ python3.pkgs.buildPythonApplication rec { doCheck = false; meta = with lib; { - homepage = "https://github.com/awslabs/aws-sam-cli"; description = "CLI tool for local development and testing of Serverless applications"; + homepage = "https://github.com/awslabs/aws-sam-cli"; + changelog = "https://github.com/aws/aws-sam-cli/releases/tag/v${version}"; license = licenses.asl20; maintainers = with maintainers; [ lo1tuma ]; }; From f9f22f04a7fe30aa137200c0e17b4fa1c707b115 Mon Sep 17 00:00:00 2001 From: Austin Horstman Date: Sat, 26 Aug 2023 08:25:15 -0500 Subject: [PATCH 36/51] fastfetch: 2.0.4 -> 2.0.5 --- pkgs/tools/misc/fastfetch/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/misc/fastfetch/default.nix b/pkgs/tools/misc/fastfetch/default.nix index 74904a569c2..2a222f15566 100644 --- a/pkgs/tools/misc/fastfetch/default.nix +++ b/pkgs/tools/misc/fastfetch/default.nix @@ -42,13 +42,13 @@ stdenv.mkDerivation (finalAttrs: { pname = "fastfetch"; - version = "2.0.4"; + version = "2.0.5"; src = fetchFromGitHub { owner = "fastfetch-cli"; repo = "fastfetch"; rev = finalAttrs.version; - hash = "sha256-8A00XGKX/dbJElrHQrtoDCEGZJ8ktpFJ6zsxu2qZcxI="; + hash = "sha256-KYicfYpJiO7ZfQ2vlGDKuiNprIwXnxz6Razf3GrjRq8="; }; nativeBuildInputs = [ From 549cdad38971e32417dc99b16fdab83e2a1fe0e5 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 26 Aug 2023 16:04:35 +0200 Subject: [PATCH 37/51] python311Packages.aws-lambda-builders: ensure that the version is set --- .../python-modules/aws-lambda-builders/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/development/python-modules/aws-lambda-builders/default.nix b/pkgs/development/python-modules/aws-lambda-builders/default.nix index 39618c8e514..c716a56dfb2 100644 --- a/pkgs/development/python-modules/aws-lambda-builders/default.nix +++ b/pkgs/development/python-modules/aws-lambda-builders/default.nix @@ -24,6 +24,11 @@ buildPythonPackage rec { hash = "sha256-cHpeNY0WY4yai/yWw2Oy1QLLjlj8PFNdB3BMbkP31Ds="; }; + postPatch = '' + substituteInPlace setup.py \ + --replace "version=read_version()," 'version="${version}",' + ''; + propagatedBuildInputs = [ six ]; From 56c7025b4ee260e946ed797d747e04b87921cf1f Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 26 Aug 2023 16:05:15 +0200 Subject: [PATCH 38/51] aws-sam-cli: relax aws-lambda-builders constraint --- pkgs/development/tools/aws-sam-cli/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/development/tools/aws-sam-cli/default.nix b/pkgs/development/tools/aws-sam-cli/default.nix index 08a76223acf..311e44051d6 100644 --- a/pkgs/development/tools/aws-sam-cli/default.nix +++ b/pkgs/development/tools/aws-sam-cli/default.nix @@ -42,9 +42,11 @@ python3.pkgs.buildPythonApplication rec { postPatch = '' substituteInPlace requirements/base.txt \ --replace 'PyYAML>=' 'PyYAML>=5.4.1 #' \ + --replace "aws_lambda_builders==" "aws_lambda_builders>=" \ --replace 'aws-sam-translator==1.70.0' 'aws-sam-translator>=1.60.1' \ --replace 'boto3>=' 'boto3>=1.26.79 #' \ --replace 'cfn-lint~=0.77.9' 'cfn-lint~=0.73.2' \ + --replace "cookiecutter~=" "cookiecutter>=" \ --replace 'docker~=6.1.0' 'docker~=6.0.1' \ --replace 'ruamel_yaml~=0.17.32' 'ruamel_yaml~=0.17.21' \ --replace 'tomlkit==0.11.8' 'tomlkit>=0.11.8' \ From a5d63c365f3b08e0be8c797eccf11904ad377792 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 26 Aug 2023 16:18:09 +0200 Subject: [PATCH 39/51] python311Packages.opower: 0.0.31 -> 0.0.32 Diff: https://github.com/tronikos/opower/compare/refs/tags/v0.0.31...v0.0.32 Changelog: https://github.com/tronikos/opower/releases/tag/v0.0.32 --- pkgs/development/python-modules/opower/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/opower/default.nix b/pkgs/development/python-modules/opower/default.nix index 381afbea510..1ad1f902e3c 100644 --- a/pkgs/development/python-modules/opower/default.nix +++ b/pkgs/development/python-modules/opower/default.nix @@ -12,7 +12,7 @@ buildPythonPackage rec { pname = "opower"; - version = "0.0.31"; + version = "0.0.32"; format = "pyproject"; disabled = pythonOlder "3.9"; @@ -21,7 +21,7 @@ buildPythonPackage rec { owner = "tronikos"; repo = "opower"; rev = "refs/tags/v${version}"; - hash = "sha256-lJVaQnGfZBjMgWLKZG/LNao8l4Fj3z3AZhnfgJwOcxo="; + hash = "sha256-zfLulpFEB3KfN2wm1wXYbHZ9opI9k3q0YIWardNPZa0="; }; pythonRemoveDeps = [ From faeb7ac63ade165aa94156e8983ede46295bf886 Mon Sep 17 00:00:00 2001 From: Daniel Nagy Date: Thu, 24 Aug 2023 20:15:00 +0200 Subject: [PATCH 40/51] emacsPackages.typst-mode: replace program --- .../editors/emacs/elisp-packages/melpa-packages.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pkgs/applications/editors/emacs/elisp-packages/melpa-packages.nix b/pkgs/applications/editors/emacs/elisp-packages/melpa-packages.nix index e1d1c6abbff..65b9c7b2889 100644 --- a/pkgs/applications/editors/emacs/elisp-packages/melpa-packages.nix +++ b/pkgs/applications/editors/emacs/elisp-packages/melpa-packages.nix @@ -535,6 +535,13 @@ let (attrs.nativeBuildInputs or [ ]) ++ [ pkgs.git ]; }); + typst-mode = super.typst-mode.overrideAttrs (attrs: { + postPatch = attrs.postPatch or "" + '' + substituteInPlace typst-mode.el \ + --replace 'typst-executable-location "typst"' 'typst-executable-location "${lib.getExe pkgs.typst}"' + ''; + }); + vdiff-magit = super.vdiff-magit.overrideAttrs (attrs: { nativeBuildInputs = (attrs.nativeBuildInputs or [ ]) ++ [ pkgs.git ]; From d9a6e4d41bf6d20cb05af1827cef75a38c483dcb Mon Sep 17 00:00:00 2001 From: Daniel Nagy Date: Sat, 26 Aug 2023 16:30:00 +0200 Subject: [PATCH 41/51] typst: set mainProgram --- pkgs/tools/typesetting/typst/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/tools/typesetting/typst/default.nix b/pkgs/tools/typesetting/typst/default.nix index adcbee4bb28..66b0160c363 100644 --- a/pkgs/tools/typesetting/typst/default.nix +++ b/pkgs/tools/typesetting/typst/default.nix @@ -49,5 +49,6 @@ rustPlatform.buildRustPackage rec { changelog = "https://github.com/typst/typst/releases/tag/${src.rev}"; license = licenses.asl20; maintainers = with maintainers; [ drupol figsoda kanashimia ]; + mainProgram = "typst"; }; } From b7177a792c8b617f602bdc016ab55f2b4277d98e Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 26 Aug 2023 16:50:04 +0200 Subject: [PATCH 42/51] python311Packages.filedepot: add patch for Pillow 10 support --- .../python-modules/filedepot/default.nix | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/filedepot/default.nix b/pkgs/development/python-modules/filedepot/default.nix index a73c282c160..b347a1a6bd1 100644 --- a/pkgs/development/python-modules/filedepot/default.nix +++ b/pkgs/development/python-modules/filedepot/default.nix @@ -2,10 +2,10 @@ , anyascii , buildPythonPackage , fetchFromGitHub +, fetchpatch , flaky , google-cloud-storage , mock -, paste , pillow , pymongo , pytestCheckHook @@ -28,6 +28,15 @@ buildPythonPackage rec { hash = "sha256-vPceky5cvmy3MooWz7dRdy68VoAHN7i3a7egBs4dPE8="; }; + patches = [ + # Add support for Pillow 10, https://github.com/amol-/depot/pull/84 + (fetchpatch { + name = "support-pillow-10.patch"; + url = "https://github.com/amol-/depot/commit/bdb73d1b3898279068b421bc061ecc18c5108fa4.patch"; + hash = "sha256-7+VGrdJstkiy0bYAqA9FjF1NftZiurgyPd8Wlz6GUy8="; + }) + ]; + propagatedBuildInputs = [ anyascii google-cloud-storage @@ -36,7 +45,6 @@ buildPythonPackage rec { nativeCheckInputs = [ flaky mock - paste pillow pymongo pytestCheckHook @@ -45,6 +53,8 @@ buildPythonPackage rec { ]; disabledTestPaths = [ + # ModuleNotFoundError: No module named 'depot._pillow_compat' + "tests/test_fields_sqlalchemy.py" # The examples have tests "examples" # Missing dependencies (TurboGears2 and ming) From f9aa8c555fb257bf53d12810ea6f4b36e7020b2e Mon Sep 17 00:00:00 2001 From: michaelgrahamevans Date: Sat, 26 Aug 2023 17:01:50 +0200 Subject: [PATCH 43/51] =?UTF-8?q?gnome.gnome-maps:=2044.3=20=E2=86=92=2044?= =?UTF-8?q?.4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit https://gitlab.gnome.org/GNOME/gnome-maps/-/compare/v44.3...v44.4 --- pkgs/desktops/gnome/apps/gnome-maps/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/desktops/gnome/apps/gnome-maps/default.nix b/pkgs/desktops/gnome/apps/gnome-maps/default.nix index 5555baa92c3..7c70759d0d5 100644 --- a/pkgs/desktops/gnome/apps/gnome-maps/default.nix +++ b/pkgs/desktops/gnome/apps/gnome-maps/default.nix @@ -27,11 +27,11 @@ stdenv.mkDerivation rec { pname = "gnome-maps"; - version = "44.3"; + version = "44.4"; src = fetchurl { url = "mirror://gnome/sources/${pname}/${lib.versions.major version}/${pname}-${version}.tar.xz"; - sha256 = "sha256-O+E7Ie66mp2jDmnfFtcYvrEw7b+9QG649AK/6hdBJgI="; + hash = "sha256-3admgmWnCVKWDElRnPv7+jV2gyb8W4CyYX8U/7LJuHM="; }; doCheck = true; From 72a282bbd93ac4c5ddf3c20f677a621c636fecf1 Mon Sep 17 00:00:00 2001 From: Jason Odoom Date: Sat, 26 Aug 2023 11:32:39 -0400 Subject: [PATCH 44/51] lcrq: 0.1.1 -> 0.1.2 Co-authored-by: Jason Odoom Co-authored-by: Anish Lakhwara Co-authored-by: Dominic Mills Co-authored-by: Albert Chae Co-authored-by: Jack Leightcap --- pkgs/development/libraries/lcrq/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/libraries/lcrq/default.nix b/pkgs/development/libraries/lcrq/default.nix index 91a8e2e30f5..865ec469732 100644 --- a/pkgs/development/libraries/lcrq/default.nix +++ b/pkgs/development/libraries/lcrq/default.nix @@ -5,14 +5,14 @@ }: stdenv.mkDerivation (finalAttrs: { name = "lcrq"; - version = "0.1.1"; + version = "0.1.2"; src = fetchFromGitea { domain = "codeberg.org"; owner = "librecast"; repo = "lcrq"; rev = "v${finalAttrs.version}"; - hash = "sha256-GvfmHST53qwVrztnmCzUVbVkgNGtAl5adqdNWOHItiU="; + hash = "sha256-r4UiZ9oNDxF3rHMqg+1NLLjm6LPZtzgtZOs7pRe5SdQ="; }; installFlags = [ "PREFIX=$(out)" ]; @@ -23,6 +23,6 @@ stdenv.mkDerivation (finalAttrs: { homepage = "https://librecast.net/lcrq.html"; license = [ lib.licenses.gpl2 lib.licenses.gpl3 ]; maintainers = with lib.maintainers; [ albertchae aynish DMills27 jasonodoom jleightcap ]; - platforms = lib.platforms.gnu; + platforms = lib.platforms.unix; }; }) From 200009610a4add0c79ca075b63d149f886b95c6c Mon Sep 17 00:00:00 2001 From: Nadir Ishiguro Date: Sat, 26 Aug 2023 13:21:49 +0200 Subject: [PATCH 45/51] rdiff-backup: 2.0.5 -> 2.2.5 Changelog: https://github.com/rdiff-backup/rdiff-backup/blob/master/CHANGELOG.adoc --- pkgs/tools/backup/rdiff-backup/default.nix | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/pkgs/tools/backup/rdiff-backup/default.nix b/pkgs/tools/backup/rdiff-backup/default.nix index 5892ddbe010..654306f873b 100644 --- a/pkgs/tools/backup/rdiff-backup/default.nix +++ b/pkgs/tools/backup/rdiff-backup/default.nix @@ -6,22 +6,18 @@ let in pypkgs.buildPythonApplication rec { pname = "rdiff-backup"; - version = "2.0.5"; + version = "2.2.5"; src = fetchPypi { inherit pname version; - sha256 = "sha256-VNFgOOYgFO2RbHHIMDsH0vphpqaAOMoYn8LTFTSw84s="; + sha256 = "sha256-huKCa3hOw+pO8YfZNu5fFSd0IsQHfvoBVu9n4xOeoI4="; }; - # pkg_resources fails to find the version and then falls back to "DEV" - postPatch = '' - substituteInPlace src/rdiff_backup/Globals.py \ - --replace 'version = "DEV"' 'version = "${version}"' - ''; + nativeBuildInputs = with pypkgs; [ setuptools-scm ]; buildInputs = [ librsync ]; - nativeBuildInputs = with pypkgs; [ setuptools-scm ]; + propagatedBuildInputs = with pypkgs; [ pyyaml ]; # no tests from pypi doCheck = false; From 9f698f54aba4c69698aad2f84a764eed99282ee4 Mon Sep 17 00:00:00 2001 From: "\"Jack77793\"" <"jack77793@hotmail.com"> Date: Sun, 27 Aug 2023 00:00:09 +0800 Subject: [PATCH 46/51] vimPlugins.nvim-lilypond-suite: init at 2023-08-18 --- pkgs/applications/editors/vim/plugins/vim-plugin-names | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/applications/editors/vim/plugins/vim-plugin-names b/pkgs/applications/editors/vim/plugins/vim-plugin-names index 638f22515c0..48af7f5e9bb 100644 --- a/pkgs/applications/editors/vim/plugins/vim-plugin-names +++ b/pkgs/applications/editors/vim/plugins/vim-plugin-names @@ -595,6 +595,7 @@ https://gitlab.com/usmcamp0811/nvim-julia-autotest,HEAD, https://github.com/ethanholz/nvim-lastplace/,HEAD, https://github.com/kosayoda/nvim-lightbulb/,, https://github.com/josa42/nvim-lightline-lsp/,, +https://github.com/martineausimon/nvim-lilypond-suite/,HEAD, https://github.com/mfussenegger/nvim-lint/,, https://github.com/mrded/nvim-lsp-notify/,HEAD, https://github.com/jose-elias-alvarez/nvim-lsp-ts-utils/,, From b424933ae6bd7f213bd541a1bde594fe715da9a6 Mon Sep 17 00:00:00 2001 From: figsoda Date: Sat, 26 Aug 2023 12:00:55 -0400 Subject: [PATCH 47/51] egglog: unstable-2023-08-19 -> unstable-2023-08-23 Diff: https://github.com/egraphs-good/egglog/compare/a4768b1751b72292b0e79e6e442d54ab270748fb...9e530381961a59524f2bbacd89973575b4e036d8 --- pkgs/applications/science/logic/egglog/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/science/logic/egglog/default.nix b/pkgs/applications/science/logic/egglog/default.nix index c74594df28f..c2e46c6801b 100644 --- a/pkgs/applications/science/logic/egglog/default.nix +++ b/pkgs/applications/science/logic/egglog/default.nix @@ -5,13 +5,13 @@ rustPlatform.buildRustPackage { pname = "egglog"; - version = "unstable-2023-08-19"; + version = "unstable-2023-08-23"; src = fetchFromGitHub { owner = "egraphs-good"; repo = "egglog"; - rev = "a4768b1751b72292b0e79e6e442d54ab270748fb"; - hash = "sha256-WTdMhtdPvBtS6WAS3S4dui/8ospJ7nkeRhLce2zY8KE="; + rev = "9e530381961a59524f2bbacd89973575b4e036d8"; + hash = "sha256-xzfa1Z7ibSO4D5zpprC7heaswA7Be5Qmb81XoDwANqw="; }; cargoLock = { From 906836a6acf6e06ac681371848a89d685165fd29 Mon Sep 17 00:00:00 2001 From: "\"Jack77793\"" <"jack77793@hotmail.com"> Date: Sun, 27 Aug 2023 00:02:07 +0800 Subject: [PATCH 48/51] vimPlugins.adwaita-nvim: init at 2023-06-22 --- pkgs/applications/editors/vim/plugins/vim-plugin-names | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/applications/editors/vim/plugins/vim-plugin-names b/pkgs/applications/editors/vim/plugins/vim-plugin-names index 638f22515c0..8a261ceb1dc 100644 --- a/pkgs/applications/editors/vim/plugins/vim-plugin-names +++ b/pkgs/applications/editors/vim/plugins/vim-plugin-names @@ -40,6 +40,7 @@ https://github.com/ycm-core/YouCompleteMe/,, https://github.com/vim-scripts/a.vim/,, https://github.com/mileszs/ack.vim/,, https://github.com/eikenb/acp/,, +https://github.com/Mofiqul/adwaita.nvim/,HEAD, https://github.com/stevearc/aerial.nvim/,, https://github.com/Numkil/ag.nvim/,, https://github.com/derekelkins/agda-vim/,, From f6a6dc801f7ca53e4d11ede38a6c937f644221dc Mon Sep 17 00:00:00 2001 From: Anderson Torres Date: Fri, 25 Aug 2023 19:18:25 -0300 Subject: [PATCH 49/51] emacs: refactor - Remove the excessive repetition of inherited packages - Factor the excessive repetition of metadata in sources.nix --- pkgs/applications/editors/emacs/default.nix | 44 ++----- pkgs/applications/editors/emacs/sources.nix | 121 +++++++++----------- 2 files changed, 69 insertions(+), 96 deletions(-) diff --git a/pkgs/applications/editors/emacs/default.nix b/pkgs/applications/editors/emacs/default.nix index fe3c5d9ec51..a6914a43d41 100644 --- a/pkgs/applications/editors/emacs/default.nix +++ b/pkgs/applications/editors/emacs/default.nix @@ -4,6 +4,14 @@ lib.makeScope pkgs.newScope (self: let gconf = pkgs.gnome2.GConf; inherit (self) callPackage; + inheritedArgs = { + inherit gconf; + + inherit (pkgs.darwin) sigtool; + inherit (pkgs.darwin.apple_sdk.frameworks) + AppKit Carbon Cocoa GSS ImageCaptureCore ImageIO IOKit OSAKit Quartz + QuartzCore WebKit; + }; in { sources = import ./sources.nix { inherit lib; @@ -12,14 +20,7 @@ lib.makeScope pkgs.newScope (self: fetchFromSavannah; }; - emacs28 = callPackage (self.sources.emacs28) { - inherit gconf; - - inherit (pkgs.darwin) sigtool; - inherit (pkgs.darwin.apple_sdk.frameworks) - AppKit Carbon Cocoa GSS ImageCaptureCore ImageIO IOKit OSAKit Quartz - QuartzCore WebKit; - }; + emacs28 = callPackage (self.sources.emacs28) inheritedArgs; emacs28-gtk2 = self.emacs28.override { withGTK2 = true; @@ -33,14 +34,7 @@ lib.makeScope pkgs.newScope (self: noGui = true; }); - emacs29 = callPackage (self.sources.emacs29) { - inherit gconf; - - inherit (pkgs.darwin) sigtool; - inherit (pkgs.darwin.apple_sdk.frameworks) - AppKit Carbon Cocoa GSS ImageCaptureCore ImageIO IOKit OSAKit Quartz - QuartzCore WebKit; - }; + emacs29 = callPackage (self.sources.emacs29) inheritedArgs; emacs29-gtk3 = self.emacs29.override { withGTK3 = true; @@ -54,21 +48,7 @@ lib.makeScope pkgs.newScope (self: withPgtk = true; }; - emacs28-macport = callPackage (self.sources.emacs28-macport) { - inherit gconf; + emacs28-macport = callPackage (self.sources.emacs28-macport) inheritedArgs; - inherit (pkgs.darwin) sigtool; - inherit (pkgs.darwin.apple_sdk.frameworks) - AppKit Carbon Cocoa GSS ImageCaptureCore ImageIO IOKit OSAKit Quartz - QuartzCore WebKit; - }; - - emacs29-macport = callPackage (self.sources.emacs29-macport) { - inherit gconf; - - inherit (pkgs.darwin) sigtool; - inherit (pkgs.darwin.apple_sdk.frameworks) - AppKit Carbon Cocoa GSS ImageCaptureCore ImageIO IOKit OSAKit Quartz - QuartzCore WebKit; - }; + emacs29-macport = callPackage (self.sources.emacs29-macport) inheritedArgs; }) diff --git a/pkgs/applications/editors/emacs/sources.nix b/pkgs/applications/editors/emacs/sources.nix index b9b18a98ac8..318e633d6eb 100644 --- a/pkgs/applications/editors/emacs/sources.nix +++ b/pkgs/applications/editors/emacs/sources.nix @@ -4,14 +4,29 @@ }: let - metaFor = variant: version: rev: { - homepage = { - "mainline" = "https://www.gnu.org/software/emacs/"; - "macport" = "https://bitbucket.org/mituharu/emacs-mac/"; + mkArgs = { pname, version, variant, rev, hash }: { + inherit pname version variant; + + src = { + "mainline" = (fetchFromSavannah { + repo = "emacs"; + inherit rev hash; + }); + "macport" = (fetchFromBitbucket { + owner = "mituharu"; + repo = "emacs-mac"; + inherit rev hash; + }); }.${variant}; - description = "The extensible, customizable GNU text editor" - + lib.optionalString (variant == "macport") " - macport variant"; - longDescription = '' + + meta = { + homepage = { + "mainline" = "https://www.gnu.org/software/emacs/"; + "macport" = "https://bitbucket.org/mituharu/emacs-mac/"; + }.${variant}; + description = "The extensible, customizable GNU text editor" + + lib.optionalString (variant == "macport") " - macport variant"; + longDescription = '' GNU Emacs is an extensible, customizable text editor—and more. At its core is an interpreter for Emacs Lisp, a dialect of the Lisp programming language with extensions to support text editing. @@ -30,79 +45,57 @@ let This release is built from Mitsuharu Yamamoto's patched source code tailored for macOS. ''; - changelog = { - "mainline" = "https://www.gnu.org/savannah-checkouts/gnu/emacs/news/NEWS.${version}"; - "macport" = "https://bitbucket.org/mituharu/emacs-mac/raw/${rev}/NEWS-mac"; - }.${variant}; - license = lib.licenses.gpl3Plus; - maintainers = with lib.maintainers; [ - AndersonTorres - adisbladis - atemu - jwiegley - lovek323 - matthewbauer - ]; - platforms = { - "mainline" = lib.platforms.all; - "macport" = lib.platforms.darwin; - }.${variant}; - mainProgram = "emacs"; + changelog = { + "mainline" = "https://www.gnu.org/savannah-checkouts/gnu/emacs/news/NEWS.${version}"; + "macport" = "https://bitbucket.org/mituharu/emacs-mac/raw/${rev}/NEWS-mac"; + }.${variant}; + license = lib.licenses.gpl3Plus; + maintainers = with lib.maintainers; [ + AndersonTorres + adisbladis + atemu + jwiegley + lovek323 + matthewbauer + ]; + platforms = { + "mainline" = lib.platforms.all; + "macport" = lib.platforms.darwin; + }.${variant}; + mainProgram = "emacs"; + }; }; in { - emacs28 = import ./generic.nix { + emacs28 = import ./generic.nix (mkArgs { pname = "emacs"; version = "28.2"; variant = "mainline"; - src = fetchFromSavannah { - repo = "emacs"; - rev = "28.2"; - hash = "sha256-4oSLcUDR0MOEt53QOiZSVU8kPJ67GwugmBxdX3F15Ag="; - }; + rev = "28.2"; + hash = "sha256-4oSLcUDR0MOEt53QOiZSVU8kPJ67GwugmBxdX3F15Ag="; + }); - meta = metaFor "mainline" "28.2" "28.2"; - }; - - emacs29 = import ./generic.nix { + emacs29 = import ./generic.nix (mkArgs { pname = "emacs"; version = "29.1"; variant = "mainline"; - src = fetchFromSavannah { - repo = "emacs"; - rev = "29.1"; - hash = "sha256-3HDCwtOKvkXwSULf3W7YgTz4GV8zvYnh2RrL28qzGKg="; - }; + rev = "29.1"; + hash = "sha256-3HDCwtOKvkXwSULf3W7YgTz4GV8zvYnh2RrL28qzGKg="; + }); - meta = metaFor "mainline" "29.1" "29.1"; - }; - - emacs28-macport = import ./generic.nix { + emacs28-macport = import ./generic.nix (mkArgs { pname = "emacs-mac"; version = "28.2"; variant = "macport"; - src = fetchFromBitbucket { - owner = "mituharu"; - repo = "emacs-mac"; - rev = "emacs-28.2-mac-9.1"; - hash = "sha256-Ne2jQ2nVLNiQmnkkOXVc5AkLVkTpm8pFC7VNY2gQjPE="; - }; + rev = "emacs-28.2-mac-9.1"; + hash = "sha256-Ne2jQ2nVLNiQmnkkOXVc5AkLVkTpm8pFC7VNY2gQjPE="; + }); - meta = metaFor "macport" "28.2" "emacs-28.2-mac-9.1"; - }; - - emacs29-macport = import ./generic.nix { + emacs29-macport = import ./generic.nix (mkArgs { pname = "emacs-mac"; version = "29.1"; variant = "macport"; - - src = fetchFromBitbucket { - owner = "mituharu"; - repo = "emacs-mac"; - rev = "emacs-29.1-mac-10.0"; - hash = "sha256-TE829qJdPjeOQ+kD0SfyO8d5YpJjBge/g+nScwj+XVU="; - }; - - meta = metaFor "macport" "29.1" "emacs-29.1-mac-10.0"; - }; + rev = "emacs-29.1-mac-10.0"; + hash = "sha256-TE829qJdPjeOQ+kD0SfyO8d5YpJjBge/g+nScwj+XVU="; + }); } From 9cb225afe6535ecb1cf9dada45011dce805178df Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sat, 26 Aug 2023 03:30:07 +0000 Subject: [PATCH 50/51] libpkgconf: 1.9.5 -> 2.0.2 --- pkgs/development/tools/misc/pkgconf/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/tools/misc/pkgconf/default.nix b/pkgs/development/tools/misc/pkgconf/default.nix index f92e7930c4f..a3acb20bb56 100644 --- a/pkgs/development/tools/misc/pkgconf/default.nix +++ b/pkgs/development/tools/misc/pkgconf/default.nix @@ -6,11 +6,11 @@ stdenv.mkDerivation rec { pname = "pkgconf"; - version = "1.9.5"; + version = "2.0.2"; src = fetchurl { url = "https://distfiles.dereferenced.org/${pname}/${pname}-${version}.tar.xz"; - hash = "sha256-GsFlbeuydJdWMDb3v/woFJD4P5uEV8DWC8+2OPtrYXE="; + hash = "sha256-6lol748lHrU3fsDiHHX7YYlEM8+9vwslWboz5MJmRAE="; }; outputs = [ "out" "lib" "dev" "man" "doc" ]; From be755b5c622ac22335754acb7aa00d7b98529519 Mon Sep 17 00:00:00 2001 From: Anderson Torres Date: Sat, 26 Aug 2023 09:54:22 -0300 Subject: [PATCH 51/51] libpkgconf: refactor - Use rec-less, overlay-style overridable recursive attributes (in effect since https://github.com/NixOS/nixpkgs/pull/119942) - Include meta.changelog and meta.mainProgram --- pkgs/development/tools/misc/pkgconf/default.nix | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/pkgs/development/tools/misc/pkgconf/default.nix b/pkgs/development/tools/misc/pkgconf/default.nix index a3acb20bb56..d5afea351ff 100644 --- a/pkgs/development/tools/misc/pkgconf/default.nix +++ b/pkgs/development/tools/misc/pkgconf/default.nix @@ -4,12 +4,12 @@ , removeReferencesTo }: -stdenv.mkDerivation rec { +stdenv.mkDerivation (finalAttrs: { pname = "pkgconf"; version = "2.0.2"; src = fetchurl { - url = "https://distfiles.dereferenced.org/${pname}/${pname}-${version}.tar.xz"; + url = "https://distfiles.dereferenced.org/pkgconf/pkgconf-${finalAttrs.version}.tar.xz"; hash = "sha256-6lol748lHrU3fsDiHHX7YYlEM8+9vwslWboz5MJmRAE="; }; @@ -40,7 +40,7 @@ stdenv.mkDerivation rec { mv ${placeholder "dev"}/share ${placeholder "out"} ''; - meta = with lib; { + meta = { homepage = "https://github.com/pkgconf/pkgconf"; description = "Package compiler and linker metadata toolkit"; longDescription = '' @@ -52,8 +52,10 @@ stdenv.mkDerivation rec { functionality, to allow other tooling such as compilers and IDEs to discover and use libraries configured by pkgconf. ''; - license = licenses.isc; - maintainers = with maintainers; [ zaninime AndersonTorres ]; - platforms = platforms.all; + changelog = "https://github.com/pkgconf/pkgconf/blob/pkgconf-${finalAttrs.version}/NEWS"; + license = lib.licenses.isc; + mainProgram = "pkgconf"; + maintainers = with lib.maintainers; [ zaninime AndersonTorres ]; + platforms = lib.platforms.all; }; -} +})