From e2bc2e52568594de34f47811203777d9d3d0b27f Mon Sep 17 00:00:00 2001 From: D3vil0p3r Date: Sat, 13 Jul 2024 01:08:31 +0200 Subject: [PATCH 01/67] tokyonight-gtk-theme: 0-unstable-2024-06-27 -> 0-unstable-2024-07-22 --- .../to/tokyonight-gtk-theme/package.nix | 137 +++++++++++++----- 1 file changed, 103 insertions(+), 34 deletions(-) diff --git a/pkgs/by-name/to/tokyonight-gtk-theme/package.nix b/pkgs/by-name/to/tokyonight-gtk-theme/package.nix index 70e8d9d37672..2c402c008fa7 100644 --- a/pkgs/by-name/to/tokyonight-gtk-theme/package.nix +++ b/pkgs/by-name/to/tokyonight-gtk-theme/package.nix @@ -6,7 +6,12 @@ sassc, gnome-themes-extra, gtk-engine-murrine, - colorVariants ? [] # default: install all icons + unstableGitUpdater, + colorVariants ? [ ], + sizeVariants ? [ ], + themeVariants ? [ ], + tweakVariants ? [ ], + iconVariants ? [ ], }: let @@ -15,45 +20,109 @@ let "dark" "light" ]; - + sizeVariantList = [ + "compact" + "standard" + ]; + themeVariantList = [ + "default" + "green" + "grey" + "orange" + "pink" + "purple" + "red" + "teal" + "yellow" + "all" + ]; + tweakVariantList = [ + "moon" + "storm" + "black" + "float" + "outline" + "macos" + ]; + iconVariantList = [ + "Dark-Cyan" + "Dark" + "Light" + "Moon" + ]; in -lib.checkListOfEnum "${pname}: colorVariants" colorVariantList colorVariants +lib.checkListOfEnum "${pname}: colorVariants" colorVariantList colorVariants lib.checkListOfEnum + "${pname}: sizeVariants" + sizeVariantList + sizeVariants + lib.checkListOfEnum + "${pname}: themeVariants" + themeVariantList + themeVariants + lib.checkListOfEnum + "${pname}: tweakVariants" + tweakVariantList + tweakVariants + lib.checkListOfEnum + "${pname}: iconVariants" + iconVariantList + iconVariants -stdenvNoCC.mkDerivation { - inherit pname; - version = "0-unstable-2024-06-27"; + stdenvNoCC.mkDerivation + { + inherit pname; + version = "0-unstable-2024-07-22"; - src = fetchFromGitHub { - owner = "Fausto-Korpsvart"; - repo = "Tokyonight-GTK-Theme"; - rev = "2f566d89856516bef988df3cc32261f752299886"; - hash = "sha256-oKqLb66N4swHfhjUZJIGryE0D9MkuLdKFQa6j3TFmOg="; - }; + src = fetchFromGitHub { + owner = "Fausto-Korpsvart"; + repo = "Tokyonight-GTK-Theme"; + rev = "a9a25010e9fbfca783c3c27258dbad76a9cc7842"; + hash = "sha256-HbrDDiMej4DjvskGItele/iCUY1NzlWlu3ZneA76feM="; + }; - propagatedUserEnvPkgs = [ gtk-engine-murrine ]; + propagatedUserEnvPkgs = [ gtk-engine-murrine ]; - nativeBuildInputs = [ gnome.gnome-shell sassc ]; - buildInputs = [ gnome-themes-extra ]; + nativeBuildInputs = [ + gnome.gnome-shell + sassc + ]; + buildInputs = [ gnome-themes-extra ]; - dontBuild = true; + dontBuild = true; - postPatch = '' - patchShebangs themes/install.sh - ''; + passthru.updateScript = unstableGitUpdater { }; - installPhase = '' - runHook preInstall - mkdir -p $out/share/themes - cd themes - ./install.sh -n Tokyonight -c ${lib.concatStringsSep " " (if colorVariants != [] then colorVariants else colorVariantList)} --tweaks macos -d "$out/share/themes" - runHook postInstall - ''; + postPatch = '' + patchShebangs themes/install.sh + ''; - meta = with lib; { - description = "GTK theme based on the Tokyo Night colour palette"; - homepage = "https://github.com/Fausto-Korpsvart/Tokyonight-GTK-Theme"; - license = licenses.gpl3Plus; - maintainers = with maintainers; [ garaiza-93 Madouura d3vil0p3r ]; - platforms = platforms.unix; - }; -} + installPhase = '' + runHook preInstall + mkdir -p $out/share/themes + cd themes + ./install.sh -n Tokyonight \ + ${lib.optionalString (colorVariants != [ ]) "-c " + toString colorVariants} \ + ${lib.optionalString (sizeVariants != [ ]) "-s " + toString sizeVariants} \ + ${lib.optionalString (themeVariants != [ ]) "-t " + toString themeVariants} \ + ${lib.optionalString (tweakVariants != [ ]) "--tweaks " + toString tweakVariants} \ + -d "$out/share/themes" + cd ../icons + ${lib.optionalString (iconVariants != [ ]) '' + mkdir -p $out/share/icons + cp -a ${toString (map (v: "Tokyonight-${v}") iconVariants)} $out/share/icons/ + ''} + runHook postInstall + ''; + + meta = { + description = "GTK theme based on the Tokyo Night colour palette"; + homepage = "https://github.com/Fausto-Korpsvart/Tokyonight-GTK-Theme"; + license = lib.licenses.gpl3Plus; + maintainers = with lib.maintainers; [ + garaiza-93 + Madouura + d3vil0p3r + ]; + platforms = lib.platforms.unix; + }; + } From 64e18ca9ffa1d4c4538c18118c105ebedb0fc5db Mon Sep 17 00:00:00 2001 From: Matthew_Cash Date: Sun, 4 Aug 2024 15:21:33 -0700 Subject: [PATCH 02/67] hyperv-daemons: fix fcopy build and nixfmt-rfc-style After https://github.com/torvalds/linux/commit/82b0945ce2c2d636d5e893ad50210875c929f257 and https://github.com/torvalds/linux/commit/ec314f61e4fc2d3dd6ea78aa18a5ac276eb1a8e3, the hv_fcopy dameon was renamed to hv_uio_fcopy, breaking hyperv-daemons. I added a check to change the binary name based on the kernel version and to only run the service if the FCOPY_UIO path exists. The path doesn't exist on my machine (not sure why), so I'm not actually able to test the daemon but I think this is better than hyperv being broken for now. --- .../linux/hyperv-daemons/default.nix | 46 +++++++++++++++---- 1 file changed, 36 insertions(+), 10 deletions(-) diff --git a/pkgs/os-specific/linux/hyperv-daemons/default.nix b/pkgs/os-specific/linux/hyperv-daemons/default.nix index 619318d7e04c..5539e605ca0e 100644 --- a/pkgs/os-specific/linux/hyperv-daemons/default.nix +++ b/pkgs/os-specific/linux/hyperv-daemons/default.nix @@ -1,9 +1,20 @@ -{ stdenv, lib, python2, python3, kernel, makeWrapper, writeText -, gawk, iproute2 }: +{ + stdenv, + lib, + python2, + python3, + kernel, + makeWrapper, + writeText, + gawk, + iproute2, +}: let libexec = "libexec/hypervkvpd"; + fcopy_name = (if lib.versionOlder kernel.version "6.10" then "fcopy" else "fcopy_uio"); + daemons = stdenv.mkDerivation rec { pname = "hyperv-daemons-bin"; inherit (kernel) src version; @@ -26,7 +37,7 @@ let installPhase = '' runHook preInstall - for f in fcopy kvp vss ; do + for f in ${fcopy_name} kvp vss ; do install -Dm755 hv_''${f}_daemon -t $out/bin done @@ -39,11 +50,17 @@ let postFixup = '' wrapProgram $out/bin/hv_kvp_daemon \ - --prefix PATH : $out/bin:${lib.makeBinPath [ gawk iproute2 ]} + --prefix PATH : $out/bin:${ + lib.makeBinPath [ + gawk + iproute2 + ] + } ''; }; - service = bin: title: check: + service = + bin: title: check: writeText "hv-${bin}.service" '' [Unit] Description=Hyper-V ${title} daemon @@ -61,21 +78,30 @@ let WantedBy=hyperv-daemons.target ''; -in stdenv.mkDerivation { +in +stdenv.mkDerivation { pname = "hyperv-daemons"; inherit (kernel) version; # we just stick the bins into out as well as it requires "out" - outputs = [ "bin" "lib" "out" ]; + outputs = [ + "bin" + "lib" + "out" + ]; buildInputs = [ daemons ]; buildCommand = '' system=$lib/lib/systemd/system - install -Dm444 ${service "fcopy" "file copy (FCOPY)" "hv_fcopy" } $system/hv-fcopy.service - install -Dm444 ${service "kvp" "key-value pair (KVP)" "hv_kvp" } $system/hv-kvp.service - install -Dm444 ${service "vss" "volume shadow copy (VSS)" "hv_vss" } $system/hv-vss.service + install -Dm444 ${ + service "${ + fcopy_name + }" "file copy (FCOPY)" "/sys/bus/vmbus/devices/eb765408-105f-49b6-b4aa-c123b64d17d4/uio" + } $system/hv-fcopy.service + install -Dm444 ${service "kvp" "key-value pair (KVP)" "hv_kvp"} $system/hv-kvp.service + install -Dm444 ${service "vss" "volume shadow copy (VSS)" "hv_vss"} $system/hv-vss.service cat > $system/hyperv-daemons.target < Date: Mon, 5 Aug 2024 17:53:39 +1000 Subject: [PATCH 03/67] jadx: fix linux build, remove native deps --- pkgs/tools/security/jadx/default.nix | 11 +++- pkgs/tools/security/jadx/deps.json | 35 ---------- pkgs/tools/security/jadx/no-native-deps.diff | 68 ++++++++++++++++++++ 3 files changed, 77 insertions(+), 37 deletions(-) create mode 100644 pkgs/tools/security/jadx/no-native-deps.diff diff --git a/pkgs/tools/security/jadx/default.nix b/pkgs/tools/security/jadx/default.nix index 171f36725682..07c9a4a6c29b 100644 --- a/pkgs/tools/security/jadx/default.nix +++ b/pkgs/tools/security/jadx/default.nix @@ -5,7 +5,7 @@ gradle, jdk, quark-engine, - makeWrapper, + makeBinaryWrapper, imagemagick, makeDesktopItem, copyDesktopItems, @@ -23,11 +23,16 @@ stdenv.mkDerivation (finalAttrs: { hash = "sha256-+F+PHAd1+FmdAlQkjYDBsUYCUzKXG19ZUEorfvBUEg0="; }; + patches = [ + # Remove use of launch4j - contains platform binaries not able to be cached by mitmCache + ./no-native-deps.diff + ]; + nativeBuildInputs = [ gradle jdk imagemagick - makeWrapper + makeBinaryWrapper copyDesktopItems ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ desktopToDarwinBundle ]; @@ -83,7 +88,9 @@ stdenv.mkDerivation (finalAttrs: { ]; meta = with lib; { + changelog = "https://github.com/skylot/jadx/releases/tag/v${finalAttrs.version}"; description = "Dex to Java decompiler"; + homepage = "https://github.com/skylot/jadx"; longDescription = '' Command line and GUI tools for produce Java source code from Android Dex and Apk files. diff --git a/pkgs/tools/security/jadx/deps.json b/pkgs/tools/security/jadx/deps.json index 83dc122c6a39..be81d7a4acee 100644 --- a/pkgs/tools/security/jadx/deps.json +++ b/pkgs/tools/security/jadx/deps.json @@ -145,13 +145,6 @@ "module": "sha256-akesUDZOZZhFlAH7hvm2z832N7mzowRbHMM8v0xAghg=", "pom": "sha256-rrO3CiTBA+0MVFQfNfXFEdJ85gyuN2pZbX1lNpf4zJU=" }, - "com/thoughtworks/xstream#xstream-parent/1.4.20": { - "pom": "sha256-ERiJ4wIWWg9EpU3k23BSUNHeDckbp4oZih0ieDRL7uc=" - }, - "com/thoughtworks/xstream#xstream/1.4.20": { - "jar": "sha256-h98PC+V8kgN9ARD7siWjC2UXAtwnVlPSha/P7zG8LoE=", - "pom": "sha256-c9gezjnpSh0tf80BhGYqo9QQa/6XCbeTlkiS4+f0/cQ=" - }, "commons-codec#commons-codec/1.16.0": { "jar": "sha256-VllfsgsLhbyR0NUD2tULt/G5r8Du1d/6bLslkpAASE0=", "pom": "sha256-bLWVeBnfOTlW/TEaOgw/XuwevEm6Wy0J8/ROYWf6PnQ=" @@ -165,21 +158,9 @@ "module": "sha256-eYp7cGdyE27iijLt2GOx6fgWE6NJhAXXS+ilyb6/9U8=", "pom": "sha256-20U7urXn2opDE5sNzTuuZykzIfKcTZH1p5XZ/2xS3d8=" }, - "edu/sc/seis/launch4j#edu.sc.seis.launch4j.gradle.plugin/3.0.5": { - "pom": "sha256-Nplw/agsRFMGIjSqxiwBbqw5nY8C2VKdUe28QY0fzPs=" - }, - "edu/sc/seis/launch4j#launch4j/3.0.5": { - "jar": "sha256-4x62k3vvPwCsxAPkraf7ihY4ATiQ0bNSVmiFBocx7WM=", - "module": "sha256-+hiZBJpE2pdEnjoBvCx9rC01t0npPPdsBDSuzjT9ux8=", - "pom": "sha256-UvTlC0T2dzuebNq7jmmveQc4IW+8ZxJ1G77tGKFCknk=" - }, "io/fabric8#kubernetes-client-bom/5.12.2": { "pom": "sha256-6qA8FpVlaNVKa6Q31J1Ay/DdjpOXf5hDGCQldrZQvDs=" }, - "io/github/x-stream#mxparser/1.2.2": { - "jar": "sha256-ru7iOjMD2BG8qHkOp/JbU0MUhhwDz/Ntr9zCGAlp65c=", - "pom": "sha256-I1AiQk4S8zGB9iraGcxEKAGbaXZXw8OSzjVxYKQi+qg=" - }, "io/netty#netty-bom/4.1.86.Final": { "pom": "sha256-EnFsH+ZM9b2qcETTfROq46iIIbkdR5hCDEanR2kXiv0=" }, @@ -189,12 +170,6 @@ "jakarta/platform#jakartaee-api-parent/9.0.0": { "pom": "sha256-9l3PFLbh2RSOGYo5D6/hVfrKCTJT3ekAMH8+DqgsrTs=" }, - "net/sf/launch4j#launch4j/3.50": { - "pom": "sha256-1716EuPm1bR/Ou0p/4g89cTKnie3GWkQZnkzH6N+xy0=" - }, - "net/sf/launch4j#launch4j/3.50/core": { - "jar": "sha256-2U8eT20fHhl9Es7vpwot75OMzxbig+mjx0Cmb/WGvW8=" - }, "org/apache#apache/23": { "pom": "sha256-vBBiTgYj82V3+sVjnKKTbTJA7RUvttjVM6tNJwVDSRw=" }, @@ -619,10 +594,6 @@ }, "se/patrikerdes/use-latest-versions#se.patrikerdes.use-latest-versions.gradle.plugin/0.2.18": { "pom": "sha256-6DCee4xZSPaNwK2dl7lOwIsfw5lm2eXsrsNOzFbMnnI=" - }, - "xmlpull#xmlpull/1.1.3.1": { - "jar": "sha256-NOCO5iEWBxy7acDtcNFaelsgjWJ5jFnyEgu4kpMky2M=", - "pom": "sha256-jxD/2N8NPpgZyMyEAnCcaySLxTqVTvbkVHDZrjpXNfs=" } }, "https://repo.maven.apache.org/maven2": { @@ -905,12 +876,6 @@ "net/java#jvnet-parent/3": { "pom": "sha256-MPV4nvo53b+WCVqto/wSYMRWH68vcUaGcXyy3FBJR1o=" }, - "net/sf/launch4j#launch4j/3.50": { - "pom": "sha256-1716EuPm1bR/Ou0p/4g89cTKnie3GWkQZnkzH6N+xy0=" - }, - "net/sf/launch4j#launch4j/3.50/workdir-mac": { - "jar": "sha256-ciYD+rZJnfaTUvdmC5+Y8MSF6aREBAD/f6PWJ/kXOyQ=" - }, "net/sf/saxon#Saxon-HE/10.6": { "jar": "sha256-bQjfguTthrarsaAse3SiaPz8XgBOg7tP8AbsOlCb01Y=", "pom": "sha256-otbdpDjoZKuTXzG0O1MFLE6HEalQVkJxkZBRPnb0Ekg=" diff --git a/pkgs/tools/security/jadx/no-native-deps.diff b/pkgs/tools/security/jadx/no-native-deps.diff new file mode 100644 index 000000000000..e507c10133fd --- /dev/null +++ b/pkgs/tools/security/jadx/no-native-deps.diff @@ -0,0 +1,68 @@ +diff --git a/jadx-gui/build.gradle.kts b/jadx-gui/build.gradle.kts +index 09f2c05f..bdb641b0 100644 +--- a/jadx-gui/build.gradle.kts ++++ b/jadx-gui/build.gradle.kts +@@ -1,7 +1,6 @@ + plugins { + id("jadx-kotlin") + id("application") +- id("edu.sc.seis.launch4j") version "3.0.5" + id("com.github.johnrengelman.shadow") version "8.1.1" + id("org.beryx.runtime") version "1.13.1" + } +@@ -101,24 +100,6 @@ + } + } + +-launch4j { +- mainClassName.set(application.mainClass.get()) +- copyConfigurable.set(listOf()) +- setJarTask(tasks.shadowJar.get()) +- icon.set("$projectDir/src/main/resources/logos/jadx-logo.ico") +- outfile.set("jadx-gui-$jadxVersion.exe") +- copyright.set("Skylot") +- windowTitle.set("jadx") +- companyName.set("jadx") +- jreMinVersion.set("11") +- jvmOptions.set(application.applicationDefaultJvmArgs.toSet()) +- requires64Bit.set(true) +- initialHeapPercent.set(5) +- maxHeapSize.set(4096) +- maxHeapPercent.set(70) +- downloadUrl.set("https://www.oracle.com/java/technologies/downloads/#jdk17-windows") +- bundledJrePath.set(if (project.hasProperty("bundleJRE")) "%EXEDIR%/jre" else "%JAVA_HOME%") +-} + + runtime { + addOptions("--strip-debug", "--compress", "2", "--no-header-files", "--no-man-pages") +@@ -137,30 +118,6 @@ + } + } + +-val copyDistWinWithJre by tasks.registering(Copy::class) { +- group = "jadx" +- dependsOn(tasks.named("runtime"), tasks.named("createExe")) +- from(runtime.jreDir) { +- include("**/*") +- into("jre") +- } +- from(tasks.named("createExe").get().outputs) { +- include("*.exe") +- } +- into(layout.buildDirectory.dir("jadx-gui-$jadxVersion-with-jre-win")) +- duplicatesStrategy = DuplicatesStrategy.EXCLUDE +-} +- +-val distWinWithJre by tasks.registering(Zip::class) { +- group = "jadx" +- dependsOn(copyDistWinWithJre) +- archiveFileName.set("jadx-gui-$jadxVersion-with-jre-win.zip") +- from(copyDistWinWithJre.get().outputs) { +- include("**/*") +- } +- into(layout.buildDirectory.asFile) +- duplicatesStrategy = DuplicatesStrategy.EXCLUDE +-} + + val addNewNLSLines by tasks.registering(JavaExec::class) { + group = "jadx" From dbd54013a0057da2dc7287a512874c559806127f Mon Sep 17 00:00:00 2001 From: nebunebu Date: Sat, 10 Aug 2024 21:37:59 -0400 Subject: [PATCH 04/67] vimPlugins.tiny-inline-diagnostic-nvim: init at 2024-08-10 --- pkgs/applications/editors/vim/plugins/generated.nix | 12 ++++++++++++ .../editors/vim/plugins/vim-plugin-names | 1 + 2 files changed, 13 insertions(+) diff --git a/pkgs/applications/editors/vim/plugins/generated.nix b/pkgs/applications/editors/vim/plugins/generated.nix index 5962c50c411f..72703e07139e 100644 --- a/pkgs/applications/editors/vim/plugins/generated.nix +++ b/pkgs/applications/editors/vim/plugins/generated.nix @@ -11256,6 +11256,18 @@ final: prev: meta.homepage = "https://github.com/levouh/tint.nvim/"; }; + tiny-inline-diagnostic-nvim = buildVimPlugin { + pname = "tiny-inline-diagnostic.nvim"; + version = "2024-08-10"; + src = fetchFromGitHub { + owner = "rachartier"; + repo = "tiny-inline-diagnostic.nvim"; + rev = "7b212b214aed37d8ae1a26ac6ca9593223a23ddb"; + sha256 = "0zf3l8fx7vbq352ip3lrvvhrkkwp8n7n5i2lh5ps8j0jqaxswr33"; + }; + meta.homepage = "https://github.com/rachartier/tiny-inline-diagnostic.nvim/"; + }; + tlib_vim = buildVimPlugin { pname = "tlib_vim"; version = "2022-07-22"; diff --git a/pkgs/applications/editors/vim/plugins/vim-plugin-names b/pkgs/applications/editors/vim/plugins/vim-plugin-names index 4240139d51b2..21553163db90 100644 --- a/pkgs/applications/editors/vim/plugins/vim-plugin-names +++ b/pkgs/applications/editors/vim/plugins/vim-plugin-names @@ -944,6 +944,7 @@ https://github.com/ron89/thesaurus_query.vim/,, https://github.com/itchyny/thumbnail.vim/,, https://github.com/vim-scripts/timestamp.vim/,, https://github.com/levouh/tint.nvim/,HEAD, +https://github.com/rachartier/tiny-inline-diagnostic.nvim/,HEAD, https://github.com/tomtom/tinykeymap_vim/,,tinykeymap https://github.com/tomtom/tlib_vim/,, https://github.com/wellle/tmux-complete.vim/,, From c30be260a965918d1454868ed1bffc44265c3f61 Mon Sep 17 00:00:00 2001 From: tahanonu Date: Sun, 4 Aug 2024 17:58:46 +0100 Subject: [PATCH 05/67] ophcrack-cli: refactor to use ophcrack --- pkgs/by-name/op/ophcrack-cli/package.nix | 73 ------------------------ pkgs/by-name/op/ophcrack/package.nix | 63 ++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 + 3 files changed, 65 insertions(+), 73 deletions(-) delete mode 100644 pkgs/by-name/op/ophcrack-cli/package.nix create mode 100644 pkgs/by-name/op/ophcrack/package.nix diff --git a/pkgs/by-name/op/ophcrack-cli/package.nix b/pkgs/by-name/op/ophcrack-cli/package.nix deleted file mode 100644 index bbc7b8e19978..000000000000 --- a/pkgs/by-name/op/ophcrack-cli/package.nix +++ /dev/null @@ -1,73 +0,0 @@ -{ lib -, stdenv -, fetchurl -, fetchpatch -, autoreconfHook -, libtool -, zlib -, pkg-config -, openssl -, freetype -, expat -}: - -stdenv.mkDerivation rec { - pname = "ophcrack"; - version = "3.8.0"; - - src = fetchurl { - url = "https://sourceforge.net/projects/ophcrack/files/ophcrack/3.8.0/ophcrack-3.8.0.tar.bz2"; - hash = "sha256-BIpt9XmDo6WjGsfE7BLfFqpJ5lKilnbZPU75WdUK7uA="; - }; - - nativeBuildInputs = [ - autoreconfHook - libtool - expat - ]; - - buildInputs = [ - zlib - openssl - freetype - pkg-config - ]; - - patches = [ - (fetchpatch { - url = "https://salsa.debian.org/pkg-security-team/ophcrack/-/raw/c60118b40802e1162dcebfe5f881cf973b2334d3/debian/patches/fix_spelling_error.diff"; - hash = "sha256-Fc044hTU4Mtdym+HukGAwGzaLm7aVzV9KpvHvFUG2Sc="; - }) - (fetchpatch { - url = "https://salsa.debian.org/pkg-security-team/ophcrack/-/raw/e19d993a7dbf131d13128366e2aac270a685befc/debian/patches/qmake_crossbuild.diff"; - hash = "sha256-sOKXOBpAYGLacU6IxjRzy3HCnGm4DFowDL2qP+DzG8M="; - }) - ]; - - configureFlags = [ - "--with-libssl=yes" - "--disable-gui" - ]; - - buildPhase = '' - runHook preBuild - - make - - runHook postBuild - ''; - - postInstall = '' - mv $out/bin/ophcrack $out/bin/ophcrack-cli - ''; - - meta = with lib; { - description = "Free Windows password cracker based on rainbow tables"; - homepage = "https://ophcrack.sourceforge.io"; - license = with licenses; [ gpl2Plus ]; - maintainers = with maintainers; [ tochiaha ]; - mainProgram = "ophcrack-cli"; - platforms = platforms.all; - }; -} - diff --git a/pkgs/by-name/op/ophcrack/package.nix b/pkgs/by-name/op/ophcrack/package.nix new file mode 100644 index 000000000000..13709ad9973a --- /dev/null +++ b/pkgs/by-name/op/ophcrack/package.nix @@ -0,0 +1,63 @@ +{ + lib, + stdenv, + libsForQt5, + fetchurl, + fetchpatch, + pkg-config, + openssl, + expat, + enableGui ? true, +}: +stdenv.mkDerivation rec { + + pname = "ophcrack"; + version = "3.8.0"; + + src = fetchurl { + url = "mirror://ophcrack/ophcrack/${version}/ophcrack-${version}.tar.bz2"; + hash = "sha256-BIpt9XmDo6WjGsfE7BLfFqpJ5lKilnbZPU75WdUK7uA="; + }; + + patches = [ + (fetchpatch { + url = "https://salsa.debian.org/pkg-security-team/ophcrack/-/raw/c60118b40802e1162dcebfe5f881cf973b2334d3/debian/patches/fix_spelling_error.diff"; + hash = "sha256-Fc044hTU4Mtdym+HukGAwGzaLm7aVzV9KpvHvFUG2Sc="; + }) + (fetchpatch { + url = "https://salsa.debian.org/pkg-security-team/ophcrack/-/raw/e19d993a7dbf131d13128366e2aac270a685befc/debian/patches/qmake_crossbuild.diff"; + hash = "sha256-sOKXOBpAYGLacU6IxjRzy3HCnGm4DFowDL2qP+DzG8M="; + }) + ]; + + nativeBuildInputs = [ pkg-config ] ++ lib.optional enableGui libsForQt5.wrapQtAppsHook; + buildInputs = + [ openssl ] + ++ (if enableGui then [ libsForQt5.qtcharts ] else [ expat ]) ++ lib.optional stdenv.isDarwin expat; + + configureFlags = + [ "--with-libssl" ] + ++ ( + if enableGui then + [ + "--enable-gui" + "--with-qt5charts" + ] + else + [ "--disable-gui" ] + ); + + installPhase = lib.optional stdenv.isDarwin '' + mkdir -p $out/bin + cp -R src/ophcrack $out/bin + ''; + + meta = { + description = "Free Windows password cracker based on rainbow tables"; + homepage = "https://ophcrack.sourceforge.io"; + license = with lib.licenses; [ gpl2Plus ]; + maintainers = with lib.maintainers; [ tochiaha ]; + mainProgram = "ophcrack"; + platforms = lib.platforms.all; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index bc45a788fde3..58b8b18899b6 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -11151,6 +11151,8 @@ with pkgs; openfec = callPackage ../development/libraries/openfec { }; + ophcrack-cli = ophcrack.override { enableGui = false; }; + ophis = python3Packages.callPackage ../development/compilers/ophis { }; opendylan_bin = callPackage ../development/compilers/opendylan/bin.nix { }; From 4c9cfed24e4810865bdc639713e2c36491e6eddf Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Fri, 16 Aug 2024 05:28:50 +0000 Subject: [PATCH 06/67] brave: 1.68.137 -> 1.68.141 --- pkgs/applications/networking/browsers/brave/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/applications/networking/browsers/brave/default.nix b/pkgs/applications/networking/browsers/brave/default.nix index 1f2e54796c11..3632352383b2 100644 --- a/pkgs/applications/networking/browsers/brave/default.nix +++ b/pkgs/applications/networking/browsers/brave/default.nix @@ -6,17 +6,17 @@ callPackage ./make-brave.nix (removeAttrs args [ "callPackage" ]) if stdenv.isAarch64 then rec { pname = "brave"; - version = "1.68.137"; + version = "1.68.141"; url = "https://github.com/brave/brave-browser/releases/download/v${version}/brave-browser_${version}_arm64.deb"; - hash = "sha256-9HMgLZ/iK5xJByZuvD8n5cv+aK5oZRm2Xbm4NhgWpCk="; + hash = "sha256-3Zd1H67rFDar/68ilcxPuAQOllh8SMm//9+h+m1MKes="; platform = "aarch64-linux"; } else if stdenv.isx86_64 then rec { pname = "brave"; - version = "1.68.137"; + version = "1.68.141"; url = "https://github.com/brave/brave-browser/releases/download/v${version}/brave-browser_${version}_amd64.deb"; - hash = "sha256-lEW4bv/BWjV8ncB8TMbLMSoQCW960kWP9DaZkEws428="; + hash = "sha256-soSwRj8acXA2KDgCpcFZh2AFEVX43ZI7IpmvXKv5mFo="; platform = "x86_64-linux"; } else From ead205f163fe2f39ba78a67fdc7a95f64a84edc6 Mon Sep 17 00:00:00 2001 From: Kirill Radzikhovskyy Date: Fri, 16 Aug 2024 18:22:28 +1000 Subject: [PATCH 07/67] wasmserve: 1.0.0 -> 1.1.0 --- pkgs/development/tools/wasmserve/default.nix | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/pkgs/development/tools/wasmserve/default.nix b/pkgs/development/tools/wasmserve/default.nix index 530dd613d51e..8369096b78dd 100644 --- a/pkgs/development/tools/wasmserve/default.nix +++ b/pkgs/development/tools/wasmserve/default.nix @@ -1,17 +1,18 @@ -{ buildGoModule -, lib -, fetchFromGitHub +{ + buildGoModule, + lib, + fetchFromGitHub, }: buildGoModule rec { pname = "wasmserve"; - version = "1.0.0"; + version = "1.1.0"; src = fetchFromGitHub { owner = "hajimehoshi"; repo = "wasmserve"; rev = "v${version}"; - hash = "sha256-KlCbUre6yIorE1ZM++Rto8vgwVGsC1wZj1xCd3AwQy0="; + hash = "sha256-e+pHwk+xJVc+Ki0iJC2B+W8ZN4mEawEQNyGhwITBDlo="; }; vendorHash = null; From 4144cce4db021bafa17ab646e5a5f959f890b6e6 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Fri, 16 Aug 2024 13:31:49 +0000 Subject: [PATCH 08/67] docker-compose: 2.29.1 -> 2.29.2 --- pkgs/applications/virtualization/docker/compose.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/virtualization/docker/compose.nix b/pkgs/applications/virtualization/docker/compose.nix index 20c390d58dc9..264a8ae288ec 100644 --- a/pkgs/applications/virtualization/docker/compose.nix +++ b/pkgs/applications/virtualization/docker/compose.nix @@ -2,13 +2,13 @@ buildGoModule rec { pname = "docker-compose"; - version = "2.29.1"; + version = "2.29.2"; src = fetchFromGitHub { owner = "docker"; repo = "compose"; rev = "v${version}"; - hash = "sha256-6GZtKfPBE9Wl6ccwU1OY+9rq+IZr2qpOB4Vlxidhisw="; + hash = "sha256-UR2O8xBfoFew9G7RjyfXpdA0BcilKBp9Maj3Z+T7Kbw="; }; postPatch = '' @@ -16,7 +16,7 @@ buildGoModule rec { rm -rf e2e/ ''; - vendorHash = "sha256-CkXCAqHOlSc3jHqVUYovT8YDnlCZewpLv3sC0ADgwL0="; + vendorHash = "sha256-5pBpTXayAo/YbZsYwBuEU8CSTQGzKoyQ5QLzh2McCt8="; ldflags = [ "-X github.com/docker/compose/v2/internal.Version=${version}" "-s" "-w" ]; From b942556d8acfed52409634b03d32d08446deff71 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Fri, 16 Aug 2024 17:49:07 +0000 Subject: [PATCH 09/67] python312Packages.optimum: 1.21.3 -> 1.21.4 --- pkgs/development/python-modules/optimum/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/optimum/default.nix b/pkgs/development/python-modules/optimum/default.nix index 844c6f1e6f98..f3388356962e 100644 --- a/pkgs/development/python-modules/optimum/default.nix +++ b/pkgs/development/python-modules/optimum/default.nix @@ -31,7 +31,7 @@ buildPythonPackage rec { pname = "optimum"; - version = "1.21.3"; + version = "1.21.4"; pyproject = true; disabled = pythonOlder "3.7"; @@ -40,7 +40,7 @@ buildPythonPackage rec { owner = "huggingface"; repo = "optimum"; rev = "refs/tags/v${version}"; - hash = "sha256-eEfKWBwhtDkoAhsLH8P2ybM7aF/d2yREIv7/5RVz0Z8="; + hash = "sha256-ElF+RmZjsXhaA8yhTEK2kp5gigGheyJL36R8e0hSgzA="; }; build-system = [ setuptools ]; From 14e642d0cfbf0d36e0d1eab32df4dd79c3e7ffa3 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Fri, 16 Aug 2024 18:11:30 +0000 Subject: [PATCH 10/67] quill-log: 6.1.0 -> 6.1.2 --- pkgs/by-name/qu/quill-log/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/qu/quill-log/package.nix b/pkgs/by-name/qu/quill-log/package.nix index b988a0f15ae2..22d042828ec7 100644 --- a/pkgs/by-name/qu/quill-log/package.nix +++ b/pkgs/by-name/qu/quill-log/package.nix @@ -7,13 +7,13 @@ stdenv.mkDerivation rec { pname = "quill-log"; - version = "6.1.0"; + version = "6.1.2"; src = fetchFromGitHub { owner = "odygrd"; repo = "quill"; rev = "v${version}"; - hash = "sha256-6m3ijZlQ8NB+uGtsxAfLgryKUwlroqexK3IuC2FG3J4="; + hash = "sha256-hnSdyaVOPppa6KCgD6NoD4PKn0jI4iGGPg3Tnx0KX3w="; }; nativeBuildInputs = [ cmake ]; From 8941744d241b92d99b5f5ad68081bb5e4a353f52 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Fri, 16 Aug 2024 19:15:39 +0000 Subject: [PATCH 11/67] shell-gpt: 1.4.3 -> 1.4.4 --- pkgs/by-name/sh/shell-gpt/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/sh/shell-gpt/package.nix b/pkgs/by-name/sh/shell-gpt/package.nix index 6558c612d84f..cafb67f0f0a9 100644 --- a/pkgs/by-name/sh/shell-gpt/package.nix +++ b/pkgs/by-name/sh/shell-gpt/package.nix @@ -6,14 +6,14 @@ python3.pkgs.buildPythonApplication rec { pname = "shell-gpt"; - version = "1.4.3"; + version = "1.4.4"; pyproject = true; src = fetchFromGitHub { owner = "TheR1D"; repo = "shell_gpt"; rev = "refs/tags/${version}"; - hash = "sha256-T37L4U1kOrrIQJ2znq2UupD3pyit9xd8rAsEwUvGiQ8="; + hash = "sha256-4/5CLzIq+RXVTJk4chrd65GeazRp8VFKdOMt3fT+mbI="; }; pythonRelaxDeps = [ From 9e2ac582d0af7875220af1fb7a442d9e1b709fbd Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 16 Aug 2024 22:14:42 +0200 Subject: [PATCH 12/67] python312Packages.cyclopts: 2.9.6 -> 2.9.7 Diff: https://github.com/BrianPugh/cyclopts/compare/refs/tags/v2.9.6...v2.9.7 Changelog: https://github.com/BrianPugh/cyclopts/releases/tag/v2.9.7 --- pkgs/development/python-modules/cyclopts/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/cyclopts/default.nix b/pkgs/development/python-modules/cyclopts/default.nix index f28032ead018..e2f866016453 100644 --- a/pkgs/development/python-modules/cyclopts/default.nix +++ b/pkgs/development/python-modules/cyclopts/default.nix @@ -19,7 +19,7 @@ buildPythonPackage rec { pname = "cyclopts"; - version = "2.9.6"; + version = "2.9.7"; pyproject = true; disabled = pythonOlder "3.8"; @@ -28,7 +28,7 @@ buildPythonPackage rec { owner = "BrianPugh"; repo = "cyclopts"; rev = "refs/tags/v${version}"; - hash = "sha256-KXqeCUbSLHzeIMDpfaNj5aVxDtVP6dlctBDbukKPLSA="; + hash = "sha256-RLRhZ5WneZ5aiBRtj9H6tPIZfKFd5O7wYKc8BLVPmZ8="; }; build-system = [ From 44d6ff35d49a25e163422c1f26b5231a4ffbea79 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 16 Aug 2024 22:15:06 +0200 Subject: [PATCH 13/67] python312Packages.fastcore: 1.7.0 -> 1.7.1 Diff: https://github.com/fastai/fastcore/compare/refs/tags/1.7.0...1.7.1 Changelog: https://github.com/fastai/fastcore/blob/1.7.1/CHANGELOG.md --- pkgs/development/python-modules/fastcore/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/fastcore/default.nix b/pkgs/development/python-modules/fastcore/default.nix index 3f7d54ac075b..4d15ed1d0d00 100644 --- a/pkgs/development/python-modules/fastcore/default.nix +++ b/pkgs/development/python-modules/fastcore/default.nix @@ -9,7 +9,7 @@ buildPythonPackage rec { pname = "fastcore"; - version = "1.7.0"; + version = "1.7.1"; pyproject = true; disabled = pythonOlder "3.8"; @@ -18,7 +18,7 @@ buildPythonPackage rec { owner = "fastai"; repo = "fastcore"; rev = "refs/tags/${version}"; - hash = "sha256-8pbAUemswRP+K8kh23u1AbVfv28+3Ykzla4cWzSFMfc="; + hash = "sha256-eb4J5aGrcpOcO0GBI1cwOsRxw0guvDiAPZjdFPB5SVQ="; }; build-system = [ setuptools ]; From a787a6bb708c64ca3170949d71914f5e05eee557 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 16 Aug 2024 22:43:03 +0200 Subject: [PATCH 14/67] python312Packages.aiogram: 3.10.0 -> 3.12.0 Diff: https://github.com/aiogram/aiogram/compare/refs/tags/v3.10.0...v3.12.0 Changelog: https://github.com/aiogram/aiogram/releases/tag/v3.12.0 --- pkgs/development/python-modules/aiogram/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/aiogram/default.nix b/pkgs/development/python-modules/aiogram/default.nix index a217ac383a47..c3b073ba8439 100644 --- a/pkgs/development/python-modules/aiogram/default.nix +++ b/pkgs/development/python-modules/aiogram/default.nix @@ -26,7 +26,7 @@ buildPythonPackage rec { pname = "aiogram"; - version = "3.10.0"; + version = "3.12.0"; pyproject = true; disabled = pythonOlder "3.8"; @@ -35,7 +35,7 @@ buildPythonPackage rec { owner = "aiogram"; repo = "aiogram"; rev = "refs/tags/v${version}"; - hash = "sha256-7GTZvYyD6ypaH6PuOoh6TVboyS6nf8BFGgKvD59K6gc="; + hash = "sha256-5W7GuWZsUjTwjgKnNs7j4wZhOME1Giz757cM3sKuSQY="; }; build-system = [ hatchling ]; From 8e38d595dab9d4bd9c47040cc2f251a3239b18f6 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 16 Aug 2024 22:44:10 +0200 Subject: [PATCH 15/67] python312Packages.aioquic: 1.1.0 -> 1.2.0 --- pkgs/development/python-modules/aioquic/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/aioquic/default.nix b/pkgs/development/python-modules/aioquic/default.nix index 0b3bc5464ce1..66d429018f1c 100644 --- a/pkgs/development/python-modules/aioquic/default.nix +++ b/pkgs/development/python-modules/aioquic/default.nix @@ -15,14 +15,14 @@ buildPythonPackage rec { pname = "aioquic"; - version = "1.1.0"; + version = "1.2.0"; pyproject = true; disabled = pythonOlder "3.8"; src = fetchPypi { inherit pname version; - hash = "sha256-p5HFeYuutCoS+ij9Mn2gTQjxh5XpOIkXi0svSf6Lv0M="; + hash = "sha256-+RJjuz9xlIxciRW01Q7jcABPIKQW9n+rPcyQVWx+cZk="; }; build-system = [ setuptools ]; From c5a248ce001583b6d37ebaed5d48ac9ae2838f42 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 16 Aug 2024 22:44:44 +0200 Subject: [PATCH 16/67] python312Packages.aiorussound: 2.3.1 -> 2.3.2 Diff: https://github.com/noahhusby/aiorussound/compare/refs/tags/2.3.1...2.3.2 --- pkgs/development/python-modules/aiorussound/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/aiorussound/default.nix b/pkgs/development/python-modules/aiorussound/default.nix index 268e791cd0fd..a71111fccc89 100644 --- a/pkgs/development/python-modules/aiorussound/default.nix +++ b/pkgs/development/python-modules/aiorussound/default.nix @@ -9,14 +9,14 @@ buildPythonPackage rec { pname = "aiorussound"; - version = "2.3.1"; + version = "2.3.2"; pyproject = true; src = fetchFromGitHub { owner = "noahhusby"; repo = "aiorussound"; rev = "refs/tags/${version}"; - hash = "sha256-wFpW+X10dGezMnzjGJsXyWMy6H8PtzhQFRCaf+A2L74="; + hash = "sha256-lQDHwm6dpernRYktu6eqV8uP7FHHHAU28viLg0q58+8="; }; build-system = [ setuptools ]; From 54fd626e2462e9b0f5531210a97cf541fa1d3c93 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 16 Aug 2024 22:46:50 +0200 Subject: [PATCH 17/67] python312Packages.aiounifi: 79 -> 80 Diff: https://github.com/Kane610/aiounifi/compare/refs/tags/v79...v80 Changelog: https://github.com/Kane610/aiounifi/releases/tag/v80 --- pkgs/development/python-modules/aiounifi/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/aiounifi/default.nix b/pkgs/development/python-modules/aiounifi/default.nix index b9c3534c36d6..1d325c1eb803 100644 --- a/pkgs/development/python-modules/aiounifi/default.nix +++ b/pkgs/development/python-modules/aiounifi/default.nix @@ -16,7 +16,7 @@ buildPythonPackage rec { pname = "aiounifi"; - version = "79"; + version = "80"; pyproject = true; disabled = pythonOlder "3.11"; @@ -25,7 +25,7 @@ buildPythonPackage rec { owner = "Kane610"; repo = "aiounifi"; rev = "refs/tags/v${version}"; - hash = "sha256-okyUjHWzm2LKyDSmE93qbc8XK4fMQMr9R0L/W7GSeUw="; + hash = "sha256-320ptaKT+6mKUj9y+MvGovp4/XVbYIlDTb9lLXY7c1w="; }; postPatch = '' From aacf332c0bd2e6f2aed0b2b06f41c6b4e64224a6 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 29 Dec 2023 21:29:48 +0100 Subject: [PATCH 18/67] python311Packages.aioruckus: 0.34 -> 0.37 Diff: https://github.com/ms264556/aioruckus/compare/refs/tags/v0.34...v0.37 --- pkgs/development/python-modules/aioruckus/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/aioruckus/default.nix b/pkgs/development/python-modules/aioruckus/default.nix index d78c56e92cc3..af9a1695c70e 100644 --- a/pkgs/development/python-modules/aioruckus/default.nix +++ b/pkgs/development/python-modules/aioruckus/default.nix @@ -13,7 +13,7 @@ buildPythonPackage rec { pname = "aioruckus"; - version = "0.34"; + version = "0.37"; format = "pyproject"; disabled = pythonOlder "3.10"; @@ -22,7 +22,7 @@ buildPythonPackage rec { owner = "ms264556"; repo = "aioruckus"; rev = "refs/tags/v${version}"; - hash = "sha256-SPj1w1jAJFBsWj1+N8srAbvlh+yB3ZTT7aDcZTnmUto="; + hash = "sha256-uFYOTF8yfskLSwRP3TIDMSTlsCuU7BxAyYeFgohZuh4="; }; postPatch = '' From 401fd9e3ed83a2b2c710cef566420d9b3a320c9d Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Mon, 17 Jun 2024 08:36:20 +0200 Subject: [PATCH 19/67] python312Packages.aioruckus: 0.37 -> 0.38 Diff: https://github.com/ms264556/aioruckus/compare/refs/tags/v0.37...v0.38 --- .../python-modules/aioruckus/default.nix | 22 +++++++++---------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/pkgs/development/python-modules/aioruckus/default.nix b/pkgs/development/python-modules/aioruckus/default.nix index af9a1695c70e..f392d69027c8 100644 --- a/pkgs/development/python-modules/aioruckus/default.nix +++ b/pkgs/development/python-modules/aioruckus/default.nix @@ -2,19 +2,19 @@ lib, aiohttp, buildPythonPackage, + cryptography, fetchFromGitHub, pytest-asyncio, pytestCheckHook, pythonOlder, setuptools, - wheel, xmltodict, }: buildPythonPackage rec { pname = "aioruckus"; - version = "0.37"; - format = "pyproject"; + version = "0.38"; + pyproject = true; disabled = pythonOlder "3.10"; @@ -22,33 +22,33 @@ buildPythonPackage rec { owner = "ms264556"; repo = "aioruckus"; rev = "refs/tags/v${version}"; - hash = "sha256-uFYOTF8yfskLSwRP3TIDMSTlsCuU7BxAyYeFgohZuh4="; + hash = "sha256-h32EmiCQ6REciGMl0wDV8BSUezsFRo76RqUBeD2+pbY="; }; postPatch = '' substituteInPlace pyproject.toml \ - --replace "setuptools>=68.1" "setuptools" + --replace-fail "setuptools>=68.1" "setuptools" ''; - nativeBuildInputs = [ + build-system = [ setuptools - wheel ]; - propagatedBuildInputs = [ + dependencies = [ aiohttp + cryptography xmltodict ]; - pythonImportsCheck = [ "aioruckus" ]; - nativeCheckInputs = [ pytest-asyncio pytestCheckHook ]; + pythonImportsCheck = [ "aioruckus" ]; + disabledTests = [ - # these require a local ruckus device + # Those tests require a local ruckus device "test_ap_info" "test_authentication_error" "test_connect_success" From b04f661e0e9c97327bf872532a1c65d269a9e14f Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 16 Aug 2024 22:48:28 +0200 Subject: [PATCH 20/67] python312Packages.aiosql: 10.2 -> 10.4 Diff: https://github.com/nackjicholson/aiosql/compare/refs/tags/10.2...10.4 Changelog: https://github.com/nackjicholson/aiosql/releases/tag/10.4 --- pkgs/development/python-modules/aiosql/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/aiosql/default.nix b/pkgs/development/python-modules/aiosql/default.nix index 5afa301ea9ef..5f587ef0159c 100644 --- a/pkgs/development/python-modules/aiosql/default.nix +++ b/pkgs/development/python-modules/aiosql/default.nix @@ -14,7 +14,7 @@ buildPythonPackage rec { pname = "aiosql"; - version = "10.2"; + version = "10.4"; pyproject = true; disabled = pythonOlder "3.8"; @@ -28,7 +28,7 @@ buildPythonPackage rec { owner = "nackjicholson"; repo = "aiosql"; rev = "refs/tags/${version}"; - hash = "sha256-o88pKxvK7fT+ocemiY58yA6fTmgg8+QsztHU3OvcDAo="; + hash = "sha256-TETZxIbC7pdak3m1rBwDg7L1yah/bin6iOZD/uANh48="; }; sphinxRoot = "docs/source"; From fd24367637a1d3443ee14787b160f6d59995bdab Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 16 Aug 2024 22:50:09 +0200 Subject: [PATCH 21/67] python312Packages.coinmetrics-api-client: 2024.7.11.18 -> 2024.8.16.10 --- .../python-modules/coinmetrics-api-client/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/coinmetrics-api-client/default.nix b/pkgs/development/python-modules/coinmetrics-api-client/default.nix index c1a62bc2d753..a15b774d40e3 100644 --- a/pkgs/development/python-modules/coinmetrics-api-client/default.nix +++ b/pkgs/development/python-modules/coinmetrics-api-client/default.nix @@ -17,7 +17,7 @@ buildPythonPackage rec { pname = "coinmetrics-api-client"; - version = "2024.7.11.18"; + version = "2024.8.16.10"; pyproject = true; disabled = pythonOlder "3.9"; @@ -27,7 +27,7 @@ buildPythonPackage rec { src = fetchPypi { inherit version; pname = "coinmetrics_api_client"; - hash = "sha256-o8SVup50hD2BzQQ3Z5wANHWEhZDOl0FH7iTmYTJnkYw="; + hash = "sha256-HYNmDN3gzmQ7gcUSSXI7/TwDDFPDZJUSu9P0Xz1z2Tk="; }; pythonRelaxDeps = [ "typer" ]; From 09bd8b78c33d09b24f40d20b793c39d8d20eac00 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 16 Aug 2024 23:08:28 +0200 Subject: [PATCH 22/67] python312Packages.rstcheck: 6.2.1 -> 6.2.4 Diff: https://github.com/rstcheck/rstcheck/compare/refs/tags/v6.2.1...v6.2.4 Changelog: https://github.com/rstcheck/rstcheck/blob/v6.2.4/CHANGELOG.md --- pkgs/development/python-modules/rstcheck/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/rstcheck/default.nix b/pkgs/development/python-modules/rstcheck/default.nix index 259b460e9e09..a403db708681 100644 --- a/pkgs/development/python-modules/rstcheck/default.nix +++ b/pkgs/development/python-modules/rstcheck/default.nix @@ -16,7 +16,7 @@ buildPythonPackage rec { pname = "rstcheck"; - version = "6.2.1"; + version = "6.2.4"; pyproject = true; disabled = pythonOlder "3.8"; @@ -25,7 +25,7 @@ buildPythonPackage rec { owner = "rstcheck"; repo = "rstcheck"; rev = "refs/tags/v${version}"; - hash = "sha256-S04l+x/rIc/XSvq2lSKCQp6KK5mmKI2mOgPgJ3WKe5M="; + hash = "sha256-CB8UtYAJpPrUOGgHOIp9Ts0GaID6GdtKHWD/ihxRoNg="; }; build-system = [ From 0d7342ec12688e74c84f1a5392fb3603ce6042f4 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 16 Aug 2024 23:21:10 +0200 Subject: [PATCH 23/67] checkov: 3.2.223 -> 3.2.228 Diff: https://github.com/bridgecrewio/checkov/compare/refs/tags/3.2.223...3.2.228 Changelog: https://github.com/bridgecrewio/checkov/releases/tag/3.2.228 --- pkgs/development/tools/analysis/checkov/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/tools/analysis/checkov/default.nix b/pkgs/development/tools/analysis/checkov/default.nix index 96d4fa32f11f..448ee7c3cb63 100644 --- a/pkgs/development/tools/analysis/checkov/default.nix +++ b/pkgs/development/tools/analysis/checkov/default.nix @@ -6,14 +6,14 @@ python3.pkgs.buildPythonApplication rec { pname = "checkov"; - version = "3.2.223"; + version = "3.2.228"; pyproject = true; src = fetchFromGitHub { owner = "bridgecrewio"; repo = "checkov"; rev = "refs/tags/${version}"; - hash = "sha256-NK1Ka3m9XQJish5d8Z0UiaTLEDot+rekEjC5peZ7FV4="; + hash = "sha256-9I17CEG5c9nLqfGe2OlOmgRv3zCw7klRhLe9youZEa4="; }; patches = [ ./flake8-compat-5.x.patch ]; From 35a35c9b3521e090884a29669285e3bc6adb8195 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 16 Aug 2024 23:30:18 +0200 Subject: [PATCH 24/67] python312Packages.aiohomekit: 3.2.1 -> 3.2.2 Diff: https://github.com/Jc2k/aiohomekit/compare/refs/tags/3.2.1...3.2.2 Changelog: https://github.com/Jc2k/aiohomekit/releases/tag/3.2.2 --- pkgs/development/python-modules/aiohomekit/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/aiohomekit/default.nix b/pkgs/development/python-modules/aiohomekit/default.nix index 03b73922d4f5..b7cd6c5e14c0 100644 --- a/pkgs/development/python-modules/aiohomekit/default.nix +++ b/pkgs/development/python-modules/aiohomekit/default.nix @@ -21,7 +21,7 @@ buildPythonPackage rec { pname = "aiohomekit"; - version = "3.2.1"; + version = "3.2.2"; pyproject = true; disabled = pythonOlder "3.10"; @@ -30,7 +30,7 @@ buildPythonPackage rec { owner = "Jc2k"; repo = "aiohomekit"; rev = "refs/tags/${version}"; - hash = "sha256-bv+xt6rp3cs8FhAw8b8Que5ABeD5+7z+LOb5C1PbzXI="; + hash = "sha256-SeK0CZesGatPQdwjr4u28m+ZIojlM02GCftX/q8Dg4g="; }; nativeBuildInputs = [ poetry-core ]; From 569d09b00c3f276dd677a07c49beeb1af53a1406 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 16 Aug 2024 23:34:26 +0200 Subject: [PATCH 25/67] python312Packages.wsgi-intercept: 1.13.0 -> 1.13.1 --- pkgs/development/python-modules/wsgi-intercept/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/wsgi-intercept/default.nix b/pkgs/development/python-modules/wsgi-intercept/default.nix index c2644e258232..9dcf5937a843 100644 --- a/pkgs/development/python-modules/wsgi-intercept/default.nix +++ b/pkgs/development/python-modules/wsgi-intercept/default.nix @@ -14,7 +14,7 @@ buildPythonPackage rec { pname = "wsgi-intercept"; - version = "1.13.0"; + version = "1.13.1"; pyproject = true; disabled = pythonOlder "3.7"; @@ -22,7 +22,7 @@ buildPythonPackage rec { src = fetchPypi { pname = "wsgi_intercept"; inherit version; - hash = "sha256-daA+HQHdtCAC+1a4Ss0qeo7OJe/dIGREoTqfH7z6k0w="; + hash = "sha256-eb1sY5qxH36r5dGK2aIPYu6CocQ1EkqHbP/YA49sJME="; }; nativeBuildInputs = [ setuptools ]; From 87301fa10ac99c6b26ad65e53c4d131a0bfa7baa Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 16 Aug 2024 23:39:28 +0200 Subject: [PATCH 26/67] python312Packages.webexteamssdk: 1.6.1 -> 2.0.1 Diff: https://github.com/CiscoDevNet/webexteamssdk/compare/refs/tags/v1.6.1...v2.0.1 Changelog: https://github.com/WebexCommunity/WebexPythonSDK/releases/tag/v2.0.1 --- .../python-modules/webexteamssdk/default.nix | 25 +++++++------------ 1 file changed, 9 insertions(+), 16 deletions(-) diff --git a/pkgs/development/python-modules/webexteamssdk/default.nix b/pkgs/development/python-modules/webexteamssdk/default.nix index 30eeb64d83a1..373f06b6d046 100644 --- a/pkgs/development/python-modules/webexteamssdk/default.nix +++ b/pkgs/development/python-modules/webexteamssdk/default.nix @@ -2,41 +2,34 @@ lib, buildPythonPackage, fetchFromGitHub, - future, pyjwt, pythonOlder, requests, requests-toolbelt, - setuptools, - versioneer, + poetry-core, + poetry-dynamic-versioning, }: buildPythonPackage rec { pname = "webexteamssdk"; - version = "1.6.1"; + version = "2.0.1"; pyproject = true; - disabled = pythonOlder "3.7"; + disabled = pythonOlder "3.10"; src = fetchFromGitHub { owner = "CiscoDevNet"; repo = "webexteamssdk"; rev = "refs/tags/v${version}"; - hash = "sha256-xlkmXl4tVm48drXmkUijv9GNXzJcDnfSKbOMciPIRRo="; + hash = "sha256-ENAUUicVO/Br7k+RFHCGzQ7BIG0CP7jTYM3tzs5EAZQ="; }; - postPatch = '' - # Remove vendorized versioneer - rm versioneer.py - ''; - build-system = [ - setuptools - versioneer + poetry-core + poetry-dynamic-versioning ]; dependencies = [ - future pyjwt requests requests-toolbelt @@ -45,13 +38,13 @@ buildPythonPackage rec { # Tests require a Webex Teams test domain doCheck = false; - pythonImportsCheck = [ "webexteamssdk" ]; + pythonImportsCheck = [ "webexpythonsdk" ]; meta = with lib; { description = "Python module for Webex Teams APIs"; homepage = "https://github.com/CiscoDevNet/webexteamssdk"; changelog = "https://github.com/WebexCommunity/WebexPythonSDK/releases/tag/v${version}"; - license = with licenses; [ mit ]; + license = licenses.mit; maintainers = with maintainers; [ fab ]; }; } From e360ba5a1a70e8fb50948770a3dc37572d388d9a Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 16 Aug 2024 23:43:32 +0200 Subject: [PATCH 27/67] python312Packages.wsgi-intercept: refactor --- pkgs/development/python-modules/wsgi-intercept/default.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/wsgi-intercept/default.nix b/pkgs/development/python-modules/wsgi-intercept/default.nix index 9dcf5937a843..3a1e587fc106 100644 --- a/pkgs/development/python-modules/wsgi-intercept/default.nix +++ b/pkgs/development/python-modules/wsgi-intercept/default.nix @@ -25,9 +25,9 @@ buildPythonPackage rec { hash = "sha256-eb1sY5qxH36r5dGK2aIPYu6CocQ1EkqHbP/YA49sJME="; }; - nativeBuildInputs = [ setuptools ]; + build-system = [ setuptools ]; - propagatedBuildInputs = [ six ]; + dependencies = [ six ]; nativeCheckInputs = [ httplib2 @@ -51,6 +51,7 @@ buildPythonPackage rec { meta = with lib; { description = "Module that acts as a WSGI application in place of a real URI for testing"; homepage = "https://github.com/cdent/wsgi-intercept"; + changelog = "https://github.com/cdent/wsgi-intercept/releases/tag/v${version}"; license = licenses.mit; maintainers = with maintainers; [ mikecm ]; }; From 56235a8a7a472149bb0a7ac071a0d3bd6e049ccb Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 16 Aug 2024 23:48:06 +0200 Subject: [PATCH 28/67] python312Packages.aioairzone-cloud: 0.6.1 -> 0.6.2 Diff: https://github.com/Noltari/aioairzone-cloud/compare/refs/tags/0.6.1...0.6.2 Changelog: https://github.com/Noltari/aioairzone-cloud/releases/tag/0.6.2 --- pkgs/development/python-modules/aioairzone-cloud/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/aioairzone-cloud/default.nix b/pkgs/development/python-modules/aioairzone-cloud/default.nix index 56efb548aa09..4f25e486dd93 100644 --- a/pkgs/development/python-modules/aioairzone-cloud/default.nix +++ b/pkgs/development/python-modules/aioairzone-cloud/default.nix @@ -9,7 +9,7 @@ buildPythonPackage rec { pname = "aioairzone-cloud"; - version = "0.6.1"; + version = "0.6.2"; pyproject = true; disabled = pythonOlder "3.11"; @@ -18,7 +18,7 @@ buildPythonPackage rec { owner = "Noltari"; repo = "aioairzone-cloud"; rev = "refs/tags/${version}"; - hash = "sha256-0aqY8Bg/kDSaNGSQ8hrlUQpfwYM3sVxQHm75/khgRTM="; + hash = "sha256-ByXSLfcUyj8i6t5guHnJedZrevGm71ad19vA/CxwTJ4="; }; build-system = [ setuptools ]; From 0cea6dec7f9ee924fde196200c9ec40f9a71e317 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 17 Aug 2024 00:17:21 +0200 Subject: [PATCH 29/67] python312Packages.aiohomekit: refactor --- pkgs/development/python-modules/aiohomekit/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/aiohomekit/default.nix b/pkgs/development/python-modules/aiohomekit/default.nix index b7cd6c5e14c0..8137bd5a4e50 100644 --- a/pkgs/development/python-modules/aiohomekit/default.nix +++ b/pkgs/development/python-modules/aiohomekit/default.nix @@ -33,9 +33,9 @@ buildPythonPackage rec { hash = "sha256-SeK0CZesGatPQdwjr4u28m+ZIojlM02GCftX/q8Dg4g="; }; - nativeBuildInputs = [ poetry-core ]; + build-system = [ poetry-core ]; - propagatedBuildInputs = [ + dependencies = [ aiocoap aiohappyeyeballs async-interrupt @@ -76,14 +76,14 @@ buildPythonPackage rec { meta = with lib; { description = "Python module that implements the HomeKit protocol"; - mainProgram = "aiohomekitctl"; longDescription = '' This Python library implements the HomeKit protocol for controlling Homekit accessories. ''; homepage = "https://github.com/Jc2k/aiohomekit"; changelog = "https://github.com/Jc2k/aiohomekit/releases/tag/${version}"; - license = with licenses; [ asl20 ]; + license = licenses.asl20; maintainers = with maintainers; [ fab ]; + mainProgram = "aiohomekitctl"; }; } From d5e1bbb4d2f10a5fa4604ccfd73c4f755c0f0bed Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 17 Aug 2024 00:27:54 +0200 Subject: [PATCH 30/67] python312Packages.ecs-logging: 2.1.0 -> 2.2.0 Diff: https://github.com/elastic/ecs-logging-python/compare/refs/tags/2.1.0...2.2.0 --- pkgs/development/python-modules/ecs-logging/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/ecs-logging/default.nix b/pkgs/development/python-modules/ecs-logging/default.nix index f95fa5df1be2..9654844075f5 100644 --- a/pkgs/development/python-modules/ecs-logging/default.nix +++ b/pkgs/development/python-modules/ecs-logging/default.nix @@ -8,7 +8,7 @@ buildPythonPackage rec { pname = "ecs-logging"; - version = "2.1.0"; + version = "2.2.0"; format = "pyproject"; disabled = pythonOlder "3.8"; @@ -17,7 +17,7 @@ buildPythonPackage rec { owner = "elastic"; repo = "ecs-logging-python"; rev = "refs/tags/${version}"; - hash = "sha256-Gf44bT3/gmHy+yaQ1+bhCFB33ym2G14tzNqTQyC3BJU="; + hash = "sha256-djCEutZqcyRfRme+omiwl3ofBUBli71TnfVu59i7vlE="; }; nativeBuildInputs = [ flit-core ]; From 3721ab0f22147eae34e45806def13258fd17789f Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 17 Aug 2024 00:32:15 +0200 Subject: [PATCH 31/67] python311Packages.minidump: 0.0.23 -> 0.0.24 Changelog: https://github.com/skelsec/minidump/releases/tag/0.0.24 --- pkgs/development/python-modules/minidump/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/minidump/default.nix b/pkgs/development/python-modules/minidump/default.nix index 1154685e6dda..84ba5fcec825 100644 --- a/pkgs/development/python-modules/minidump/default.nix +++ b/pkgs/development/python-modules/minidump/default.nix @@ -8,14 +8,14 @@ buildPythonPackage rec { pname = "minidump"; - version = "0.0.23"; + version = "0.0.24"; pyproject = true; disabled = pythonOlder "3.6"; src = fetchPypi { inherit pname version; - hash = "sha256-R+tza5C/2egkajScmilp/8qowoSklYVfEB+f0KMNBqQ="; + hash = "sha256-964JuUTzsXzPXOzGb5/1p6RbBTR0oTrrAS9MkgRHBDc="; }; nativeBuildInputs = [ setuptools ]; From 35d88a91015121d8c426d0f23b655101a1437b8e Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 17 Aug 2024 00:32:55 +0200 Subject: [PATCH 32/67] python311Packages.minidump: refactor --- pkgs/development/python-modules/minidump/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/minidump/default.nix b/pkgs/development/python-modules/minidump/default.nix index 84ba5fcec825..d50fdfaeedfc 100644 --- a/pkgs/development/python-modules/minidump/default.nix +++ b/pkgs/development/python-modules/minidump/default.nix @@ -18,7 +18,7 @@ buildPythonPackage rec { hash = "sha256-964JuUTzsXzPXOzGb5/1p6RbBTR0oTrrAS9MkgRHBDc="; }; - nativeBuildInputs = [ setuptools ]; + build-system = [ setuptools ]; # Upstream doesn't have tests doCheck = false; @@ -27,10 +27,10 @@ buildPythonPackage rec { meta = with lib; { description = "Python library to parse and read Microsoft minidump file format"; - mainProgram = "minidump"; homepage = "https://github.com/skelsec/minidump"; changelog = "https://github.com/skelsec/minidump/releases/tag/${version}"; - license = with licenses; [ mit ]; + license = licenses.mit; maintainers = with maintainers; [ fab ]; + mainProgram = "minidump"; }; } From a4f8f7ce9c11b627749c130f0fa86a188c341264 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 17 Aug 2024 00:35:12 +0200 Subject: [PATCH 33/67] python312Packages.aioruckus: 0.38 -> 0.40 Diff: ms264556/aioruckus@refs/tags/v0.38...v0.40 --- pkgs/development/python-modules/aioruckus/default.nix | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/pkgs/development/python-modules/aioruckus/default.nix b/pkgs/development/python-modules/aioruckus/default.nix index f392d69027c8..bcd1ce1919fe 100644 --- a/pkgs/development/python-modules/aioruckus/default.nix +++ b/pkgs/development/python-modules/aioruckus/default.nix @@ -13,7 +13,7 @@ buildPythonPackage rec { pname = "aioruckus"; - version = "0.38"; + version = "0.40"; pyproject = true; disabled = pythonOlder "3.10"; @@ -22,7 +22,7 @@ buildPythonPackage rec { owner = "ms264556"; repo = "aioruckus"; rev = "refs/tags/v${version}"; - hash = "sha256-h32EmiCQ6REciGMl0wDV8BSUezsFRo76RqUBeD2+pbY="; + hash = "sha256-oEm0+ktEJHJPg4PUPfSmG9SyVRDrxs7kosQ0tIY+bRc="; }; postPatch = '' @@ -30,9 +30,7 @@ buildPythonPackage rec { --replace-fail "setuptools>=68.1" "setuptools" ''; - build-system = [ - setuptools - ]; + build-system = [ setuptools ]; dependencies = [ aiohttp From 04f9680c557bdb175c1eb25202ce68bdc0f3ab3e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gutyina=20Gerg=C5=91?= Date: Sat, 17 Aug 2024 00:39:59 +0200 Subject: [PATCH 34/67] osu-lazer-bin: 2024.816.0 -> 2024.817.0 --- pkgs/games/osu-lazer/bin.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/games/osu-lazer/bin.nix b/pkgs/games/osu-lazer/bin.nix index 26256fa329a8..5ab1d50830ba 100644 --- a/pkgs/games/osu-lazer/bin.nix +++ b/pkgs/games/osu-lazer/bin.nix @@ -7,22 +7,22 @@ let pname = "osu-lazer-bin"; - version = "2024.816.0"; + version = "2024.817.0"; src = { aarch64-darwin = fetchzip { url = "https://github.com/ppy/osu/releases/download/${version}/osu.app.Apple.Silicon.zip"; - hash = "sha256-i56sgECdFVDcWDqEjKjXEjrlLEdfiBAvriRg7s19W2E="; + hash = "sha256-ssyKy9CDN5LcyaQE7o56VoXoYYVU1zksMT3GxdMu2lA="; stripRoot = false; }; x86_64-darwin = fetchzip { url = "https://github.com/ppy/osu/releases/download/${version}/osu.app.Intel.zip"; - hash = "sha256-4pzal/ddWGxueOirroyHk+b09YVeaNtE7hmmR8uY9GY="; + hash = "sha256-6yGMZ+rMnzuu0NNBD0BBSV5YvuGibIkhBL3HQWqudzo="; stripRoot = false; }; x86_64-linux = fetchurl { url = "https://github.com/ppy/osu/releases/download/${version}/osu.AppImage"; - hash = "sha256-5DlVwDVhiKCm1uwI0roV3Zj0BuXxVWxQsxgr0n95vXs="; + hash = "sha256-AruD0XoJJm3+LQ+WH2CqKb+7S/VjG6YmdWhsH5l3/uM="; }; }.${stdenv.system} or (throw "${pname}-${version}: ${stdenv.system} is unsupported."); From ebf6473c692d9193c9549f300f77666bdaf7427b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gutyina=20Gerg=C5=91?= Date: Sat, 17 Aug 2024 00:53:42 +0200 Subject: [PATCH 35/67] osu-lazer: 2024.816.0 -> 2024.817.0 --- pkgs/games/osu-lazer/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/games/osu-lazer/default.nix b/pkgs/games/osu-lazer/default.nix index 47a669dddc7f..c0f27745280e 100644 --- a/pkgs/games/osu-lazer/default.nix +++ b/pkgs/games/osu-lazer/default.nix @@ -17,13 +17,13 @@ buildDotnetModule rec { pname = "osu-lazer"; - version = "2024.816.0"; + version = "2024.817.0"; src = fetchFromGitHub { owner = "ppy"; repo = "osu"; rev = version; - hash = "sha256-OzXxvQDCYoHiPj6WzLbNsJXxngg0w02wbU9LNPCkK8Y="; + hash = "sha256-X6YaNHwNtHSqjV4oKQmYUd1aadbHSmr3EZDoq6epAkE="; }; projectFile = "osu.Desktop/osu.Desktop.csproj"; From a3d465e708e1edb4d2f7050ca7e4c98cdeb2c1de Mon Sep 17 00:00:00 2001 From: HaskellHegemonie Date: Sat, 17 Aug 2024 00:50:02 +0200 Subject: [PATCH 36/67] maintainers: add HaskellHegemonie Signed-off-by: HaskellHegemonie --- maintainers/maintainer-list.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index a02b6f0be78f..9053257933bd 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -8024,6 +8024,13 @@ githubId = 62279738; name = "HÃ¥kon Arvidsen"; }; + HaskellHegemonie = { + name = "HaskellHegemonie"; + email = "haskellisierer@proton.me"; + github = "HaskellHegemonie"; + githubId = 73712423; + keys = [ { fingerprint = "A559 0A2A 5B06 1923 3917 5F13 5622 C205 6513 577B"; } ]; + }; haslersn = { email = "haslersn@fius.informatik.uni-stuttgart.de"; github = "haslersn"; From 70d50646f0224ffd3324ae41b1efe83b55f660fe Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 17 Aug 2024 01:12:43 +0200 Subject: [PATCH 37/67] python311Packages.model-checker: 0.4.12 -> 0.5.6 --- .../python-modules/model-checker/default.nix | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/model-checker/default.nix b/pkgs/development/python-modules/model-checker/default.nix index f06f4ed471a6..3de3be17c546 100644 --- a/pkgs/development/python-modules/model-checker/default.nix +++ b/pkgs/development/python-modules/model-checker/default.nix @@ -2,14 +2,15 @@ lib, buildPythonPackage, fetchPypi, - setuptools, pythonOlder, + setuptools, + tqdm, z3-solver, }: buildPythonPackage rec { pname = "model-checker"; - version = "0.4.12"; + version = "0.5.6"; pyproject = true; disabled = pythonOlder "3.8"; @@ -17,7 +18,7 @@ buildPythonPackage rec { src = fetchPypi { pname = "model_checker"; inherit version; - hash = "sha256-bgVtOpWx5jytVxSz/WKLqLm+hVKbwIy+Fy5nEj/Nwt4="; + hash = "sha256-dt2/1qY0kyD0K0/d1NJa3q0NrwinmWb8Zd/Shtqj9Ow="; }; # z3 does not provide a dist-info, so python-runtime-deps-check will fail @@ -26,7 +27,10 @@ buildPythonPackage rec { build-system = [ setuptools ]; - dependencies = [ z3-solver ]; + dependencies = [ + tqdm + z3-solver + ]; # Tests have multiple issues, ImportError, TypeError, etc. # Check with the next release > 0.3.13 From 821467f51f7b46af19bf946dc68e772719d48406 Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Sat, 17 Aug 2024 01:33:10 +0200 Subject: [PATCH 38/67] ruff-lsp: move to pkgs/by-name and use buildPythonApplication --- .../ru/ruff-lsp/package.nix} | 21 ++++++------------- pkgs/top-level/all-packages.nix | 2 -- 2 files changed, 6 insertions(+), 17 deletions(-) rename pkgs/{development/tools/language-servers/ruff-lsp/default.nix => by-name/ru/ruff-lsp/package.nix} (83%) diff --git a/pkgs/development/tools/language-servers/ruff-lsp/default.nix b/pkgs/by-name/ru/ruff-lsp/package.nix similarity index 83% rename from pkgs/development/tools/language-servers/ruff-lsp/default.nix rename to pkgs/by-name/ru/ruff-lsp/package.nix index be327cae1ba0..1fd432a7bb04 100644 --- a/pkgs/development/tools/language-servers/ruff-lsp/default.nix +++ b/pkgs/by-name/ru/ruff-lsp/package.nix @@ -1,24 +1,15 @@ { lib , stdenv -, pythonOlder -, buildPythonPackage +, python3 , fetchFromGitHub , ruff -, pygls -, lsprotocol -, hatchling -, typing-extensions -, packaging -, pytestCheckHook -, python-lsp-jsonrpc -, pytest-asyncio }: -buildPythonPackage rec { +python3.pkgs.buildPythonApplication rec { pname = "ruff-lsp"; version = "0.0.54"; pyproject = true; - disabled = pythonOlder "3.7"; + disabled = python3.pythonOlder "3.7"; src = fetchFromGitHub { owner = "astral-sh"; @@ -32,11 +23,11 @@ buildPythonPackage rec { sed -i '/"ruff>=/d' pyproject.toml ''; - build-system = [ + build-system = with python3.pkgs; [ hatchling ]; - dependencies = [ + dependencies = with python3.pkgs; [ packaging pygls lsprotocol @@ -46,7 +37,7 @@ buildPythonPackage rec { # fails in linux sandbox doCheck = stdenv.isDarwin; - nativeCheckInputs = [ + nativeCheckInputs = with python3.pkgs; [ pytestCheckHook pytest-asyncio python-lsp-jsonrpc diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 4c26167e3528..6b9a2264293d 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -17382,8 +17382,6 @@ with pkgs; postgres-lsp = callPackage ../development/tools/language-servers/postgres-lsp { }; - ruff-lsp = python3Packages.callPackage ../development/tools/language-servers/ruff-lsp { }; - rune-languageserver = callPackage ../development/tools/language-servers/rune-languageserver { }; svls = callPackage ../development/tools/language-servers/svls { }; From bf1125c912aaba3a4e4f1a4de18f41c2436b9b74 Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Sat, 17 Aug 2024 01:33:27 +0200 Subject: [PATCH 39/67] ruff-lsp: format --- pkgs/by-name/ru/ruff-lsp/package.nix | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/pkgs/by-name/ru/ruff-lsp/package.nix b/pkgs/by-name/ru/ruff-lsp/package.nix index 1fd432a7bb04..384f5e1395f9 100644 --- a/pkgs/by-name/ru/ruff-lsp/package.nix +++ b/pkgs/by-name/ru/ruff-lsp/package.nix @@ -1,8 +1,9 @@ -{ lib -, stdenv -, python3 -, fetchFromGitHub -, ruff +{ + lib, + stdenv, + python3, + fetchFromGitHub, + ruff, }: python3.pkgs.buildPythonApplication rec { @@ -23,9 +24,7 @@ python3.pkgs.buildPythonApplication rec { sed -i '/"ruff>=/d' pyproject.toml ''; - build-system = with python3.pkgs; [ - hatchling - ]; + build-system = with python3.pkgs; [ hatchling ]; dependencies = with python3.pkgs; [ packaging @@ -60,6 +59,9 @@ python3.pkgs.buildPythonApplication rec { homepage = "https://github.com/astral-sh/ruff-lsp"; license = lib.licenses.mit; mainProgram = "ruff-lsp"; - maintainers = with lib.maintainers; [ figsoda kalekseev ]; + maintainers = with lib.maintainers; [ + figsoda + kalekseev + ]; }; } From 7a90bd27599681fd85fade8b5319ee49060d5408 Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Sat, 17 Aug 2024 01:33:41 +0200 Subject: [PATCH 40/67] ruff-lsp: 0.0.54 -> 0.0.55 Diff: https://github.com/astral-sh/ruff-lsp/compare/refs/tags/v0.0.54...v0.0.55 Changelog: https://github.com/astral-sh/ruff-lsp/releases/tag/v0.0.55 --- pkgs/by-name/ru/ruff-lsp/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/ru/ruff-lsp/package.nix b/pkgs/by-name/ru/ruff-lsp/package.nix index 384f5e1395f9..641ca522804b 100644 --- a/pkgs/by-name/ru/ruff-lsp/package.nix +++ b/pkgs/by-name/ru/ruff-lsp/package.nix @@ -8,7 +8,7 @@ python3.pkgs.buildPythonApplication rec { pname = "ruff-lsp"; - version = "0.0.54"; + version = "0.0.55"; pyproject = true; disabled = python3.pythonOlder "3.7"; @@ -16,7 +16,7 @@ python3.pkgs.buildPythonApplication rec { owner = "astral-sh"; repo = "ruff-lsp"; rev = "refs/tags/v${version}"; - hash = "sha256-VSuEjrRiHWA78DWQgbj0D+GFjhXrREUOHUcQpFqflcw="; + hash = "sha256-FFIZ8fDAPK03tnkjd2AUrz7iL8S9FziJQJKOxAisu48="; }; postPatch = '' From bca6423391f79e68f859dd53bc9b9ae3cc94abe7 Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Sat, 17 Aug 2024 01:35:24 +0200 Subject: [PATCH 41/67] ruff-lsp: add nix-update-script and testVersion --- pkgs/by-name/ru/ruff-lsp/package.nix | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/pkgs/by-name/ru/ruff-lsp/package.nix b/pkgs/by-name/ru/ruff-lsp/package.nix index 641ca522804b..c87b90ab5f5a 100644 --- a/pkgs/by-name/ru/ruff-lsp/package.nix +++ b/pkgs/by-name/ru/ruff-lsp/package.nix @@ -1,9 +1,12 @@ { lib, - stdenv, python3, fetchFromGitHub, + stdenv, ruff, + nix-update-script, + testers, + ruff-lsp, }: python3.pkgs.buildPythonApplication rec { @@ -53,6 +56,11 @@ python3.pkgs.buildPythonApplication rec { "--unset PYTHONPATH" ]; + passthru = { + updateScript = nix-update-script { }; + tests.version = testers.testVersion { package = ruff-lsp; }; + }; + meta = { changelog = "https://github.com/astral-sh/ruff-lsp/releases/tag/v${version}"; description = "Language Server Protocol implementation for Ruff"; From eedf38647a582405e81e5cf1ee7f0da286cc4c39 Mon Sep 17 00:00:00 2001 From: Bobby Rong Date: Thu, 15 Aug 2024 09:33:02 +0800 Subject: [PATCH 42/67] =?UTF-8?q?webkitgtk:=202.44.2=20=E2=86=92=202.44.3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit https://webkitgtk.org/security/WSA-2024-0004.html https://webkitgtk.org/2024/08/13/webkitgtk2.44.3-released.html https://github.com/WebKit/WebKit/compare/webkitgtk-2.44.2...webkitgtk-2.44.3 CVE-2024-40776, CVE-2024-40779, CVE-2024-40780, CVE-2024-40782, CVE-2024-40785, CVE-2024-40789, CVE-2024-40794, CVE-2024-4558 --- pkgs/development/libraries/webkitgtk/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/libraries/webkitgtk/default.nix b/pkgs/development/libraries/webkitgtk/default.nix index b1fb3231a2b6..2a045b245e86 100644 --- a/pkgs/development/libraries/webkitgtk/default.nix +++ b/pkgs/development/libraries/webkitgtk/default.nix @@ -72,7 +72,7 @@ stdenv.mkDerivation (finalAttrs: { pname = "webkitgtk"; - version = "2.44.2"; + version = "2.44.3"; name = "${finalAttrs.pname}-${finalAttrs.version}+abi=${if lib.versionAtLeast gtk3.version "4.0" then "6.0" else "4.${if lib.versions.major libsoup.version == "2" then "0" else "1"}"}"; outputs = [ "out" "dev" "devdoc" ]; @@ -83,7 +83,7 @@ stdenv.mkDerivation (finalAttrs: { src = fetchurl { url = "https://webkitgtk.org/releases/webkitgtk-${finalAttrs.version}.tar.xz"; - hash = "sha256-Uj9CyP8kgyrdF2Mfbqr+j5MDr+MW7xp+GES5Uqf3Uhs="; + hash = "sha256-3ILQQuysqYGkhSNXwG5SNXQzGc8QqUzTatQbl4g6C1Q="; }; patches = lib.optionals stdenv.isLinux [ From 5ee778d42408dac493338b2e5e761443c88d5ae7 Mon Sep 17 00:00:00 2001 From: Michael Hoang Date: Sat, 17 Aug 2024 14:29:45 +1000 Subject: [PATCH 43/67] regreet: fix theming options not under GTK header Fixes #335082 --- nixos/modules/programs/regreet.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/programs/regreet.nix b/nixos/modules/programs/regreet.nix index cec3e0bf5046..8a6cfc1b5f40 100644 --- a/nixos/modules/programs/regreet.nix +++ b/nixos/modules/programs/regreet.nix @@ -141,7 +141,7 @@ in fonts.packages = [ cfg.font.package ]; - programs.regreet.settings = { + programs.regreet.settings.GTK = { cursor_theme_name = cfg.cursorTheme.name; font_name = "${cfg.font.name} ${toString cfg.font.size}"; icon_theme_name = cfg.iconTheme.name; From 3ffc982bfa26ef6272cb6a169bf94638b3dd269d Mon Sep 17 00:00:00 2001 From: Michael Hoang Date: Sat, 17 Aug 2024 14:32:49 +1000 Subject: [PATCH 44/67] regreet: don't allow settings to be a path --- nixos/modules/programs/regreet.nix | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/nixos/modules/programs/regreet.nix b/nixos/modules/programs/regreet.nix index 8a6cfc1b5f40..1f83f610dbf1 100644 --- a/nixos/modules/programs/regreet.nix +++ b/nixos/modules/programs/regreet.nix @@ -27,7 +27,7 @@ in package = lib.mkPackageOption pkgs [ "greetd" "regreet" ] { }; settings = lib.mkOption { - type = lib.types.either lib.types.path settingsFormat.type; + type = settingsFormat.type; default = { }; description = '' ReGreet configuration file. Refer @@ -160,9 +160,7 @@ in else {text = cfg.extraCss;}; "greetd/regreet.toml".source = - if lib.isPath cfg.settings - then cfg.settings - else settingsFormat.generate "regreet.toml" cfg.settings; + settingsFormat.generate "regreet.toml" cfg.settings; }; systemd.tmpfiles.settings."10-regreet" = let From 399f8d0bae5ef4997b25caefd3aee7fff8b40724 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sat, 17 Aug 2024 04:54:40 +0000 Subject: [PATCH 45/67] sc-im: 0.8.3 -> 0.8.4 --- pkgs/applications/misc/sc-im/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/misc/sc-im/default.nix b/pkgs/applications/misc/sc-im/default.nix index d4509411dcfe..c8d90823863f 100644 --- a/pkgs/applications/misc/sc-im/default.nix +++ b/pkgs/applications/misc/sc-im/default.nix @@ -16,13 +16,13 @@ stdenv.mkDerivation rec { pname = "sc-im"; - version = "0.8.3"; + version = "0.8.4"; src = fetchFromGitHub { owner = "andmarti1424"; repo = "sc-im"; rev = "v${version}"; - sha256 = "sha256-QlnxMe0WsRX9J2xzpf2Udcf9+N3MvQWqmYl2YKsGpYM="; + sha256 = "sha256-nNOifSYbmJjuw6c8TerIQRlhCwbs7GnzD2J7O3vs0gI="; }; sourceRoot = "${src.name}/src"; From fbfc90fb432168c4de0cb638a230a9925c87e319 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sat, 17 Aug 2024 04:55:08 +0000 Subject: [PATCH 46/67] sysdig-cli-scanner: 1.13.2 -> 1.14.0 --- .../sysdig-cli-scanner.versions.nix | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/pkgs/by-name/sy/sysdig-cli-scanner/sysdig-cli-scanner.versions.nix b/pkgs/by-name/sy/sysdig-cli-scanner/sysdig-cli-scanner.versions.nix index b745582238e4..4fcb7b08d14c 100644 --- a/pkgs/by-name/sy/sysdig-cli-scanner/sysdig-cli-scanner.versions.nix +++ b/pkgs/by-name/sy/sysdig-cli-scanner/sysdig-cli-scanner.versions.nix @@ -1,23 +1,23 @@ { - version = "1.13.2"; + version = "1.14.0"; x86_64-linux = { - url = "https://download.sysdig.com/scanning/bin/sysdig-cli-scanner/1.13.2/linux/amd64/sysdig-cli-scanner"; - hash = "sha256-nFQ+xDiB7CA9mfQlRiTH/FvyZMKZ0YH8Gzn4ZuZ/Ucc="; + url = "https://download.sysdig.com/scanning/bin/sysdig-cli-scanner/1.14.0/linux/amd64/sysdig-cli-scanner"; + hash = "sha256-EkwfoK/F2bl83J2cCjfC3s9ESpk5yrnv3+sFO94nzvw="; }; aarch64-linux = { - url = "https://download.sysdig.com/scanning/bin/sysdig-cli-scanner/1.13.2/linux/arm64/sysdig-cli-scanner"; - hash = "sha256-IscMTVzEbWImFZa7uXNp2K6Gplnq2LZoVPoAo5oIZ1U="; + url = "https://download.sysdig.com/scanning/bin/sysdig-cli-scanner/1.14.0/linux/arm64/sysdig-cli-scanner"; + hash = "sha256-EkhhiV+x7Iv1nYp0+/+mpnVDVT1GpqW3Yh3VPOkM61g="; }; x86_64-darwin = { - url = "https://download.sysdig.com/scanning/bin/sysdig-cli-scanner/1.13.2/darwin/amd64/sysdig-cli-scanner"; - hash = "sha256-Xgip9cquafpRuYcXnnCF5ptFi774EocBZ535b/LzXUQ="; + url = "https://download.sysdig.com/scanning/bin/sysdig-cli-scanner/1.14.0/darwin/amd64/sysdig-cli-scanner"; + hash = "sha256-VQCvAOTEgdso32XMGqPflYzX3t5GhrzxAjZzft0wuFs="; }; aarch64-darwin = { - url = "https://download.sysdig.com/scanning/bin/sysdig-cli-scanner/1.13.2/darwin/arm64/sysdig-cli-scanner"; - hash = "sha256-l/u8UV9O5/mFrNHpyIaKvXbVCQ+Fh6binJLv7MCHrtM="; + url = "https://download.sysdig.com/scanning/bin/sysdig-cli-scanner/1.14.0/darwin/arm64/sysdig-cli-scanner"; + hash = "sha256-BELMtP3VRS+xb15LXCx5F/5XwtJn3DF6R5aluq1WHPc="; }; } From 8077d3725cda6159616d2d8da3650450595148d9 Mon Sep 17 00:00:00 2001 From: Ryan Omasta Date: Fri, 16 Aug 2024 22:59:47 -0600 Subject: [PATCH 47/67] vscodium: 1.91.1.24193 -> 1.92.2.24228 --- pkgs/applications/editors/vscode/vscodium.nix | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/pkgs/applications/editors/vscode/vscodium.nix b/pkgs/applications/editors/vscode/vscodium.nix index 072c1a1ca5c5..9b1a3642615a 100644 --- a/pkgs/applications/editors/vscode/vscodium.nix +++ b/pkgs/applications/editors/vscode/vscodium.nix @@ -15,11 +15,11 @@ let archive_fmt = if stdenv.isDarwin then "zip" else "tar.gz"; sha256 = { - x86_64-linux = "0am2g0vpb2fgqqs9m5v9dx8w47l2xnjy7bf3rr0bjr4yv4qn7g0n"; - x86_64-darwin = "0520kpdfa2k1qlgnmnzisbbq0n4h119nfgnaljymsviw1ix02v7k"; - aarch64-linux = "0r6sqyfcj3qs2iqpfhdjcd8jfazkmyxx0f92qpxlc6a5gllm3hlj"; - aarch64-darwin = "03b0akbkmqp1fm6i61dx09lln8m3598xigi4wr0rkdsy0yq2vpl8"; - armv7l-linux = "1sdml7bhrrn2qskhzs4ymibq7cw4nhjimxi8fmaj94dk5yri4wd3"; + x86_64-linux = "1qddnqjq61c8m9klzkf4ic2zjgcwzpa0mjmraqfyga8njqham8z5"; + x86_64-darwin = "1fkpijnm1z84x1bv9w4qvwrydcv9i2jsldvp96gby7f3gp69asaw"; + aarch64-linux = "1k8whwqk0di2knld4gxyjwngh5kfa4pa4fr1scg7pfwfx9dnkljd"; + aarch64-darwin = "0wgag225ji108zdrfbmp3iviyl3ha6gblcxp5ilc39pi50dms4gv"; + armv7l-linux = "00w4238av273qznbnxdw4vvjj0iv8rrzb15aazvirb22d2slk9hr"; }.${system} or throwSystem; sourceRoot = lib.optionalString (!stdenv.isDarwin) "."; @@ -29,7 +29,7 @@ in # Please backport all compatible updates to the stable release. # This is important for the extension ecosystem. - version = "1.91.1.24193"; + version = "1.92.2.24228"; pname = "vscodium"; executableName = "codium"; From 75e094e1aae3d25d06fdea743e2f8eb999c02fee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Sat, 17 Aug 2024 07:23:55 +0200 Subject: [PATCH 48/67] nix-ld-rs: alias to nix-ld nix-ld-rs's code was merged into nix-ld --- pkgs/by-name/ni/nix-ld-rs/package.nix | 54 --------------------------- pkgs/top-level/aliases.nix | 1 + 2 files changed, 1 insertion(+), 54 deletions(-) delete mode 100644 pkgs/by-name/ni/nix-ld-rs/package.nix diff --git a/pkgs/by-name/ni/nix-ld-rs/package.nix b/pkgs/by-name/ni/nix-ld-rs/package.nix deleted file mode 100644 index d6514033741a..000000000000 --- a/pkgs/by-name/ni/nix-ld-rs/package.nix +++ /dev/null @@ -1,54 +0,0 @@ -{ - stdenv, - fetchFromGitHub, - nixosTests, - rustPlatform, - lib, -}: - -rustPlatform.buildRustPackage { - name = "nix-ld-rs"; - - src = fetchFromGitHub { - owner = "nix-community"; - repo = "nix-ld-rs"; - rev = "f7154a6aedba4917c8cc72b805b79444b5bfafca"; - sha256 = "sha256-tx6gO6NR4BnYVhoskyvQY9l6/8sK0HwoDHvsYcvIlgo="; - }; - - cargoHash = "sha256-4IDu5qAgF4Zq4GOsimuy8NiRCN9PXM+8oVzD2GO3QmM="; - - hardeningDisable = [ "stackprotector" ]; - - NIX_SYSTEM = stdenv.system; - RUSTC_BOOTSTRAP = "1"; - - preCheck = '' - export NIX_LD=${stdenv.cc.bintools.dynamicLinker} - ''; - - postInstall = '' - mkdir -p $out/libexec - ln -s $out/bin/nix-ld-rs $out/libexec/nix-ld-rs - ln -s $out/bin/nix-ld-rs $out/libexec/nix-ld - - mkdir -p $out/nix-support - - ldpath=/${stdenv.hostPlatform.libDir}/$(basename ${stdenv.cc.bintools.dynamicLinker}) - echo "$ldpath" > $out/nix-support/ldpath - mkdir -p $out/lib/tmpfiles.d/ - cat > $out/lib/tmpfiles.d/nix-ld.conf < Date: Fri, 16 Aug 2024 23:32:01 -0700 Subject: [PATCH 49/67] vscode-extensions.databricks.databricks: init at 2.3.1 --- lib/licenses.nix | 6 ++++++ .../editors/vscode/extensions/default.nix | 17 +++++++++++++++++ 2 files changed, 23 insertions(+) diff --git a/lib/licenses.nix b/lib/licenses.nix index 67744b499d8a..9b25bd4bcea8 100644 --- a/lib/licenses.nix +++ b/lib/licenses.nix @@ -728,6 +728,12 @@ lib.mapAttrs mkLicense ({ redistributable = false; }; + databricks-license = { + fullName = "Databricks License"; + url = "https://www.databricks.com/legal/db-license"; + free = false; + }; + fair = { fullName = "Fair License"; spdxId = "Fair"; diff --git a/pkgs/applications/editors/vscode/extensions/default.nix b/pkgs/applications/editors/vscode/extensions/default.nix index 496c39c3b416..5ff8557279cc 100644 --- a/pkgs/applications/editors/vscode/extensions/default.nix +++ b/pkgs/applications/editors/vscode/extensions/default.nix @@ -1213,6 +1213,23 @@ let meta.license = lib.licenses.mit; }; + databricks.databricks = buildVscodeMarketplaceExtension { + mktplcRef = { + name = "databricks"; + publisher = "databricks"; + version = "2.3.1"; + hash = "sha256-Qa839ygG8Z3aD/ZSshe2hg0ee3ZFU8xRrJ5E0cUjfCU="; + }; + meta = { + changelog = "https://marketplace.visualstudio.com/items/databricks.databricks/changelog"; + description = "Databricks extension for Visual Studio Code"; + downloadPage = "https://marketplace.visualstudio.com/items?itemName=databricks.databricks"; + homepage = "https://github.com/databricks/databricks-vscode"; + license = lib.licenses.databricks-license; + maintainers = [ lib.maintainers.softinio ]; + }; + }; + davidanson.vscode-markdownlint = buildVscodeMarketplaceExtension { mktplcRef = { name = "vscode-markdownlint"; From 02355a384fe2fcd743e19f34964acbeecbe2d939 Mon Sep 17 00:00:00 2001 From: Aaron Jheng Date: Sat, 17 Aug 2024 02:01:20 +0000 Subject: [PATCH 50/67] shfmt: 3.8.0 -> 3.9.0 --- pkgs/tools/text/shfmt/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/text/shfmt/default.nix b/pkgs/tools/text/shfmt/default.nix index b2437a01c993..cceda4e15525 100644 --- a/pkgs/tools/text/shfmt/default.nix +++ b/pkgs/tools/text/shfmt/default.nix @@ -2,16 +2,16 @@ buildGoModule rec { pname = "shfmt"; - version = "3.8.0"; + version = "3.9.0"; src = fetchFromGitHub { owner = "mvdan"; repo = "sh"; rev = "v${version}"; - sha256 = "sha256-2AnSmwl4ID7QxF8k1fl50S47KjKs9PwVpxchUIlhVo0="; + hash = "sha256-sYfMMKBqaYf3dfFcxE9awUMW+Hk7ps0/zpVFHul7GWM="; }; - vendorHash = "sha256-rWAnWohbQZyPlOWqWwcxPMDABxumCo4M8fBUx54q76c="; + vendorHash = "sha256-xm5qKSg7OU++mVtTeRwefL3J1Uf+a0nFdtlD7eulI8s="; subPackages = [ "cmd/shfmt" ]; From 24d7835b9ae72ca8c553fc5c331342c1894a15b4 Mon Sep 17 00:00:00 2001 From: zowoq <59103226+zowoq@users.noreply.github.com> Date: Fri, 16 Aug 2024 23:01:49 +1000 Subject: [PATCH 51/67] delta: 0.17.0-unstable-2024-08-12 -> 0.18.0 Changelog: https://github.com/dandavison/delta/releases/tag/0.18.0 --- pkgs/applications/version-management/delta/default.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pkgs/applications/version-management/delta/default.nix b/pkgs/applications/version-management/delta/default.nix index 1547632119fd..994af1db8d35 100644 --- a/pkgs/applications/version-management/delta/default.nix +++ b/pkgs/applications/version-management/delta/default.nix @@ -11,16 +11,16 @@ rustPlatform.buildRustPackage rec { pname = "delta"; - version = "0.17.0-unstable-2024-08-12"; + version = "0.18.0"; src = fetchFromGitHub { owner = "dandavison"; - repo = pname; - rev = "a01141b72001f4c630d77cf5274267d7638851e4"; - hash = "sha256-My51pQw5a2Y2VTu39MmnjGfmCavg8pFqOmOntUildS0="; + repo = "delta"; + rev = "refs/tags/${version}"; + hash = "sha256-1UOVRAceZ4QlwrHWqN7YI2bMyuhwLnxJWpfyaHNNLYg="; }; - cargoHash = "sha256-Rlc3Bc6Jh89KLLEWBWQB5GjoeIuHnwIVZN/MVFMjY24="; + cargoHash = "sha256-/h7djtaTm799gjNrC6vKulwwuvrTHjlsEXbK2lDH+rc="; nativeBuildInputs = [ installShellFiles From 55eedcc6dce5980712887fb456abab57b6738407 Mon Sep 17 00:00:00 2001 From: Kazuki Okamoto Date: Sat, 17 Aug 2024 16:47:58 +0900 Subject: [PATCH 52/67] just fix markup --- lib/customisation.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/customisation.nix b/lib/customisation.nix index 0e0d79120296..bcdc94f3c4c3 100644 --- a/lib/customisation.nix +++ b/lib/customisation.nix @@ -455,7 +455,7 @@ rec { 1. Takes a function `p`, or a path to a Nix file that contains a function `p`, which takes an attribute set and returns value of arbitrary type `a`, 2. Takes an attribute set `args` with explicit attributes to pass to `p`, - 3. Calls `f` with attributes from the original attribute set `attrs` passed to `newScope` updated with `args, i.e. `attrs // args`, if they match the attributes in the argument of `p`. + 3. Calls `f` with attributes from the original attribute set `attrs` passed to `newScope` updated with `args`, i.e. `attrs // args`, if they match the attributes in the argument of `p`. All such functions `p` will be called with the same value for `attrs`. From 30d5ef6576c0f285ec027ff9b2a7cb9b93ad67c1 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 17 Aug 2024 00:41:11 +0200 Subject: [PATCH 53/67] elasticsearch-curator: 8.0.15 -> 8.0.16 Diff: https://github.com/elastic/curator/compare/refs/tags/v8.0.15...v8.0.16 Changelog: https://github.com/elastic/curator/releases/tag/v8.0.16 --- pkgs/by-name/el/elasticsearch-curator/package.nix | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/el/elasticsearch-curator/package.nix b/pkgs/by-name/el/elasticsearch-curator/package.nix index 6a142aeb1ac5..cb91f3edfb6f 100644 --- a/pkgs/by-name/el/elasticsearch-curator/package.nix +++ b/pkgs/by-name/el/elasticsearch-curator/package.nix @@ -9,16 +9,18 @@ python3.pkgs.buildPythonApplication rec { pname = "elasticsearch-curator"; - version = "8.0.15"; - format = "pyproject"; + version = "8.0.16"; + pyproject = true; src = fetchFromGitHub { owner = "elastic"; repo = "curator"; rev = "refs/tags/v${version}"; - hash = "sha256-pW928jT9oL76RJuJgH7nhCvgWPzXixzqBKVYsaJy9xw="; + hash = "sha256-nSBsLzem+eZBM0ebhW1Omh+pYYPYdly/VraM89iJe3E="; }; + pythonRelaxDeps = [ "es-client" ]; + build-system = with python3.pkgs; [ hatchling ]; dependencies = with python3.pkgs; [ From 7245ee8389ca24c9dd927818da83f993634d97d9 Mon Sep 17 00:00:00 2001 From: Colin Date: Fri, 16 Aug 2024 08:33:36 +0000 Subject: [PATCH 54/67] baresip: assert that all expected modules were compiled --- pkgs/by-name/ba/baresip/package.nix | 64 +++++++++++++++++++++++++++++ 1 file changed, 64 insertions(+) diff --git a/pkgs/by-name/ba/baresip/package.nix b/pkgs/by-name/ba/baresip/package.nix index 866958347f19..3161deb039e4 100644 --- a/pkgs/by-name/ba/baresip/package.nix +++ b/pkgs/by-name/ba/baresip/package.nix @@ -123,6 +123,70 @@ stdenv.mkDerivation rec { -DHAVE_INTTYPES_H -D__GLIBC__ -D__need_timeval -D__need_timespec -D__need_time_t ''; + doInstallCheck = true; + # CMake feature detection is prone to breakage between upgrades: + # spot-check that the optional modules we care about were compiled + postInstallCheck = lib.concatMapStringsSep "\n" (m: "test -x $out/lib/baresip/modules/${m}.so") [ + "account" + "alsa" + "aubridge" + "auconv" + "aufile" + "auresamp" + "ausine" + "avcodec" + "avfilter" + "avformat" + "cons" + "contact" + "ctrl_dbus" + "ctrl_tcp" + "debug_cmd" + "dtls_srtp" + "ebuacip" + "echo" + "evdev" + "fakevideo" + "g711" + "g722" + "g726" + "httpd" + "httpreq" + "ice" + "l16" + "menu" + "mixausrc" + "mixminus" + "multicast" + "mwi" + "natpmp" + "netroam" + "pcp" + "plc" + "portaudio" + "presence" + "rtcpsummary" + "sdl" + "selfview" + "serreg" + "snapshot" + "sndfile" + "srtp" + "stdio" + "stun" + "swscale" + "syslog" + "turn" + "uuid" + "v4l2" + "vidbridge" + "vidinfo" + "vp8" + "vp9" + "vumeter" + "x11" + ]; + meta = { description = "Modular SIP User-Agent with audio and video support"; homepage = "https://github.com/baresip/baresip"; From 0db1163a484aa247cb424bc37f2eb260e328c36e Mon Sep 17 00:00:00 2001 From: Colin Date: Fri, 16 Aug 2024 08:36:05 +0000 Subject: [PATCH 55/67] baresip: packaging cleanups the `LIBRE*` and `USE_*` make flags were removed during the cmake transition in v2.11.0: upstream now detects features on a best-effort basis, with pkg-config. --- pkgs/by-name/ba/baresip/package.nix | 127 ++++++++++------------------ 1 file changed, 43 insertions(+), 84 deletions(-) diff --git a/pkgs/by-name/ba/baresip/package.nix b/pkgs/by-name/ba/baresip/package.nix index 3161deb039e4..689af45674bd 100644 --- a/pkgs/by-name/ba/baresip/package.nix +++ b/pkgs/by-name/ba/baresip/package.nix @@ -1,30 +1,31 @@ -{ lib -, stdenv -, fetchFromGitHub -, zlib -, openssl -, libre -, librem -, pkg-config -, gst_all_1 -, cairo -, gtk3 -, mpg123 -, alsa-lib -, SDL2 -, libv4l -, celt -, libsndfile -, srtp -, ffmpeg -, gsm -, speex -, portaudio -, spandsp3 -, libuuid -, libvpx -, cmake -, dbusSupport ? true +{ + SDL2, + alsa-lib, + cairo, + celt, + cmake, + fetchFromGitHub, + ffmpeg, + gsm, + gst_all_1, + gtk3, + lib, + libre, + librem, + libsndfile, + libuuid, + libv4l, + libvpx, + mpg123, + openssl, + pkg-config, + portaudio, + spandsp3, + speex, + srtp, + stdenv, + zlib, + dbusSupport ? true, }: stdenv.mkDerivation rec { version = "3.10.1"; @@ -38,28 +39,28 @@ stdenv.mkDerivation rec { prePatch = lib.optionalString (!dbusSupport) '' substituteInPlace cmake/modules.cmake --replace 'list(APPEND MODULES ctrl_dbus)' "" ''; - nativeBuildInputs = [ pkg-config cmake ]; + nativeBuildInputs = [ cmake pkg-config ]; buildInputs = [ - zlib - openssl - libre - librem - cairo - gtk3 - mpg123 - alsa-lib SDL2 - libv4l + alsa-lib + cairo celt - libsndfile - srtp ffmpeg gsm - speex + gtk3 + libre + librem + libsndfile + libuuid + libv4l + libvpx + mpg123 + openssl portaudio spandsp3 - libuuid - libvpx + speex + srtp + zlib ] ++ (with gst_all_1; [ gstreamer gst-libav gst-plugins-base gst-plugins-bad gst-plugins-good ]); cmakeFlags = [ @@ -68,50 +69,8 @@ stdenv.mkDerivation rec { ]; makeFlags = [ - "LIBRE_MK=${libre}/share/re/re.mk" - "LIBRE_SO=${libre}/lib" - "LIBREM_PATH=${librem}" "PREFIX=$(out)" - "USE_VIDEO=1" "CCACHE_DISABLE=1" - - "USE_ALSA=1" - "USE_AMR=1" - "USE_CAIRO=1" - "USE_CELT=1" - "USE_CONS=1" - "USE_EVDEV=1" - "USE_FFMPEG=1" - "USE_GSM=1" - "USE_GST1=1" - "USE_GTK=1" - "USE_L16=1" - "USE_MPG123=1" - "USE_OSS=1" - "USE_PLC=1" - "USE_VPX=1" - "USE_PORTAUDIO=1" - "USE_SDL=1" - "USE_SNDFILE=1" - "USE_SPEEX=1" - "USE_SPEEX_AEC=1" - "USE_SPEEX_PP=1" - "USE_SPEEX_RESAMP=1" - "USE_SRTP=1" - "USE_STDIO=1" - "USE_SYSLOG=1" - "USE_UUID=1" - "USE_V4L2=1" - "USE_X11=1" - - "USE_BV32=" - "USE_COREAUDIO=" - "USE_G711=1" - "USE_G722=1" - "USE_G722_1=" - "USE_ILBC=" - "USE_OPUS=" - "USE_SILK=" ] ++ lib.optional (stdenv.cc.cc != null) "SYSROOT_ALT=${stdenv.cc.cc}" ++ lib.optional (stdenv.cc.libc != null) "SYSROOT=${stdenv.cc.libc}" From 6d30a57f86c81c87b38c82691f073dc86c5471b9 Mon Sep 17 00:00:00 2001 From: Colin Date: Fri, 16 Aug 2024 08:43:02 +0000 Subject: [PATCH 56/67] baresip: enable the gtk feature upstream's CMake feature detection expects the gtk3 package to supply not only `cflags` but also `cflags_other`. i think the latter was intended to be optional, so patch it out since our gtk doesn't supply it. --- pkgs/by-name/ba/baresip/package.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pkgs/by-name/ba/baresip/package.nix b/pkgs/by-name/ba/baresip/package.nix index 689af45674bd..6f5b17e8aa26 100644 --- a/pkgs/by-name/ba/baresip/package.nix +++ b/pkgs/by-name/ba/baresip/package.nix @@ -36,7 +36,9 @@ stdenv.mkDerivation rec { rev = "v${version}"; hash = "sha256-0huZP1hopHaN5R1Hki6YutpvoASfIHzHMl/Y4czHHMo="; }; - prePatch = lib.optionalString (!dbusSupport) '' + prePatch = '' + substituteInPlace cmake/FindGTK3.cmake --replace GTK3_CFLAGS_OTHER "" + '' + lib.optionalString (!dbusSupport) '' substituteInPlace cmake/modules.cmake --replace 'list(APPEND MODULES ctrl_dbus)' "" ''; nativeBuildInputs = [ cmake pkg-config ]; @@ -109,6 +111,7 @@ stdenv.mkDerivation rec { "g711" "g722" "g726" + "gtk" "httpd" "httpreq" "ice" From cfa34ac9d25ca57c257f1bd8da911cab2cb8bf94 Mon Sep 17 00:00:00 2001 From: Colin Date: Fri, 16 Aug 2024 09:15:11 +0000 Subject: [PATCH 57/67] baresip: enable the gst (gstreamer) module --- pkgs/by-name/ba/baresip/package.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/by-name/ba/baresip/package.nix b/pkgs/by-name/ba/baresip/package.nix index 6f5b17e8aa26..0870c2d00995 100644 --- a/pkgs/by-name/ba/baresip/package.nix +++ b/pkgs/by-name/ba/baresip/package.nix @@ -6,6 +6,7 @@ cmake, fetchFromGitHub, ffmpeg, + glib, gsm, gst_all_1, gtk3, @@ -68,6 +69,9 @@ stdenv.mkDerivation rec { cmakeFlags = [ "-DCMAKE_SKIP_BUILD_RPATH=ON" "-Dre_DIR=${libre}/include/re" + "-DGL_INCLUDE_DIRS=${lib.getDev glib}/include/glib-2.0" + "-DGLIB_INCLUDE_DIRS=${glib.out}/lib/glib-2.0/include" + "-DGST_INCLUDE_DIRS=${lib.getDev gst_all_1.gstreamer}/include/gstreamer-1.0" ]; makeFlags = [ @@ -111,6 +115,7 @@ stdenv.mkDerivation rec { "g711" "g722" "g726" + "gst" "gtk" "httpd" "httpreq" From b297828f75e2763c4d08e56368e0f5bba5b7e002 Mon Sep 17 00:00:00 2001 From: Colin Date: Fri, 16 Aug 2024 09:30:11 +0000 Subject: [PATCH 58/67] baresip: enable the pipewire module --- pkgs/by-name/ba/baresip/package.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/by-name/ba/baresip/package.nix b/pkgs/by-name/ba/baresip/package.nix index 0870c2d00995..c93590ea1678 100644 --- a/pkgs/by-name/ba/baresip/package.nix +++ b/pkgs/by-name/ba/baresip/package.nix @@ -19,6 +19,7 @@ libvpx, mpg123, openssl, + pipewire, pkg-config, portaudio, spandsp3, @@ -59,6 +60,7 @@ stdenv.mkDerivation rec { libvpx mpg123 openssl + pipewire portaudio spandsp3 speex @@ -129,6 +131,7 @@ stdenv.mkDerivation rec { "natpmp" "netroam" "pcp" + "pipewire" "plc" "portaudio" "presence" From b83b5ef887d9a4deff327d71753c0bbb810f58a0 Mon Sep 17 00:00:00 2001 From: Elliot Cameron Date: Sat, 17 Aug 2024 01:01:50 -0400 Subject: [PATCH 59/67] gss: re-enable tests Two in-flight PRs (#327128 and #328673) both solved the same problem in a different way. This merges the best of both PRs and re-enables tests. --- pkgs/development/libraries/gss/default.nix | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/pkgs/development/libraries/gss/default.nix b/pkgs/development/libraries/gss/default.nix index ffa4ca77e251..42d22c2bd5fe 100644 --- a/pkgs/development/libraries/gss/default.nix +++ b/pkgs/development/libraries/gss/default.nix @@ -13,7 +13,9 @@ stdenv.mkDerivation rec { url = "mirror://gnu/gss/gss-${version}.tar.gz"; hash = "sha256-7M6r3vTK4/znIYsuy4PrQifbpEtTthuMKy6IrgJBnHM="; }; - # This test crashes now. Most likely triggered by expiration on 20240711. + + # krb5context test uses certificates that expired on 2024-07-11. + # Reported to bug-gss@gnu.org with Message-ID: <87cyngavtt.fsf@alyssa.is>. postPatch = '' rm tests/krb5context.c ''; @@ -29,10 +31,6 @@ stdenv.mkDerivation rec { "--${if withShishi then "enable" else "disable"}-kerberos5" ]; - # krb5context test uses certificates that expired on 2024-07-11. - # Reported to bug-gss@gnu.org with Message-ID: <87cyngavtt.fsf@alyssa.is>. - doCheck = !withShishi; - # Fixup .la files postInstall = lib.optionalString withShishi '' sed -i 's,\(-lshishi\),-L${shishi}/lib \1,' $out/lib/libgss.la From e850cbb4f8b236d5c54af6be631783299a4f5ec8 Mon Sep 17 00:00:00 2001 From: Alyssa Ross Date: Sat, 17 Aug 2024 10:25:50 +0200 Subject: [PATCH 60/67] Revert "gss: re-enable tests" This reverts commit b83b5ef887d9a4deff327d71753c0bbb810f58a0. Mass rebuild on Darwin, accidentally merged into master. --- pkgs/development/libraries/gss/default.nix | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/pkgs/development/libraries/gss/default.nix b/pkgs/development/libraries/gss/default.nix index 42d22c2bd5fe..ffa4ca77e251 100644 --- a/pkgs/development/libraries/gss/default.nix +++ b/pkgs/development/libraries/gss/default.nix @@ -13,9 +13,7 @@ stdenv.mkDerivation rec { url = "mirror://gnu/gss/gss-${version}.tar.gz"; hash = "sha256-7M6r3vTK4/znIYsuy4PrQifbpEtTthuMKy6IrgJBnHM="; }; - - # krb5context test uses certificates that expired on 2024-07-11. - # Reported to bug-gss@gnu.org with Message-ID: <87cyngavtt.fsf@alyssa.is>. + # This test crashes now. Most likely triggered by expiration on 20240711. postPatch = '' rm tests/krb5context.c ''; @@ -31,6 +29,10 @@ stdenv.mkDerivation rec { "--${if withShishi then "enable" else "disable"}-kerberos5" ]; + # krb5context test uses certificates that expired on 2024-07-11. + # Reported to bug-gss@gnu.org with Message-ID: <87cyngavtt.fsf@alyssa.is>. + doCheck = !withShishi; + # Fixup .la files postInstall = lib.optionalString withShishi '' sed -i 's,\(-lshishi\),-L${shishi}/lib \1,' $out/lib/libgss.la From 28e457dea778417b211f9d84f86fd39d6c16c3f7 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 17 Aug 2024 10:36:46 +0200 Subject: [PATCH 61/67] python312Packages.griffe: 0.47.0 -> 1.0.0 Changelog: https://github.com/mkdocstrings/griffe/blob/1.0.0/CHANGELOG.md --- pkgs/development/python-modules/griffe/default.nix | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/griffe/default.nix b/pkgs/development/python-modules/griffe/default.nix index 64694b89471c..03f22c61a01b 100644 --- a/pkgs/development/python-modules/griffe/default.nix +++ b/pkgs/development/python-modules/griffe/default.nix @@ -6,6 +6,7 @@ fetchFromGitHub, git, jsonschema, + mkdocstrings, pdm-backend, pytestCheckHook, pythonOlder, @@ -13,7 +14,7 @@ buildPythonPackage rec { pname = "griffe"; - version = "0.47.0"; + version = "1.0.0"; pyproject = true; disabled = pythonOlder "3.8"; @@ -22,12 +23,15 @@ buildPythonPackage rec { owner = "mkdocstrings"; repo = "griffe"; rev = "refs/tags/${version}"; - hash = "sha256-NkS8cD0G/nbquQfMVcdbTLnJx26PQnqWB8UnBTNIBdE="; + hash = "sha256-GRj60qL+gXjUUAxhyTN7f1Jkuucl0+MstbDEqGVx3zs="; }; build-system = [ pdm-backend ]; - dependencies = [ colorama ]; + dependencies = [ + colorama + mkdocstrings + ]; nativeCheckInputs = [ git From d060a8e49add343f2fd7cd59da3334fa5eeea274 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 17 Aug 2024 10:37:06 +0200 Subject: [PATCH 62/67] python312Packages.mkdocstrings-python: 1.10.5 -> 1.10.8 Changelog: https://github.com/mkdocstrings/python/blob/1.10.8/CHANGELOG.md --- .../python-modules/mkdocstrings-python/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/mkdocstrings-python/default.nix b/pkgs/development/python-modules/mkdocstrings-python/default.nix index fc72540e9d56..60c12fb9c332 100644 --- a/pkgs/development/python-modules/mkdocstrings-python/default.nix +++ b/pkgs/development/python-modules/mkdocstrings-python/default.nix @@ -12,7 +12,7 @@ buildPythonPackage rec { pname = "mkdocstrings-python"; - version = "1.10.5"; + version = "1.10.8"; pyproject = true; disabled = pythonOlder "3.8"; @@ -21,7 +21,7 @@ buildPythonPackage rec { owner = "mkdocstrings"; repo = "python"; rev = "refs/tags/${version}"; - hash = "sha256-LRBo404TGxWBQdhN3gTyDHjB389hcHCfZK/oEFdjpOY="; + hash = "sha256-3fXT2cV9jXkBNqK0LhKh8V11YLz+ulR3yAtq3GVOkTU="; }; build-system = [ pdm-backend ]; From 00951b325f918c0d8ce4efa40852ff736fdf3e2d Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 17 Aug 2024 10:43:24 +0200 Subject: [PATCH 63/67] python312Packages.myjwt: 1.6.1 -> 2.1.0 Changelog: https://github.com/tyki6/MyJWT/releases/tag/2.1.0 --- pkgs/development/python-modules/myjwt/default.nix | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/pkgs/development/python-modules/myjwt/default.nix b/pkgs/development/python-modules/myjwt/default.nix index e7c80a480167..78e368360a41 100644 --- a/pkgs/development/python-modules/myjwt/default.nix +++ b/pkgs/development/python-modules/myjwt/default.nix @@ -20,23 +20,18 @@ buildPythonPackage rec { pname = "myjwt"; - version = "1.6.1"; + version = "2.1.0"; pyproject = true; - disabled = pythonOlder "3.8"; + disabled = pythonOlder "3.10"; src = fetchFromGitHub { owner = "mBouamama"; repo = "MyJWT"; rev = "refs/tags/${version}"; - hash = "sha256-qdDA8DpJ9kAPTvCkQcPBHNlUqxwsS0vAESglvUygXhg="; + hash = "sha256-jqBnxo7Omn5gLMCQ7SNbjo54nyFK7pn94796z2Qc9lg="; }; - postPatch = '' - substituteInPlace pyproject.toml \ - --replace-fail "1.6.0" "${version}" - ''; - pythonRelaxDeps = [ "cryptography" "pyopenssl" From c0629bcdcc5d76599208a33ff9de2fed1026bb36 Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Sat, 17 Aug 2024 00:57:49 +0200 Subject: [PATCH 64/67] typst-lsp: mark as broken --- .../tools/language-servers/typst-lsp/default.nix | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/pkgs/development/tools/language-servers/typst-lsp/default.nix b/pkgs/development/tools/language-servers/typst-lsp/default.nix index 59b81f5989f0..d834fd0f371b 100644 --- a/pkgs/development/tools/language-servers/typst-lsp/default.nix +++ b/pkgs/development/tools/language-servers/typst-lsp/default.nix @@ -44,12 +44,15 @@ rustPlatform.buildRustPackage rec { export HOME=$(mktemp -d) ''; - meta = with lib; { + meta = { description = "Brand-new language server for Typst"; homepage = "https://github.com/nvarner/typst-lsp"; mainProgram = "typst-lsp"; changelog = "https://github.com/nvarner/typst-lsp/releases/tag/${src.rev}"; - license = with licenses; [ asl20 mit ]; - maintainers = with maintainers; [ figsoda GaetanLepage ]; + license = with lib.licenses; [ asl20 mit ]; + maintainers = with lib.maintainers; [ figsoda GaetanLepage ]; + # Incompatible with Rust >= 1.80 + # Fix to be merged upstream: https://github.com/nvarner/typst-lsp/pull/515 + broken = true; }; } From c39e28cef834012009f54ca200061c382fdb3ad2 Mon Sep 17 00:00:00 2001 From: HaskellHegemonie Date: Fri, 16 Aug 2024 23:29:58 +0200 Subject: [PATCH 65/67] bato: init at 0.1.7 Signed-off-by: HaskellHegemonie --- pkgs/by-name/ba/bato/package.nix | 39 ++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 pkgs/by-name/ba/bato/package.nix diff --git a/pkgs/by-name/ba/bato/package.nix b/pkgs/by-name/ba/bato/package.nix new file mode 100644 index 000000000000..fd3a2ad5851d --- /dev/null +++ b/pkgs/by-name/ba/bato/package.nix @@ -0,0 +1,39 @@ +{ + lib, + pkg-config, + cmake, + libnotify, + rustPlatform, + fetchFromGitHub, +}: + +rustPlatform.buildRustPackage rec { + pname = "bato"; + version = "0.1.7"; + + src = fetchFromGitHub { + owner = "doums"; + repo = "bato"; + rev = "v${version}"; + hash = "sha256-i2gw8vXiKutq26ACzkVXH3kED7jAngSv2mNo9P3qXnA="; + }; + + cargoHash = "sha256-cqrSyZjfBSfF015nwOcRy2rkE4XzFPxJCQZGrqZXLEA="; + + nativeBuildInputs = [ + pkg-config + cmake + ]; + + buildInputs = [ libnotify ]; + + meta = { + description = "Small program to send battery notifications"; + homepage = "https://github.com/doums/bato"; + changelog = "https://github.com/doums/bato/releases/tag/v${version}"; + license = lib.licenses.mpl20; + maintainers = with lib.maintainers; [ HaskellHegemonie ]; + platforms = lib.platforms.linux; + mainProgram = "bato"; + }; +} From e33ab01f8dc87c60e4c92ca3408fddfa08b98a70 Mon Sep 17 00:00:00 2001 From: Schweber <64630479+Schweber@users.noreply.github.com> Date: Fri, 16 Aug 2024 12:01:16 +0000 Subject: [PATCH 66/67] godot_4: add wayland support --- pkgs/by-name/go/godot_4/package.nix | 21 +++++++++++++++++---- 1 file changed, 17 insertions(+), 4 deletions(-) diff --git a/pkgs/by-name/go/godot_4/package.nix b/pkgs/by-name/go/godot_4/package.nix index 36fe3ff0dd1b..1296da9e48d0 100644 --- a/pkgs/by-name/go/godot_4/package.nix +++ b/pkgs/by-name/go/godot_4/package.nix @@ -7,6 +7,7 @@ fontconfig, installShellFiles, lib, + libdecor, libGL, libpulseaudio, libX11, @@ -24,6 +25,8 @@ stdenv, udev, vulkan-loader, + wayland, + wayland-scanner, withDbus ? true, withDebug ? false, withFontconfig ? true, @@ -34,13 +37,15 @@ withTarget ? "editor", withTouch ? true, withUdev ? true, + # Wayland in Godot requires X11 until upstream fix is merged + # https://github.com/godotengine/godot/pull/73504 + withWayland ? true, + withX11 ? true, }: - assert lib.asserts.assertOneOf "withPrecision" withPrecision [ "single" "double" ]; - let mkSconsFlagsFromAttrSet = lib.mapAttrsToList ( k: v: if builtins.isString v then "${k}=${v}" else "${k}=${builtins.toJSON v}" @@ -101,6 +106,8 @@ stdenv.mkDerivation rec { speechd = withSpeechd; # Use Speech Dispatcher for Text-to-Speech support touch = withTouch; # Enable touch events udev = withUdev; # Use udev for gamepad connection callbacks + wayland = withWayland; # Compile with Wayland support + x11 = withX11; # Compile with X11 support }; enableParallelBuilding = true; @@ -117,12 +124,15 @@ stdenv.mkDerivation rec { installShellFiles pkg-config scons - ]; + ] ++ lib.optionals withWayland [ wayland-scanner ]; runtimeDependencies = [ alsa-lib libGL + vulkan-loader + ] + ++ lib.optionals withX11 [ libX11 libXcursor libXext @@ -132,7 +142,10 @@ stdenv.mkDerivation rec { libxkbcommon libXrandr libXrender - vulkan-loader + ] + ++ lib.optionals withWayland [ + libdecor + wayland ] ++ lib.optionals withDbus [ dbus From 6781c03fc05b4cd21c244638336177f0f360c6a9 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sat, 17 Aug 2024 08:15:47 +0000 Subject: [PATCH 67/67] python312Packages.distributed: 2024.8.0 -> 2024.8.1 --- pkgs/development/python-modules/distributed/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/distributed/default.nix b/pkgs/development/python-modules/distributed/default.nix index 18270c22331f..1d5c939de414 100644 --- a/pkgs/development/python-modules/distributed/default.nix +++ b/pkgs/development/python-modules/distributed/default.nix @@ -25,16 +25,16 @@ buildPythonPackage rec { pname = "distributed"; - version = "2024.8.0"; + version = "2024.8.1"; pyproject = true; - disabled = pythonOlder "3.9"; + disabled = pythonOlder "3.10"; src = fetchFromGitHub { owner = "dask"; repo = "distributed"; rev = "refs/tags/${version}"; - hash = "sha256-7Z/KKm9C/n4yFKv9KHmGhIUeddwCIZL1A/SBGJKDlbI="; + hash = "sha256-LKf0z/xGvMVjoG02G2doS/XOiDN2/PmR72rCmwaQqtM="; }; postPatch = '' @@ -77,7 +77,7 @@ buildPythonPackage rec { meta = { description = "Distributed computation in Python"; homepage = "https://distributed.readthedocs.io/"; - changelog = "https://github.com/dask/distributed/blob/${version}/docs/source/changelog.rst"; + changelog = "https://github.com/dask/distributed/releases/tag/${version}"; license = lib.licenses.bsd3; maintainers = with lib.maintainers; [ teh ]; };