diff --git a/pkgs/applications/misc/safeeyes/default.nix b/pkgs/applications/misc/safeeyes/default.nix
index 42dbdbd0f6b6..8d83b3c3bb02 100644
--- a/pkgs/applications/misc/safeeyes/default.nix
+++ b/pkgs/applications/misc/safeeyes/default.nix
@@ -3,7 +3,6 @@
, fetchPypi
, alsa-utils
, gobject-introspection
-, libappindicator-gtk3
, libnotify
, wlrctl
, gtk3
@@ -18,11 +17,11 @@ with python3.pkgs;
buildPythonApplication rec {
pname = "safeeyes";
- version = "2.2.1";
+ version = "2.2.2";
src = fetchPypi {
inherit pname version;
- hash = "sha256-Ub/KcNG2jg4revtfOpr0vDyHzw3vCy+bqLeXX4Po+cw=";
+ hash = "sha256-k/CNxLScZDCXiwJhP5qh5HD5VUKlOLaYV8ICYgz6NKI=";
};
postPatch = ''
@@ -36,7 +35,6 @@ buildPythonApplication rec {
buildInputs = [
gtk3
- libappindicator-gtk3
libnotify
];
diff --git a/pkgs/applications/misc/syncthingtray/default.nix b/pkgs/applications/misc/syncthingtray/default.nix
index 4d5252e455c8..2c69b1343e9d 100644
--- a/pkgs/applications/misc/syncthingtray/default.nix
+++ b/pkgs/applications/misc/syncthingtray/default.nix
@@ -35,14 +35,14 @@ https://github.com/NixOS/nixpkgs/issues/199596#issuecomment-1310136382 */
}:
stdenv.mkDerivation (finalAttrs: {
- version = "1.5.5";
+ version = "1.6.0";
pname = "syncthingtray";
src = fetchFromGitHub {
owner = "Martchus";
repo = "syncthingtray";
rev = "v${finalAttrs.version}";
- hash = "sha256-NfFB+4cqe1rHqc+w0Enl9h33gPjJ3CfrFpyOhysmz0Q=";
+ hash = "sha256-tbtSISWBNHxuF2T1XK5JnkiPMYzgP4fyw5t6z91P2p8=";
};
buildInputs = [
diff --git a/pkgs/applications/networking/browsers/chromium/upstream-info.nix b/pkgs/applications/networking/browsers/chromium/upstream-info.nix
index 1038f8c5596d..967f57d1d4d1 100644
--- a/pkgs/applications/networking/browsers/chromium/upstream-info.nix
+++ b/pkgs/applications/networking/browsers/chromium/upstream-info.nix
@@ -1,11 +1,11 @@
{
stable = {
chromedriver = {
- hash_darwin = "sha256-BW83pgPJiKxdQ1K4+8KMDGBqvR+J3i+8AZmKfnYSmWk=";
+ hash_darwin = "sha256-Evz39J4o3FJdJbYsFxmnLiZ9QiMeZttcbTtZ6wAVXoQ=";
hash_darwin_aarch64 =
- "sha256-ZGZy4VDNRXJBMLtAhRUybssWRXSfEUWVRsF+etfhdzQ=";
- hash_linux = "sha256-1gM4KqzacJ13X5NmBn2hW6L/a7zN21rSZBk6a0IjCow=";
- version = "127.0.6533.88";
+ "sha256-4Dkdi5C6dcuEewYvy60F5m4ynzb5lGWrJFs1Q+4vapI=";
+ hash_linux = "sha256-Lls/gwyA28G8X41wXEIKlgNdmKWgWnPf6iHZGrU8e54=";
+ version = "127.0.6533.99";
};
deps = {
gn = {
@@ -15,8 +15,8 @@
version = "2024-06-06";
};
};
- hash = "sha256-nZZ2yrVu+0TloMaM455bmyeoeVnfeGR3EGubAf8snNU=";
- version = "127.0.6533.88";
+ hash = "sha256-VKPlcBfS6iw4E1nz0nYJLg273XmJ+RcGGktRbqQTTwQ=";
+ version = "127.0.6533.99";
};
ungoogled-chromium = {
deps = {
diff --git a/pkgs/applications/version-management/jujutsu/default.nix b/pkgs/applications/version-management/jujutsu/default.nix
index 35a71c30444f..6d1fc0926e52 100644
--- a/pkgs/applications/version-management/jujutsu/default.nix
+++ b/pkgs/applications/version-management/jujutsu/default.nix
@@ -19,20 +19,21 @@
rustPlatform.buildRustPackage rec {
pname = "jujutsu";
- version = "0.19.0";
+ version = "0.20.0";
src = fetchFromGitHub {
owner = "martinvonz";
repo = "jj";
rev = "v${version}";
- hash = "sha256-coASwU7nMalqvtqukhuRWz52My4e2Zl/7tqHNEvS1Nk=";
+ hash = "sha256-1lONtpataRi0yE6LpN6oNnC3OAW918v8GFCUwinYJWI=";
};
- cargoHash = "sha256-9SYjC3xL8OGGT56Q/yhH1oWeRT0Z956Yms6DGvCzlUY=";
+ cargoHash = "sha256-dRbOTxlFXfmeHUKH2UeN84OwlQ1urCND/Nfk9vSeLwA=";
cargoBuildFlags = [ "--bin" "jj" ]; # don't install the fake editors
useNextest = false; # nextest is the upstream integration framework, but is problematic for test skipping
ZSTD_SYS_USE_PKG_CONFIG = "1"; # disable vendored zlib
+ LIBGIT2_NO_VENDOR = "1"; # disable vendored libgit2
LIBSSH2_SYS_USE_PKG_CONFIG = "1"; # disable vendored libssh2
nativeBuildInputs = [
diff --git a/pkgs/build-support/dotnet/build-dotnet-module/default.nix b/pkgs/build-support/dotnet/build-dotnet-module/default.nix
index 2ba801231f38..c8ad6a174ce5 100644
--- a/pkgs/build-support/dotnet/build-dotnet-module/default.nix
+++ b/pkgs/build-support/dotnet/build-dotnet-module/default.nix
@@ -1,222 +1,260 @@
-{ lib
-, runtimeShell
-, stdenvNoCC
-, callPackage
-, substituteAll
-, writeShellScript
-, makeWrapper
-, dotnetCorePackages
-, mkNugetDeps
-, nuget-to-nix
-, cacert
-, unzip
-, yq
-, nix
+{
+ lib,
+ runtimeShell,
+ stdenvNoCC,
+ callPackage,
+ substituteAll,
+ writeShellScript,
+ makeWrapper,
+ dotnetCorePackages,
+ mkNugetDeps,
+ nuget-to-nix,
+ cacert,
+ unzip,
+ yq,
+ nix,
}:
-
-{ name ? "${_args.pname}-${_args.version}"
-, pname ? name
-, enableParallelBuilding ? true
-, doCheck ? false
- # Flags to pass to `makeWrapper`. This is done to avoid double wrapping.
-, makeWrapperArgs ? [ ]
-
- # Flags to pass to `dotnet restore`.
-, dotnetRestoreFlags ? [ ]
- # Flags to pass to `dotnet build`.
-, dotnetBuildFlags ? [ ]
- # Flags to pass to `dotnet test`, if running tests is enabled.
-, dotnetTestFlags ? [ ]
- # Flags to pass to `dotnet install`.
-, dotnetInstallFlags ? [ ]
- # Flags to pass to `dotnet pack`.
-, dotnetPackFlags ? [ ]
- # Flags to pass to dotnet in all phases.
-, dotnetFlags ? [ ]
-
- # The path to publish the project to. When unset, the directory "$out/lib/$pname" is used.
-, installPath ? null
- # The binaries that should get installed to `$out/bin`, relative to `$installPath/`. These get wrapped accordingly.
- # Unfortunately, dotnet has no method for doing this automatically.
- # If unset, all executables in the projects root will get installed. This may cause bloat!
-, executables ? null
- # Packs a project as a `nupkg`, and installs it to `$out/share`. If set to `true`, the derivation can be used as a dependency for another dotnet project by adding it to `projectReferences`.
-, packNupkg ? false
- # The packages project file, which contains instructions on how to compile it. This can be an array of multiple project files as well.
-, projectFile ? null
- # The NuGet dependency file. This locks all NuGet dependency versions, as otherwise they cannot be deterministically fetched.
- # This can be generated by running the `passthru.fetch-deps` script.
-, nugetDeps ? null
- # A list of derivations containing nupkg packages for local project references.
- # Referenced derivations can be built with `buildDotnetModule` with `packNupkg=true` flag.
- # Since we are sharing them as nugets they must be added to csproj/fsproj files as `PackageReference` as well.
- # For example, your project has a local dependency:
- #
- # To enable discovery through `projectReferences` you would need to add a line:
- #
- #
-, projectReferences ? [ ]
- # Libraries that need to be available at runtime should be passed through this.
- # These get wrapped into `LD_LIBRARY_PATH`.
-, runtimeDeps ? [ ]
- # The dotnet runtime ID. If null, fetch-deps will gather dependencies for all
- # platforms in meta.platforms which are supported by the sdk.
-, runtimeId ? null
-
- # Tests to disable. This gets passed to `dotnet test --filter "FullyQualifiedName!={}"`, to ensure compatibility with all frameworks.
- # See https://docs.microsoft.com/en-us/dotnet/core/tools/dotnet-test#filter-option-details for more details.
-, disabledTests ? [ ]
- # The project file to run unit tests against. This is usually referenced in the regular project file, but sometimes it needs to be manually set.
- # It gets restored and build, but not installed. You may need to regenerate your nuget lockfile after setting this.
-, testProjectFile ? null
-
- # The type of build to perform. This is passed to `dotnet` with the `--configuration` flag. Possible values are `Release`, `Debug`, etc.
-, buildType ? "Release"
- # If set to true, builds the application as a self-contained - removing the runtime dependency on dotnet
-, selfContainedBuild ? false
- # Whether to use an alternative wrapper, that executes the application DLL using the dotnet runtime from the user environment. `dotnet-runtime` is provided as a default in case no .NET is installed
- # This is useful for .NET tools and applications that may need to run under different .NET runtimes
-, useDotnetFromEnv ? false
- # Whether to explicitly enable UseAppHost when building. This is redundant if useDotnetFromEnv is enabled
-, useAppHost ? true
- # The dotnet SDK to use.
-, dotnet-sdk ? dotnetCorePackages.sdk_6_0
- # The dotnet runtime to use.
-, dotnet-runtime ? dotnetCorePackages.runtime_6_0
-, ...
-} @ _args:
-
let
- args = removeAttrs _args [ "nugetDeps" ];
+ transformArgs =
+ finalAttrs:
+ {
+ name ? "${args.pname}-${args.version}",
+ pname ? name,
+ enableParallelBuilding ? true,
+ doCheck ? false,
+ # Flags to pass to `makeWrapper`. This is done to avoid double wrapping.
+ makeWrapperArgs ? [ ],
- projectFiles =
- lib.optionals (projectFile != null) (lib.toList projectFile);
- testProjectFiles =
- lib.optionals (testProjectFile != null) (lib.toList testProjectFile);
+ # Flags to pass to `dotnet restore`.
+ dotnetRestoreFlags ? [ ],
+ # Flags to pass to `dotnet build`.
+ dotnetBuildFlags ? [ ],
+ # Flags to pass to `dotnet test`, if running tests is enabled.
+ dotnetTestFlags ? [ ],
+ # Flags to pass to `dotnet install`.
+ dotnetInstallFlags ? [ ],
+ # Flags to pass to `dotnet pack`.
+ dotnetPackFlags ? [ ],
+ # Flags to pass to dotnet in all phases.
+ dotnetFlags ? [ ],
- platforms =
- if args ? meta.platforms
- then lib.intersectLists args.meta.platforms dotnet-sdk.meta.platforms
- else dotnet-sdk.meta.platforms;
+ # The path to publish the project to. When unset, the directory "$out/lib/$pname" is used.
+ installPath ? null,
+ # The binaries that should get installed to `$out/bin`, relative to `$installPath/`. These get wrapped accordingly.
+ # Unfortunately, dotnet has no method for doing this automatically.
+ # If unset, all executables in the projects root will get installed. This may cause bloat!
+ executables ? null,
+ # Packs a project as a `nupkg`, and installs it to `$out/share`. If set to `true`, the derivation can be used as a dependency for another dotnet project by adding it to `projectReferences`.
+ packNupkg ? false,
+ # The packages project file, which contains instructions on how to compile it. This can be an array of multiple project files as well.
+ projectFile ? null,
+ # The NuGet dependency file. This locks all NuGet dependency versions, as otherwise they cannot be deterministically fetched.
+ # This can be generated by running the `passthru.fetch-deps` script.
+ nugetDeps ? null,
+ # A list of derivations containing nupkg packages for local project references.
+ # Referenced derivations can be built with `buildDotnetModule` with `packNupkg=true` flag.
+ # Since we are sharing them as nugets they must be added to csproj/fsproj files as `PackageReference` as well.
+ # For example, your project has a local dependency:
+ #
+ # To enable discovery through `projectReferences` you would need to add a line:
+ #
+ #
+ projectReferences ? [ ],
+ # Libraries that need to be available at runtime should be passed through this.
+ # These get wrapped into `LD_LIBRARY_PATH`.
+ runtimeDeps ? [ ],
+ # The dotnet runtime ID. If null, fetch-deps will gather dependencies for all
+ # platforms in meta.platforms which are supported by the sdk.
+ runtimeId ? null,
- inherit (callPackage ./hooks {
- inherit dotnet-sdk dotnet-runtime;
- }) dotnetConfigureHook dotnetBuildHook dotnetCheckHook dotnetInstallHook dotnetFixupHook;
+ # Tests to disable. This gets passed to `dotnet test --filter "FullyQualifiedName!={}"`, to ensure compatibility with all frameworks.
+ # See https://docs.microsoft.com/en-us/dotnet/core/tools/dotnet-test#filter-option-details for more details.
+ disabledTests ? [ ],
+ # The project file to run unit tests against. This is usually referenced in the regular project file, but sometimes it needs to be manually set.
+ # It gets restored and build, but not installed. You may need to regenerate your nuget lockfile after setting this.
+ testProjectFile ? null,
- _nugetDeps =
- if (nugetDeps != null) then
- if lib.isDerivation nugetDeps
- then nugetDeps
- else mkNugetDeps {
- inherit name;
- sourceFile = nugetDeps;
- }
- else throw "Defining the `nugetDeps` attribute is required, as to lock the NuGet dependencies. This file can be generated by running the `passthru.fetch-deps` script.";
+ # The type of build to perform. This is passed to `dotnet` with the `--configuration` flag. Possible values are `Release`, `Debug`, etc.
+ buildType ? "Release",
+ # If set to true, builds the application as a self-contained - removing the runtime dependency on dotnet
+ selfContainedBuild ? false,
+ # Whether to use an alternative wrapper, that executes the application DLL using the dotnet runtime from the user environment. `dotnet-runtime` is provided as a default in case no .NET is installed
+ # This is useful for .NET tools and applications that may need to run under different .NET runtimes
+ useDotnetFromEnv ? false,
+ # Whether to explicitly enable UseAppHost when building. This is redundant if useDotnetFromEnv is enabled
+ useAppHost ? true,
+ # The dotnet SDK to use.
+ dotnet-sdk ? dotnetCorePackages.sdk_6_0,
+ # The dotnet runtime to use.
+ dotnet-runtime ? dotnetCorePackages.runtime_6_0,
+ ...
+ }@args:
+ let
+ projectFiles = lib.optionals (projectFile != null) (lib.toList projectFile);
+ testProjectFiles = lib.optionals (testProjectFile != null) (lib.toList testProjectFile);
- nugetDepsFile = _nugetDeps.sourceFile;
+ platforms =
+ if args ? meta.platforms then
+ lib.intersectLists args.meta.platforms dotnet-sdk.meta.platforms
+ else
+ dotnet-sdk.meta.platforms;
- inherit (dotnetCorePackages) systemToDotnetRid;
-in
-stdenvNoCC.mkDerivation (finalAttrs: args // {
- dotnetInstallPath = installPath;
- dotnetExecutables = executables;
- dotnetBuildType = buildType;
- dotnetProjectFiles = projectFiles;
- dotnetTestProjectFiles = testProjectFiles;
- dotnetDisabledTests = disabledTests;
- dotnetRuntimeIds = lib.singleton (
- if runtimeId != null
- then runtimeId
- else systemToDotnetRid stdenvNoCC.hostPlatform.system);
- dotnetRuntimeDeps = map lib.getLib runtimeDeps;
- dotnetSelfContainedBuild = selfContainedBuild;
- dotnetUseAppHost = useAppHost;
- inherit useDotnetFromEnv;
+ inherit (callPackage ./hooks { inherit dotnet-sdk dotnet-runtime; })
+ dotnetConfigureHook
+ dotnetBuildHook
+ dotnetCheckHook
+ dotnetInstallHook
+ dotnetFixupHook
+ ;
- nativeBuildInputs = args.nativeBuildInputs or [ ] ++ [
- dotnetConfigureHook
- dotnetBuildHook
- dotnetCheckHook
- dotnetInstallHook
- dotnetFixupHook
-
- cacert
- makeWrapper
- dotnet-sdk
- unzip
- yq
- ];
-
- buildInputs = args.buildInputs or [] ++ [
- dotnet-sdk.packages
- _nugetDeps
- ] ++ projectReferences;
-
- # Parse the version attr into a format acceptable for the Version msbuild property
- # The actual version attr is saved in InformationalVersion, which accepts an arbitrary string
- versionForDotnet = if !(lib.hasAttr "version" args) || args.version == null
- then null else let
- components = lib.pipe args.version [
- lib.splitVersion
- (lib.filter (x: (lib.strings.match "[0-9]+" x) != null))
- (lib.filter (x: (lib.toIntBase10 x) < 65535)) # one version component in dotnet has to fit in 16 bits
- ];
- in if (lib.length components) == 0
- then null
- else lib.concatStringsSep "." ((lib.take 4 components)
- ++ (if (lib.length components) < 4
- then lib.replicate (4 - (lib.length components)) "0"
- else [ ]));
-
- makeWrapperArgs = args.makeWrapperArgs or [ ] ++ [
- "--prefix" "LD_LIBRARY_PATH" ":" "${dotnet-sdk.icu}/lib"
- ];
-
- # Stripping breaks the executable
- dontStrip = args.dontStrip or true;
-
- # gappsWrapperArgs gets included when wrapping for dotnet, as to avoid double wrapping
- dontWrapGApps = args.dontWrapGApps or true;
-
- # propagate the runtime sandbox profile since the contents apply to published
- # executables
- propagatedSandboxProfile = toString dotnet-runtime.__propagatedSandboxProfile;
-
- passthru = {
- nugetDeps = _nugetDeps;
- } // lib.optionalAttrs (!lib.isDerivation nugetDeps) {
- fetch-deps = let
- pkg = finalAttrs.finalPackage.overrideAttrs (old: {
- buildInputs = lib.remove _nugetDeps old.buildInputs;
- keepNugetConfig = true;
- } // lib.optionalAttrs (runtimeId == null) {
- dotnetRuntimeIds = map (system: systemToDotnetRid system) platforms;
- });
-
- drv = builtins.unsafeDiscardOutputDependency pkg.drvPath;
-
- innerScript = substituteAll {
- src = ./fetch-deps.sh;
- isExecutable = true;
- defaultDepsFile =
- # Wire in the nugetDeps file such that running the script with no args
- # runs it agains the correct deps file by default.
- # Note that toString is necessary here as it results in the path at
- # eval time (i.e. to the file in your local Nixpkgs checkout) rather
- # than the Nix store path of the path after it's been imported.
- if lib.isPath nugetDepsFile
- && !lib.hasPrefix "${builtins.storeDir}/" (toString nugetDepsFile) then
- toString nugetDepsFile
+ _nugetDeps =
+ if (nugetDeps != null) then
+ if lib.isDerivation nugetDeps then
+ nugetDeps
else
- ''$(mktemp -t "${pname}-deps-XXXXXX.nix")'';
- nugetToNix = (nuget-to-nix.override { inherit dotnet-sdk; });
+ mkNugetDeps {
+ inherit name;
+ sourceFile = nugetDeps;
+ }
+ else
+ throw "Defining the `nugetDeps` attribute is required, as to lock the NuGet dependencies. This file can be generated by running the `passthru.fetch-deps` script.";
+
+ nugetDepsFile = _nugetDeps.sourceFile;
+
+ inherit (dotnetCorePackages) systemToDotnetRid;
+ in
+ # Not all args need to be passed through to mkDerivation
+ # TODO: We should probably filter out even more attrs
+ removeAttrs args [ "nugetDeps" ]
+ // {
+ dotnetInstallPath = installPath;
+ dotnetExecutables = executables;
+ dotnetBuildType = buildType;
+ dotnetProjectFiles = projectFiles;
+ dotnetTestProjectFiles = testProjectFiles;
+ dotnetDisabledTests = disabledTests;
+ dotnetRuntimeIds = lib.singleton (
+ if runtimeId != null then runtimeId else systemToDotnetRid stdenvNoCC.hostPlatform.system
+ );
+ dotnetRuntimeDeps = map lib.getLib runtimeDeps;
+ dotnetSelfContainedBuild = selfContainedBuild;
+ dotnetUseAppHost = useAppHost;
+ inherit useDotnetFromEnv;
+
+ nativeBuildInputs = args.nativeBuildInputs or [ ] ++ [
+ dotnetConfigureHook
+ dotnetBuildHook
+ dotnetCheckHook
+ dotnetInstallHook
+ dotnetFixupHook
+
+ cacert
+ makeWrapper
+ dotnet-sdk
+ unzip
+ yq
+ ];
+
+ buildInputs =
+ args.buildInputs or [ ]
+ ++ [
+ dotnet-sdk.packages
+ _nugetDeps
+ ]
+ ++ projectReferences;
+
+ # Parse the version attr into a format acceptable for the Version msbuild property
+ # The actual version attr is saved in InformationalVersion, which accepts an arbitrary string
+ versionForDotnet =
+ if !(lib.hasAttr "version" args) || args.version == null then
+ null
+ else
+ let
+ components = lib.pipe args.version [
+ lib.splitVersion
+ (lib.filter (x: (lib.strings.match "[0-9]+" x) != null))
+ (lib.filter (x: (lib.toIntBase10 x) < 65535)) # one version component in dotnet has to fit in 16 bits
+ ];
+ in
+ if (lib.length components) == 0 then
+ null
+ else
+ lib.concatStringsSep "." (
+ (lib.take 4 components)
+ ++ (if (lib.length components) < 4 then lib.replicate (4 - (lib.length components)) "0" else [ ])
+ );
+
+ makeWrapperArgs = args.makeWrapperArgs or [ ] ++ [
+ "--prefix"
+ "LD_LIBRARY_PATH"
+ ":"
+ "${dotnet-sdk.icu}/lib"
+ ];
+
+ # Stripping breaks the executable
+ dontStrip = args.dontStrip or true;
+
+ # gappsWrapperArgs gets included when wrapping for dotnet, as to avoid double wrapping
+ dontWrapGApps = args.dontWrapGApps or true;
+
+ # propagate the runtime sandbox profile since the contents apply to published
+ # executables
+ propagatedSandboxProfile = toString dotnet-runtime.__propagatedSandboxProfile;
+
+ passthru =
+ {
+ nugetDeps = _nugetDeps;
+ }
+ // lib.optionalAttrs (!lib.isDerivation nugetDeps) {
+ fetch-deps =
+ let
+ pkg = finalAttrs.finalPackage.overrideAttrs (
+ old:
+ {
+ buildInputs = lib.remove _nugetDeps old.buildInputs;
+ keepNugetConfig = true;
+ }
+ // lib.optionalAttrs (runtimeId == null) {
+ dotnetRuntimeIds = map (system: systemToDotnetRid system) platforms;
+ }
+ );
+
+ drv = builtins.unsafeDiscardOutputDependency pkg.drvPath;
+
+ innerScript = substituteAll {
+ src = ./fetch-deps.sh;
+ isExecutable = true;
+ defaultDepsFile =
+ # Wire in the nugetDeps file such that running the script with no args
+ # runs it agains the correct deps file by default.
+ # Note that toString is necessary here as it results in the path at
+ # eval time (i.e. to the file in your local Nixpkgs checkout) rather
+ # than the Nix store path of the path after it's been imported.
+ if lib.isPath nugetDepsFile && !lib.hasPrefix "${builtins.storeDir}/" (toString nugetDepsFile) then
+ toString nugetDepsFile
+ else
+ ''$(mktemp -t "${pname}-deps-XXXXXX.nix")'';
+ nugetToNix = (nuget-to-nix.override { inherit dotnet-sdk; });
+ };
+
+ in
+ writeShellScript "${name}-fetch-deps" ''
+ NIX_BUILD_SHELL="${runtimeShell}" exec ${nix}/bin/nix-shell \
+ --pure --run 'source "${innerScript}"' "${drv}"
+ '';
+ }
+ // args.passthru or { };
+
+ meta = (args.meta or { }) // {
+ inherit platforms;
};
-
- in writeShellScript "${name}-fetch-deps" ''
- NIX_BUILD_SHELL="${runtimeShell}" exec ${nix}/bin/nix-shell \
- --pure --run 'source "${innerScript}"' "${drv}"
- '';
- } // args.passthru or { };
-
- meta = (args.meta or { }) // { inherit platforms; };
-})
+ };
+in
+fnOrAttrs:
+stdenvNoCC.mkDerivation (
+ finalAttrs:
+ let
+ args = if lib.isFunction fnOrAttrs then fnOrAttrs (args // finalAttrs) else fnOrAttrs;
+ in
+ transformArgs finalAttrs args
+)
diff --git a/pkgs/by-name/ca/castero/package.nix b/pkgs/by-name/ca/castero/package.nix
index fad593853a76..f625771452ef 100644
--- a/pkgs/by-name/ca/castero/package.nix
+++ b/pkgs/by-name/ca/castero/package.nix
@@ -38,7 +38,13 @@ python3.pkgs.buildPythonApplication rec {
"tests"
];
- disabledTests = [ "test_datafile_download" ];
+ # Disable tests that are problematic with pytest
+ # Check NixOS/nixpkgs#333019 for more info about these
+ disabledTests = [
+ "test_datafile_download"
+ "test_display_get_input_str"
+ "test_display_get_y_n"
+ ];
pythonImportsCheck = [
"castero"
diff --git a/pkgs/by-name/ch/chezmoi/package.nix b/pkgs/by-name/ch/chezmoi/package.nix
index 60b76b1565de..305a827f6bb2 100644
--- a/pkgs/by-name/ch/chezmoi/package.nix
+++ b/pkgs/by-name/ch/chezmoi/package.nix
@@ -8,16 +8,16 @@
let
argset = {
pname = "chezmoi";
- version = "2.51.0";
+ version = "2.52.0";
src = fetchFromGitHub {
owner = "twpayne";
repo = "chezmoi";
rev = "v${argset.version}";
- hash = "sha256-18y1AmCCoxu365bsLwUrPTUqT/Hy6e2WC2xt0o4K8/8=";
+ hash = "sha256-RhzFIG93LglHd462e9ZdUYLGGlWn2EkJcEbk9EPrlfA=";
};
- vendorHash = "sha256-wWvvNc7W+7/Hwy4/hwCyY0k/Qm5M7Z6PPCa9DXbXY0E=";
+ vendorHash = "sha256-3RJk8Pf445lF2C7kQsj0eOXcFBWCHwLx8+GrqO7nAPM=";
nativeBuildInputs = [
installShellFiles
diff --git a/pkgs/by-name/in/incus/client.nix b/pkgs/by-name/in/incus/client.nix
index c2b8020936e0..b3aeff69e97c 100644
--- a/pkgs/by-name/in/incus/client.nix
+++ b/pkgs/by-name/in/incus/client.nix
@@ -30,6 +30,12 @@ buildGoModule {
subPackages = [ "cmd/incus" ];
postInstall = ''
+ # Needed for builds on systems with auto-allocate-uids to pass.
+ # Incus tries to read ~/.config/incus while generating completions
+ # to resolve user aliases.
+ export HOME="$(mktemp -d)"
+ mkdir -p "$HOME/.config/incus"
+
installShellCompletion --cmd incus \
--bash <($out/bin/incus completion bash) \
--fish <($out/bin/incus completion fish) \
diff --git a/pkgs/by-name/te/textlint/package.nix b/pkgs/by-name/te/textlint/package.nix
index ce22941b3115..0254d850633f 100644
--- a/pkgs/by-name/te/textlint/package.nix
+++ b/pkgs/by-name/te/textlint/package.nix
@@ -26,13 +26,13 @@
buildNpmPackage rec {
pname = "textlint";
- version = "14.0.4";
+ version = "14.0.5";
src = fetchFromGitHub {
owner = "textlint";
repo = "textlint";
rev = "refs/tags/v${version}";
- hash = "sha256-u8BRzfvpZ8xggJwH8lsu+hqsql6s4SZVlkFzLBe6zvE=";
+ hash = "sha256-W2ySdd1ADqEpEBFgwRvzAzAivL//pj2PSlg7Kfcbspg=";
};
patches = [
@@ -42,7 +42,7 @@ buildNpmPackage rec {
./remove-workspaces.patch
];
- npmDepsHash = "sha256-rmRtCP51rt/wd/ef0iwMMI6eCGF1KNN7kJqomitMJ+w=";
+ npmDepsHash = "sha256-IMXcdR9WqSvBwk3/0qihVr3OraJAwrsCMUVnTbx9z+Q=";
nativeBuildInputs = [
autoconf
diff --git a/pkgs/by-name/ux/uxn/package.nix b/pkgs/by-name/ux/uxn/package.nix
index 72ad80374b96..19be29bf14f1 100644
--- a/pkgs/by-name/ux/uxn/package.nix
+++ b/pkgs/by-name/ux/uxn/package.nix
@@ -7,13 +7,13 @@
stdenv.mkDerivation (finalAttrs: {
pname = "uxn";
- version = "1.0-unstable-2024-07-26";
+ version = "1.0-unstable-2024-08-05";
src = fetchFromSourcehut {
owner = "~rabbits";
repo = "uxn";
- rev = "bf10311d5aad4184098c84a96845e30b1f53634d";
- hash = "sha256-OVITP8AbWchcFaVOHkck8hwGlEl/TgtbtkApoKex4ig=";
+ rev = "a9d7ff23a533ee354fcbc5a1260296a6b0ecfefa";
+ hash = "sha256-VPIgS127ewX5yTZEZZgUZYAXqbCfSa+AMtFMufdQMWo=";
};
outputs = [ "out" "projects" ];
diff --git a/pkgs/by-name/xa/xarcan/package.nix b/pkgs/by-name/xa/xarcan/package.nix
index 2ecf6e3173c4..bcb42f0414fa 100644
--- a/pkgs/by-name/xa/xarcan/package.nix
+++ b/pkgs/by-name/xa/xarcan/package.nix
@@ -39,13 +39,13 @@
stdenv.mkDerivation (finalPackages: {
pname = "xarcan";
- version = "0-unstable-2024-05-23";
+ version = "0-unstable-2024-08-04";
src = fetchFromGitHub {
owner = "letoram";
repo = "xarcan";
- rev = "ebb46609315d95fb286009310de11b03f7333022";
- hash = "sha256-XXA5c/yV6QaPiz1LHWkb+Tm6Wmead8EndkSk3onvrcs=";
+ rev = "7644616b3bd0ff2b5708e93acc990cd757b20ae9";
+ hash = "sha256-iKYTuJ/1iwm449ZOBOzi+LkrTTio7aaIHUn+M+Sbzc8=";
};
nativeBuildInputs = [
diff --git a/pkgs/development/compilers/yosys/default.nix b/pkgs/development/compilers/yosys/default.nix
index 5061dda5ac3d..a312114e6abd 100644
--- a/pkgs/development/compilers/yosys/default.nix
+++ b/pkgs/development/compilers/yosys/default.nix
@@ -75,13 +75,13 @@ let
in stdenv.mkDerivation (finalAttrs: {
pname = "yosys";
- version = "0.43";
+ version = "0.44";
src = fetchFromGitHub {
owner = "YosysHQ";
repo = "yosys";
rev = "refs/tags/yosys-${finalAttrs.version}";
- hash = "sha256-MJTtQvHsHvuo4aNNYSPxSMbeXCty66q83/sbp1Yiiv4=";
+ hash = "sha256-aMVWmryMbVlEm1RNj1ENpLHOpuKRQTJMFZCn+WuaR04=";
fetchSubmodules = true;
leaveDotGit = true;
postFetch = ''
diff --git a/pkgs/development/libraries/cpp-utilities/default.nix b/pkgs/development/libraries/cpp-utilities/default.nix
index 93fcbf42c050..355a404bb3aa 100644
--- a/pkgs/development/libraries/cpp-utilities/default.nix
+++ b/pkgs/development/libraries/cpp-utilities/default.nix
@@ -8,13 +8,13 @@
stdenv.mkDerivation (finalAttrs: {
pname = "cpp-utilities";
- version = "5.25.0";
+ version = "5.26.0";
src = fetchFromGitHub {
owner = "Martchus";
repo = "cpp-utilities";
rev = "v${finalAttrs.version}";
- sha256 = "sha256-ECTtKx/N5MfWwYSwOycs6FXxDR56DT9tkdRxrhX4fVU=";
+ sha256 = "sha256-PU3Cn+T/ngbK2/3cBkvI1pCHKnYTWP4JepMMAmWNK1k=";
};
nativeBuildInputs = [ cmake ];
diff --git a/pkgs/development/libraries/qtutilities/default.nix b/pkgs/development/libraries/qtutilities/default.nix
index e9deed9d8ac1..07c332ba1d94 100644
--- a/pkgs/development/libraries/qtutilities/default.nix
+++ b/pkgs/development/libraries/qtutilities/default.nix
@@ -9,13 +9,13 @@
stdenv.mkDerivation (finalAttrs: {
pname = "qtutilities";
- version = "6.14.1";
+ version = "6.14.2";
src = fetchFromGitHub {
owner = "Martchus";
repo = "qtutilities";
rev = "v${finalAttrs.version}";
- hash = "sha256-WUrxBlSS1Z3+tQGmAi+d3wpqutqNjPrVOxmpUy01aqU=";
+ hash = "sha256-Ugnnebts9+fUlxwjT9qpxV558PcJiHHhY5BzburR+EI=";
};
nativeBuildInputs = [
diff --git a/pkgs/development/python-modules/aiohappyeyeballs/default.nix b/pkgs/development/python-modules/aiohappyeyeballs/default.nix
index 7a778be238be..b91d78c4db58 100644
--- a/pkgs/development/python-modules/aiohappyeyeballs/default.nix
+++ b/pkgs/development/python-modules/aiohappyeyeballs/default.nix
@@ -15,12 +15,13 @@
# tests
pytest-asyncio,
+ pytest-cov-stub,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "aiohappyeyeballs";
- version = "2.3.4";
+ version = "2.3.5";
pyproject = true;
disabled = pythonOlder "3.10";
@@ -29,7 +30,7 @@ buildPythonPackage rec {
owner = "bdraco";
repo = "aiohappyeyeballs";
rev = "refs/tags/v${version}";
- hash = "sha256-yzhxO/f9s6cKt5V3/qzqg+f0+iFx7MxuqUqryAY5Xac=";
+ hash = "sha256-elWMUOrR7wVi3C+BBpz1T8jiEg7LiJDw6hSlnr5kNxU=";
};
outputs = [
@@ -37,14 +38,9 @@ buildPythonPackage rec {
"doc"
];
- postPatch = ''
- substituteInPlace pyproject.toml \
- --replace " --cov=aiohappyeyeballs --cov-report=term-missing:skip-covered" ""
- '';
+ nativeBuildInputs = [ poetry-core ] ++ optional-dependencies.docs;
- nativeBuildInputs = [ poetry-core ] ++ passthru.optional-dependencies.docs;
-
- passthru.optional-dependencies = {
+ optional-dependencies = {
docs = [
furo
myst-parser
@@ -55,6 +51,7 @@ buildPythonPackage rec {
nativeCheckInputs = [
pytest-asyncio
+ pytest-cov-stub
pytestCheckHook
];
diff --git a/pkgs/development/python-modules/aiohttp-remotes/default.nix b/pkgs/development/python-modules/aiohttp-remotes/default.nix
index ac73417b348c..568c3888af76 100644
--- a/pkgs/development/python-modules/aiohttp-remotes/default.nix
+++ b/pkgs/development/python-modules/aiohttp-remotes/default.nix
@@ -45,6 +45,8 @@ buildPythonPackage rec {
"--asyncio-mode=auto"
];
+ __darwinAllowLocalNetworking = true;
+
meta = with lib; {
description = "Set of useful tools for aiohttp.web server";
homepage = "https://github.com/wikibusiness/aiohttp-remotes";
diff --git a/pkgs/development/python-modules/pyside2/Final-details-to-enable-3.12-wheel-compatibility.patch b/pkgs/development/python-modules/pyside2/Final-details-to-enable-3.12-wheel-compatibility.patch
new file mode 100644
index 000000000000..beab48c54ad1
--- /dev/null
+++ b/pkgs/development/python-modules/pyside2/Final-details-to-enable-3.12-wheel-compatibility.patch
@@ -0,0 +1,28 @@
+From: =?utf-8?q?Cristi=C3=A1n_Maureira-Fredes?=
+
+Date: Tue, 10 Oct 2023 15:52:09 +0200
+Subject: Final details to enable 3.12 wheel compatibility
+
+Change-Id: I0252c4e73e8c214ef8aa418ddf88bc452c0fdf53
+Pick-to: 6.6
+Task-number: PYSIDE-2230
+Reviewed-by: Friedemann Kleint
+(cherry picked from commit 6c7bb7b6e1008909e49bc04d2a48024309a784cc)
+---
+ build_scripts/config.py | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/build_scripts/config.py b/build_scripts/config.py
+index 5fc23d4..fb27394 100644
+--- a/build_scripts/config.py
++++ b/build_scripts/config.py
+@@ -138,7 +138,7 @@ class Config(object):
+ setup_kwargs['zip_safe'] = False
+ setup_kwargs['cmdclass'] = cmd_class_dict
+ setup_kwargs['version'] = package_version
+- setup_kwargs['python_requires'] = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, <3.12"
++ setup_kwargs['python_requires'] = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, <3.13"
+
+ if quiet:
+ # Tells distutils / setuptools to be quiet, and only print warnings or errors.
+
diff --git a/pkgs/development/python-modules/pyside2/Modify-sendCommand-signatures.patch b/pkgs/development/python-modules/pyside2/Modify-sendCommand-signatures.patch
new file mode 100644
index 000000000000..7465b109f8a4
--- /dev/null
+++ b/pkgs/development/python-modules/pyside2/Modify-sendCommand-signatures.patch
@@ -0,0 +1,41 @@
+From: Dmitry Shachnev
+Date: Sun, 4 Feb 2024 00:29:00 +0300
+Subject: Modify sendCommand signatures to use 0 as default value
+
+The original default value was QNodeCommand::CommandId(), and shiboken
+copies it verbatim from the header file, however it does not work because
+we do not generate "using namespace Qt3DCore;".
+
+0 is the same as QNodeCommand::CommandId().
+---
+ sources/pyside2/PySide2/Qt3DCore/typesystem_3dcore.xml | 10 ++++++++++
+ 1 file changed, 10 insertions(+)
+
+diff --git a/sources/pyside2/PySide2/Qt3DCore/typesystem_3dcore.xml b/sources/pyside2/PySide2/Qt3DCore/typesystem_3dcore.xml
+index 8696a12..310595f 100644
+--- a/sources/pyside2/PySide2/Qt3DCore/typesystem_3dcore.xml
++++ b/sources/pyside2/PySide2/Qt3DCore/typesystem_3dcore.xml
+@@ -58,6 +58,11 @@
+
+
+
++
++
++
++
++
+
+