···155156- [Monado](https://monado.freedesktop.org/), an open source XR runtime. Available as [services.monado](#opt-services.monado.enable).
15700158- [Pretix](https://pretix.eu/about/en/), an open source ticketing software for events. Available as [services.pretix](#opt-services.pretix.enable).
159160- [microsocks](https://github.com/rofl0r/microsocks), a tiny, portable SOCKS5 server with very moderate resource usage. Available as [services.microsocks](#opt-services.microsocks.enable).
···155156- [Monado](https://monado.freedesktop.org/), an open source XR runtime. Available as [services.monado](#opt-services.monado.enable).
157158+- [intel-gpu-tools](https://drm.pages.freedesktop.org/igt-gpu-tools), tools for development and testing of the Intel DRM driver. Available as [hardware.intel-gpu-tools](#opt-hardware.intel-gpu-tools.enable)
159+160- [Pretix](https://pretix.eu/about/en/), an open source ticketing software for events. Available as [services.pretix](#opt-services.pretix.enable).
161162- [microsocks](https://github.com/rofl0r/microsocks), a tiny, portable SOCKS5 server with very moderate resource usage. Available as [services.microsocks](#opt-services.microsocks.enable).
···6, nixosTests
7, config
8, fetchPypi
09}:
1011# To expose the *srht modules, they have to be a python module so we use `buildPythonModule`
···64 inherit version;
65 hash = "sha256-VUslfHS763oNJUFgpPj/4YUkP1KlIDUGC3Ycpi2XfwM=";
66 };
000000067 });
6869 # sourcehut is not (yet) compatible with factory-boy 3.x
···6, nixosTests
7, config
8, fetchPypi
9+, fetchpatch
10}:
1112# To expose the *srht modules, they have to be a python module so we use `buildPythonModule`
···65 inherit version;
66 hash = "sha256-VUslfHS763oNJUFgpPj/4YUkP1KlIDUGC3Ycpi2XfwM=";
67 };
68+ # Fixes a test failure with Pytest 8
69+ patches = (oldAttrs.patches or []) ++ [
70+ (fetchpatch {
71+ url = "https://github.com/pallets/werkzeug/commit/4e5bdca7f8227d10cae828f8064fb98190ace4aa.patch";
72+ hash = "sha256-H45/YF9zaOUg6UqEEus4uBeGA/TjynuJZcRyc6BHQ30=";
73+ })
74+ ];
75 });
7677 # sourcehut is not (yet) compatible with factory-boy 3.x
···17in
18rustPlatform.buildRustPackage rec {
19 pname = "tauri";
20- version = "1.6.2";
2122 src = fetchFromGitHub {
23 owner = "tauri-apps";
24 repo = pname;
25 rev = "tauri-v${version}";
26- hash = "sha256-sqBZVCVJkgqCK5JcNcJ6kKxL26XGxOA1uDlOOt/+iDo=";
27 };
2829 # Manually specify the sourceRoot since this crate depends on other crates in the workspace. Relevant info at
30 # https://discourse.nixos.org/t/difficulty-using-buildrustpackage-with-a-src-containing-multiple-cargo-workspaces/10202
31 sourceRoot = "${src.name}/tooling/cli";
3233- cargoHash = "sha256-g1uDF7lL9dmZY5J8uNDAsA8dG5IVrV7MumN1w+fk1/8=";
3435 buildInputs = [ openssl ] ++ lib.optionals stdenv.isLinux [ glibc libsoup cairo gtk3 webkitgtk ]
36 ++ lib.optionals stdenv.isDarwin [ CoreServices Security SystemConfiguration ];
···17in
18rustPlatform.buildRustPackage rec {
19 pname = "tauri";
20+ version = "1.6.3";
2122 src = fetchFromGitHub {
23 owner = "tauri-apps";
24 repo = pname;
25 rev = "tauri-v${version}";
26+ hash = "sha256-TJUE+H2bFuMc6GZHomBC2D89i+SOzIkALlws1sIe3jc=";
27 };
2829 # Manually specify the sourceRoot since this crate depends on other crates in the workspace. Relevant info at
30 # https://discourse.nixos.org/t/difficulty-using-buildrustpackage-with-a-src-containing-multiple-cargo-workspaces/10202
31 sourceRoot = "${src.name}/tooling/cli";
3233+ cargoHash = "sha256-fOXYE0MJfL1r4DDauuELJkCG4tEOCXscyn9kgaMkidY=";
3435 buildInputs = [ openssl ] ++ lib.optionals stdenv.isLinux [ glibc libsoup cairo gtk3 webkitgtk ]
36 ++ lib.optionals stdenv.isDarwin [ CoreServices Security SystemConfiguration ];
+3-5
pkgs/games/dwarf-fortress/default.nix
···1-{ stdenv, stdenvNoCC, gccStdenv, lib, recurseIntoAttrs, libsForQt5, newScope, texliveBasic, perlPackages, jdk8, jre8 }:
23# To whomever it may concern:
4#
···49 # The latest Dwarf Fortress version. Maintainers: when a new version comes
50 # out, ensure that (unfuck|dfhack|twbt) are all up to date before changing
51 # this. Note that unfuck and twbt are not required for 50.
52- latestVersion = "50.12";
5354 # Converts a version to a package name.
55 versionToName = version: "dwarf-fortress_${replaceStrings ["."] ["_"] version}";
···7980 dwarf-therapist = libsForQt5.callPackage ./dwarf-therapist/wrapper.nix {
81 inherit dwarf-fortress;
82- dwarf-therapist = (libsForQt5.callPackage ./dwarf-therapist {
83- texlive = texliveBasic.withPackages (ps: with ps; [ float caption wrapfig adjmulticol sidecap preprint enumitem ]);
84- }).override (optionalAttrs (!isAtLeast50) {
85 # 41.2.5 is the last version to support Dwarf Fortress 0.47.
86 version = "41.2.5";
87 hash = "sha256-xfYBtnO1n6OcliVt07GsQ9alDJIfWdVhtuyWwuvXSZs=";
···1+{ stdenv, stdenvNoCC, gccStdenv, lib, recurseIntoAttrs, libsForQt5, newScope, perlPackages, jdk8, jre8 }:
23# To whomever it may concern:
4#
···49 # The latest Dwarf Fortress version. Maintainers: when a new version comes
50 # out, ensure that (unfuck|dfhack|twbt) are all up to date before changing
51 # this. Note that unfuck and twbt are not required for 50.
52+ latestVersion = "50.13";
5354 # Converts a version to a package name.
55 versionToName = version: "dwarf-fortress_${replaceStrings ["."] ["_"] version}";
···7980 dwarf-therapist = libsForQt5.callPackage ./dwarf-therapist/wrapper.nix {
81 inherit dwarf-fortress;
82+ dwarf-therapist = (libsForQt5.callPackage ./dwarf-therapist {}).override (optionalAttrs (!isAtLeast50) {
0083 # 41.2.5 is the last version to support Dwarf Fortress 0.47.
84 version = "41.2.5";
85 hash = "sha256-xfYBtnO1n6OcliVt07GsQ9alDJIfWdVhtuyWwuvXSZs=";
···7 variants = if stdenv.isLinux then
8 {
9 version = "5.0.24";
10- sha256 = "sha256-6CVQOHN3yFTq6OyVkZMYEjIKfFbQZ6M5KAa3k7qv4Gc=";
11 patches = [ ./fix-build-with-boost-1.79-5_0-linux.patch ];
12 }
13 else lib.optionalAttrs stdenv.isDarwin
···7 variants = if stdenv.isLinux then
8 {
9 version = "5.0.24";
10+ sha256 = "sha256-SZ62OJD6L3aP6LsTswpuXaayqYbOaSQTgEmV89Si7Xc=";
11 patches = [ ./fix-build-with-boost-1.79-5_0-linux.patch ];
12 }
13 else lib.optionalAttrs stdenv.isDarwin
+1-1
pkgs/servers/nosql/mongodb/6.0.nix
···7in
8buildMongoDB {
9 version = "6.0.13";
10- sha256 = "sha256-BD3XrTdv4sCa3h37o1A2s3/R0R8zHiR59a4pY0RxLGU=";
11 patches = [
12 # Patches a bug that it couldn't build MongoDB 6.0 on gcc 13 because a include in ctype.h was missing
13 ./fix-gcc-13-ctype-6_0.patch
···7in
8buildMongoDB {
9 version = "6.0.13";
10+ sha256 = "sha256-z7gzmWRSc4jA9g+WTkKQkWudh3Ef4xcJVgAQ5HzRe/A=";
11 patches = [
12 # Patches a bug that it couldn't build MongoDB 6.0 on gcc 13 because a include in ctype.h was missing
13 ./fix-gcc-13-ctype-6_0.patch
+6-3
pkgs/servers/nosql/mongodb/mongodb.nix
···1{ lib
2, stdenv
3-, fetchurl
4, buildPackages
5, boost
6, gperftools
···63 inherit version;
64 pname = "mongodb";
6566- src = fetchurl {
67- url = "https://fastdl.mongodb.org/src/mongodb-src-r${version}.tar.gz";
0068 inherit sha256;
69 };
70···127 "--disable-warnings-as-errors"
128 "VARIANT_DIR=nixos" # Needed so we don't produce argument lists that are too long for gcc / ld
129 "--link-model=static"
0130 ]
131 ++ map (lib: "--use-system-${lib}") system-libraries;
132
···1{ lib
2, stdenv
3+, fetchFromGitHub
4, buildPackages
5, boost
6, gperftools
···63 inherit version;
64 pname = "mongodb";
6566+ src = fetchFromGitHub {
67+ owner = "mongodb";
68+ repo = "mongo";
69+ rev = "r${version}";
70 inherit sha256;
71 };
72···129 "--disable-warnings-as-errors"
130 "VARIANT_DIR=nixos" # Needed so we don't produce argument lists that are too long for gcc / ld
131 "--link-model=static"
132+ "MONGO_VERSION=${version}"
133 ]
134 ++ map (lib: "--use-system-${lib}") system-libraries;
135
···93 runHook postInstall
94 '';
9596- # i know this is ugly, but it's the cleanest way i found to tell the DesktopVideoHelper where to find its own library
97- appendRunpaths = [ "$ORIGIN/../lib" ];
9899 meta = with lib; {
100 homepage = "https://www.blackmagicdesign.com/support/family/capture-and-playback";
···93 runHook postInstall
94 '';
9596+ # need to tell the DesktopVideoHelper where to find its own library
97+ appendRunpaths = [ "${placeholder "out"}/lib" ];
9899 meta = with lib; {
100 homepage = "https://www.blackmagicdesign.com/support/family/capture-and-playback";