/* The top-level package collection of nixpkgs. * It is sorted by categories corresponding to the folder names in the /pkgs * folder. Inside the categories packages are roughly sorted by alphabet, but * strict sorting has been long lost due to merges. Please use the full-text * search of your editor. ;) * Hint: ### starts category names. */ { lib, noSysDirs, config, overlays }: res: pkgs: super: with pkgs; { # A module system style type tag # # Allows the nixpkgs fixpoint, usually known as `pkgs` to be distinguished # nominally. # # pkgs._type == "pkgs" # pkgs.pkgsStatic._type == "pkgs" # # Design note: # While earlier stages of nixpkgs fixpoint construction are supertypes of this # stage, they're generally not usable in places where a `pkgs` is expected. # (earlier stages being the various `super` variables that precede # all-packages.nix) _type = "pkgs"; # A stdenv capable of building 32-bit binaries. # On x86_64-linux, it uses GCC compiled with multilib support; on i686-linux, # it's just the plain stdenv. stdenv_32bit = lowPrio (if stdenv.hostPlatform.is32bit then stdenv else multiStdenv); mkStdenvNoLibs = stdenv: let bintools = stdenv.cc.bintools.override { libc = null; noLibc = true; }; in stdenv.override { cc = stdenv.cc.override { libc = null; noLibc = true; extraPackages = []; inherit bintools; }; allowedRequisites = lib.mapNullable (rs: rs ++ [ bintools ]) (stdenv.allowedRequisites or null); }; stdenvNoLibs = if stdenvNoCC.hostPlatform != stdenvNoCC.buildPlatform then # We cannot touch binutils or cc themselves, because that will cause # infinite recursion. So instead, we just choose a libc based on the # current platform. That means we won't respect whatever compiler was # passed in with the stdenv stage argument. # # TODO It would be much better to pass the `stdenvNoCC` and *unwrapped* # cc, bintools, compiler-rt equivalent, etc. and create all final stdenvs # as part of the stage. Then we would never be tempted to override a later # thing to to create an earlier thing (leading to infinite recursion) and # we also would still respect the stage arguments choices for these # things. (if stdenvNoCC.hostPlatform.isDarwin || stdenvNoCC.hostPlatform.useLLVM or false then overrideCC stdenvNoCC buildPackages.llvmPackages.clangNoCompilerRt else gccCrossLibcStdenv) else mkStdenvNoLibs stdenv; stdenvNoLibc = if stdenvNoCC.hostPlatform != stdenvNoCC.buildPlatform then (if stdenvNoCC.hostPlatform.isDarwin || stdenvNoCC.hostPlatform.useLLVM or false then overrideCC stdenvNoCC buildPackages.llvmPackages.clangNoLibc else gccCrossLibcStdenv) else mkStdenvNoLibs stdenv; gccStdenvNoLibs = mkStdenvNoLibs gccStdenv; clangStdenvNoLibs = mkStdenvNoLibs clangStdenv; # For convenience, allow callers to get the path to Nixpkgs. path = ../..; ### Helper functions. inherit lib config overlays; # do not import 'appendToName' to get consistent package-names with the same # set of package-parameters: https://github.com/NixOS/nixpkgs/issues/68519 inherit (lib) lowPrio hiPrio makeOverridable; inherit (lib) recurseIntoAttrs; # This is intended to be the reverse of recurseIntoAttrs, as it is # defined now it exists mainly for documentation purposes, but you # can also override this with recurseIntoAttrs to recurseInto all # the Attrs which is useful for testing massive changes. Ideally, # every package subset not marked with recurseIntoAttrs should be # marked with this. inherit (lib) dontRecurseIntoAttrs; stringsWithDeps = lib.stringsWithDeps; ### Evaluating the entire Nixpkgs naively will fail, make failure fast AAAAAASomeThingsFailToEvaluate = throw '' Please be informed that this pseudo-package is not the only part of Nixpkgs that fails to evaluate. You should not evaluate entire Nixpkgs without some special measures to handle failing packages, like using pkgs/top-level/release-attrpaths-superset.nix. ''; tests = callPackages ../test { }; defaultPkgConfigPackages = # We don't want nix-env -q to enter this, because all of these are aliases. dontRecurseIntoAttrs ( import ./pkg-config/defaultPkgConfigPackages.nix pkgs ) // { __attrsFailEvaluation = true; }; ### Nixpkgs maintainer tools nix-generate-from-cpan = callPackage ../../maintainers/scripts/nix-generate-from-cpan.nix { }; nixpkgs-lint = callPackage ../../maintainers/scripts/nixpkgs-lint.nix { }; common-updater-scripts = callPackage ../common-updater/scripts.nix { }; vimPluginsUpdater = callPackage ../applications/editors/vim/plugins/updater.nix { inherit (python3Packages) buildPythonApplication ; }; genericUpdater = callPackage ../common-updater/generic-updater.nix { }; _experimental-update-script-combinators = callPackage ../common-updater/combinators.nix { }; directoryListingUpdater = callPackage ../common-updater/directory-listing-updater.nix { }; gitUpdater = callPackage ../common-updater/git-updater.nix { }; httpTwoLevelsUpdater = callPackage ../common-updater/http-two-levels-updater.nix { }; unstableGitUpdater = callPackage ../common-updater/unstable-updater.nix { }; inherit (nix-update) nix-update-script; ### Push NixOS tests inside the fixed point # See also allTestsForSystem in nixos/release.nix nixosTests = import ../../nixos/tests/all-tests.nix { inherit pkgs; system = stdenv.hostPlatform.system; callTest = config: config.test; } // { # for typechecking of the scripts and evaluation of # the nodes, without running VMs. allDrivers = import ../../nixos/tests/all-tests.nix { inherit pkgs; system = stdenv.hostPlatform.system; callTest = config: config.test.driver; }; __attrsFailEvaluation = true; }; ### BUILD SUPPORT __flattenIncludeHackHook = callPackage ../build-support/setup-hooks/flatten-include-hack { }; autoreconfHook = callPackage ( { makeSetupHook, autoconf, automake, gettext, libtool }: makeSetupHook { name = "autoreconf-hook"; propagatedBuildInputs = [ autoconf automake gettext libtool ]; } ../build-support/setup-hooks/autoreconf.sh ) { }; autoreconfHook264 = autoreconfHook.override { autoconf = autoconf264; automake = automake111x; }; autoreconfHook269 = autoreconfHook.override { autoconf = autoconf269; }; autoreconfHook271 = autoreconfHook.override { autoconf = autoconf271; }; autoPatchelfHook = makeSetupHook { name = "auto-patchelf-hook"; propagatedBuildInputs = [ auto-patchelf bintools ]; } ../build-support/setup-hooks/auto-patchelf.sh; appimageTools = callPackage ../build-support/appimage { }; appimageupdate-qt = appimageupdate.override { withQtUI = true; }; bindle = callPackage ../servers/bindle { }; stripJavaArchivesHook = makeSetupHook { name = "strip-java-archives-hook"; propagatedBuildInputs = [ strip-nondeterminism ]; } ../build-support/setup-hooks/strip-java-archives.sh; ensureNewerSourcesHook = { year }: makeSetupHook { name = "ensure-newer-sources-hook"; } (writeScript "ensure-newer-sources-hook.sh" '' postUnpackHooks+=(_ensureNewerSources) _ensureNewerSources() { local r=$sourceRoot # Avoid passing option-looking directory to find. The example is diffoscope-269: # https://salsa.debian.org/reproducible-builds/diffoscope/-/issues/378 [[ $r == -* ]] && r="./$r" '${findutils}/bin/find' "$r" \ '!' -newermt '${year}-01-01' -exec touch -h -d '${year}-01-02' '{}' '+' } ''); # addDriverRunpath is the preferred package name, as this enables # many more scenarios than just opengl now. anime-downloader = callPackage ../applications/video/anime-downloader { }; aocd = with python3Packages; toPythonApplication aocd; archipelago-minecraft = callPackage ../by-name/ar/archipelago/package.nix { extraPackages = [jdk17]; }; asitop = pkgs.python3Packages.callPackage ../os-specific/darwin/asitop { }; cve = with python3Packages; toPythonApplication cvelib; apko = callPackage ../development/tools/apko { buildGoModule = buildGo123Module; }; basalt-monado = callPackage ../by-name/ba/basalt-monado/package.nix { tbb = tbb_2021_11; cereal = cereal_1_3_2; opencv = opencv.override { enableGtk3 = true; }; }; beebeep = libsForQt5.callPackage ../applications/office/beebeep { }; binserve = callPackage ../servers/binserve { }; bloodhound-py = with python3Packages; toPythonApplication bloodhound-py; # Zip file format only allows times after year 1980, which makes e.g. Python # wheel building fail with: # ValueError: ZIP does not support timestamps before 1980 ensureNewerSourcesForZipFilesHook = ensureNewerSourcesHook { year = "1980"; }; updateAutotoolsGnuConfigScriptsHook = makeSetupHook { name = "update-autotools-gnu-config-scripts-hook"; substitutions = { gnu_config = gnu-config; }; } ../build-support/setup-hooks/update-autotools-gnu-config-scripts.sh; gogUnpackHook = makeSetupHook { name = "gog-unpack-hook"; propagatedBuildInputs = [ innoextract file-rename ]; } ../build-support/setup-hooks/gog-unpack.sh; buf = callPackage ../by-name/bu/buf/package.nix { buildGoModule = buildGo123Module; }; buildEnv = callPackage ../build-support/buildenv { }; # not actually a package buildFHSEnv = buildFHSEnvBubblewrap; buildFHSEnvChroot = callPackage ../build-support/build-fhsenv-chroot { }; # Deprecated; use buildFHSEnv/buildFHSEnvBubblewrap buildFHSEnvBubblewrap = callPackage ../build-support/build-fhsenv-bubblewrap { }; cameractrls-gtk4 = cameractrls.override { withGtk = 4; }; cameractrls-gtk3 = cameractrls.override { withGtk = 3; }; checkpointBuildTools = callPackage ../build-support/checkpoint-build.nix {}; celeste-classic-pm = pkgs.celeste-classic.override { practiceMod = true; }; cereal = cereal_1_3_0; cewl = callPackage ../tools/security/cewl { }; chef-cli = callPackage ../tools/misc/chef-cli { }; checkov = callPackage ../development/tools/analysis/checkov { python3 = python311; }; clang-uml = callPackage ../by-name/cl/clang-uml/package.nix { stdenv = clangStdenv; }; cloak = callPackage ../applications/misc/cloak { }; cotp = callPackage ../applications/misc/cotp { }; cope = callPackage ../by-name/co/cope/package.nix { perl = perl538; perlPackages = perl538Packages; }; cocogitto = callPackage ../development/tools/cocogitto { }; coldsnap = callPackage ../tools/admin/coldsnap { }; collision = callPackage ../applications/misc/collision { }; coolercontrol = recurseIntoAttrs (callPackage ../applications/system/coolercontrol { }); databricks-sql-cli = python3Packages.callPackage ../applications/misc/databricks-sql-cli { }; deck = callPackage ../by-name/de/deck/package.nix { buildGoModule = buildGo123Module; }; dhallDirectoryToNix = callPackage ../build-support/dhall/directory-to-nix.nix { }; dhallPackageToNix = callPackage ../build-support/dhall/package-to-nix.nix { }; dhallToNix = callPackage ../build-support/dhall/to-nix.nix { }; dinghy = with python3Packages; toPythonApplication dinghy; djgpp = djgpp_i586; djgpp_i586 = callPackage ../development/compilers/djgpp { targetArchitecture = "i586"; stdenv = gccStdenv; }; djgpp_i686 = lowPrio (callPackage ../development/compilers/djgpp { targetArchitecture = "i686"; stdenv = gccStdenv; }); djhtml = python3Packages.callPackage ../development/tools/djhtml { }; dnf-plugins-core = with python3Packages; toPythonApplication dnf-plugins-core; dnf4 = python3Packages.callPackage ../development/python-modules/dnf4/wrapper.nix { }; dynein = callPackage ../development/tools/database/dynein { }; ebpf-verifier = callPackage ../tools/networking/ebpf-verifier { catch2 = catch2_3; }; edgedb = callPackage ../tools/networking/edgedb { }; eludris = callPackage ../tools/misc/eludris { }; enochecker-test = with python3Packages; callPackage ../development/tools/enochecker-test { }; inherit (gridlock) nyarr; html5validator = python3Packages.callPackage ../applications/misc/html5validator { }; inspec = callPackage ../tools/misc/inspec { }; lshw-gui = lshw.override { withGUI = true; }; kdePackages = callPackage ../kde { }; buildcatrust = with python3.pkgs; toPythonApplication buildcatrust; mumps_par = callPackage ../by-name/mu/mumps/package.nix { mpiSupport = true; }; prisma-engines = callPackage ../development/tools/database/prisma-engines { }; protoc-gen-dart = callPackage ../development/tools/protoc-gen-dart { }; protoc-gen-grpc-web = callPackage ../development/tools/protoc-gen-grpc-web { protobuf = protobuf_21; }; vcpkg-tool = callPackage ../by-name/vc/vcpkg-tool/package.nix { fmt = fmt_10; }; r3ctl = qt5.callPackage ../tools/misc/r3ctl { }; deviceTree = callPackage ../os-specific/linux/device-tree { }; octodns = python3Packages.callPackage ../tools/networking/octodns { }; octodns-providers = recurseIntoAttrs { bind = python3Packages.callPackage ../tools/networking/octodns/providers/bind { }; gandi = python3Packages.callPackage ../tools/networking/octodns/providers/gandi { }; hetzner = python3Packages.callPackage ../tools/networking/octodns/providers/hetzner { }; powerdns = python3Packages.callPackage ../tools/networking/octodns/providers/powerdns { }; }; oletools = with python3.pkgs; toPythonApplication oletools; ollama-rocm = callPackage ../by-name/ol/ollama/package.nix { acceleration = "rocm"; }; ollama-cuda = callPackage ../by-name/ol/ollama/package.nix { acceleration = "cuda"; }; device-tree_rpi = callPackage ../os-specific/linux/device-tree/raspberrypi.nix { }; didyoumean = callPackage ../tools/misc/didyoumean { }; diffPlugins = (callPackage ../build-support/plugins.nix {}).diffPlugins; dieHook = makeSetupHook { name = "die-hook"; } ../build-support/setup-hooks/die.sh; digitalbitbox = libsForQt5.callPackage ../applications/misc/digitalbitbox { autoreconfHook = buildPackages.autoreconfHook269; }; gretl = callPackage ../applications/science/math/gretl { }; devShellTools = callPackage ../build-support/dev-shell-tools { }; dockerTools = callPackage ../build-support/docker { writePython3 = buildPackages.writers.writePython3; }; tarsum = callPackage ../build-support/docker/tarsum.nix { }; nix-prefetch-docker = callPackage ../build-support/docker/nix-prefetch-docker.nix { }; docker-sync = callPackage ../tools/misc/docker-sync { }; # Dotnet dotnetCorePackages = recurseIntoAttrs (callPackage ../development/compilers/dotnet {}); dotnet-sdk_6 = dotnetCorePackages.sdk_6_0; dotnet-sdk_7 = dotnetCorePackages.sdk_7_0; dotnet-sdk_8 = dotnetCorePackages.sdk_8_0; dotnet-runtime_6 = dotnetCorePackages.runtime_6_0; dotnet-runtime_7 = dotnetCorePackages.runtime_7_0; dotnet-runtime_8 = dotnetCorePackages.runtime_8_0; dotnet-aspnetcore_6 = dotnetCorePackages.aspnetcore_6_0; dotnet-aspnetcore_7 = dotnetCorePackages.aspnetcore_7_0; dotnet-aspnetcore_8 = dotnetCorePackages.aspnetcore_8_0; dotnet-sdk = dotnetCorePackages.sdk_8_0; dotnet-runtime = dotnetCorePackages.runtime_8_0; dotnet-aspnetcore = dotnetCorePackages.aspnetcore_8_0; inherit (dotnetCorePackages) buildDotnetModule buildDotnetGlobalTool mkNugetSource mkNugetDeps; fable = callPackage ../development/tools/fable { }; dotnetenv = callPackage ../build-support/dotnet/dotnetenv { dotnetfx = dotnetfx40; }; buildDotnetPackage = callPackage ../build-support/dotnet/build-dotnet-package { }; fetchNuGet = callPackage ../build-support/dotnet/fetchnuget { }; dupeguru = callPackage ../applications/misc/dupeguru { python3Packages = python311Packages; }; qdmr = libsForQt5.callPackage ../applications/radio/qdmr { }; fetchbower = callPackage ../build-support/fetchbower { }; fetchbzr = callPackage ../build-support/fetchbzr { }; fetchcvs = if stdenv.buildPlatform != stdenv.hostPlatform # hack around splicing being crummy with things that (correctly) don't eval. then buildPackages.fetchcvs else callPackage ../build-support/fetchcvs { }; fetchdarcs = callPackage ../build-support/fetchdarcs { }; fetchdocker = callPackage ../build-support/fetchdocker { }; fetchDockerConfig = callPackage ../build-support/fetchdocker/fetchDockerConfig.nix { }; fetchDockerLayer = callPackage ../build-support/fetchdocker/fetchDockerLayer.nix { }; fetchfossil = callPackage ../build-support/fetchfossil { }; fetchgit = (callPackage ../build-support/fetchgit { git = buildPackages.gitMinimal; cacert = buildPackages.cacert; git-lfs = buildPackages.git-lfs; }) // { # fetchgit is a function, so we use // instead of passthru. tests = pkgs.tests.fetchgit; }; fetchgitLocal = callPackage ../build-support/fetchgitlocal { }; fetchmtn = callPackage ../build-support/fetchmtn (config.fetchmtn or {}); fetchMavenArtifact = callPackage ../build-support/fetchmavenartifact { }; fetchpijul = callPackage ../build-support/fetchpijul { }; inherit (callPackages ../build-support/node/fetch-yarn-deps { }) fixup-yarn-lock prefetch-yarn-deps yarnConfigHook yarnBuildHook yarnInstallHook fetchYarnDeps; prefer-remote-fetch = import ../build-support/prefer-remote-fetch; opendrop = python3Packages.callPackage ../tools/networking/opendrop { }; perseus-cli = callPackage ../development/tools/perseus-cli { }; pe-bear = libsForQt5.callPackage ../applications/misc/pe-bear { }; magika = with python3Packages; toPythonApplication magika; mysql-shell = mysql-shell_8; inherit ({ mysql-shell_8 = callPackage ../development/tools/mysql-shell/8.nix { antlr = antlr4_10; icu = icu73; protobuf = protobuf_24; }; }) mysql-shell_8 ; mysql-shell-innovation = callPackage ../development/tools/mysql-shell/innovation.nix { antlr = antlr4_10; icu = icu73; protobuf = protobuf_24; }; fetchpatch = callPackage ../build-support/fetchpatch { # 0.3.4 would change hashes: https://github.com/NixOS/nixpkgs/issues/25154 patchutils = __splicedPackages.patchutils_0_3_3; } // { tests = pkgs.tests.fetchpatch; version = 1; }; fetchpatch2 = callPackage ../build-support/fetchpatch { patchutils = __splicedPackages.patchutils_0_4_2; } // { tests = pkgs.tests.fetchpatch2; version = 2; }; fetchs3 = callPackage ../build-support/fetchs3 { }; fetchtorrent = callPackage ../build-support/fetchtorrent { }; fetchsvn = if stdenv.buildPlatform != stdenv.hostPlatform # hack around splicing being crummy with things that (correctly) don't eval. then buildPackages.fetchsvn else callPackage ../build-support/fetchsvn { }; fetchsvnrevision = import ../build-support/fetchsvnrevision runCommand subversion; fetchsvnssh = callPackage ../build-support/fetchsvnssh { }; fetchhg = callPackage ../build-support/fetchhg { }; fetchFirefoxAddon = callPackage ../build-support/fetchfirefoxaddon { } // { tests = pkgs.tests.fetchFirefoxAddon; }; fetchNextcloudApp = callPackage ../build-support/fetchnextcloudapp { }; # `fetchurl' downloads a file from the network. fetchurl = if stdenv.buildPlatform != stdenv.hostPlatform then buildPackages.fetchurl # No need to do special overrides twice, else makeOverridable (import ../build-support/fetchurl) { inherit lib stdenvNoCC buildPackages; inherit cacert; curl = buildPackages.curlMinimal.override (old: rec { # break dependency cycles fetchurl = stdenv.fetchurlBoot; zlib = buildPackages.zlib.override { fetchurl = stdenv.fetchurlBoot; }; pkg-config = buildPackages.pkg-config.override (old: { pkg-config = old.pkg-config.override { fetchurl = stdenv.fetchurlBoot; }; }); perl = buildPackages.perl.override { inherit zlib; fetchurl = stdenv.fetchurlBoot; }; openssl = buildPackages.openssl.override { fetchurl = stdenv.fetchurlBoot; buildPackages = { coreutils = buildPackages.coreutils.override { fetchurl = stdenv.fetchurlBoot; inherit perl; xz = buildPackages.xz.override { fetchurl = stdenv.fetchurlBoot; }; gmpSupport = false; aclSupport = false; attrSupport = false; }; inherit perl; }; inherit perl; }; libssh2 = buildPackages.libssh2.override { fetchurl = stdenv.fetchurlBoot; inherit zlib openssl; }; # On darwin, libkrb5 needs bootstrap_cmds which would require # converting many packages to fetchurl_boot to avoid evaluation cycles. # So turn gssSupport off there, and on Windows. # On other platforms, keep the previous value. gssSupport = if stdenv.hostPlatform.isDarwin || stdenv.hostPlatform.isWindows then false else old.gssSupport or true; # `? true` is the default libkrb5 = buildPackages.krb5.override { fetchurl = stdenv.fetchurlBoot; inherit pkg-config perl openssl; withLibedit = false; byacc = buildPackages.byacc.override { fetchurl = stdenv.fetchurlBoot; }; keyutils = buildPackages.keyutils.override { fetchurl = stdenv.fetchurlBoot; }; }; nghttp2 = buildPackages.nghttp2.override { fetchurl = stdenv.fetchurlBoot; inherit pkg-config; enableApp = false; # curl just needs libnghttp2 enableTests = false; # avoids bringing `cunit` and `tzdata` into scope }; }); }; fetchRepoProject = callPackage ../build-support/fetchrepoproject { }; fetchipfs = callPackage ../build-support/fetchipfs { }; fetchzip = callPackage ../build-support/fetchzip { } // { tests = pkgs.tests.fetchzip; }; fetchDebianPatch = callPackage ../build-support/fetchdebianpatch { } // { tests = pkgs.tests.fetchDebianPatch; }; fetchCrate = callPackage ../build-support/rust/fetchcrate.nix { }; fetchFromGitea = callPackage ../build-support/fetchgitea { }; fetchFromGitHub = callPackage ../build-support/fetchgithub { }; fetchFromBitbucket = callPackage ../build-support/fetchbitbucket { }; fetchFromSavannah = callPackage ../build-support/fetchsavannah { }; fetchFromSourcehut = callPackage ../build-support/fetchsourcehut { }; fetchFromGitLab = callPackage ../build-support/fetchgitlab { }; fetchFromGitiles = callPackage ../build-support/fetchgitiles { }; fetchFrom9Front = callPackage ../build-support/fetch9front { }; fetchFromRepoOrCz = callPackage ../build-support/fetchrepoorcz { }; fetchgx = callPackage ../build-support/fetchgx { }; fetchPypi = callPackage ../build-support/fetchpypi { }; fetchPypiLegacy = callPackage ../build-support/fetchpypilegacy { }; resolveMirrorURLs = {url}: fetchurl { showURLs = true; inherit url; }; ld-is-cc-hook = makeSetupHook { name = "ld-is-cc-hook"; } ../build-support/setup-hooks/ld-is-cc-hook.sh; copyDesktopItems = makeSetupHook { name = "copy-desktop-items-hook"; } ../build-support/setup-hooks/copy-desktop-items.sh; makeDesktopItem = callPackage ../build-support/make-desktopitem { }; copyPkgconfigItems = makeSetupHook { name = "copy-pkg-config-items-hook"; } ../build-support/setup-hooks/copy-pkgconfig-items.sh; makePkgconfigItem = callPackage ../build-support/make-pkgconfigitem { }; makeDarwinBundle = callPackage ../build-support/make-darwin-bundle { }; makeAutostartItem = callPackage ../build-support/make-startupitem { }; makeImpureTest = callPackage ../build-support/make-impure-test.nix; makeInitrd = callPackage ../build-support/kernel/make-initrd.nix; # Args intentionally left out makeInitrdNG = callPackage ../build-support/kernel/make-initrd-ng.nix; makeInitrdNGTool = callPackage ../build-support/kernel/make-initrd-ng-tool.nix { }; makeWrapper = makeShellWrapper; makeShellWrapper = makeSetupHook { name = "make-shell-wrapper-hook"; propagatedBuildInputs = [ dieHook ]; substitutions = { # targetPackages.runtimeShell only exists when pkgs == targetPackages (when targetPackages is not __raw) shell = if targetPackages ? runtimeShell then targetPackages.runtimeShell else throw "makeWrapper/makeShellWrapper must be in nativeBuildInputs"; }; passthru = { tests = tests.makeWrapper; }; } ../build-support/setup-hooks/make-wrapper.sh; compressFirmwareXz = callPackage ../build-support/kernel/compress-firmware.nix { type = "xz"; }; compressFirmwareZstd = callPackage ../build-support/kernel/compress-firmware.nix { type = "zstd"; }; makeModulesClosure = { kernel, firmware, rootModules, allowMissing ? false }: callPackage ../build-support/kernel/modules-closure.nix { inherit kernel firmware rootModules allowMissing; }; mkBinaryCache = callPackage ../build-support/binary-cache { }; mkShell = callPackage ../build-support/mkshell { }; mkShellNoCC = mkShell.override { stdenv = stdenvNoCC; }; mpsolve = libsForQt5.callPackage ../applications/science/math/mpsolve { }; nixBufferBuilders = import ../applications/editors/emacs/build-support/buffer.nix { inherit lib writeText; inherit (emacs.pkgs) inherit-local; }; nix-gitignore = callPackage ../build-support/nix-gitignore { }; ociTools = callPackage ../build-support/oci-tools { }; inherit ( callPackages ../build-support/setup-hooks/patch-rc-path-hooks { } ) patchRcPathBash patchRcPathCsh patchRcPathFish patchRcPathPosix; pathsFromGraph = ../build-support/kernel/paths-from-graph.pl; pruneLibtoolFiles = makeSetupHook { name = "prune-libtool-files"; } ../build-support/setup-hooks/prune-libtool-files.sh; closureInfo = callPackage ../build-support/closure-info.nix { }; serverspec = callPackage ../tools/misc/serverspec { }; setupSystemdUnits = callPackage ../build-support/setup-systemd-units.nix { }; shortenPerlShebang = makeSetupHook { name = "shorten-perl-shebang-hook"; propagatedBuildInputs = [ dieHook ]; } ../build-support/setup-hooks/shorten-perl-shebang.sh; singularity-tools = callPackage ../build-support/singularity-tools { }; srcOnly = callPackage ../build-support/src-only { }; substitute = callPackage ../build-support/substitute/substitute.nix { }; substituteAll = callPackage ../build-support/substitute/substitute-all.nix { }; substituteAllFiles = callPackage ../build-support/substitute-files/substitute-all-files.nix { }; replaceDependencies = callPackage ../build-support/replace-dependencies.nix { }; replaceDependency = { drv, oldDependency, newDependency, verbose ? true }: replaceDependencies { inherit drv verbose; replacements = [{ inherit oldDependency newDependency; }]; # When newDependency depends on drv, instead of causing infinite recursion, keep it as is. cutoffPackages = [ newDependency ]; }; replaceVars = callPackage ../build-support/replace-vars { }; replaceDirectDependencies = callPackage ../build-support/replace-direct-dependencies.nix { }; nukeReferences = callPackage ../build-support/nuke-references { inherit (darwin) signingUtils; }; referencesByPopularity = callPackage ../build-support/references-by-popularity { }; removeReferencesTo = callPackage ../build-support/remove-references-to { inherit (darwin) signingUtils; }; # No callPackage. In particular, we don't want `img` *package* in parameters. vmTools = makeOverridable (import ../build-support/vm) { inherit pkgs lib; }; releaseTools = callPackage ../build-support/release { }; inherit (lib.systems) platforms; setJavaClassPath = makeSetupHook { name = "set-java-classpath-hook"; } ../build-support/setup-hooks/set-java-classpath.sh; fixDarwinDylibNames = makeSetupHook { name = "fix-darwin-dylib-names-hook"; substitutions = { inherit (darwin.binutils) targetPrefix; }; meta.platforms = lib.platforms.darwin; } ../build-support/setup-hooks/fix-darwin-dylib-names.sh; writeDarwinBundle = callPackage ../build-support/make-darwin-bundle/write-darwin-bundle.nix { }; desktopToDarwinBundle = makeSetupHook { name = "desktop-to-darwin-bundle-hook"; propagatedBuildInputs = [ writeDarwinBundle librsvg imagemagick (onlyBin python3Packages.icnsutil) ]; } ../build-support/setup-hooks/desktop-to-darwin-bundle.sh; keepBuildTree = makeSetupHook { name = "keep-build-tree-hook"; } ../build-support/setup-hooks/keep-build-tree.sh; moveBuildTree = makeSetupHook { name = "move-build-tree-hook"; } ../build-support/setup-hooks/move-build-tree.sh; enableGCOVInstrumentation = makeSetupHook { name = "enable-gcov-instrumentation-hook"; } ../build-support/setup-hooks/enable-coverage-instrumentation.sh; makeGCOVReport = makeSetupHook { name = "make-gcov-report-hook"; propagatedBuildInputs = [ lcov enableGCOVInstrumentation ]; } ../build-support/setup-hooks/make-coverage-analysis-report.sh; makeHardcodeGsettingsPatch = callPackage ../build-support/make-hardcode-gsettings-patch { }; mitm-cache = callPackage ../build-support/mitm-cache { inherit (darwin.apple_sdk.frameworks) Security; }; # intended to be used like nix-build -E 'with import { }; enableDebugging fooPackage' enableDebugging = pkg: pkg.override { stdenv = stdenvAdapters.keepDebugInfo pkg.stdenv; }; findXMLCatalogs = makeSetupHook { name = "find-xml-catalogs-hook"; } ../build-support/setup-hooks/find-xml-catalogs.sh; wrapGAppsHook3 = wrapGAppsNoGuiHook.override { isGraphical = true; }; wrapGAppsHook4 = wrapGAppsNoGuiHook.override { isGraphical = true; gtk3 = __splicedPackages.gtk4; }; wrapGAppsNoGuiHook = callPackage ../build-support/setup-hooks/wrap-gapps-hook { makeWrapper = makeBinaryWrapper; }; separateDebugInfo = makeSetupHook { name = "separate-debug-info-hook"; } ../build-support/setup-hooks/separate-debug-info.sh; setupDebugInfoDirs = makeSetupHook { name = "setup-debug-info-dirs-hook"; } ../build-support/setup-hooks/setup-debug-info-dirs.sh; useOldCXXAbi = makeSetupHook { name = "use-old-cxx-abi-hook"; } ../build-support/setup-hooks/use-old-cxx-abi.sh; validatePkgConfig = makeSetupHook { name = "validate-pkg-config"; propagatedBuildInputs = [ findutils pkg-config ]; } ../build-support/setup-hooks/validate-pkg-config.sh; #package writers writers = callPackage ../build-support/writers { }; # lib functions depending on pkgs inherit (import ../pkgs-lib { # The `lib` variable in this scope doesn't include any applied lib overlays, # `pkgs.lib` does. inherit (pkgs) lib; inherit pkgs; }) formats; testers = callPackage ../build-support/testers { }; ### TOOLS _3llo = callPackage ../tools/misc/3llo { }; _1password-gui = callPackage ../applications/misc/1password-gui { }; _1password-gui-beta = callPackage ../applications/misc/1password-gui { channel = "beta"; }; _7zz = darwin.apple_sdk_11_0.callPackage ../tools/archivers/7zz { }; _7zz-rar = _7zz.override { enableUnfree = true; }; acme-dns = callPackage ../servers/dns/acme-dns/default.nix { buildGoModule = buildGo122Module; # https://github.com/joohoi/acme-dns/issues/365 }; acquire = with python3Packages; toPythonApplication acquire; actdiag = with python3.pkgs; toPythonApplication actdiag; adlplug = callPackage ../applications/audio/adlplug { jack = libjack2; }; opnplug = adlplug.override { type = "OPN"; }; akkoma = callPackage ../servers/akkoma { elixir = elixir_1_16; beamPackages = beamPackages.extend (self: super: { elixir = elixir_1_16; }); }; akkoma-frontends = recurseIntoAttrs { akkoma-fe = callPackage ../servers/akkoma/akkoma-fe { }; admin-fe = callPackage ../servers/akkoma/admin-fe { nodejs = nodejs_18; yarn = yarn.override { nodejs = nodejs_18; }; python3 = python311; }; }; akkoma-emoji = recurseIntoAttrs { blobs_gg = callPackage ../servers/akkoma/emoji/blobs_gg.nix { }; }; aegisub = callPackage ../by-name/ae/aegisub/package.nix ({ boost = boost179; luajit = luajit.override { enable52Compat = true; }; wxGTK = wxGTK32; } // (config.aegisub or {})); acme-client = callPackage ../tools/networking/acme-client { stdenv = gccStdenv; }; honggfuzz = callPackage ../tools/security/honggfuzz { clang = clang_16; llvm = llvm_16; }; aflplusplus = callPackage ../tools/security/aflplusplus { clang = clang_15; llvm = llvm_15; llvmPackages = llvmPackages_15; wine = null; }; libdislocator = callPackage ../tools/security/aflplusplus/libdislocator.nix { }; afsctool = callPackage ../tools/filesystems/afsctool { }; aioblescan = with python3Packages; toPythonApplication aioblescan; ajour = callPackage ../tools/games/ajour { inherit (plasma5Packages) kdialog; }; inherit (recurseIntoAttrs (callPackage ../tools/package-management/akku { })) akku akkuPackages; alice-tools = callPackage ../tools/games/alice-tools { withGUI = false; }; alice-tools-qt5 = libsForQt5.callPackage ../tools/games/alice-tools { }; alice-tools-qt6 = qt6Packages.callPackage ../tools/games/alice-tools { }; auditwheel = with python3Packages; toPythonApplication auditwheel; awsbck = callPackage ../tools/backup/awsbck { }; bikeshed = python3Packages.callPackage ../applications/misc/bikeshed { }; davinci-resolve = callPackage ../applications/video/davinci-resolve { }; davinci-resolve-studio = callPackage ../applications/video/davinci-resolve { studioVariant = true; }; dehinter = with python3Packages; toPythonApplication dehinter; gamemode = callPackage ../tools/games/gamemode { libgamemode32 = pkgsi686Linux.gamemode.lib; }; gamescope = callPackage ../by-name/ga/gamescope/package.nix { enableExecutable = true; enableWsi = false; wlroots = wlroots_0_17; }; gamescope-wsi = callPackage ../by-name/ga/gamescope/package.nix { enableExecutable = false; enableWsi = true; wlroots = wlroots_0_17; }; font-v = with python3Packages; toPythonApplication font-v; fontbakery = with python3Packages; toPythonApplication fontbakery; weylus = callPackage ../applications/graphics/weylus { inherit (darwin.apple_sdk.frameworks) ApplicationServices Carbon Cocoa VideoToolbox; }; # This is to workaround gfal2-python broken against Python 3.12 or later. # TODO: Remove these lines after solving the breakage. gfal2-util = callPackage ../by-name/gf/gfal2-util/package.nix (lib.optionalAttrs python3Packages.gfal2-python.meta.broken { python3Packages = python311Packages; }); gh-cal = callPackage ../tools/misc/gh-cal { }; gp-saml-gui = python3Packages.callPackage ../tools/networking/gp-saml-gui { }; fwbuilder = libsForQt5.callPackage ../tools/security/fwbuilder { }; inherit (callPackages ../tools/networking/ivpn/default.nix { buildGoModule = buildGo122Module; }) ivpn ivpn-service; kanata-with-cmd = kanata.override { withCmd = true; }; kdocker = libsForQt5.callPackage ../tools/X11/kdocker { }; ksnip = libsForQt5.callPackage ../tools/misc/ksnip { }; linux-router-without-wifi = linux-router.override { useWifiDependencies = false; }; makehuman = libsForQt5.callPackage ../applications/misc/makehuman { }; mcaselector = callPackage ../tools/games/minecraft/mcaselector { jre = jre.override { enableJavaFX = true; }; }; memos = callPackage ../servers/memos { }; mkosi = python3Packages.callPackage ../tools/virtualization/mkosi { inherit systemd; }; mkosi-full = mkosi.override { withQemu = true; }; mpremote = python3Packages.callPackage ../tools/misc/mpremote { }; mpy-utils = python3Packages.callPackage ../tools/misc/mpy-utils { }; mymcplus = python3Packages.callPackage ../tools/games/mymcplus { }; networkd-notify = python3Packages.callPackage ../tools/networking/networkd-notify { systemd = pkgs.systemd; }; nominatim = callPackage ../servers/nominatim { postgresql = postgresql_14; }; ocs-url = libsForQt5.callPackage ../tools/misc/ocs-url { }; openbugs = pkgsi686Linux.callPackage ../applications/science/machine-learning/openbugs { }; openusd = python3Packages.openusd.override { withTools = true; withUsdView = true; }; osquery = callPackage ../tools/system/osquery { }; pricehist = python3Packages.callPackage ../tools/misc/pricehist { }; q = callPackage ../tools/networking/q { }; qFlipper = libsForQt5.callPackage ../tools/misc/qflipper { }; ronin = callPackage ../tools/security/ronin { }; scarab = callPackage ../tools/games/scarab { }; inherit (callPackage ../development/libraries/sdbus-cpp { }) sdbus-cpp sdbus-cpp_2; sdkmanager = with python3Packages; toPythonApplication sdkmanager; shaperglot = with python3Packages; toPythonApplication shaperglot; snagboot = python3.pkgs.callPackage ../applications/misc/snagboot { }; slipstream = callPackage ../tools/games/slipstream { jdk = jdk8; }; stargazer = callPackage ../servers/gemini/stargazer { }; supermin = callPackage ../tools/virtualization/supermin { ocamlPackages = ocaml-ng.ocamlPackages_4_14; }; tailwindcss = callPackage ../development/tools/tailwindcss { }; termusic = darwin.apple_sdk_11_0.callPackage ../applications/audio/termusic { inherit (darwin.apple_sdk_11_0.frameworks) AppKit CoreAudio CoreGraphics Foundation IOKit MediaPlayer Security; }; ufolint = with python3Packages; toPythonApplication ufolint; valeronoi = qt6Packages.callPackage ../tools/misc/valeronoi { }; veikk-linux-driver-gui = libsForQt5.callPackage ../tools/misc/veikk-linux-driver-gui { }; ventoy-full = ventoy.override { withCryptsetup = true; withXfs = true; withExt4 = true; withNtfs = true; }; vprof = with python3Packages; toPythonApplication vprof; vrc-get = callPackage ../tools/misc/vrc-get { }; winbox = winbox3; winbox3 = callPackage ../tools/admin/winbox { wine = wineWowPackages.stable; }; yabridge = callPackage ../tools/audio/yabridge { wine = wineWowPackages.staging; }; yabridgectl = callPackage ../tools/audio/yabridgectl { wine = wineWowPackages.staging; }; yafetch = callPackage ../tools/misc/yafetch { stdenv = clangStdenv; }; yarn-lock-converter = callPackage ../tools/package-management/yarn-lock-converter { }; archi = callPackage ../tools/misc/archi { }; breitbandmessung = callPackage ../applications/networking/breitbandmessung { electron = electron_29; }; ### APPLICATIONS/VERSION-MANAGEMENT git = callPackage ../applications/version-management/git { inherit (darwin.apple_sdk.frameworks) CoreServices Security; perlLibs = [perlPackages.LWP perlPackages.URI perlPackages.TermReadKey]; smtpPerlLibs = [ perlPackages.libnet perlPackages.NetSMTPSSL perlPackages.IOSocketSSL perlPackages.NetSSLeay perlPackages.AuthenSASL perlPackages.DigestHMAC ]; }; # The full-featured Git. gitFull = git.override { svnSupport = true; guiSupport = true; sendEmailSupport = true; withSsh = true; withLibsecret = !stdenv.hostPlatform.isDarwin; }; # Git with SVN support, but without GUI. gitSVN = lowPrio (git.override { svnSupport = true; }); git-doc = lib.addMetaAttrs { description = "Additional documentation for Git"; longDescription = '' This package contains additional documentation (HTML and text files) that is referenced in the man pages of Git. ''; } gitFull.doc; gitMinimal = git.override { withManual = false; pythonSupport = false; perlSupport = false; withpcre2 = false; }; bitbucket-server-cli = callPackage ../applications/version-management/bitbucket-server-cli { }; bump2version = with python3Packages; toPythonApplication bump2version; cgit = callPackage ../applications/version-management/cgit { }; cgit-pink = callPackage ../applications/version-management/cgit/pink.nix { }; commitlint = nodePackages."@commitlint/cli"; datalad = with python3Packages; toPythonApplication datalad; datalad-gooey = with python3Packages; toPythonApplication datalad-gooey; forgejo-lts = callPackage ../by-name/fo/forgejo/lts.nix { }; gfold = callPackage ../applications/version-management/gfold { }; gita = python3Packages.callPackage ../applications/version-management/gita { }; gitoxide = callPackage ../applications/version-management/gitoxide { }; github-cli = gh; git-absorb = callPackage ../applications/version-management/git-absorb { }; git-annex-metadata-gui = libsForQt5.callPackage ../applications/version-management/git-annex-metadata-gui { inherit (python3Packages) buildPythonApplication pyqt5 git-annex-adapter; }; git-annex-remote-dbx = callPackage ../applications/version-management/git-annex-remote-dbx { inherit (python3Packages) buildPythonApplication dropbox annexremote humanfriendly; }; git-annex-remote-googledrive = python3Packages.callPackage ../applications/version-management/git-annex-remote-googledrive { }; git-archive-all = python3.pkgs.callPackage ../applications/version-management/git-archive-all { }; git-branchless = callPackage ../applications/version-management/git-branchless { }; git-cinnabar = callPackage ../applications/version-management/git-cinnabar { }; git-cliff = callPackage ../applications/version-management/git-cliff { }; git-credential-keepassxc = callPackage ../applications/version-management/git-credential-keepassxc { }; git-credential-manager = callPackage ../applications/version-management/git-credential-manager { }; git-fame = callPackage ../applications/version-management/git-fame { }; git-gone = callPackage ../applications/version-management/git-gone { inherit (darwin.apple_sdk.frameworks) Security; }; git-imerge = python3Packages.callPackage ../applications/version-management/git-imerge { }; git-lfs = lowPrio (callPackage ../applications/version-management/git-lfs { }); git-machete = python3Packages.callPackage ../applications/version-management/git-machete { }; git-ps-rs = callPackage ../development/tools/git-ps-rs { inherit (darwin.apple_sdk.frameworks) Security; }; git-publish = python3Packages.callPackage ../applications/version-management/git-publish { }; git-quickfix = callPackage ../applications/version-management/git-quickfix { inherit (darwin.apple_sdk.frameworks) Security SystemConfiguration; }; git-recent = callPackage ../applications/version-management/git-recent { util-linux = if stdenv.hostPlatform.isLinux then util-linuxMinimal else util-linux; }; git-remote-codecommit = python3Packages.callPackage ../applications/version-management/git-remote-codecommit { }; gitRepo = git-repo; git-repo-updater = python3Packages.callPackage ../applications/version-management/git-repo-updater { }; git-review = python3Packages.callPackage ../applications/version-management/git-review { }; git-stack = callPackage ../applications/version-management/git-stack { inherit (darwin.apple_sdk.frameworks) Security; }; git-trim = darwin.apple_sdk_11_0.callPackage ../applications/version-management/git-trim { inherit (darwin.apple_sdk_11_0.frameworks) IOKit CoreFoundation Security; }; git-up = callPackage ../applications/version-management/git-up { pythonPackages = python3Packages; }; git-workspace = callPackage ../applications/version-management/git-workspace { inherit (darwin.apple_sdk.frameworks) Security; }; gitlint = python3Packages.callPackage ../applications/version-management/gitlint { }; gitmux = callPackage ../applications/version-management/gitmux { buildGoModule = buildGo122Module; }; gittyup = libsForQt5.callPackage ../applications/version-management/gittyup { }; lucky-commit = callPackage ../applications/version-management/lucky-commit { inherit (darwin.apple_sdk.frameworks) OpenCL; }; merge-fmt = callPackage ../applications/version-management/merge-fmt { inherit (ocamlPackages) buildDunePackage cmdliner base stdio; }; pass-git-helper = python3Packages.callPackage ../applications/version-management/pass-git-helper { }; qgit = qt5.callPackage ../applications/version-management/qgit { }; silver-platter = python3Packages.callPackage ../applications/version-management/silver-platter { }; svn-all-fast-export = libsForQt5.callPackage ../applications/version-management/svn-all-fast-export { }; svn2git = callPackage ../applications/version-management/svn2git { git = gitSVN; }; inherit (haskellPackages) git-annex; inherit (haskellPackages) git-brunch; git-autofixup = perlPackages.GitAutofixup; ghrepo-stats = with python3Packages; toPythonApplication ghrepo-stats; git-filter-repo = with python3Packages; toPythonApplication git-filter-repo; git-revise = with python3Packages; toPythonApplication git-revise; ### APPLICATIONS/EMULATORS _86Box = callPackage ../applications/emulators/86box { }; _86Box-with-roms = _86Box.override { unfreeEnableRoms = true; unfreeEnableDiscord = true; }; box64 = callPackage ../applications/emulators/box64 { hello-x86_64 = if stdenv.hostPlatform.isx86_64 then hello else pkgsCross.gnu64.hello; }; box86 = let args = { hello-x86_32 = if stdenv.hostPlatform.isx86_32 then hello else pkgsCross.gnu32.hello; }; in if stdenv.hostPlatform.is32bit then callPackage ../applications/emulators/box86 args else if stdenv.hostPlatform.isx86_64 then pkgsCross.gnu32.callPackage ../applications/emulators/box86 args else if stdenv.hostPlatform.isAarch64 then pkgsCross.armv7l-hf-multiplatform.callPackage ../applications/emulators/box86 args else throw "Don't know 32-bit platform for cross from: ${stdenv.hostPlatform.stdenv}"; cdemu-client = callPackage ../applications/emulators/cdemu/client.nix { }; cdemu-daemon = callPackage ../applications/emulators/cdemu/daemon.nix { }; coltrane = callPackage ../applications/misc/coltrane { }; dosbox = callPackage ../applications/emulators/dosbox { inherit (darwin.apple_sdk.frameworks ) OpenGL; SDL = if stdenv.hostPlatform.isDarwin then SDL else SDL_compat; }; dosbox-x = darwin.apple_sdk_11_0.callPackage ../applications/emulators/dosbox-x { inherit (darwin.apple_sdk_11_0.frameworks) AudioUnit Carbon Cocoa; }; fceux-qt5 = fceux.override { ___qtVersion = "5"; }; fceux-qt6 = fceux.override { ___qtVersion = "6"; }; firebird-emu = libsForQt5.callPackage ../applications/emulators/firebird-emu { }; fusesoc = python3Packages.callPackage ../tools/package-management/fusesoc { }; gcdemu = callPackage ../applications/emulators/cdemu/gui.nix { }; gensgs = pkgsi686Linux.callPackage ../applications/emulators/gens-gs { }; goldberg-emu = callPackage ../applications/emulators/goldberg-emu { protobuf = protobuf_21; }; image-analyzer = callPackage ../applications/emulators/cdemu/analyzer.nix { }; kega-fusion = pkgsi686Linux.callPackage ../applications/emulators/kega-fusion { }; libmirage = callPackage ../applications/emulators/cdemu/libmirage.nix { }; mame = libsForQt5.callPackage ../applications/emulators/mame { }; mame-tools = lib.addMetaAttrs { description = mame.meta.description + " (tools only)"; } (lib.getOutput "tools" mame); ppsspp-sdl = let argset = { enableQt = false; enableVulkan = true; forceWayland = false; }; in ppsspp.override argset; ppsspp-sdl-wayland = let argset = { enableQt = false; enableVulkan = false; # https://github.com/hrydgard/ppsspp/issues/13845 forceWayland = true; }; in ppsspp.override argset; ppsspp-qt = let argset = { enableQt = true; enableVulkan = false; # https://github.com/hrydgard/ppsspp/issues/11628 forceWayland = false; }; in ppsspp.override argset; punes = libsForQt5.callPackage ../applications/emulators/punes { }; punes-qt6 = qt6Packages.callPackage ../applications/emulators/punes { }; py65 = with python3.pkgs; toPythonApplication py65; ripes = qt6Packages.callPackage ../applications/emulators/ripes { }; rmg-wayland = callPackage ../by-name/rm/rmg/package.nix { withWayland = true; }; snes9x-gtk = snes9x.override { withGtk = true; }; winetricks = callPackage ../applications/emulators/wine/winetricks.nix { }; zsnes = pkgsi686Linux.callPackage ../applications/emulators/zsnes { }; zsnes2 = pkgsi686Linux.callPackage ../applications/emulators/zsnes/2.x.nix { }; ### APPLICATIONS/EMULATORS/BSNES ares = darwin.apple_sdk_11_0.callPackage ../applications/emulators/bsnes/ares { }; bsnes-hd = darwin.apple_sdk_11_0.callPackage ../applications/emulators/bsnes/bsnes-hd { }; ### APPLICATIONS/EMULATORS/DOLPHIN-EMU dolphin-emu = qt6Packages.callPackage ../applications/emulators/dolphin-emu { stdenv = if stdenv.hostPlatform.isDarwin then overrideSDK stdenv "11.0" else stdenv; inherit (darwin.apple_sdk_11_0.frameworks) CoreBluetooth ForceFeedback IOBluetooth IOKit OpenGL VideoToolbox; }; dolphin-emu-primehack = qt6.callPackage ../applications/emulators/dolphin-emu/primehack.nix { inherit (darwin.apple_sdk.frameworks) CoreBluetooth ForceFeedback IOKit OpenGL; }; ### APPLICATIONS/EMULATORS/RETROARCH retroarchBare = qt5.callPackage ../applications/emulators/retroarch { }; retroarchFull = retroarch.override { cores = builtins.filter # Remove cores not supported on platform (c: c ? libretroCore && (lib.meta.availableOn stdenv.hostPlatform c)) (builtins.attrValues libretro); }; wrapRetroArch = { retroarch, settings ? {} }: callPackage ../applications/emulators/retroarch/wrapper.nix { inherit retroarch settings; }; retroarch = wrapRetroArch { retroarch = retroarchBare; settings = { assets_directory = "${retroarch-assets}/share/retroarch/assets"; joypad_autoconfig_dir = "${retroarch-joypad-autoconfig}/share/libretro/autoconfig"; libretro_info_path = "${libretro-core-info}/share/retroarch/cores"; }; }; retroarch-assets = callPackage ../applications/emulators/retroarch/retroarch-assets.nix { }; retroarch-joypad-autoconfig = callPackage ../applications/emulators/retroarch/retroarch-joypad-autoconfig.nix { }; libretranslate = with python3.pkgs; toPythonApplication libretranslate; libretro = recurseIntoAttrs (callPackage ../applications/emulators/retroarch/cores.nix { retroarch = retroarchBare; }); libretro-core-info = callPackage ../applications/emulators/retroarch/libretro-core-info.nix { }; kodi-retroarch-advanced-launchers = callPackage ../applications/emulators/retroarch/kodi-advanced-launchers.nix { }; # Aliases kept here because they are easier to use x16-emulator = x16.emulator; x16-rom = x16.rom; x16-run = x16.run; yabause = libsForQt5.callPackage ../applications/emulators/yabause { libglut = null; openal = null; }; ### APPLICATIONS/FILE-MANAGERS doublecmd = callPackage ../by-name/do/doublecmd/package.nix { inherit (qt5) wrapQtAppsHook; }; krusader = libsForQt5.callPackage ../applications/file-managers/krusader { }; lf = callPackage ../applications/file-managers/lf { }; ctpv = callPackage ../applications/file-managers/lf/ctpv.nix { }; mc = callPackage ../applications/file-managers/mc { inherit (darwin) autoSignDarwinBinariesHook; }; saunafs = callPackage ../by-name/sa/saunafs/package.nix { boost = boost185; }; vifm-full = vifm.override { mediaSupport = true; inherit lib udisks2 python3; }; xfe = callPackage ../applications/file-managers/xfe { fox = fox_1_6; }; johnny-reborn-engine = callPackage ../applications/misc/johnny-reborn { }; johnny-reborn = callPackage ../applications/misc/johnny-reborn/with-data.nix { }; ### APPLICATIONS/TERMINAL-EMULATORS contour = qt6.callPackage ../applications/terminal-emulators/contour { inherit (darwin.apple_sdk_11_0.libs) utmp; inherit (darwin) sigtool; stdenv = if stdenv.hostPlatform.isDarwin then darwin.apple_sdk_11_0.stdenv else stdenv; catch2 = catch2_3; fmt = fmt_9; }; cool-retro-term = libsForQt5.callPackage ../applications/terminal-emulators/cool-retro-term { }; kitty = darwin.apple_sdk_11_0.callPackage ../applications/terminal-emulators/kitty { harfbuzz = harfbuzz.override { withCoreText = stdenv.hostPlatform.isDarwin; }; inherit (darwin) autoSignDarwinBinariesHook; inherit (darwin.apple_sdk_11_0) Libsystem; inherit (darwin.apple_sdk_11_0.frameworks) Cocoa Kernel UniformTypeIdentifiers UserNotifications ; }; kitty-themes = callPackage ../applications/terminal-emulators/kitty/themes.nix { }; mlterm = darwin.apple_sdk_11_0.callPackage ../applications/terminal-emulators/mlterm { }; mlterm-wayland = mlterm.override { enableX11 = false; }; rxvt-unicode = callPackage ../applications/terminal-emulators/rxvt-unicode/wrapper.nix { }; rxvt-unicode-emoji = rxvt-unicode.override { rxvt-unicode-unwrapped = rxvt-unicode-unwrapped-emoji; }; rxvt-unicode-plugins = import ../applications/terminal-emulators/rxvt-unicode-plugins { inherit callPackage; }; rxvt-unicode-unwrapped = callPackage ../applications/terminal-emulators/rxvt-unicode { }; rxvt-unicode-unwrapped-emoji = rxvt-unicode-unwrapped.override { emojiSupport = true; }; st = callPackage ../applications/terminal-emulators/st { conf = config.st.conf or null; patches = config.st.patches or []; extraLibs = config.st.extraLibs or []; }; xst = callPackage ../applications/terminal-emulators/st/xst.nix { }; mcaimi-st = callPackage ../applications/terminal-emulators/st/mcaimi-st.nix { }; siduck76-st = callPackage ../applications/terminal-emulators/st/siduck76-st.nix { }; stupidterm = callPackage ../applications/terminal-emulators/stupidterm { gtk = gtk3; }; termite = callPackage ../applications/terminal-emulators/termite/wrapper.nix { termite = termite-unwrapped; }; termite-unwrapped = callPackage ../applications/terminal-emulators/termite { }; wezterm = darwin.apple_sdk_11_0.callPackage ../applications/terminal-emulators/wezterm { inherit (darwin.apple_sdk_11_0.frameworks) Cocoa CoreGraphics Foundation UserNotifications System; }; twine = with python3Packages; toPythonApplication twine; amazon-qldb-shell = callPackage ../development/tools/amazon-qldb-shell { inherit (darwin.apple_sdk.frameworks) Security; }; amber = callPackage ../tools/text/amber { inherit (darwin.apple_sdk.frameworks) Security; }; amber-secret = callPackage ../tools/security/amber { inherit (darwin.apple_sdk.frameworks) Security; }; inherit (callPackages ../development/tools/ammonite {}) ammonite_2_12 ammonite_2_13; ammonite = ammonite_2_13; android-tools = lowPrio (darwin.apple_sdk_11_0.callPackage ../tools/misc/android-tools { }); angie = callPackage ../servers/http/angie { zlib = zlib-ng.override { withZlibCompat = true; }; withPerl = false; # We don't use `with` statement here on purpose! # See https://github.com/NixOS/nixpkgs/pull/10474#discussion_r42369334 modules = [ nginxModules.rtmp nginxModules.dav nginxModules.moreheaders ]; }; angieQuic = callPackage ../servers/http/angie { zlib = zlib-ng.override { withZlibCompat = true; }; withPerl = false; withQuic = true; # We don't use `with` statement here on purpose! # See https://github.com/NixOS/nixpkgs/pull/10474#discussion_r42369334 modules = [ nginxModules.rtmp nginxModules.dav nginxModules.moreheaders ]; # Use latest quictls to allow http3 support openssl = quictls; }; angie-console-light = callPackage ../servers/http/angie/console-light.nix { }; apk-tools = callPackage ../tools/package-management/apk-tools { lua = lua5_3; }; appimage-run = callPackage ../tools/package-management/appimage-run { }; appimage-run-tests = callPackage ../tools/package-management/appimage-run/test.nix { appimage-run = appimage-run.override { appimage-run-tests = null; /* break boostrap cycle for passthru.tests */ }; }; ArchiSteamFarm = callPackage ../applications/misc/ArchiSteamFarm { }; arduino = arduino-core.override { withGui = true; }; arduino-core = callPackage ../development/embedded/arduino/arduino-core/chrootenv.nix { }; arduino-core-unwrapped = callPackage ../development/embedded/arduino/arduino-core { }; apio = python3Packages.callPackage ../development/embedded/fpga/apio { }; apitrace = libsForQt5.callPackage ../applications/graphics/apitrace { }; arj = callPackage ../tools/archivers/arj { stdenv = gccStdenv; }; inherit (callPackages ../data/fonts/arphic {}) arphic-ukai arphic-uming; asciinema-agg = callPackage ../tools/misc/asciinema-agg { inherit (darwin.apple_sdk.frameworks) Security; }; asymptote = libsForQt5.callPackage ../tools/graphics/asymptote { }; atomicparsley = callPackage ../tools/video/atomicparsley { inherit (darwin.apple_sdk.frameworks) Cocoa; }; authelia = callPackage ../servers/authelia { buildGoModule = buildGo123Module; }; authentik-outposts = recurseIntoAttrs (callPackages ../by-name/au/authentik/outposts.nix { }); autoflake = with python3.pkgs; toPythonApplication autoflake; awsume = python3Packages.callPackage ../tools/admin/awsume { }; aws-mfa = python3Packages.callPackage ../tools/admin/aws-mfa { }; azure-cli-extensions = recurseIntoAttrs azure-cli.extensions; azure-static-sites-client = callPackage ../development/tools/azure-static-sites-client { }; binocle = callPackage ../applications/misc/binocle { inherit (darwin.apple_sdk.frameworks) AppKit CoreFoundation CoreGraphics CoreVideo Foundation Metal QuartzCore; }; blisp = darwin.apple_sdk_11_0.callPackage ../development/embedded/blisp { inherit (darwin.apple_sdk_11_0.frameworks) IOKit; }; brakeman = callPackage ../development/tools/analysis/brakeman { }; brewtarget = libsForQt5.callPackage ../applications/misc/brewtarget { } ; # Derivation's result is not used by nixpkgs. Useful for validation for # regressions of bootstrapTools on hydra and on ofborg. Example: # pkgsCross.aarch64-multiplatform.freshBootstrapTools.build freshBootstrapTools = if stdenv.hostPlatform.isDarwin then callPackage ../stdenv/darwin/make-bootstrap-tools.nix { localSystem = stdenv.buildPlatform; crossSystem = if stdenv.buildPlatform == stdenv.hostPlatform then null else stdenv.hostPlatform; } else if stdenv.hostPlatform.isLinux then callPackage ../stdenv/linux/make-bootstrap-tools.nix {} else if stdenv.hostPlatform.isFreeBSD then callPackage ../stdenv/freebsd/make-bootstrap-tools.nix {} else throw "freshBootstrapTools: unknown hostPlatform ${stdenv.hostPlatform.config}"; chars = callPackage ../tools/text/chars { inherit (darwin.apple_sdk.frameworks) Security; }; crystfel = callPackage ../applications/science/physics/crystfel { }; crystfel-headless = callPackage ../applications/science/physics/crystfel { withGui = false; }; amule-daemon = amule.override { monolithic = false; enableDaemon = true; }; amule-gui = amule.override { monolithic = false; client = true; }; amule-web = amule.override { monolithic = false; httpServer = true; }; apt-dater = callPackage ../tools/package-management/apt-dater { autoreconfHook = buildPackages.autoreconfHook269; }; bashate = python3Packages.callPackage ../development/tools/bashate { python3Packages = python311Packages; }; bisq-desktop = callPackage ../applications/blockchains/bisq-desktop { }; inherit (callPackages ../tools/security/bitwarden-directory-connector { }) bitwarden-directory-connector-cli bitwarden-directory-connector; bitwarden-menu = python3Packages.callPackage ../applications/misc/bitwarden-menu { }; blocksat-cli = with python3Packages; toPythonApplication blocksat-cli; botamusique = callPackage ../tools/audio/botamusique { }; bucklespring = bucklespring-x11; bucklespring-libinput = callPackage ../applications/audio/bucklespring { }; bucklespring-x11 = callPackage ../applications/audio/bucklespring { legacy = true; }; buildbotPackages = recurseIntoAttrs (python3.pkgs.callPackage ../development/tools/continuous-integration/buildbot { }); inherit (buildbotPackages) buildbot buildbot-ui buildbot-full buildbot-plugins buildbot-worker; castopod = callPackage ../applications/audio/castopod { }; certipy = with python3Packages; toPythonApplication certipy-ad; catcli = python3Packages.callPackage ../tools/filesystems/catcli { }; chipsec = callPackage ../tools/security/chipsec { kernel = null; withDriver = false; }; fedora-backgrounds = callPackage ../data/misc/fedora-backgrounds { }; coconut = with python3Packages; toPythonApplication coconut; coolreader = libsForQt5.callPackage ../applications/misc/coolreader { }; corsair = with python3Packages; toPythonApplication corsair-scan; cosign = callPackage ../tools/security/cosign { inherit (darwin.apple_sdk.frameworks) PCSC; }; inherit (cue) writeCueValidator; cyclonedx-gomod = callPackage ../tools/security/cyclonedx-gomod { buildGoModule = buildGo123Module; }; dazel = python3Packages.callPackage ../development/tools/dazel { }; detect-secrets = with python3Packages; toPythonApplication detect-secrets; deterministic-host-uname = deterministic-uname.override { forPlatform = stdenv.targetPlatform; # offset by 1 so it works in nativeBuildInputs }; diskus = callPackage ../tools/misc/diskus { inherit (darwin.apple_sdk.frameworks) Security; }; dkimpy = with python3Packages; toPythonApplication dkimpy; echidna = haskell.lib.compose.justStaticExecutables (haskellPackages.callPackage ../tools/security/echidna { }); esbuild = callPackage ../development/tools/esbuild { }; esbuild_netlify = callPackage ../development/tools/esbuild/netlify.nix { }; libfx2 = with python3Packages; toPythonApplication fx2; fastmod = callPackage ../tools/text/fastmod { inherit (darwin.apple_sdk.frameworks) Security; }; flirc = libsForQt5.callPackage ../applications/video/flirc { readline = readline70; }; foxdot = with python3Packages; toPythonApplication foxdot; fluffychat-web = fluffychat.override { targetFlutterPlatform = "web"; }; gbl = callPackage ../tools/archivers/gbl { inherit (darwin.apple_sdk.frameworks) Security; }; genpass = callPackage ../tools/security/genpass { inherit (darwin.apple_sdk.frameworks) CoreFoundation Security; }; gammaray = qt6Packages.callPackage ../development/tools/gammaray { }; gams = callPackage ../tools/misc/gams (config.gams or {}); gancioPlugins = recurseIntoAttrs ( callPackage ../by-name/ga/gancio/plugins.nix { inherit (gancio) nodejs; } ); github-changelog-generator = callPackage ../development/tools/github-changelog-generator { }; github-to-sqlite = with python3Packages; toPythonApplication github-to-sqlite; gistyc = with python3Packages; toPythonApplication gistyc; glances = python3Packages.callPackage ../applications/system/glances { }; glaxnimate = libsForQt5.callPackage ../applications/video/glaxnimate { }; go2tv = darwin.apple_sdk_11_0.callPackage ../applications/video/go2tv { inherit (darwin.apple_sdk_11_0.frameworks) Carbon Cocoa Kernel UserNotifications; }; go2tv-lite = go2tv.override { withGui = false; }; guglielmo = libsForQt5.callPackage ../applications/radio/guglielmo { }; grc = python3Packages.callPackage ../tools/misc/grc { }; green-pdfviewer = callPackage ../applications/misc/green-pdfviewer { SDL = SDL_sixel; }; gremlin-console = callPackage ../applications/misc/gremlin-console { openjdk = openjdk11; }; gremlin-server = callPackage ../applications/misc/gremlin-server { openjdk = openjdk11; }; grex = callPackage ../tools/misc/grex { inherit (darwin.apple_sdk.frameworks) Security; }; hinit = haskell.lib.compose.justStaticExecutables haskellPackages.hinit; hwi = with python3Packages; toPythonApplication hwi; kavita = callPackage ../servers/web-apps/kavita { }; livebook = callPackage ../servers/web-apps/livebook { elixir = elixir_1_17; beamPackages = beamPackages.extend (self: super: { elixir = elixir_1_17; }); }; pass = callPackage ../tools/security/pass { }; pass-nodmenu = callPackage ../tools/security/pass { dmenuSupport = false; pass = pass-nodmenu; }; pass-wayland = callPackage ../tools/security/pass { waylandSupport = true; pass = pass-wayland; }; passExtensions = recurseIntoAttrs pass.extensions; inherd-quake = callPackage ../applications/misc/inherd-quake { inherit (darwin.apple_sdk.frameworks) CoreServices Security; }; gopass = callPackage ../tools/security/gopass { }; gopass-hibp = callPackage ../tools/security/gopass/hibp.nix { }; gopass-jsonapi = callPackage ../tools/security/gopass/jsonapi.nix { }; git-credential-gopass = callPackage ../tools/security/gopass/git-credential.nix { }; gopass-summon-provider = callPackage ../tools/security/gopass/summon.nix { }; kerf = kerf_1; /* kerf2 is WIP */ kerf_1 = callPackage ../development/interpreters/kerf { stdenv = clangStdenv; inherit (darwin.apple_sdk.frameworks) Accelerate CoreGraphics CoreVideo ; }; khd = callPackage ../os-specific/darwin/khd { inherit (darwin.apple_sdk.frameworks) Carbon Cocoa; }; kjv = callPackage ../applications/misc/kjv { }; lukesmithxyz-bible-kjv = callPackage ../applications/misc/kjv/lukesmithxyz-kjv.nix { }; plausible = callPackage ../servers/web-apps/plausible { elixir = elixir_1_14; beamPackages = beamPackages.extend (self: super: { elixir = elixir_1_14; }); }; reattach-to-user-namespace = callPackage ../os-specific/darwin/reattach-to-user-namespace { }; qes = callPackage ../os-specific/darwin/qes { inherit (darwin.apple_sdk.frameworks) Carbon; }; xcodeenv = callPackage ../development/mobile/xcodeenv { }; gomobile = callPackage ../development/mobile/gomobile { }; titaniumenv = callPackage ../development/mobile/titaniumenv { }; adb-sync = callPackage ../development/mobile/adb-sync { inherit (androidenv.androidPkgs) platform-tools; }; anbox = callPackage ../os-specific/linux/anbox { protobuf = protobuf_21; }; androidenv = callPackage ../development/mobile/androidenv { }; androidndkPkgs = androidndkPkgs_26; androidndkPkgs_21 = (callPackage ../development/androidndk-pkgs {})."21"; androidndkPkgs_23 = (callPackage ../development/androidndk-pkgs {})."23"; androidndkPkgs_24 = (callPackage ../development/androidndk-pkgs {})."24"; androidndkPkgs_25 = (callPackage ../development/androidndk-pkgs {})."25"; androidndkPkgs_26 = (callPackage ../development/androidndk-pkgs {})."26"; androidsdk = androidenv.androidPkgs.androidsdk; webos = recurseIntoAttrs { cmake-modules = callPackage ../development/mobile/webos/cmake-modules.nix { }; novacom = callPackage ../development/mobile/webos/novacom.nix { }; novacomd = callPackage ../development/mobile/webos/novacomd.nix { }; }; anevicon = callPackage ../tools/networking/anevicon { inherit (darwin.apple_sdk.frameworks) Security; }; aoc-cli = callPackage ../tools/misc/aoc-cli { inherit (darwin.apple_sdk.frameworks) Security; }; apprise = with python3Packages; toPythonApplication apprise; aria2 = callPackage ../tools/networking/aria2 { inherit (darwin.apple_sdk.frameworks) Security; }; asmrepl = callPackage ../development/interpreters/asmrepl { }; atlas = callPackage ../by-name/at/atlas/package.nix { buildGoModule = buildGo123Module; }; authoscope = callPackage ../tools/security/authoscope { inherit (darwin.apple_sdk.frameworks) Security; }; avahi = callPackage ../development/libraries/avahi { }; avahi-compat = callPackage ../development/libraries/avahi { withLibdnssdCompat = true; }; axel = callPackage ../tools/networking/axel { libssl = openssl; }; bandwhich = callPackage ../tools/networking/bandwhich { inherit (darwin.apple_sdk.frameworks) Security; }; base16-builder = callPackage ../misc/base16-builder { }; babelfish = callPackage ../shells/fish/babelfish.nix { }; badchars = python3Packages.callPackage ../tools/security/badchars { }; bat-extras = recurseIntoAttrs (callPackages ../tools/misc/bat-extras { }); beauty-line-icon-theme = callPackage ../data/icons/beauty-line-icon-theme { inherit (plasma5Packages) breeze-icons; }; beautysh = with python3.pkgs; toPythonApplication beautysh; inherit (callPackages ../misc/logging/beats/7.x.nix { }) auditbeat7 filebeat7 heartbeat7 metricbeat7 packetbeat7; auditbeat = auditbeat7; filebeat = filebeat7; heartbeat = heartbeat7; metricbeat = metricbeat7; packetbeat = packetbeat7; biliass = with python3.pkgs; toPythonApplication biliass; binwalk = with python3Packages; toPythonApplication binwalk; birdtray = libsForQt5.callPackage ../applications/misc/birdtray { }; charles = charles4; inherit (callPackages ../applications/networking/charles {}) charles3 charles4 ; quaternion-qt5 = libsForQt5.callPackage ../applications/networking/instant-messengers/quaternion { }; quaternion-qt6 = qt6Packages.callPackage ../applications/networking/instant-messengers/quaternion { }; quaternion = quaternion-qt6; tensor = libsForQt5.callPackage ../applications/networking/instant-messengers/tensor { }; libtensorflow = python3.pkgs.tensorflow.libtensorflow; libtorch-bin = callPackage ../development/libraries/science/math/libtorch/bin.nix { }; behave = with python3Packages; toPythonApplication behave; blink = darwin.apple_sdk_11_0.callPackage ../applications/emulators/blink { }; blockdiag = with python3Packages; toPythonApplication blockdiag; bookstack = callPackage ../servers/web-apps/bookstack { }; boomerang = libsForQt5.callPackage ../development/tools/boomerang { }; bozohttpd-minimal = bozohttpd.override { minimal = true; }; brasero-unwrapped = callPackage ../tools/cd-dvd/brasero { }; brasero = callPackage ../tools/cd-dvd/brasero/wrapper.nix { }; broot = callPackage ../tools/misc/broot { inherit (darwin.apple_sdk.frameworks) Foundation Security; }; ssdfs-utils = callPackage ../tools/filesystems/ssdfs-utils { }; btlejack = python3Packages.callPackage ../applications/radio/btlejack { }; bsh = fetchurl { url = "http://www.beanshell.org/bsh-2.0b5.jar"; hash = "sha256-YjIZlWOAc1SzvLWs6z3BNlAvAixrDvdDmHqD9m/uWlw="; }; buildah = callPackage ../development/tools/buildah/wrapper.nix { }; buildah-unwrapped = callPackage ../development/tools/buildah { }; c3d = callPackage ../applications/graphics/c3d { inherit (darwin.apple_sdk.frameworks) Cocoa; }; cabal2nix-unwrapped = haskell.lib.compose.justStaticExecutables (haskellPackages.generateOptparseApplicativeCompletions [ "cabal2nix" ] haskellPackages.cabal2nix); cabal2nix = symlinkJoin { inherit (cabal2nix-unwrapped) name meta; nativeBuildInputs = [ buildPackages.makeWrapper ]; paths = [ cabal2nix-unwrapped ]; postBuild = '' wrapProgram $out/bin/cabal2nix \ --prefix PATH ":" "${lib.makeBinPath [ nix nix-prefetch-scripts ]}" ''; }; stack2nix = with haskell.lib; overrideCabal (justStaticExecutables haskellPackages.stack2nix) (_: { executableToolDepends = [ makeWrapper ]; postInstall = '' wrapProgram $out/bin/stack2nix \ --prefix PATH ":" "${git}/bin:${cabal-install}/bin" ''; }); calamares = libsForQt5.callPackage ../tools/misc/calamares { python = python3; boost = boost.override { enablePython = true; python = python3; }; }; calamares-nixos = lowPrio (calamares.override { nixos-extensions = true; }); candle = libsForQt5.callPackage ../applications/misc/candle { }; capstone = callPackage ../development/libraries/capstone { }; capstone_4 = callPackage ../development/libraries/capstone/4.nix { }; casync = callPackage ../applications/networking/sync/casync { sphinx = buildPackages.python3Packages.sphinx; }; cataract = callPackage ../applications/misc/cataract { }; cataract-unstable = callPackage ../applications/misc/cataract/unstable.nix { }; catch2 = callPackage ../development/libraries/catch2 { }; catch2_3 = callPackage ../development/libraries/catch2/3.nix { }; cardpeek = callPackage ../applications/misc/cardpeek { inherit (darwin.apple_sdk.frameworks) PCSC; }; ceres-solver = callPackage ../development/libraries/ceres-solver { gflags = null; # only required for examples/tests }; cedille = callPackage ../applications/science/logic/cedille { inherit (haskellPackages) alex happy Agda ghcWithPackages; }; clevercsv = with python3Packages; toPythonApplication clevercsv; clickgen = with python3Packages; toPythonApplication clickgen; cloud-init = python3.pkgs.callPackage ../tools/virtualization/cloud-init { inherit systemd; }; cloudflared = callPackage ../applications/networking/cloudflared { # https://github.com/cloudflare/cloudflared/issues/1151#issuecomment-1888819250 buildGoModule = buildGoModule.override { go = go_1_22.overrideAttrs { pname = "cloudflare-go"; version = "1.22.2-devel-cf"; src = fetchFromGitHub { owner = "cloudflare"; repo = "go"; rev = "ec0a014545f180b0c74dfd687698657a9e86e310"; sha256 = "sha256-oQQ9Jyh8TphZSCaHqaugTL7v0aeZjyOdVACz86I2KvU="; }; }; }; }; clingo = callPackage ../applications/science/logic/potassco/clingo.nix { }; clingcon = callPackage ../applications/science/logic/potassco/clingcon.nix { }; clprover = callPackage ../applications/science/logic/clprover/clprover.nix { }; coloredlogs = with python3Packages; toPythonApplication coloredlogs; czkawka-full = czkawka.wrapper.override { extraPackages = [ ffmpeg ]; }; commitizen = with python3Packages; toPythonApplication commitizen; compactor = callPackage ../applications/networking/compactor { protobuf = protobuf_21; }; inherit (callPackages ../tools/misc/coreboot-utils { }) msrtool cbmem ifdtool intelmetool cbfstool nvramtool superiotool ectool inteltool amdfwtool acpidump-all coreboot-utils; coreboot-configurator = libsForQt5.callPackage ../tools/misc/coreboot-configurator { }; sway-unwrapped = callPackage ../by-name/sw/sway-unwrapped/package.nix { wlroots = wlroots_0_18; }; swaytools = python3Packages.callPackage ../tools/wayland/swaytools { }; cambrinary = python3Packages.callPackage ../applications/misc/cambrinary { }; cplex = callPackage ../applications/science/math/cplex (config.cplex or {}); contacts = callPackage ../tools/misc/contacts { inherit (darwin.apple_sdk.frameworks) Foundation AddressBook; }; colorls = callPackage ../tools/system/colorls { }; coloursum = callPackage ../tools/text/coloursum { inherit (darwin.apple_sdk.frameworks) Security; }; cot = with python3Packages; toPythonApplication cot; crosvm = callPackage ../applications/virtualization/crosvm { }; crossplane = with python3Packages; toPythonApplication crossplane; csv2md = with python3Packages; toPythonApplication csv2md; csvtool = callPackage ../development/ocaml-modules/csv/csvtool.nix { }; cutemarked-ng = libsForQt5.callPackage ../applications/office/cutemarked-ng { }; dataclass-wizard = with python3Packages; toPythonApplication dataclass-wizard; datasette = with python3Packages; toPythonApplication datasette; datovka = libsForQt5.callPackage ../applications/networking/datovka { }; diagrams-builder = callPackage ../tools/graphics/diagrams-builder { inherit (haskellPackages) ghcWithPackages diagrams-builder; }; dialogbox = libsForQt5.callPackage ../tools/misc/dialogbox { }; dijo = callPackage ../tools/misc/dijo { inherit (darwin.apple_sdk.frameworks) CoreServices; }; ding = callPackage ../applications/misc/ding { aspellDicts_de = aspellDicts.de; aspellDicts_en = aspellDicts.en; }; h = callPackage ../tools/misc/h { }; discourse = callPackage ../servers/web-apps/discourse { }; discourseAllPlugins = discourse.override { plugins = lib.filter (p: p ? pluginName) (builtins.attrValues discourse.plugins); }; disorderfs = callPackage ../tools/filesystems/disorderfs { asciidoc = asciidoc-full; }; dino = callPackage ../applications/networking/instant-messengers/dino { inherit (gst_all_1) gstreamer gst-plugins-base gst-plugins-bad gst-vaapi; gst-plugins-good = gst_all_1.gst-plugins-good.override { gtkSupport = true; }; }; dnschef = python3Packages.callPackage ../tools/networking/dnschef { }; dotenv-linter = callPackage ../development/tools/analysis/dotenv-linter { inherit (darwin.apple_sdk.frameworks) Security; }; inherit (ocamlPackages) dot-merlin-reader; inherit (ocaml-ng.ocamlPackages_4_10) dune_1; inherit (ocamlPackages) dune_2 dune_3 dune-release; dvc = with python3.pkgs; toPythonApplication dvc; dvc-with-remotes = dvc.override { enableGoogle = true; enableAWS = true; enableAzure = true; enableSSH = true; }; easyabc = callPackage ../applications/audio/easyabc { }; easyaudiosync = qt6Packages.callPackage ../applications/audio/easyaudiosync {}; easycrypt = callPackage ../applications/science/logic/easycrypt { why3 = pkgs.why3.override { ideSupport = false; }; }; easycrypt-runtest = callPackage ../applications/science/logic/easycrypt/runtest.nix { }; easyocr = with python3.pkgs; toPythonApplication easyocr; eddy = libsForQt5.callPackage ../applications/graphics/eddy { }; electronplayer = callPackage ../applications/video/electronplayer/electronplayer.nix { }; element-desktop = callPackage ../applications/networking/instant-messengers/element/element-desktop.nix { inherit (darwin.apple_sdk.frameworks) Security AppKit CoreServices; electron = electron_32; }; element-desktop-wayland = writeScriptBin "element-desktop" '' #!/bin/sh NIXOS_OZONE_WL=1 exec ${element-desktop}/bin/element-desktop "$@" ''; element-web-unwrapped = callPackage ../applications/networking/instant-messengers/element/element-web.nix { }; element-web = callPackage ../applications/networking/instant-messengers/element/element-web-wrapper.nix { conf = config.element-web.conf or { }; }; elm-github-install = callPackage ../tools/package-management/elm-github-install { }; espanso-wayland = espanso.override { x11Support = false; waylandSupport = true; espanso = espanso-wayland; }; esphome = callPackage ../tools/misc/esphome { }; fastly = callPackage ../misc/fastly { # If buildGoModule is overridden, provide a matching version of the go attribute }; f3d = callPackage ../applications/graphics/f3d { inherit (darwin.apple_sdk.frameworks) Cocoa OpenGL; }; f3d_egl = f3d.override { vtk_9 = vtk_9_egl; }; fast-cli = nodePackages.fast-cli; fast-ssh = callPackage ../tools/networking/fast-ssh { inherit (darwin.apple_sdk.frameworks) Security; }; fdroidcl = pkgs.callPackage ../development/mobile/fdroidcl { }; fedimint = callPackage ../by-name/fe/fedimint/package.nix { inherit (darwin.apple_sdk.frameworks) Security SystemConfiguration; }; flowgger = callPackage ../tools/misc/flowgger { inherit (darwin.apple_sdk.frameworks) CoreServices; }; ### TOOLS/TYPESETTING/TEX advi = callPackage ../tools/typesetting/tex/advi { ocamlPackages = ocaml-ng.ocamlPackages_4_14; }; dblatexFull = dblatex.override { enableAllFeatures = true; }; latex2mathml = with python3Packages; toPythonApplication latex2mathml; pgf = pgf2; tetex = callPackage ../tools/typesetting/tex/tetex { libpng = libpng12; }; texFunctions = callPackage ../tools/typesetting/tex/nix pkgs; # TeX Live; see https://nixos.org/nixpkgs/manual/#sec-language-texlive texlive = callPackage ../tools/typesetting/tex/texlive { }; inherit (texlive.schemes) texliveBasic texliveBookPub texliveConTeXt texliveFull texliveGUST texliveInfraOnly texliveMedium texliveMinimal texliveSmall texliveTeTeX; texlivePackages = recurseIntoAttrs (lib.mapAttrs (_: v: v.build) texlive.pkgs); fondu = callPackage ../tools/misc/fondu { inherit (darwin.apple_sdk.frameworks) CoreServices; }; futhark = haskell.lib.compose.justStaticExecutables haskellPackages.futhark; qt-video-wlr = libsForQt5.callPackage ../applications/misc/qt-video-wlr { }; fwup = callPackage ../tools/misc/fwup { inherit (darwin.apple_sdk.frameworks) DiskArbitration; }; g2o = libsForQt5.callPackage ../development/libraries/g2o { }; inherit (go-containerregistry) crane gcrane; geckodriver = callPackage ../development/tools/geckodriver { inherit (darwin.apple_sdk.frameworks) Security; }; geekbench_4 = callPackage ../tools/misc/geekbench/4.nix { }; geekbench_5 = callPackage ../tools/misc/geekbench/5.nix { }; geekbench_6 = callPackage ../tools/misc/geekbench/6.nix { }; geekbench = geekbench_6; ghidra = darwin.apple_sdk_11_0.callPackage ../tools/security/ghidra/build.nix { protobuf = protobuf_21; }; ghidra-extensions = recurseIntoAttrs (callPackage ../tools/security/ghidra/extensions.nix { }); ghidra-bin = callPackage ../tools/security/ghidra { }; glslviewer = callPackage ../development/tools/glslviewer { inherit (darwin.apple_sdk.frameworks) Cocoa; }; gpg-tui = callPackage ../tools/security/gpg-tui { inherit (darwin.apple_sdk.frameworks) AppKit Foundation; inherit (darwin) libobjc libresolv; }; gping = callPackage ../tools/networking/gping { inherit (darwin.apple_sdk.frameworks) Security; }; greg = callPackage ../applications/audio/greg { pythonPackages = python3Packages; }; grype = callPackage ../by-name/gr/grype/package.nix { buildGoModule = buildGo123Module; }; hiksink = callPackage ../tools/misc/hiksink { inherit (darwin.apple_sdk.frameworks) Security; }; hocr-tools = with python3Packages; toPythonApplication hocr-tools; homepage-dashboard = callPackage ../servers/homepage-dashboard { inherit (darwin.apple_sdk.frameworks) IOKit; }; hopper = qt5.callPackage ../development/tools/analysis/hopper { }; hypr = callPackage ../applications/window-managers/hyprwm/hypr { cairo = cairo.override { xcbSupport = true; }; }; hyprland = callPackage ../by-name/hy/hyprland/package.nix { stdenv = gcc14Stdenv; }; hyprpolkitagent = callPackage ../by-name/hy/hyprpolkitagent/package.nix { stdenv = gcc14Stdenv; }; hyprshade = python311Packages.callPackage ../applications/window-managers/hyprwm/hyprshade { }; hyprlandPlugins = recurseIntoAttrs (callPackage ../applications/window-managers/hyprwm/hyprland-plugins { }); intensity-normalization = with python3Packages; toPythonApplication intensity-normalization; jellyfin-media-player = libsForQt5.callPackage ../applications/video/jellyfin-media-player { inherit (darwin.apple_sdk.frameworks) CoreFoundation Cocoa CoreAudio MediaPlayer; }; jellyfin-mpv-shim = python3Packages.callPackage ../applications/video/jellyfin-mpv-shim { }; jellyseerr = callPackage ../servers/jellyseerr { }; juce = callPackage ../development/misc/juce { stdenv = if stdenv.hostPlatform.isDarwin then overrideSDK stdenv "11.0" else stdenv; }; jwt-cli = callPackage ../tools/security/jwt-cli { inherit (darwin.apple_sdk.frameworks) Security; }; kaldi = callPackage ../tools/audio/kaldi { inherit (darwin.apple_sdk.frameworks) Accelerate; }; klaus = with python3Packages; toPythonApplication klaus; klipper = callPackage ../servers/klipper { }; klipper-firmware = callPackage ../servers/klipper/klipper-firmware.nix { gcc-arm-embedded = gcc-arm-embedded-13; }; klipper-flash = callPackage ../servers/klipper/klipper-flash.nix { }; klipper-genconf = callPackage ../servers/klipper/klipper-genconf.nix { }; klipper-estimator = callPackage ../applications/misc/klipper-estimator { inherit (darwin.apple_sdk.frameworks) Security SystemConfiguration; }; klog = qt5.callPackage ../applications/radio/klog { }; krill = callPackage ../servers/krill { inherit (darwin.apple_sdk.frameworks) Security; }; lapce = callPackage ../applications/editors/lapce { inherit (darwin) libobjc; }; languagetool-rust = callPackage ../tools/text/languagetool-rust { inherit (darwin.apple_sdk.frameworks) Security; }; lexicon = with python3Packages; toPythonApplication dns-lexicon; lief = callPackage ../development/libraries/lief { python = python3; }; lite-xl = callPackage ../applications/editors/lite-xl { inherit (darwin.apple_sdk.frameworks) Foundation; }; # Less secure variant of lowdown for use inside Nix builds. lowdown-unsandboxed = lowdown.override { enableDarwinSandbox = false; }; kaggle = with python3Packages; toPythonApplication kaggle; maigret = callPackage ../tools/security/maigret { }; maliit-framework = libsForQt5.callPackage ../applications/misc/maliit-framework { }; maliit-keyboard = libsForQt5.callPackage ../applications/misc/maliit-keyboard { }; maple-mono = (callPackage ../data/fonts/maple-font { }).Mono; maple-mono-NF = (callPackage ../data/fonts/maple-font { }).NF; maple-mono-SC-NF = (callPackage ../data/fonts/maple-font { }).SC-NF; maple-mono-otf = (callPackage ../data/fonts/maple-font { }).opentype; maple-mono-woff2 = (callPackage ../data/fonts/maple-font { }).woff2; maple-mono-autohint = (callPackage ../data/fonts/maple-font { }).autohint; mat2 = with python3.pkgs; toPythonApplication mat2; materialx = with python3Packages; toPythonApplication materialx; megasync = libsForQt5.callPackage ../applications/misc/megasync { }; # while building documentation meson may want to run binaries for host # which needs an emulator # example of an error which this fixes # [Errno 8] Exec format error: './gdk3-scan' mesonEmulatorHook = makeSetupHook { name = "mesonEmulatorHook"; substitutions = { crossFile = writeText "cross-file.conf" '' [binaries] exe_wrapper = '${lib.escape [ "'" "\\" ] (stdenv.targetPlatform.emulator pkgs)}' ''; }; } # The throw is moved into the `makeSetupHook` derivation, so that its # outer level, but not its outPath can still be evaluated if the condition # doesn't hold. This ensures that splicing still can work correctly. (if (!stdenv.hostPlatform.canExecute stdenv.targetPlatform) then ../by-name/me/meson/emulator-hook.sh else throw "mesonEmulatorHook may only be added to nativeBuildInputs when the target binaries can't be executed; however you are attempting to use it in a situation where ${stdenv.hostPlatform.config} can execute ${stdenv.targetPlatform.config}. Consider only adding mesonEmulatorHook according to a conditional based canExecute in your package expression."); metabase = callPackage ../servers/metabase { jdk11 = jdk11_headless; }; micropad = callPackage ../applications/office/micropad { electron = electron_27; }; mkspiffs = callPackage ../tools/filesystems/mkspiffs { }; mkspiffs-presets = recurseIntoAttrs (callPackages ../tools/filesystems/mkspiffs/presets.nix { }); mobilizon = callPackage ../servers/mobilizon { elixir = elixir_1_15; beamPackages = beamPackages.extend (self: super: { elixir = elixir_1_15; }); mobilizon-frontend = callPackage ../servers/mobilizon/frontend.nix { }; }; monado = callPackage ../by-name/mo/monado/package.nix { inherit (gst_all_1) gstreamer gst-plugins-base; }; mpdcron = callPackage ../tools/audio/mpdcron { }; mpd-sima = python3Packages.callPackage ../tools/audio/mpd-sima { }; nix-output-monitor = callPackage ../tools/nix/nix-output-monitor { }; nix-template = callPackage ../tools/package-management/nix-template { inherit (darwin.apple_sdk.frameworks) Security; }; nltk-data = callPackage ../tools/text/nltk-data { }; seabios-coreboot = seabios.override { ___build-type = "coreboot"; }; seabios-csm = seabios.override { ___build-type = "csm"; }; seabios-qemu = seabios.override { ___build-type = "qemu"; }; seaborn-data = callPackage ../tools/misc/seaborn-data { }; nodepy-runtime = with python3.pkgs; toPythonApplication nodepy-runtime; nixpkgs-pytools = with python3.pkgs; toPythonApplication nixpkgs-pytools; noti = callPackage ../tools/misc/noti { inherit (darwin.apple_sdk.frameworks) Cocoa; }; nsz = with python3.pkgs; toPythonApplication nsz; ocrmypdf = with python3.pkgs; toPythonApplication ocrmypdf; online-judge-template-generator = python3Packages.callPackage ../tools/misc/online-judge-template-generator { }; online-judge-tools = with python3.pkgs; toPythonApplication online-judge-tools; onnxruntime = callPackage ../development/libraries/onnxruntime { inherit (darwin.apple_sdk.frameworks) Foundation; }; ockam = callPackage ../tools/networking/ockam { inherit (darwin.apple_sdk.frameworks) AppKit Security; }; odafileconverter = libsForQt5.callPackage ../applications/graphics/odafileconverter { }; pastel = callPackage ../applications/misc/pastel { inherit (darwin.apple_sdk.frameworks) Security; }; inherit (ocamlPackages) patdiff; patool = with python3Packages; toPythonApplication patool; pocket-casts = callPackage ../applications/audio/pocket-casts { electron = electron_31; }; pueue = darwin.apple_sdk_11_0.callPackage ../applications/misc/pueue { inherit (darwin.apple_sdk_11_0) Libsystem; inherit (darwin.apple_sdk_11_0.frameworks) SystemConfiguration; }; pixcat = with python3Packages; toPythonApplication pixcat; pyznap = python3Packages.callPackage ../tools/backup/pyznap { }; procs = darwin.apple_sdk_11_0.callPackage ../tools/admin/procs { inherit (darwin.apple_sdk_11_0.frameworks) Security; inherit (darwin.apple_sdk_11_0) Libsystem; }; psrecord = python3Packages.callPackage ../tools/misc/psrecord { }; rare = python3Packages.callPackage ../games/rare { }; rblake2sum = callPackage ../tools/security/rblake2sum { inherit (darwin.apple_sdk.frameworks) Security; }; rblake3sum = callPackage ../tools/security/rblake3sum { inherit (darwin.apple_sdk.frameworks) Security; }; rmview = libsForQt5.callPackage ../applications/misc/remarkable/rmview { }; remarkable-mouse = python3Packages.callPackage ../applications/misc/remarkable/remarkable-mouse { }; ropgadget = with python3Packages; toPythonApplication ropgadget; scour = with python3Packages; toPythonApplication scour; sheldon = callPackage ../tools/misc/sheldon { inherit (darwin.apple_sdk.frameworks) Security; }; sheesy-cli = callPackage ../tools/security/sheesy-cli { inherit (darwin.apple_sdk.frameworks) Security; }; steampipePackages = recurseIntoAttrs ( callPackage ../tools/misc/steampipe-packages { } ); swappy = callPackage ../applications/misc/swappy { gtk = gtk3; }; synth = callPackage ../tools/misc/synth { inherit (darwin.apple_sdk.frameworks) AppKit Security; }; inherit (callPackages ../servers/rainloop { }) rainloop-community rainloop-standard; razergenie = libsForQt5.callPackage ../applications/misc/razergenie { }; ripasso-cursive = callPackage ../tools/security/ripasso/cursive.nix { inherit (darwin.apple_sdk.frameworks) AppKit Security; }; roundcube = callPackage ../servers/roundcube { }; roundcubePlugins = dontRecurseIntoAttrs (callPackage ../servers/roundcube/plugins { }); rsyslog = callPackage ../tools/system/rsyslog { withHadoop = false; # Currently Broken withKsi = false; # Currently Broken }; rsyslog-light = rsyslog.override { withKrb5 = false; withSystemd = false; withJemalloc = false; withMysql = false; withPostgres = false; withDbi = false; withNetSnmp = false; withUuid = false; withCurl = false; withGnutls = false; withGcrypt = false; withLognorm = false; withMaxminddb = false; withOpenssl = false; withRelp = false; withKsi = false; withLogging = false; withNet = false; withHadoop = false; withRdkafka = false; withMongo = false; withCzmq = false; withRabbitmq = false; withHiredis = false; }; rtrtr = callPackage ../servers/rtrtr { inherit (darwin.apple_sdk.frameworks) Security; }; xmlsort = perlPackages.XMLFilterSort; mcelog = callPackage ../os-specific/linux/mcelog { util-linux = util-linuxMinimal; }; sqlint = callPackage ../development/tools/sqlint { }; apc-temp-fetch = with python3.pkgs; callPackage ../tools/networking/apc-temp-fetch { }; asciidoc = callPackage ../tools/typesetting/asciidoc { inherit (python3.pkgs) pygments matplotlib numpy aafigure recursive-pth-loader; w3m = w3m-batch; enableStandardFeatures = false; }; asciidoc-full = asciidoc.override { enableStandardFeatures = true; }; asciidoc-full-with-plugins = asciidoc.override { enableStandardFeatures = true; enableExtraPlugins = true; }; asciidoctor = callPackage ../tools/typesetting/asciidoctor { }; asciidoctor-with-extensions = callPackage ../tools/typesetting/asciidoctor-with-extensions { }; b2sum = callPackage ../tools/security/b2sum { inherit (llvmPackages) openmp; }; bacula = callPackage ../tools/backup/bacula { inherit (darwin.apple_sdk.frameworks) CoreFoundation IOKit Kerberos; }; beamerpresenter = beamerpresenter-mupdf; beamerpresenter-mupdf = qt6Packages.callPackage ../applications/office/beamerpresenter { useMupdf = true; usePoppler = false; }; beamerpresenter-poppler = qt6Packages.callPackage ../applications/office/beamerpresenter { useMupdf = false; usePoppler = true; }; beetsPackages = lib.recurseIntoAttrs (callPackage ../tools/audio/beets { }); inherit (beetsPackages) beets beets-unstable; biber-for-tectonic = callPackage ../tools/typesetting/tectonic/biber.nix { }; binlore = callPackage ../development/tools/analysis/binlore { }; birdfont = callPackage ../tools/misc/birdfont { }; xmlbird = callPackage ../tools/misc/birdfont/xmlbird.nix { stdenv = gccStdenv; }; bmrsa = callPackage ../tools/security/bmrsa/11.nix { }; bupstash = darwin.apple_sdk_11_0.callPackage ../tools/backup/bupstash { }; anystyle-cli = callPackage ../tools/misc/anystyle-cli { }; bzip2 = callPackage ../tools/compression/bzip2 { }; bzip2_1_1 = callPackage ../tools/compression/bzip2/1_1.nix { }; bzip3 = callPackage ../tools/compression/bzip3 { stdenv = clangStdenv; }; davix = callPackage ../tools/networking/davix { inherit (darwin.apple_sdk.frameworks) Security; }; davix-copy = davix.override { enableThirdPartyCopy = true; }; cdist = python3Packages.callPackage ../tools/admin/cdist { }; cdrdao = callPackage ../tools/cd-dvd/cdrdao { inherit (darwin.apple_sdk.frameworks) CoreServices IOKit; }; cdrtools = callPackage ../tools/cd-dvd/cdrtools { stdenv = if stdenv.hostPlatform.isDarwin then llvmPackages_14.stdenv else stdenv; inherit (darwin.apple_sdk.frameworks) Carbon IOKit; }; cemu-ti = qt5.callPackage ../applications/science/math/cemu-ti { }; libceph = ceph.lib; inherit (callPackages ../tools/filesystems/ceph { lua = lua5_4; # Ceph currently requires >= 5.3 # To see which `fmt` version Ceph upstream recommends, check its `src/fmt` submodule. # # Ceph does not currently build with `fmt_10`; see https://github.com/NixOS/nixpkgs/issues/281027#issuecomment-1899128557 # If we want to switch for that before upstream fixes it, use this patch: # https://github.com/NixOS/nixpkgs/pull/281858#issuecomment-1899648638 fmt = fmt_9; }) ceph ceph-client; ceph-dev = ceph; clementine = libsForQt5.callPackage ../applications/audio/clementine { gst_plugins = with gst_all_1; [ gst-plugins-base gst-plugins-good gst-plugins-ugly gst-libav ]; protobuf = protobuf_21; }; mellowplayer = libsForQt5.callPackage ../applications/audio/mellowplayer { }; circus = with python310Packages; toPythonApplication circus; inherit (callPackage ../applications/networking/remote/citrix-workspace { }) citrix_workspace_23_09_0 citrix_workspace_23_11_0 citrix_workspace_24_02_0 citrix_workspace_24_05_0 ; citrix_workspace = citrix_workspace_24_05_0; cmst = libsForQt5.callPackage ../tools/networking/cmst { }; colord-gtk4 = colord-gtk.override { withGtk4 = true; }; connmanFull = connman.override { # TODO: Why is this in `connmanFull` and not the default build? See TODO in # nixos/modules/services/networking/connman.nix (near the assertions) enableNetworkManagerCompatibility = true; enableHh2serialGps = true; enableL2tp = true; enableIospm = true; enableTist = true; }; connmanMinimal = connman.override { # enableDatafiles = false; # If disabled, configuration and data files are not installed # enableEthernet = false; # If disabled no ethernet connection can be performed # enableWifi = false; # If disabled no WiFi connection can be performed enableBluetooth = false; enableClient = false; enableDundee = false; enableGadget = false; enableLoopback = false; enableNeard = false; enableOfono = false; enableOpenconnect = false; enableOpenvpn = false; enablePacrunner = false; enablePolkit = false; enablePptp = false; enableStats = false; enableTools = false; enableVpnc = false; enableWireguard = false; enableWispr = false; }; collectd = callPackage ../tools/system/collectd { inherit (darwin.apple_sdk.frameworks) IOKit; }; collectd-data = callPackage ../tools/system/collectd/data.nix { }; unify = with python3Packages; toPythonApplication unify; inherit (nodePackages) uppy-companion; usb-modeswitch = callPackage ../development/tools/misc/usb-modeswitch { }; usb-modeswitch-data = callPackage ../development/tools/misc/usb-modeswitch/data.nix { }; persistent-evdev = python3Packages.callPackage ../servers/persistent-evdev { }; twitch-tui = callPackage ../applications/networking/instant-messengers/twitch-tui { inherit (darwin.apple_sdk_11_0.frameworks) Security CoreServices SystemConfiguration; }; inherit (import ../development/libraries/libsbsms pkgs) libsbsms libsbsms_2_0_2 libsbsms_2_3_0 ; m17n_lib = callPackage ../tools/inputmethods/m17n-lib { }; libotf = callPackage ../tools/inputmethods/m17n-lib/otf.nix { }; netbird = callPackage ../tools/networking/netbird { inherit (darwin.apple_sdk_11_0.frameworks) Cocoa IOKit Kernel UserNotifications WebKit; buildGoModule = buildGo123Module; }; netbird-ui = netbird.override { ui = true; }; skkDictionaries = callPackages ../tools/inputmethods/skk/skk-dicts { }; ibus = callPackage ../tools/inputmethods/ibus { }; ibus-engines = recurseIntoAttrs { anthy = callPackage ../tools/inputmethods/ibus-engines/ibus-anthy { }; bamboo = callPackage ../tools/inputmethods/ibus-engines/ibus-bamboo { }; cangjie = callPackage ../tools/inputmethods/ibus-engines/ibus-cangjie { }; hangul = callPackage ../tools/inputmethods/ibus-engines/ibus-hangul { }; kkc = callPackage ../tools/inputmethods/ibus-engines/ibus-kkc { }; libpinyin = callPackage ../tools/inputmethods/ibus-engines/ibus-libpinyin { }; libthai = callPackage ../tools/inputmethods/ibus-engines/ibus-libthai { }; m17n = callPackage ../tools/inputmethods/ibus-engines/ibus-m17n { }; inherit mozc mozc-ut; openbangla-keyboard = libsForQt5.callPackage ../applications/misc/openbangla-keyboard { withIbusSupport = true; }; pinyin = callPackage ../tools/inputmethods/ibus-engines/ibus-pinyin { }; rime = callPackage ../tools/inputmethods/ibus-engines/ibus-rime { }; table = callPackage ../tools/inputmethods/ibus-engines/ibus-table { }; table-chinese = callPackage ../tools/inputmethods/ibus-engines/ibus-table-chinese { ibus-table = ibus-engines.table; }; table-others = callPackage ../tools/inputmethods/ibus-engines/ibus-table-others { ibus-table = ibus-engines.table; }; uniemoji = callPackage ../tools/inputmethods/ibus-engines/ibus-uniemoji { }; typing-booster-unwrapped = callPackage ../tools/inputmethods/ibus-engines/ibus-typing-booster { }; typing-booster = callPackage ../tools/inputmethods/ibus-engines/ibus-typing-booster/wrapper.nix { typing-booster = ibus-engines.typing-booster-unwrapped; }; }; ibus-with-plugins = callPackage ../tools/inputmethods/ibus/wrapper.nix { }; interception-tools = callPackage ../tools/inputmethods/interception-tools { }; interception-tools-plugins = recurseIntoAttrs { caps2esc = callPackage ../tools/inputmethods/interception-tools/caps2esc.nix { }; dual-function-keys = callPackage ../tools/inputmethods/interception-tools/dual-function-keys.nix { }; }; age-plugin-ledger = callPackage ../tools/security/age-plugin-ledger { inherit (darwin.apple_sdk.frameworks) AppKit; }; blacken-docs = with python3Packages; toPythonApplication blacken-docs; bore = callPackage ../tools/networking/bore { inherit (darwin) Libsystem; inherit (darwin.apple_sdk.frameworks) SystemConfiguration; }; bluetooth_battery = python3Packages.callPackage ../applications/misc/bluetooth_battery { }; calyx-vpn = libsForQt5.callPackage ../tools/networking/bitmask-vpn { provider = "calyx"; inherit (darwin.apple_sdk.frameworks) CoreFoundation Security; }; cask-server = libsForQt5.callPackage ../applications/misc/cask-server { }; code-browser-qt = libsForQt5.callPackage ../applications/editors/code-browser { withQt = true; }; code-browser-gtk2 = callPackage ../applications/editors/code-browser { withGtk2 = true; }; code-browser-gtk = callPackage ../applications/editors/code-browser { withGtk3 = true; }; cffconvert = python3Packages.toPythonApplication python3Packages.cffconvert; chafa = callPackage ../tools/misc/chafa { inherit (darwin.apple_sdk.frameworks) Foundation; }; ckb-next = libsForQt5.callPackage ../tools/misc/ckb-next { }; clamav = callPackage ../tools/security/clamav { stdenv = if stdenv.hostPlatform.isDarwin then overrideSDK stdenv "11.0" else stdenv; inherit (darwin.apple_sdk_11_0.frameworks) Foundation; }; cmdpack = callPackages ../tools/misc/cmdpack { }; cobalt = callPackage ../applications/misc/cobalt { inherit (darwin.apple_sdk.frameworks) CoreServices; }; cobang = python311Packages.callPackage ../applications/misc/cobang { gst-plugins-good = gst_all_1.gst-plugins-good.override { gtkSupport = true; }; }; cocoapods = callPackage ../development/tools/cocoapods { }; cocoapods-beta = lowPrio (callPackage ../development/tools/cocoapods { beta = true; }); cocom = callPackage ../tools/networking/cocom { inherit (darwin.apple_sdk.frameworks) Security; }; compass = callPackage ../development/tools/compass { }; cone = callPackage ../development/compilers/cone { llvmPackages = llvmPackages_13; }; coreutils = callPackage ../tools/misc/coreutils { }; # The coreutils above are built with dependencies from # bootstrapping. We cannot override it here, because that pulls in # openssl from the previous stage as well. coreutils-full = callPackage ../tools/misc/coreutils { minimal = false; }; coreutils-prefixed = coreutils.override { withPrefix = true; singleBinary = false; }; create-cycle-app = nodePackages.create-cycle-app; cron = isc-cron; cudaPackages_10_0 = callPackage ./cuda-packages.nix { cudaVersion = "10.0"; }; cudaPackages_10_1 = callPackage ./cuda-packages.nix { cudaVersion = "10.1"; }; cudaPackages_10_2 = callPackage ./cuda-packages.nix { cudaVersion = "10.2"; }; cudaPackages_10 = recurseIntoAttrs cudaPackages_10_2; cudaPackages_11_0 = callPackage ./cuda-packages.nix { cudaVersion = "11.0"; }; cudaPackages_11_1 = callPackage ./cuda-packages.nix { cudaVersion = "11.1"; }; cudaPackages_11_2 = callPackage ./cuda-packages.nix { cudaVersion = "11.2"; }; cudaPackages_11_3 = callPackage ./cuda-packages.nix { cudaVersion = "11.3"; }; cudaPackages_11_4 = callPackage ./cuda-packages.nix { cudaVersion = "11.4"; }; cudaPackages_11_5 = callPackage ./cuda-packages.nix { cudaVersion = "11.5"; }; cudaPackages_11_6 = callPackage ./cuda-packages.nix { cudaVersion = "11.6"; }; cudaPackages_11_7 = callPackage ./cuda-packages.nix { cudaVersion = "11.7"; }; cudaPackages_11_8 = callPackage ./cuda-packages.nix { cudaVersion = "11.8"; }; cudaPackages_11 = recurseIntoAttrs cudaPackages_11_8; cudaPackages_12_0 = callPackage ./cuda-packages.nix { cudaVersion = "12.0"; }; cudaPackages_12_1 = callPackage ./cuda-packages.nix { cudaVersion = "12.1"; }; cudaPackages_12_2 = callPackage ./cuda-packages.nix { cudaVersion = "12.2"; }; cudaPackages_12_3 = callPackage ./cuda-packages.nix { cudaVersion = "12.3"; }; cudaPackages_12_4 = callPackage ./cuda-packages.nix { cudaVersion = "12.4"; }; cudaPackages_12 = cudaPackages_12_4; # Latest supported by cudnn cudaPackages = recurseIntoAttrs cudaPackages_12; # TODO: move to alias cudatoolkit = cudaPackages.cudatoolkit; cudatoolkit_11 = cudaPackages_11.cudatoolkit; curlFull = curl.override { ldapSupport = true; gsaslSupport = true; rtmpSupport = true; pslSupport = true; websocketSupport = true; }; curlHTTP3 = curl.override { openssl = quictls; http3Support = true; }; curl = curlMinimal.override ({ idnSupport = true; pslSupport = true; zstdSupport = true; } // lib.optionalAttrs (!stdenv.hostPlatform.isStatic) { brotliSupport = true; }); curlWithGnuTls = curl.override { gnutlsSupport = true; opensslSupport = false; }; curl-impersonate = darwin.apple_sdk_11_0.callPackage ../tools/networking/curl-impersonate { }; curl-impersonate-ff = curl-impersonate.curl-impersonate-ff; curl-impersonate-chrome = curl-impersonate.curl-impersonate-chrome; cve-bin-tool = python3Packages.callPackage ../tools/security/cve-bin-tool { }; danger-gitlab = callPackage ../applications/version-management/danger-gitlab { }; dar = callPackage ../tools/backup/dar { inherit (darwin.apple_sdk.frameworks) CoreFoundation; }; dconf2nix = callPackage ../development/tools/haskell/dconf2nix { }; devilspie2 = callPackage ../applications/misc/devilspie2 { gtk = gtk3; }; ddcui = libsForQt5.callPackage ../applications/misc/ddcui { }; inherit (callPackages ../applications/networking/p2p/deluge { }) deluge-gtk deluged deluge; deluge-2_x = deluge; dnsviz = python3Packages.callPackage ../tools/networking/dnsviz { }; diffoscope = callPackage ../tools/misc/diffoscope { jdk = jdk8; }; diffoscopeMinimal = diffoscope.override { enableBloat = false; }; diffr = callPackage ../tools/text/diffr { inherit (darwin.apple_sdk.frameworks) Security; }; diffutils = callPackage ../tools/text/diffutils { }; dmd = callPackage ../by-name/dm/dmd/package.nix ({ inherit (darwin.apple_sdk.frameworks) Foundation; } // lib.optionalAttrs stdenv.hostPlatform.isLinux { # https://github.com/NixOS/nixpkgs/pull/206907#issuecomment-1527034123 stdenv = gcc11Stdenv; }); dogdns = callPackage ../tools/networking/dogdns { inherit (darwin.apple_sdk.frameworks) Security; }; dotnetfx35 = callPackage ../development/libraries/dotnetfx35 { }; dotnetfx40 = callPackage ../development/libraries/dotnetfx40 { }; sl1-to-photon = python3Packages.callPackage ../applications/misc/sl1-to-photon { }; drill = callPackage ../tools/networking/drill { inherit (darwin.apple_sdk.frameworks) Security; }; drone = callPackage ../development/tools/continuous-integration/drone { }; drone-oss = callPackage ../development/tools/continuous-integration/drone { enableUnfree = false; }; dsview = libsForQt5.callPackage ../applications/science/electronics/dsview { }; inherit (import ../build-support/dlang/dub-support.nix { inherit callPackage; }) buildDubPackage dub-to-nix; duff = callPackage ../tools/filesystems/duff { autoreconfHook = buildPackages.autoreconfHook269; }; dump_syms = callPackage ../development/tools/dump_syms { inherit (darwin.apple_sdk.frameworks) Security SystemConfiguration; }; dvtm = callPackage ../tools/misc/dvtm { # if you prefer a custom config, write the config.h in dvtm.config.h # and enable # customConfig = builtins.readFile ./dvtm.config.h; }; dvtm-unstable = callPackage ../tools/misc/dvtm/unstable.nix { }; ecryptfs = callPackage ../tools/security/ecryptfs { }; ecryptfs-helper = callPackage ../tools/security/ecryptfs/helper.nix { }; eid-mw = callPackage ../tools/security/eid-mw { autoreconfHook = buildPackages.autoreconfHook269; }; engauge-digitizer = libsForQt5.callPackage ../applications/science/math/engauge-digitizer { }; kramdown-asciidoc = callPackage ../tools/typesetting/kramdown-asciidoc { }; lychee = callPackage ../tools/networking/lychee { inherit (darwin.apple_sdk.frameworks) Security SystemConfiguration; }; mozwire = callPackage ../tools/networking/mozwire { inherit (darwin.apple_sdk.frameworks) CoreServices Security; }; pax = callPackage ../tools/archivers/pax { inherit (pkgs.darwin.apple_sdk.libs) utmp; }; rocmPackages = rocmPackages_6; rocmPackages_5 = recurseIntoAttrs (callPackage ../development/rocm-modules/5 { }); rocmPackages_6 = recurseIntoAttrs (callPackage ../development/rocm-modules/6 { }); solo2-cli = callPackage ../tools/security/solo2-cli { inherit (darwin.apple_sdk.frameworks) PCSC IOKit CoreFoundation AppKit; }; sonobuoy = callPackage ../applications/networking/cluster/sonobuoy { }; strawberry-qt5 = libsForQt5.callPackage ../applications/audio/strawberry { }; strawberry-qt6 = qt6Packages.callPackage ../applications/audio/strawberry { }; strawberry = strawberry-qt5; schleuder = callPackage ../tools/security/schleuder { }; schleuder-cli = callPackage ../tools/security/schleuder/cli { }; tealdeer = callPackage ../tools/misc/tealdeer { inherit (darwin.apple_sdk.frameworks) Security; }; teamocil = callPackage ../tools/misc/teamocil { }; tsm-client-withGui = callPackage ../by-name/ts/tsm-client/package.nix { enableGui = true; }; tracy-x11 = callPackage ../by-name/tr/tracy/package.nix { withWayland = false; }; uusi = haskell.lib.compose.justStaticExecutables haskellPackages.uusi; uutils-coreutils = callPackage ../tools/misc/uutils-coreutils { inherit (python3Packages) sphinx; inherit (darwin.apple_sdk.frameworks) Security; }; uutils-coreutils-noprefix = uutils-coreutils.override { prefix = null; }; vorta = qt6Packages.callPackage ../applications/backup/vorta { }; worker-build = callPackage ../development/tools/worker-build { inherit (darwin.apple_sdk.frameworks) Security; }; wrangler_1 = callPackage ../development/tools/wrangler_1 { inherit (darwin.apple_sdk.frameworks) CoreFoundation CoreServices Security; }; xkcdpass = with python3Packages; toPythonApplication xkcdpass; zee = callPackage ../applications/editors/zee { inherit (darwin.apple_sdk.frameworks) Security; }; zeek = darwin.apple_sdk_11_0.callPackage ../applications/networking/ids/zeek { }; zonemaster-cli = perlPackages.ZonemasterCLI; ### DEVELOPMENT / EMSCRIPTEN buildEmscriptenPackage = callPackage ../development/em-modules/generic { }; emscripten = callPackage ../development/compilers/emscripten { llvmPackages = llvmPackages_19; }; emscriptenPackages = recurseIntoAttrs (callPackage ./emscripten-packages.nix { }); emscriptenStdenv = stdenv // { mkDerivation = buildEmscriptenPackage; }; # The latest version used by elasticsearch, logstash, kibana and the the beats from elastic. # When updating make sure to update all plugins or they will break! elk7Version = "7.17.16"; elasticsearch7 = callPackage ../servers/search/elasticsearch/7.x.nix { util-linux = util-linuxMinimal; jre_headless = jdk11_headless; # TODO: remove override https://github.com/NixOS/nixpkgs/pull/89731 }; elasticsearch = elasticsearch7; elasticsearchPlugins = recurseIntoAttrs ( callPackage ../servers/search/elasticsearch/plugins.nix {} ); embree = callPackage ../development/libraries/embree { }; embree2 = callPackage ../development/libraries/embree/2.x.nix { }; emborg = python3Packages.callPackage ../development/python-modules/emborg { }; emulsion = callPackage ../applications/graphics/emulsion { inherit (darwin.apple_sdk.frameworks) AppKit CoreGraphics CoreServices Foundation OpenGL; }; encfs = callPackage ../tools/filesystems/encfs { tinyxml2 = tinyxml-2; }; envchain = callPackage ../tools/misc/envchain { inherit (darwin.apple_sdk.frameworks) Security; }; ethercalc = callPackage ../servers/web-apps/ethercalc { }; evtest-qt = libsForQt5.callPackage ../applications/misc/evtest-qt { }; executor = with python3Packages; toPythonApplication executor; exiftool = perlPackages.ImageExifTool; expect = tclPackages.expect; Fabric = with python3Packages; toPythonApplication fabric; chewing-editor = libsForQt5.callPackage ../applications/misc/chewing-editor { }; fcitx5 = callPackage ../tools/inputmethods/fcitx5 { }; fcitx5-bamboo = callPackage ../tools/inputmethods/fcitx5/fcitx5-bamboo.nix { }; fcitx5-skk = qt6Packages.callPackage ../tools/inputmethods/fcitx5/fcitx5-skk.nix { }; fcitx5-anthy = callPackage ../tools/inputmethods/fcitx5/fcitx5-anthy.nix { }; fcitx5-chewing = callPackage ../tools/inputmethods/fcitx5/fcitx5-chewing.nix { }; fcitx5-lua = callPackage ../tools/inputmethods/fcitx5/fcitx5-lua.nix { lua = lua5_3; }; fcitx5-m17n = callPackage ../tools/inputmethods/fcitx5/fcitx5-m17n.nix { }; fcitx5-openbangla-keyboard = libsForQt5.callPackage ../applications/misc/openbangla-keyboard { withFcitx5Support = true; }; fcitx5-gtk = callPackage ../tools/inputmethods/fcitx5/fcitx5-gtk.nix { }; fcitx5-hangul = callPackage ../tools/inputmethods/fcitx5/fcitx5-hangul.nix { }; fcitx5-rime = callPackage ../tools/inputmethods/fcitx5/fcitx5-rime.nix { }; fcitx5-table-extra = callPackage ../tools/inputmethods/fcitx5/fcitx5-table-extra.nix { }; fcitx5-table-other = callPackage ../tools/inputmethods/fcitx5/fcitx5-table-other.nix { }; featherpad = qt5.callPackage ../applications/editors/featherpad { }; feroxbuster = callPackage ../tools/security/feroxbuster { inherit (darwin.apple_sdk.frameworks) Security SystemConfiguration; }; ffsend = callPackage ../tools/misc/ffsend { inherit (darwin.apple_sdk.frameworks) Security AppKit; }; flannel = callPackage ../tools/networking/flannel { }; cni-plugin-flannel = callPackage ../tools/networking/flannel/plugin.nix { }; flatpak-builder = callPackage ../development/tools/flatpak-builder { binutils = binutils-unwrapped; }; fltrdr = callPackage ../tools/misc/fltrdr { icu = icu63; }; file = callPackage ../tools/misc/file { inherit (windows) libgnurx; }; findutils = callPackage ../tools/misc/findutils { }; bsd-fingerd = bsd-finger.override { buildProduct = "daemon"; }; iprange = callPackage ../applications/networking/firehol/iprange.nix { }; firehol = callPackage ../applications/networking/firehol { }; fluentd = callPackage ../tools/misc/fluentd { }; gemstash = callPackage ../development/tools/gemstash { }; hmetis = pkgsi686Linux.callPackage ../applications/science/math/hmetis { }; libbtbb = callPackage ../development/libraries/libbtbb { inherit (darwin.apple_sdk.frameworks) CoreServices; }; lpd8editor = libsForQt5.callPackage ../applications/audio/lpd8editor {}; lp_solve = callPackage ../applications/science/math/lp_solve { inherit (darwin) autoSignDarwinBinariesHook; }; fastlane = callPackage ../tools/admin/fastlane { }; fontforge = lowPrio (callPackage ../tools/misc/fontforge { inherit (darwin.apple_sdk.frameworks) Carbon Cocoa; python = python3; }); fontforge-gtk = fontforge.override { withSpiro = true; withGTK = true; gtk3 = gtk3-x11; inherit (darwin.apple_sdk.frameworks) Carbon Cocoa; }; fontforge-fonttools = callPackage ../tools/misc/fontforge/fontforge-fonttools.nix { }; fontmatrix = libsForQt5.callPackage ../applications/graphics/fontmatrix { }; fox = callPackage ../development/libraries/fox {}; fox_1_6 = callPackage ../development/libraries/fox/fox-1.6.nix { inherit (darwin.apple_sdk.frameworks) CoreServices; }; fpm = callPackage ../tools/package-management/fpm { }; ferdium = callPackage ../applications/networking/instant-messengers/ferdium { mkFranzDerivation = callPackage ../applications/networking/instant-messengers/franz/generic.nix { }; }; franz = callPackage ../applications/networking/instant-messengers/franz { mkFranzDerivation = callPackage ../applications/networking/instant-messengers/franz/generic.nix { }; }; freqtweak = callPackage ../applications/audio/freqtweak { wxGTK = wxGTK32; }; freshfetch = callPackage ../tools/misc/freshfetch { inherit (darwin.apple_sdk.frameworks) AppKit CoreFoundation DiskArbitration Foundation IOKit; }; frostwire-bin = callPackage ../applications/networking/p2p/frostwire/frostwire-bin.nix { }; fstl = qt5.callPackage ../applications/graphics/fstl { }; fdbPackages = dontRecurseIntoAttrs (callPackage ../servers/foundationdb { }); inherit (fdbPackages) foundationdb71 ; foundationdb = foundationdb71; fuse-ext2 = darwin.apple_sdk_11_0.callPackage ../tools/filesystems/fuse-ext2 { }; fwknop = callPackage ../tools/security/fwknop { texinfo = texinfo6_7; # Uses @setcontentsaftertitlepage, removed in 6.8. }; uniscribe = callPackage ../tools/text/uniscribe { }; gallery-dl = python3Packages.callPackage ../applications/misc/gallery-dl { }; gandi-cli = python3Packages.callPackage ../tools/networking/gandi-cli { }; gaphor = python3Packages.callPackage ../tools/misc/gaphor { }; inherit (callPackages ../tools/filesystems/garage { inherit (darwin.apple_sdk.frameworks) Security; }) garage garage_0_8 garage_0_9 garage_0_8_7 garage_0_9_4 garage_1_0_1 garage_1_x; gauge-unwrapped = callPackage ../development/tools/gauge { }; gauge = callPackage ../development/tools/gauge/wrapper.nix { }; gaugePlugins = recurseIntoAttrs (callPackage ../development/tools/gauge/plugins {}); gawd = python3Packages.toPythonApplication python3Packages.gawd; gawk = callPackage ../tools/text/gawk { inherit (darwin) locale; }; gawk-with-extensions = callPackage ../tools/text/gawk/gawk-with-extensions.nix { extensions = gawkextlib.full; }; gawkextlib = callPackage ../tools/text/gawk/gawkextlib.nix { }; gawkInteractive = gawk.override { interactive = true; }; gbdfed = callPackage ../tools/misc/gbdfed { gtk = gtk2-x11; }; gftp = callPackage ../applications/networking/ftp/gftp { gtk = gtk2; }; ggshield = callPackage ../tools/security/ggshield { python3 = python311; }; gibberish-detector = with python3Packages; toPythonApplication gibberish-detector; gifski = callPackage ../tools/graphics/gifski { ffmpeg = ffmpeg_6; }; gitlab = callPackage ../applications/version-management/gitlab { }; gitlab-ee = callPackage ../applications/version-management/gitlab { gitlabEnterprise = true; }; gitlab-triage = callPackage ../applications/version-management/gitlab-triage { }; gitlab-workhorse = callPackage ../applications/version-management/gitlab/gitlab-workhorse { }; gitqlient = libsForQt5.callPackage ../applications/version-management/gitqlient { }; glogg = libsForQt5.callPackage ../tools/text/glogg { }; gmrender-resurrect = callPackage ../tools/networking/gmrender-resurrect { inherit (gst_all_1) gstreamer gst-plugins-base gst-plugins-good gst-plugins-bad gst-plugins-ugly gst-libav; }; gnome-decoder = callPackage ../applications/graphics/gnome-decoder { inherit (gst_all_1) gstreamer gst-plugins-base; gst-plugins-bad = gst_all_1.gst-plugins-bad.override { enableZbar = true; }; }; gnome-panel-with-modules = callPackage ../by-name/gn/gnome-panel/wrapper.nix { }; dapl = callPackage ../development/interpreters/dzaima-apl { buildNativeImage = false; stdenv = stdenvNoCC; jdk = jre; }; dapl-native = callPackage ../development/interpreters/dzaima-apl { buildNativeImage = true; jdk = graalvm-ce; }; gnucap-full = gnucap.withPlugins(p: [ p.verilog ]); gnufdisk = callPackage ../tools/system/fdisk { guile = guile_1_8; }; gnugrep = callPackage ../tools/text/gnugrep { }; gnupatch = callPackage ../tools/text/gnupatch { }; gnupg1orig = callPackage ../tools/security/gnupg/1.nix { }; gnupg1compat = callPackage ../tools/security/gnupg/1compat.nix { }; gnupg1 = gnupg1compat; # use config.packageOverrides if you prefer original gnupg1 gnupg22 = callPackage ../tools/security/gnupg/22.nix { pinentry = if stdenv.hostPlatform.isDarwin then pinentry_mac else pinentry-gtk2; libgcrypt = libgcrypt_1_8; }; gnupg24 = callPackage ../tools/security/gnupg/24.nix { pinentry = if stdenv.hostPlatform.isDarwin then pinentry_mac else pinentry-gtk2; }; gnupg = gnupg24; gnuplot = libsForQt5.callPackage ../tools/graphics/gnuplot { inherit (darwin.apple_sdk.frameworks) Cocoa; }; gnuplot_qt = gnuplot.override { withQt = true; }; # must have AquaTerm installed separately gnuplot_aquaterm = gnuplot.override { aquaterm = true; }; gnused = callPackage ../tools/text/gnused { }; gnutar = callPackage ../tools/archivers/gnutar { }; godot3 = callPackage ../development/tools/godot/3 { }; godot3-export-templates = callPackage ../development/tools/godot/3/export-templates.nix { }; godot3-headless = callPackage ../development/tools/godot/3/headless.nix { }; godot3-debug-server = callPackage ../development/tools/godot/3/debug-server.nix { }; godot3-server = callPackage ../development/tools/godot/3/server.nix { }; godot3-mono = callPackage ../development/tools/godot/3/mono {}; godot3-mono-export-templates = callPackage ../development/tools/godot/3/mono/export-templates.nix { }; godot3-mono-headless = callPackage ../development/tools/godot/3/mono/headless.nix { }; godot3-mono-debug-server = callPackage ../development/tools/godot/3/mono/debug-server.nix { }; godot3-mono-server = callPackage ../development/tools/godot/3/mono/server.nix { }; goattracker = callPackage ../applications/audio/goattracker { }; goattracker-stereo = callPackage ../applications/audio/goattracker { isStereo = true; }; google-cloud-sdk = callPackage ../tools/admin/google-cloud-sdk { python = python3; }; google-cloud-sdk-gce = google-cloud-sdk.override { python = python3; with-gce = true; }; google-compute-engine = with python3.pkgs; toPythonApplication google-compute-engine; gdown = with python3Packages; toPythonApplication gdown; goverlay = callPackage ../tools/graphics/goverlay { inherit (qt5) wrapQtAppsHook; inherit (plasma5Packages) breeze-qt5; }; gpt4all-cuda = gpt4all.override { cudaSupport = true; }; gpt2tc = callPackage ../tools/text/gpt2tc { }; gptcommit = callPackage ../development/tools/gptcommit { inherit (darwin.apple_sdk.frameworks) Security SystemConfiguration; }; gpredict = callPackage ../applications/science/astronomy/gpredict { hamlib = hamlib_4; }; gprof2dot = with python3Packages; toPythonApplication gprof2dot; grails = callPackage ../development/web/grails { jdk = null; }; graylog-5_1 = callPackage ../tools/misc/graylog/5.1.nix { }; graylog-5_2 = callPackage ../tools/misc/graylog/5.2.nix { }; graylog-6_0 = callPackage ../tools/misc/graylog/6.0.nix { }; graylogPlugins = recurseIntoAttrs ( callPackage ../tools/misc/graylog/plugins.nix { } ); graphviz = callPackage ../tools/graphics/graphviz { inherit (darwin.apple_sdk.frameworks) ApplicationServices Foundation; }; graphviz-nox = callPackage ../tools/graphics/graphviz { inherit (darwin.apple_sdk.frameworks) ApplicationServices Foundation; withXorg = false; }; igrep = callPackage ../tools/text/igrep { inherit (darwin.apple_sdk.frameworks) Security; }; ripgrep-all = callPackage ../tools/text/ripgrep-all { inherit (darwin.apple_sdk.frameworks) Security; }; grub2 = callPackage ../tools/misc/grub/default.nix { }; grub2_efi = grub2.override { efiSupport = true; }; grub2_light = grub2.override { zfsSupport = false; }; grub2_xen = grub2.override { xenSupport = true; }; grub4dos = callPackage ../tools/misc/grub4dos { stdenv = stdenv_32bit; }; gruut = with python3.pkgs; toPythonApplication gruut; gruut-ipa = with python3.pkgs; toPythonApplication gruut-ipa; gx = callPackage ../tools/package-management/gx { }; gsmlib = callPackage ../development/libraries/gsmlib { autoreconfHook = buildPackages.autoreconfHook269; }; gssdp = callPackage ../development/libraries/gssdp { }; gssdp_1_6 = callPackage ../development/libraries/gssdp/1.6.nix { }; gssdp-tools = callPackage ../development/libraries/gssdp/tools.nix { }; gtkd = callPackage ../development/libraries/gtkd { dcompiler = ldc; }; gup = callPackage ../development/tools/build-managers/gup { }; gupnp = callPackage ../development/libraries/gupnp { }; gupnp_1_6 = callPackage ../development/libraries/gupnp/1.6.nix { }; gvm-tools = with python3.pkgs; toPythonApplication gvm-tools; gyroflow = qt6Packages.callPackage ../applications/video/gyroflow { }; gzip = callPackage ../tools/compression/gzip { }; pdisk = callPackage ../tools/system/pdisk { inherit (darwin.apple_sdk.frameworks) CoreFoundation IOKit; }; plplot = callPackage ../development/libraries/plplot { inherit (darwin.apple_sdk.frameworks) Cocoa; }; haguichi = callPackage ../tools/networking/haguichi { }; hashcat = callPackage ../tools/security/hashcat { inherit (darwin.apple_sdk.frameworks) Foundation IOKit Metal OpenCL; }; haskell-language-server = callPackage ../development/tools/haskell/haskell-language-server/withWrapper.nix { }; hassil = with python3Packages; toPythonApplication hassil; haste-client = callPackage ../tools/misc/haste-client { }; hal-hardware-analyzer = libsForQt5.callPackage ../applications/science/electronics/hal-hardware-analyzer { stdenv = if stdenv.hostPlatform.isDarwin then darwin.apple_sdk_11_0.stdenv else stdenv; }; halide = callPackage ../development/compilers/halide { llvmPackages = llvmPackages_18; }; hareThirdParty = recurseIntoAttrs (callPackage ./hare-third-party.nix { }); ham = pkgs.perlPackages.ham; hdf5 = callPackage ../tools/misc/hdf5 { fortranSupport = false; fortran = gfortran; }; hdf5_1_10 = callPackage ../tools/misc/hdf5/1.10.nix { }; hdf5-mpi = hdf5.override { mpiSupport = true; cppSupport = false; }; hdf5-cpp = hdf5.override { cppSupport = true; }; hdf5-fortran = hdf5.override { fortranSupport = true; }; hdf5-threadsafe = hdf5.override { threadsafe = true; }; heaptrack = libsForQt5.callPackage ../development/tools/profiling/heaptrack { }; heimdall = libsForQt5.callPackage ../tools/misc/heimdall { }; heimdall-gui = heimdall.override { enableGUI = true; }; headscale = callPackage ../servers/headscale { buildGoModule = buildGo123Module; }; hiera-eyaml = callPackage ../tools/system/hiera-eyaml { }; hobbits = libsForQt5.callPackage ../tools/graphics/hobbits { }; highlight = callPackage ../tools/text/highlight { lua = lua5; }; hockeypuck = callPackage ../servers/hockeypuck/server.nix { }; hockeypuck-web = callPackage ../servers/hockeypuck/web.nix { }; homesick = callPackage ../tools/misc/homesick { }; host = bind.host; hotdoc = python3Packages.callPackage ../development/tools/hotdoc { }; hotspot = libsForQt5.callPackage ../development/tools/analysis/hotspot { }; hpccm = with python3Packages; toPythonApplication hpccm; hqplayer-desktop = libsForQt5.callPackage ../applications/audio/hqplayer-desktop { }; html-proofer = callPackage ../tools/misc/html-proofer { }; htmlq = callPackage ../development/tools/htmlq { inherit (darwin.apple_sdk.frameworks) Security; }; http-prompt = callPackage ../tools/networking/http-prompt { }; httpie = with python3Packages; toPythonApplication httpie; hue-plus = libsForQt5.callPackage ../applications/misc/hue-plus { }; humanfriendly = with python3Packages; toPythonApplication humanfriendly; hw-probe = perlPackages.callPackage ../tools/system/hw-probe { }; hyphen = callPackage ../development/libraries/hyphen { }; hyphenDicts = recurseIntoAttrs (callPackages ../development/libraries/hyphen/dictionaries.nix {}); iannix = libsForQt5.callPackage ../applications/audio/iannix { }; iaito = libsForQt5.callPackage ../tools/security/iaito { }; jamulus = libsForQt5.callPackage ../applications/audio/jamulus { }; icemon = libsForQt5.callPackage ../applications/networking/icemon { }; icepeak = haskell.lib.compose.justStaticExecutables haskellPackages.icepeak; ifwifi = callPackage ../tools/networking/ifwifi { inherit (darwin.apple_sdk.frameworks) Security; }; inherit (callPackages ../tools/filesystems/irods rec { stdenv = llvmPackages_13.libcxxStdenv; libcxx = llvmPackages_13.libcxx; boost = boost178.override { inherit stdenv; }; fmt = fmt_8.override { inherit stdenv; }; nanodbc_llvm = nanodbc.override { inherit stdenv; }; avro-cpp_llvm = avro-cpp.override { inherit stdenv boost; }; spdlog_llvm = spdlog.override { inherit stdenv fmt; }; }) irods irods-icommands; ihaskell = callPackage ../development/tools/haskell/ihaskell/wrapper.nix { inherit (haskellPackages) ghcWithPackages; jupyter = python3.withPackages (ps: [ ps.jupyter ps.notebook ]); packages = config.ihaskell.packages or (_: []); }; iruby = callPackage ../applications/editors/jupyter-kernels/iruby { }; ilspycmd = callPackage ../development/tools/ilspycmd { inherit (darwin) autoSignDarwinBinariesHook; }; in-formant = qt6Packages.callPackage ../applications/audio/in-formant { }; incus-lts = callPackage ../by-name/in/incus/lts.nix { }; indexed-bzip2 = with python3Packages; toPythonApplication indexed-bzip2; infisical = callPackage ../development/tools/infisical { }; inform6 = darwin.apple_sdk_11_0.callPackage ../development/compilers/inform6 { }; innernet = callPackage ../tools/networking/innernet { inherit (darwin.apple_sdk.frameworks) Security; }; input-remapper = python3Packages.callPackage ../tools/inputmethods/input-remapper { }; internetarchive = with python3Packages; toPythonApplication internetarchive; iocextract = with python3Packages; toPythonApplication iocextract; iocsearcher = with python3Packages; toPythonApplication iocsearcher; iperf2 = callPackage ../tools/networking/iperf/2.nix { }; iperf3 = callPackage ../tools/networking/iperf/3.nix { }; iperf = iperf3; i-pi = with python3Packages; toPythonApplication i-pi; # ipscan is commonly known under the name angryipscanner angryipscanner = ipscan; isl = isl_0_20; isl_0_17 = callPackage ../development/libraries/isl/0.17.1.nix { }; isl_0_20 = callPackage ../development/libraries/isl/0.20.0.nix { }; isl_0_24 = callPackage ../development/libraries/isl/0.24.0.nix { }; isync = callPackage ../tools/networking/isync { inherit (darwin.apple_sdk.frameworks) Security; }; jackett = callPackage ../servers/jackett { }; jamesdsp = qt6Packages.callPackage ../applications/audio/jamesdsp { }; jamesdsp-pulse = qt6Packages.callPackage ../applications/audio/jamesdsp { usePipewire = false; usePulseaudio = true; }; jazzy = callPackage ../development/tools/jazzy { }; jc = with python3Packages; toPythonApplication jc; jekyll = callPackage ../applications/misc/jekyll { }; jello = with python3Packages; toPythonApplication jello; jing = res.jing-trang; jing-trang = callPackage ../tools/text/xml/jing-trang { jdk_headless = jdk8_headless; # TODO: remove override https://github.com/NixOS/nixpkgs/pull/89731 }; jl = haskellPackages.jl; jless = callPackage ../development/tools/jless { inherit (darwin.apple_sdk.frameworks) AppKit; }; juicefs = callPackage ../tools/filesystems/juicefs { buildGoModule = buildGo122Module; }; jogl = callPackage ../by-name/jo/jogl/package.nix { stdenv = if stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isx86_64 then overrideSDK stdenv "11.0" else stdenv; }; joplin = nodePackages.joplin; jpylyzer = with python3Packages; toPythonApplication jpylyzer; jsbeautifier = with python3Packages; toPythonApplication jsbeautifier; json-schema-for-humans = with python3Packages; toPythonApplication json-schema-for-humans; jsonwatch = callPackage ../tools/misc/jsonwatch { inherit (darwin.apple_sdk.frameworks) Security; }; jupyter = callPackage ../applications/editors/jupyter { }; jupyter-all = jupyter.override { definitions = { clojure = clojupyter.definition; octave = octave-kernel.definition; # wolfram = wolfram-for-jupyter-kernel.definition; # unfree }; }; jupyter-console = callPackage ../applications/editors/jupyter/console.nix { }; jupyter-kernel = callPackage ../applications/editors/jupyter/kernel.nix { }; wrapKakoune = kakoune: attrs: callPackage ../applications/editors/kakoune/wrapper.nix (attrs // { inherit kakoune; }); kakounePlugins = recurseIntoAttrs (callPackage ../applications/editors/kakoune/plugins { }); kakoune-unwrapped = callPackage ../applications/editors/kakoune { }; kakoune = wrapKakoune kakoune-unwrapped { plugins = [ ]; # override with the list of desired plugins }; kakouneUtils = callPackage ../applications/editors/kakoune/plugins/kakoune-utils.nix { }; kaffeine = libsForQt5.callPackage ../applications/video/kaffeine { }; kakoune-lsp = callPackage ../by-name/ka/kakoune-lsp/package.nix { inherit (darwin.apple_sdk.frameworks) CoreServices Security SystemConfiguration; }; kakoune-cr = callPackage ../tools/misc/kakoune-cr { crystal = crystal_1_2; }; kbs2 = callPackage ../tools/security/kbs2 { inherit (darwin.apple_sdk.frameworks) AppKit SystemConfiguration; }; kdash = callPackage ../development/tools/kdash { inherit (darwin.apple_sdk.frameworks) AppKit; }; kdiskmark = libsForQt5.callPackage ../tools/filesystems/kdiskmark { }; keepkey-agent = with python3Packages; toPythonApplication keepkey-agent; keybase = darwin.apple_sdk_11_0.callPackage ../tools/security/keybase { # Reasoning for the inherited apple_sdk.frameworks: # 1. specific compiler errors about: AVFoundation, AudioToolbox, MediaToolbox # 2. the rest are added from here: https://github.com/keybase/client/blob/68bb8c893c5214040d86ea36f2f86fbb7fac8d39/go/chat/attachments/preview_darwin.go#L7 # #cgo LDFLAGS: -framework AVFoundation -framework CoreFoundation -framework ImageIO -framework CoreMedia -framework Foundation -framework CoreGraphics -lobjc # with the exception of CoreFoundation, due to the warning in https://github.com/NixOS/nixpkgs/blob/master/pkgs/os-specific/darwin/apple-sdk/frameworks.nix#L25 inherit (darwin.apple_sdk_11_0.frameworks) AppKit AVFoundation AudioToolbox ImageIO CoreMedia Foundation CoreGraphics MediaToolbox; }; kbfs = callPackage ../tools/security/keybase/kbfs.nix { }; keybase-gui = callPackage ../tools/security/keybase/gui.nix { }; keyscope = callPackage ../tools/security/keyscope { inherit (darwin.apple_sdk.frameworks) DiskArbitration Foundation IOKit Security; }; keystore-explorer = callPackage ../applications/misc/keystore-explorer { jdk = jdk11; }; kio-fuse = libsForQt5.callPackage ../tools/filesystems/kio-fuse { }; kphotoalbum = libsForQt5.callPackage ../applications/graphics/kphotoalbum { }; krename = libsForQt5.callPackage ../applications/misc/krename { }; krunner-pass = libsForQt5.callPackage ../tools/security/krunner-pass { }; krunner-translator = libsForQt5.callPackage ../tools/misc/krunner-translator { }; krunvm = callPackage ../applications/virtualization/krunvm { inherit (darwin) sigtool; }; kronometer = libsForQt5.callPackage ../tools/misc/kronometer { }; kdiff3 = libsForQt5.callPackage ../tools/text/kdiff3 { }; kubo-migrator-all-fs-repo-migrations = callPackage ../applications/networking/kubo-migrator/all-migrations.nix { }; kubo-migrator-unwrapped = callPackage ../applications/networking/kubo-migrator/unwrapped.nix { }; kubo-migrator = callPackage ../applications/networking/kubo-migrator { }; kwalletcli = libsForQt5.callPackage ../tools/security/kwalletcli { }; peruse = libsForQt5.callPackage ../tools/misc/peruse { }; ksmoothdock = libsForQt5.callPackage ../applications/misc/ksmoothdock { }; kstars = libsForQt5.callPackage ../applications/science/astronomy/kstars { }; ligo = let ocaml_p = ocaml-ng.ocamlPackages_4_14.overrideScope (self: super: { zarith = super.zarith.override { version = "1.13"; }; }); in callPackage ../development/compilers/ligo { coq = coq_8_13.override { customOCamlPackages = ocaml_p; }; ocamlPackages = ocaml_p; }; leocad = libsForQt5.callPackage ../applications/graphics/leocad { }; libcoap = callPackage ../applications/networking/libcoap { autoconf = buildPackages.autoconf269; }; libcryptui = callPackage ../development/libraries/libcryptui { autoreconfHook = buildPackages.autoreconfHook269; gtk3 = if stdenv.hostPlatform.isDarwin then gtk3-x11 else gtk3; }; liquidsoap = callPackage ../tools/audio/liquidsoap/full.nix { ffmpeg = ffmpeg_6-full; ocamlPackages = ocaml-ng.ocamlPackages_4_14; }; lldpd = callPackage ../tools/networking/lldpd { inherit (darwin.apple_sdk.frameworks) Foundation; }; llm = with python3Packages; toPythonApplication llm; lnx = callPackage ../servers/search/lnx { inherit (darwin.apple_sdk.frameworks) DiskArbitration Foundation; }; loganalyzer = libsForQt5.callPackage ../development/tools/loganalyzer { }; logstash7 = callPackage ../tools/misc/logstash/7.x.nix { # https://www.elastic.co/support/matrix#logstash-and-jvm jre = jdk11_headless; }; logstash7-oss = callPackage ../tools/misc/logstash/7.x.nix { enableUnfree = false; # https://www.elastic.co/support/matrix#logstash-and-jvm jre = jdk11_headless; }; logstash = logstash7; logstash-contrib = callPackage ../tools/misc/logstash/contrib.nix { }; lolcat = callPackage ../tools/misc/lolcat { }; loudgain = callPackage ../tools/audio/loudgain/default.nix { }; lsyncd = callPackage ../applications/networking/sync/lsyncd { lua = lua5_2_compat; }; kdbg = libsForQt5.callPackage ../development/tools/misc/kdbg { }; kristall = libsForQt5.callPackage ../applications/networking/browsers/kristall { }; lagrange = callPackage ../applications/networking/browsers/lagrange { inherit (darwin.apple_sdk.frameworks) AppKit; }; lagrange-tui = lagrange.override { enableTUI = true; }; kzipmix = pkgsi686Linux.callPackage ../tools/compression/kzipmix { }; mailcatcher = callPackage ../development/web/mailcatcher { }; maskromtool = qt6Packages.callPackage ../tools/graphics/maskromtool { }; matrix-synapse = callPackage ../servers/matrix-synapse/wrapper.nix { }; matrix-synapse-unwrapped = callPackage ../servers/matrix-synapse/default.nix { }; matrix-synapse-plugins = recurseIntoAttrs matrix-synapse-unwrapped.plugins; matrix-synapse-tools = recurseIntoAttrs matrix-synapse-unwrapped.tools; matrix-appservice-slack = callPackage ../servers/matrix-synapse/matrix-appservice-slack { matrix-sdk-crypto-nodejs = matrix-sdk-crypto-nodejs-0_1_0-beta_3; nodejs = nodejs_18; }; matrix-appservice-discord = callPackage ../servers/matrix-appservice-discord { }; maubot = with python3Packages; toPythonApplication maubot; mautrix-signal = recurseIntoAttrs (callPackage ../servers/mautrix-signal { }); mautrix-telegram = recurseIntoAttrs (callPackage ../servers/mautrix-telegram { }); m2r = with python3Packages; toPythonApplication m2r; md2gemini = with python3.pkgs; toPythonApplication md2gemini; md2pdf = with python3Packages; toPythonApplication md2pdf; mdbook-epub = callPackage ../tools/text/mdbook-epub { inherit (darwin.apple_sdk.frameworks) CoreServices; }; mdbook-graphviz = callPackage ../tools/text/mdbook-graphviz { inherit (darwin.apple_sdk.frameworks) CoreServices; }; mdbook-katex = callPackage ../tools/text/mdbook-katex { inherit (darwin.apple_sdk.frameworks) CoreServices; }; mdbook-linkcheck = callPackage ../tools/text/mdbook-linkcheck { inherit (darwin.apple_sdk.frameworks) Security; }; mdbook-mermaid = callPackage ../tools/text/mdbook-mermaid { inherit (darwin.apple_sdk.frameworks) CoreServices; }; mdbook-pdf = callPackage ../tools/text/mdbook-pdf { inherit (darwin.apple_sdk.frameworks) CoreServices; }; mdbook-plantuml = callPackage ../tools/text/mdbook-plantuml { inherit (darwin.apple_sdk.frameworks) CoreServices; }; mdbook-toc = callPackage ../tools/text/mdbook-toc { inherit (darwin.apple_sdk.frameworks) CoreServices; }; mdbook-admonish = callPackage ../tools/text/mdbook-admonish { inherit (darwin.apple_sdk.frameworks) CoreServices; }; mdbook-footnote = callPackage ../tools/text/mdbook-footnote { inherit (darwin.apple_sdk.frameworks) CoreServices; }; mdcat = callPackage ../tools/text/mdcat { inherit (darwin.apple_sdk.frameworks) Security SystemConfiguration; inherit (python3Packages) ansi2html; }; medfile = callPackage ../development/libraries/medfile { hdf5 = hdf5.override { usev110Api = true; }; }; meilisearch = callPackage ../servers/search/meilisearch { inherit (darwin.apple_sdk_11_0.frameworks) Security SystemConfiguration; }; mhonarc = perlPackages.MHonArc; mujmap = callPackage ../applications/networking/mujmap { inherit (darwin.apple_sdk.frameworks) Security; }; mx-puppet-discord = callPackage ../servers/mx-puppet-discord { }; nagstamon = callPackage ../tools/misc/nagstamon { pythonPackages = python3Packages; }; nanoemoji = with python3Packages; toPythonApplication nanoemoji; nbtscanner = callPackage ../tools/security/nbtscanner { inherit (darwin.apple_sdk.frameworks) Security; }; netexec = python3Packages.callPackage ../tools/security/netexec { }; netdata = callPackage ../tools/system/netdata { protobuf = protobuf_21; }; netdataCloud = netdata.override { withCloud = true; withCloudUi = true; }; netsurf = recurseIntoAttrs (callPackage ../applications/networking/browsers/netsurf { }); netsurf-browser = netsurf.browser; nyxt = callPackage ../applications/networking/browsers/nyxt { sbcl = sbcl_2_4_6; inherit (gst_all_1) gstreamer gst-libav gst-plugins-base gst-plugins-good gst-plugins-bad gst-plugins-ugly; }; nixnote2 = libsForQt5.callPackage ../applications/misc/nixnote2 { }; nodejs = hiPrio nodejs_20; nodejs-slim = nodejs-slim_20; corepack = hiPrio corepack_20; nodejs_18 = callPackage ../development/web/nodejs/v18.nix { }; nodejs-slim_18 = callPackage ../development/web/nodejs/v18.nix { enableNpm = false; }; corepack_18 = hiPrio (callPackage ../development/web/nodejs/corepack.nix { nodejs = nodejs_18; }); nodejs_20 = callPackage ../development/web/nodejs/v20.nix { }; nodejs-slim_20 = callPackage ../development/web/nodejs/v20.nix { enableNpm = false; }; corepack_20 = hiPrio (callPackage ../development/web/nodejs/corepack.nix { nodejs = nodejs_20; }); nodejs_22 = callPackage ../development/web/nodejs/v22.nix { }; nodejs-slim_22 = callPackage ../development/web/nodejs/v22.nix { enableNpm = false; }; corepack_22 = hiPrio (callPackage ../development/web/nodejs/corepack.nix { nodejs = nodejs_22; }); nodejs_23 = callPackage ../development/web/nodejs/v23.nix { }; nodejs-slim_23 = callPackage ../development/web/nodejs/v23.nix { enableNpm = false; }; corepack_23 = hiPrio (callPackage ../development/web/nodejs/corepack.nix { nodejs = nodejs_23; }); # Update this when adding the newest nodejs major version! nodejs_latest = nodejs_23; nodejs-slim_latest = nodejs-slim_23; corepack_latest = hiPrio corepack_23; buildNpmPackage = callPackage ../build-support/node/build-npm-package { }; npmHooks = callPackage ../build-support/node/build-npm-package/hooks { }; inherit (callPackages ../build-support/node/fetch-npm-deps { }) fetchNpmDeps prefetch-npm-deps; importNpmLock = callPackages ../build-support/node/import-npm-lock { }; nodePackages_latest = dontRecurseIntoAttrs nodejs_latest.pkgs; nodePackages = dontRecurseIntoAttrs nodejs.pkgs; node2nix = nodePackages.node2nix; oxigraph = callPackage ../servers/oxigraph { inherit (darwin.apple_sdk.frameworks) IOKit Security; }; kcollectd = libsForQt5.callPackage ../tools/misc/kcollectd { }; ktailctl = kdePackages.callPackage ../applications/networking/ktailctl {}; ldapdomaindump = with python3Packages; toPythonApplication ldapdomaindump; leanblueprint = with python3Packages; toPythonApplication leanblueprint; lethe = callPackage ../tools/security/lethe { inherit (darwin.apple_sdk.frameworks) Security; }; libhandy = callPackage ../development/libraries/libhandy { }; # Needed for apps that still depend on the unstable verison of the library (not libhandy-1) libhandy_0 = callPackage ../development/libraries/libhandy/0.x.nix { }; libint = callPackage ../development/libraries/libint { }; libintPsi4 = callPackage ../development/libraries/libint { enableFortran = false; enableSSE = false; maxAm = 6; eriDeriv = 2; eri3Deriv = 2; eri2Deriv = 2; eriAm = [ 6 5 4 ]; eri3Am = [ 6 5 4 ]; eri2Am = [ 6 5 4 ]; eriOptAm = [ 3 2 2 ]; eri3OptAm = [ 3 2 2 ]; eri2OptAm = [ 3 2 2 ]; enableOneBody = true; oneBodyDerivOrd = 2; enableGeneric = false; enableContracted = false; cartGaussOrd = "standard"; shGaussOrd = "gaussian"; eri2PureSh = false; eri3PureSh = false; }; libirc = libsForQt5.callPackage ../development/libraries/libirc { }; libmongocrypt = darwin.apple_sdk_11_0.callPackage ../development/libraries/libmongocrypt { }; libportal-gtk3 = libportal.override { variant = "gtk3"; }; libportal-gtk4 = libportal.override { variant = "gtk4"; }; libportal-qt5 = libportal.override { variant = "qt5"; }; libportal-qt6 = libportal.override { variant = "qt6"; }; jesec-rtorrent = callPackage ../applications/networking/p2p/jesec-rtorrent { libtorrent = callPackage ../applications/networking/p2p/jesec-rtorrent/libtorrent.nix { }; }; librest = callPackage ../development/libraries/librest { }; librest_1_0 = callPackage ../development/libraries/librest/1.0.nix { }; licensee = callPackage ../tools/package-management/licensee { }; lidarr = callPackage ../servers/lidarr { }; inherit ({ limesuite = callPackage ../applications/radio/limesuite { inherit (darwin.apple_sdk.frameworks) GLUT; }; limesuiteWithGui = limesuite.override { withGui = true; }; }) limesuite limesuiteWithGui; linux-gpib = callPackage ../applications/science/electronics/linux-gpib/user.nix { }; liquidctl = with python3Packages; toPythonApplication liquidctl; localstack = with python3Packages; toPythonApplication localstack; xz = callPackage ../tools/compression/xz { }; lzwolf = callPackage ../games/lzwolf { SDL2_mixer = SDL2_mixer_2_0; }; madlang = haskell.lib.compose.justStaticExecutables haskellPackages.madlang; mailnag = callPackage ../applications/networking/mailreaders/mailnag { availablePlugins = { # More are listed here: https://github.com/pulb/mailnag/#desktop-integration # Use the attributes here as arguments to `plugins` list goa = callPackage ../applications/networking/mailreaders/mailnag/goa-plugin.nix { }; }; }; mailnagWithPlugins = mailnag.withPlugins( builtins.attrValues mailnag.availablePlugins ); mailpit = callPackage ../servers/mail/mailpit { libtool = if stdenv.hostPlatform.isDarwin then cctools else libtool; }; mailutils = callPackage ../tools/networking/mailutils { sasl = gsasl; }; matrix-sdk-crypto-nodejs = callPackage ../development/libraries/matrix-sdk-crypto-nodejs { }; matrix-sdk-crypto-nodejs-0_1_0-beta_3 = callPackage ../development/libraries/matrix-sdk-crypto-nodejs/beta3.nix { }; makemkv = libsForQt5.callPackage ../applications/video/makemkv { }; man = man-db; mangohud = callPackage ../tools/graphics/mangohud { libXNVCtrl = linuxPackages.nvidia_x11.settings.libXNVCtrl; mangohud32 = pkgsi686Linux.mangohud; inherit (python3Packages) mako; }; marimo = with python3Packages; toPythonApplication marimo; mecab = let mecab-nodic = callPackage ../tools/text/mecab/nodic.nix { }; in callPackage ../tools/text/mecab { mecab-ipadic = callPackage ../tools/text/mecab/ipadic.nix { inherit mecab-nodic; }; }; mbutil = python310Packages.callPackage ../applications/misc/mbutil { }; mcstatus = with python3Packages; toPythonApplication mcstatus; miniupnpd = callPackage ../tools/networking/miniupnpd { }; miniupnpd-nftables = callPackage ../tools/networking/miniupnpd { firewall = "nftables"; }; minijail = callPackage ../tools/system/minijail { }; minijail-tools = python3.pkgs.callPackage ../tools/system/minijail/tools.nix { }; mir-qualia = callPackage ../tools/text/mir-qualia { pythonPackages = python3Packages; }; mitmproxy = with python3Packages; toPythonApplication mitmproxy; mjpegtoolsFull = mjpegtools.override { withMinimal = false; }; mkpasswd = hiPrio (callPackage ../tools/security/mkpasswd { }); molecule = with python3Packages; toPythonApplication molecule; monolith = callPackage ../tools/backup/monolith { inherit (darwin.apple_sdk.frameworks) Security SystemConfiguration; }; moreutils = callPackage ../tools/misc/moreutils { docbook-xsl = docbook_xsl; }; morgen = callPackage ../applications/office/morgen { electron = electron_32; }; metasploit = callPackage ../tools/security/metasploit { }; mhost = callPackage ../applications/networking/mhost { inherit (darwin.apple_sdk.frameworks) Security SystemConfiguration; }; mtools = callPackage ../tools/filesystems/mtools { }; mtr = callPackage ../tools/networking/mtr { }; mtr-gui = callPackage ../tools/networking/mtr { withGtk = true; }; multipass = qt6Packages.callPackage ../tools/virtualization/multipass { }; multitran = recurseIntoAttrs (let callPackage = newScope pkgs.multitran; in { multitrandata = callPackage ../tools/text/multitran/data { }; libbtree = callPackage ../tools/text/multitran/libbtree { }; libmtsupport = callPackage ../tools/text/multitran/libmtsupport { }; libfacet = callPackage ../tools/text/multitran/libfacet { }; libmtquery = callPackage ../tools/text/multitran/libmtquery { }; mtutils = callPackage ../tools/text/multitran/mtutils { }; }); mytetra = libsForQt5.callPackage ../applications/office/mytetra { }; navilu-font = callPackage ../data/fonts/navilu { stdenv = stdenvNoCC; }; nerdfonts = callPackage ../data/fonts/nerdfonts { }; netcdf-mpi = netcdf.override { hdf5 = hdf5-mpi.override { usev110Api = true; }; }; netcdffortran = callPackage ../development/libraries/netcdf-fortran { inherit (darwin.apple_sdk.frameworks) CoreFoundation CoreServices SystemConfiguration; }; inherit (callPackage ../servers/web-apps/netbox { }) netbox_3_7; # Not in aliases because it wouldn't get picked up by callPackage netbox = netbox_4_1; netcat = libressl.nc.overrideAttrs (old: { meta = old.meta // { mainProgram = "nc"; }; }); netlify-cli = callPackage ../development/web/netlify-cli { }; netpbm = callPackage ../tools/graphics/netpbm { }; networkmanager = callPackage ../tools/networking/networkmanager { }; libnma = callPackage ../tools/networking/networkmanager/libnma { }; libnma-gtk4 = libnma.override { withGtk4 = true; }; nm-tray = libsForQt5.callPackage ../tools/networking/networkmanager/tray.nix { }; inherit (callPackages ../servers/nextcloud {}) nextcloud28 nextcloud29 nextcloud30; nextcloud28Packages = callPackage ../servers/nextcloud/packages { apps = lib.importJSON ../servers/nextcloud/packages/28.json; }; nextcloud29Packages = callPackage ../servers/nextcloud/packages { apps = lib.importJSON ../servers/nextcloud/packages/29.json; }; nextcloud30Packages = callPackage ../servers/nextcloud/packages { apps = lib.importJSON ../servers/nextcloud/packages/30.json; }; nextcloud-client = qt6Packages.callPackage ../applications/networking/nextcloud-client { }; nextcloud-news-updater = callPackage ../servers/nextcloud/news-updater.nix { }; nextcloud-notify_push = callPackage ../servers/nextcloud/notify_push.nix { }; inherit (callPackages ../applications/networking/cluster/nomad { }) nomad nomad_1_4 nomad_1_5 nomad_1_6 nomad_1_7 nomad_1_8 nomad_1_9 ; nth = with python3Packages; toPythonApplication name-that-hash; nvchecker = with python3Packages; toPythonApplication ( nvchecker.overridePythonAttrs (oldAttrs: { propagatedBuildInputs = oldAttrs.propagatedBuildInputs ++ lib.flatten (builtins.attrValues oldAttrs.optional-dependencies); }) ); nvfetcher = haskell.lib.compose.justStaticExecutables haskellPackages.nvfetcher; mkgmap = callPackage ../applications/misc/mkgmap { }; mkgmap-splitter = callPackage ../applications/misc/mkgmap/splitter { }; op-geth = callPackage ../applications/blockchains/optimism/geth.nix { inherit (darwin) libobjc; inherit (darwin.apple_sdk.frameworks) IOKit; }; optimism = callPackage ../applications/blockchains/optimism { }; pandoc-acro = python3Packages.callPackage ../tools/misc/pandoc-acro { }; pandoc-imagine = python3Packages.callPackage ../tools/misc/pandoc-imagine { }; pandoc-include = python3Packages.callPackage ../tools/misc/pandoc-include { }; pandoc-drawio-filter = python3Packages.callPackage ../tools/misc/pandoc-drawio-filter { }; pandoc-plantuml-filter = python3Packages.callPackage ../tools/misc/pandoc-plantuml-filter { }; # pandoc-*nos is a filter suite, where pandoc-xnos has all functionality and the others are used for only specific functionality pandoc-eqnos = python3Packages.callPackage ../tools/misc/pandoc-eqnos { }; pandoc-fignos = python3Packages.callPackage ../tools/misc/pandoc-fignos { }; pandoc-secnos = python3Packages.callPackage ../tools/misc/pandoc-secnos { }; pandoc-tablenos = python3Packages.callPackage ../tools/misc/pandoc-tablenos { }; pegasus-frontend = libsForQt5.callPackage ../games/pegasus-frontend {}; pgbadger = perlPackages.callPackage ../tools/misc/pgbadger { }; nifskope = libsForQt5.callPackage ../tools/graphics/nifskope { }; nlopt = callPackage ../development/libraries/nlopt { octave = null; }; notation = callPackage ../by-name/no/notation/package.nix { buildGoModule = buildGo123Module; }; nsjail = callPackage ../tools/security/nsjail { protobuf = protobuf_21; }; ntfs3g = callPackage ../tools/filesystems/ntfs-3g { inherit (darwin.apple_sdk.frameworks) DiskArbitration; }; # ntfsprogs are merged into ntfs-3g ntfsprogs = pkgs.ntfs3g; ntfy = callPackage ../tools/misc/ntfy { }; ntfy-sh = callPackage ../tools/misc/ntfy-sh { }; nvfancontrol = callPackage ../tools/misc/nvfancontrol { libXNVCtrl = linuxPackages.nvidia_x11.settings.libXNVCtrl; }; nwdiag = with python3Packages; toPythonApplication nwdiag; nxdomain = python3.pkgs.callPackage ../tools/networking/nxdomain { }; octofetch = callPackage ../tools/misc/octofetch { inherit (darwin.apple_sdk.frameworks) Security; }; onetun = callPackage ../tools/networking/onetun { inherit (darwin.apple_sdk.frameworks) Security; }; openobserve = darwin.apple_sdk_11_0.callPackage ../servers/monitoring/openobserve { apple_sdk = darwin.apple_sdk_11_0; }; ofono-phonesim = libsForQt5.callPackage ../development/tools/ofono-phonesim { }; ola = callPackage ../applications/misc/ola { protobuf = protobuf_21; }; olive-editor = qt6Packages.callPackage ../applications/video/olive-editor { inherit (darwin.apple_sdk.frameworks) CoreFoundation; }; ombi = callPackage ../servers/ombi { }; ome_zarr = with python3Packages; toPythonApplication ome-zarr; onefetch = callPackage ../tools/misc/onefetch { inherit (darwin) libresolv; inherit (darwin.apple_sdk.frameworks) CoreFoundation Security; }; onlykey = callPackage ../tools/security/onlykey { node_webkit = nwjs; }; openapi-generator-cli = callPackage ../tools/networking/openapi-generator-cli { jre = pkgs.jre_headless; }; openboard = libsForQt5.callPackage ../applications/graphics/openboard { }; opendht = callPackage ../development/libraries/opendht { inherit (darwin.apple_sdk.frameworks) Security; }; ophcrack-cli = ophcrack.override { enableGui = false; }; ophis = python3Packages.callPackage ../development/compilers/ophis { }; open-interpreter = with python3Packages; toPythonApplication open-interpreter; openhantek6022 = libsForQt5.callPackage ../applications/science/electronics/openhantek6022 { }; openmvg = callPackage ../applications/science/misc/openmvg { inherit (llvmPackages) openmp; }; openmvs = callPackage ../applications/science/misc/openmvs { inherit (llvmPackages) openmp; }; openntpd_nixos = openntpd.override { privsepUser = "ntp"; privsepPath = "/var/empty"; }; openrefine = callPackage ../applications/science/misc/openrefine { jdk = jdk17; }; openrgb = libsForQt5.callPackage ../applications/misc/openrgb { }; openrgb-with-all-plugins = openrgb.withPlugins [ openrgb-plugin-effects openrgb-plugin-hardwaresync ]; openrgb-plugin-effects = libsForQt5.callPackage ../applications/misc/openrgb-plugins/effects { }; openrgb-plugin-hardwaresync = libsForQt5.callPackage ../applications/misc/openrgb-plugins/hardwaresync { }; toastify = darwin.apple_sdk_11_0.callPackage ../tools/misc/toastify {}; opensshPackages = dontRecurseIntoAttrs (callPackage ../tools/networking/openssh {}); openssh = opensshPackages.openssh.override { etcDir = "/etc/ssh"; }; opensshTest = openssh.tests.openssh; opensshWithKerberos = openssh.override { withKerberos = true; }; openssh_hpn = opensshPackages.openssh_hpn.override { etcDir = "/etc/ssh"; }; openssh_hpnWithKerberos = openssh_hpn.override { withKerberos = true; }; openssh_gssapi = opensshPackages.openssh_gssapi.override { etcDir = "/etc/ssh"; withKerberos = true; }; ssh-copy-id = callPackage ../tools/networking/openssh/copyid.nix { }; sshd-openpgp-auth = callPackage ../by-name/ss/ssh-openpgp-auth/daemon.nix { }; opentrack = libsForQt5.callPackage ../applications/misc/opentrack { }; openvpn = callPackage ../tools/networking/openvpn {}; openvpn_learnaddress = callPackage ../tools/networking/openvpn/openvpn_learnaddress.nix { }; openvpn-auth-ldap = callPackage ../tools/networking/openvpn/openvpn-auth-ldap.nix { inherit (llvmPackages_17) stdenv; }; namespaced-openvpn = python3Packages.callPackage ../tools/networking/namespaced-openvpn { }; update-dotdee = with python3Packages; toPythonApplication update-dotdee; update-nix-fetchgit = haskell.lib.compose.justStaticExecutables haskellPackages.update-nix-fetchgit; update-resolv-conf = callPackage ../tools/networking/openvpn/update-resolv-conf.nix { }; update-systemd-resolved = callPackage ../tools/networking/openvpn/update-systemd-resolved.nix { }; opentelemetry-collector = callPackage ../tools/misc/opentelemetry-collector { }; opentelemetry-collector-contrib = callPackage ../tools/misc/opentelemetry-collector/contrib.nix { }; openvswitch-dpdk = callPackage ../by-name/op/openvswitch/package.nix { withDPDK = true; }; optifinePackages = callPackage ../tools/games/minecraft/optifine { }; optifine = optifinePackages.optifine-latest; opl3bankeditor = libsForQt5.callPackage ../tools/audio/opl3bankeditor { }; opn2bankeditor = libsForQt5.callPackage ../tools/audio/opl3bankeditor/opn2bankeditor.nix { }; orangefs = callPackage ../tools/filesystems/orangefs { autoreconfHook = buildPackages.autoreconfHook269; }; osl = libsForQt5.callPackage ../development/compilers/osl { boost = boost179; libclang = llvmPackages_15.libclang; clang = clang_15; llvm = llvm_15; openexr = openexr_3; }; ossec-agent = callPackage ../tools/security/ossec/agent.nix { }; ossec-server = callPackage ../tools/security/ossec/server.nix { }; ovito = qt6Packages.callPackage ../applications/graphics/ovito { inherit (darwin.apple_sdk.frameworks) VideoDecodeAcceleration; }; oxidized = callPackage ../tools/admin/oxidized { }; p4c = callPackage ../development/compilers/p4c { protobuf = protobuf_21; }; p7zip = callPackage ../tools/archivers/p7zip { }; p7zip-rar = p7zip.override { enableUnfree = true; }; packagekit = callPackage ../tools/package-management/packagekit { }; padthv1 = libsForQt5.callPackage ../applications/audio/padthv1 { }; pageedit = libsForQt5.callPackage ../applications/office/PageEdit { stdenv = if stdenv.hostPlatform.isDarwin then darwin.apple_sdk_11_0.stdenv else stdenv; }; pagefind = libsForQt5.callPackage ../applications/misc/pagefind { }; pakcs = callPackage ../development/compilers/pakcs { }; paperwork = callPackage ../applications/office/paperwork/paperwork-gtk.nix { }; parallel = callPackage ../tools/misc/parallel { }; parallel-full = callPackage ../tools/misc/parallel/wrapper.nix { }; parcellite = callPackage ../tools/misc/parcellite { autoreconfHook = buildPackages.autoreconfHook269; }; parrot = callPackage ../applications/audio/parrot { inherit (darwin.apple_sdk.frameworks) Security; }; patchutils = callPackage ../tools/text/patchutils { }; patchutils_0_3_3 = callPackage ../tools/text/patchutils/0.3.3.nix { }; patchutils_0_4_2 = callPackage ../tools/text/patchutils/0.4.2.nix { }; inherit (import ../servers/sql/percona-server pkgs) percona-server_8_0 percona-server_8_4 percona-server; inherit (import ../tools/backup/percona-xtrabackup pkgs) percona-xtrabackup_8_0 percona-xtrabackup_8_4 percona-xtrabackup; pipecontrol = libsForQt5.callPackage ../applications/audio/pipecontrol { }; pulumiPackages = recurseIntoAttrs ( callPackage ../tools/admin/pulumi-packages { } ); pulumi-bin = callPackage ../tools/admin/pulumi-bin { }; patch = gnupatch; patchance = python3Packages.callPackage ../applications/audio/patchance { }; pciutils = callPackage ../tools/system/pciutils { inherit (darwin.apple_sdk.frameworks) IOKit; }; pcsclite = callPackage ../tools/security/pcsclite { inherit (darwin.apple_sdk.frameworks) Foundation IOKit; }; pcscliteWithPolkit = pcsclite.override { pname = "pcsclite-with-polkit"; polkitSupport = true; }; pcsc-tools = callPackage ../tools/security/pcsc-tools { inherit (pkgs.darwin.apple_sdk.frameworks) PCSC; }; pdd = python3Packages.callPackage ../tools/misc/pdd { }; pdfposter = callPackage ../applications/misc/pdfposter { }; pdfminer = with python3Packages; toPythonApplication pdfminer-six; pgsync = callPackage ../development/tools/database/pgsync { }; pdsh = callPackage ../tools/networking/pdsh { rsh = true; # enable internal rsh implementation ssh = openssh; }; pfstools = libsForQt5.callPackage ../tools/graphics/pfstools { }; phoc = callPackage ../applications/misc/phoc { wlroots = wlroots_0_17; }; piper-train = callPackage ../tools/audio/piper/train.nix { }; piper-tts = callPackage ../tools/audio/piper { }; phosh = callPackage ../applications/window-managers/phosh { }; phosh-mobile-settings = callPackage ../applications/window-managers/phosh/phosh-mobile-settings.nix { }; inherit (callPackages ../tools/security/pinentry { }) pinentry-curses pinentry-emacs pinentry-gtk2 pinentry-gnome3 pinentry-qt pinentry-tty pinentry-all; pinentry_mac = callPackage ../tools/security/pinentry/mac.nix { inherit (darwin.apple_sdk.frameworks) Cocoa; }; pingu = callPackage ../tools/networking/pingu { buildGoModule = buildGo122Module; }; pinnwand = callPackage ../servers/pinnwand { }; piping-server-rust = callPackage ../servers/piping-server-rust { inherit (darwin.apple_sdk.frameworks) CoreServices Security; }; pinyin-tool = callPackage ../tools/text/pinyin-tool { inherit (darwin.apple_sdk.frameworks) Security; }; plan9port = darwin.apple_sdk_11_0.callPackage ../tools/system/plan9port { inherit (darwin.apple_sdk_11_0.frameworks) Carbon Cocoa IOKit Metal QuartzCore; inherit (darwin) DarwinTools; }; platformioPackages = dontRecurseIntoAttrs (callPackage ../development/embedded/platformio { }); platformio = if stdenv.hostPlatform.isLinux then platformioPackages.platformio-chrootenv else platformioPackages.platformio-core; platformio-core = platformioPackages.platformio-core; playbar2 = libsForQt5.callPackage ../applications/audio/playbar2 { }; playwright-driver = (callPackage ../development/web/playwright/driver.nix { }).playwright-core; playwright-test = (callPackage ../development/web/playwright/driver.nix { }).playwright-test; inherit (callPackage ../servers/plik { }) plik plikd; plex = callPackage ../servers/plex { }; plexRaw = callPackage ../servers/plex/raw.nix { }; tabview = with python3Packages; toPythonApplication tabview; tautulli = python3Packages.callPackage ../servers/tautulli { }; pleroma = callPackage ../servers/pleroma { elixir = elixir_1_17; beamPackages = beamPackages.extend (self: super: { elixir = elixir_1_17; }); }; plfit = callPackage ../tools/misc/plfit { python = null; }; pngpaste = callPackage ../os-specific/darwin/pngpaste { inherit (darwin.apple_sdk.frameworks) AppKit Cocoa; }; inherit (callPackage ../development/tools/pnpm { }) pnpm_8 pnpm_9; pnpm = pnpm_9; po4a = perlPackages.Po4a; poac = callPackage ../development/tools/poac { inherit (llvmPackages_14) stdenv; }; podman-compose = python3Packages.callPackage ../applications/virtualization/podman-compose { }; podman-desktop = callPackage ../applications/virtualization/podman-desktop { inherit (darwin) autoSignDarwinBinariesHook; }; poedit = callPackage ../tools/text/poedit { wxGTK32 = wxGTK32.override { withWebKit = true; }; }; polaris = callPackage ../servers/polaris { }; polaris-web = callPackage ../servers/polaris/web.nix { }; povray = callPackage ../tools/graphics/povray { # https://github.com/POV-Ray/povray/issues/460 # https://github.com/NixOS/nixpkgs/issues/311017 stdenv = gcc12Stdenv; }; projectlibre = callPackage ../applications/misc/projectlibre { jre = jre8; jdk = jdk8; }; projectm = libsForQt5.callPackage ../applications/audio/projectm { }; proxmark3 = libsForQt5.callPackage ../tools/security/proxmark3/default.nix { inherit (darwin.apple_sdk_11_0.frameworks) Foundation AppKit; stdenv = if stdenv.hostPlatform.isDarwin then darwin.apple_sdk_11_0.stdenv else stdenv; }; pws = callPackage ../tools/misc/pws { }; pwninit = callPackage ../development/tools/misc/pwninit { inherit (darwin.apple_sdk.frameworks) Security; }; pycflow2dot = with python3.pkgs; toPythonApplication pycflow2dot; pyinfra = with python3Packages; toPythonApplication pyinfra; pylint = with python3Packages; toPythonApplication pylint; pyocd = with python3Packages; toPythonApplication pyocd; pypass = with python3Packages; toPythonApplication pypass; py-spy = darwin.apple_sdk_11_0.callPackage ../development/tools/py-spy { # https://github.com/benfred/py-spy/issues/633 python3 = python311; }; pydeps = with python3Packages; toPythonApplication pydeps; pywal = with python3Packages; toPythonApplication pywal; raysession = python3Packages.callPackage ../applications/audio/raysession {}; remarshal = with python3Packages; toPythonApplication remarshal; riseup-vpn = qt6Packages.callPackage ../tools/networking/bitmask-vpn { provider = "riseup"; inherit (darwin.apple_sdk.frameworks) CoreFoundation Security; }; rocket = libsForQt5.callPackage ../tools/graphics/rocket { }; rtabmap = libsForQt5.callPackage ../applications/video/rtabmap/default.nix { pcl = pcl.override { vtk = vtkWithQt5; }; }; rtaudio = callPackage ../development/libraries/audio/rtaudio { jack = libjack2; inherit (darwin.apple_sdk.frameworks) CoreAudio; }; rtmidi = callPackage ../development/libraries/audio/rtmidi { jack = libjack2; inherit (darwin.apple_sdk.frameworks) CoreMIDI CoreAudio CoreServices; }; mpi = openmpi; # this attribute should used to build MPI applications openmodelica = recurseIntoAttrs (callPackage ../applications/science/misc/openmodelica {}); prowlarr = callPackage ../servers/prowlarr { }; qarte = libsForQt5.callPackage ../applications/video/qarte { }; qdrant = darwin.apple_sdk_11_0.callPackage ../servers/search/qdrant { inherit (darwin.apple_sdk_11_0.frameworks) Security SystemConfiguration; }; qlcplus = libsForQt5.callPackage ../applications/misc/qlcplus { }; qlog = qt6Packages.callPackage ../applications/radio/qlog { }; quickbms = pkgsi686Linux.callPackage ../tools/archivers/quickbms { }; qalculate-qt = qt6Packages.callPackage ../applications/science/math/qalculate-qt { }; qastools = libsForQt5.callPackage ../tools/audio/qastools { }; qdigidoc = libsForQt5.callPackage ../tools/security/qdigidoc { } ; qjournalctl = libsForQt5.callPackage ../applications/system/qjournalctl { }; qjoypad = libsForQt5.callPackage ../tools/misc/qjoypad { }; qmarkdowntextedit = libsForQt5.callPackage ../development/libraries/qmarkdowntextedit { }; qosmic = libsForQt5.callPackage ../applications/graphics/qosmic { }; qownnotes = qt6Packages.callPackage ../applications/office/qownnotes { stdenv = if stdenv.hostPlatform.isDarwin then darwin.apple_sdk_11_0.stdenv else stdenv; }; qtikz = libsForQt5.callPackage ../applications/graphics/ktikz { }; qtspim = libsForQt5.callPackage ../development/tools/misc/qtspim { }; quictls = callPackage ../development/libraries/quictls { }; quickwit = callPackage ../servers/search/quickwit { inherit (darwin.apple_sdk.frameworks) Security; }; quota = if stdenv.hostPlatform.isLinux then linuxquota else unixtools.quota; qvge = libsForQt5.callPackage ../applications/graphics/qvge { }; qview = libsForQt5.callPackage ../applications/graphics/qview { }; wayback_machine_downloader = callPackage ../applications/networking/wayback_machine_downloader { }; radarr = callPackage ../servers/radarr { }; radeon-profile = libsForQt5.callPackage ../tools/misc/radeon-profile { }; rainbowstream = with python3.pkgs; toPythonApplication rainbowstream; rapidgzip = with python3Packages; toPythonApplication rapidgzip; rar = callPackage ../tools/archivers/rar { }; ratarmount = with python3Packages; toPythonApplication ratarmount; rdbtools = callPackage ../development/tools/rdbtools { python = python3; }; retext = qt6Packages.callPackage ../applications/editors/retext { }; inherit (callPackage ../tools/security/rekor { }) rekor-cli rekor-server; rst2pdf = with python3Packages; toPythonApplication rst2pdf; rstcheck = with python3Packages; toPythonApplication rstcheck; rtmpdump_gnutls = rtmpdump.override { gnutlsSupport = true; opensslSupport = false; }; qt-box-editor = libsForQt5.callPackage ../applications/misc/qt-box-editor { }; recoll = libsForQt5.callPackage ../applications/search/recoll { }; recoll-nox = recoll.override { withGui = false; }; remmina = darwin.apple_sdk_11_0.callPackage ../applications/networking/remote/remmina { }; reckon = callPackage ../tools/text/reckon { }; remote-exec = python3Packages.callPackage ../tools/misc/remote-exec { }; reptor = with python3.pkgs; toPythonApplication reptor; rescuetime = libsForQt5.callPackage ../applications/misc/rescuetime { }; inherit (callPackage ../development/misc/resholve { }) resholve; reuse = with python3.pkgs; toPythonApplication reuse; riemann-tools = callPackage ../tools/misc/riemann-tools { }; rmlint = callPackage ../tools/misc/rmlint { inherit (python3Packages) sphinx; }; # Use `apple_sdk_11_0` because `apple_sdk.libs` does not provide `simd` rnnoise-plugin = darwin.apple_sdk_11_0.callPackage ../development/libraries/rnnoise-plugin { inherit (darwin.apple_sdk_11_0.frameworks) WebKit MetalKit CoreAudioKit; inherit (darwin.apple_sdk_11_0.libs) simd; }; rosegarden = libsForQt5.callPackage ../applications/audio/rosegarden { }; rosenpass = callPackage ../tools/networking/rosenpass { }; rosenpass-tools = callPackage ../tools/networking/rosenpass/tools.nix { }; rpm = callPackage ../tools/package-management/rpm { python = python3; lua = lua5_4; }; rsibreak = libsForQt5.callPackage ../applications/misc/rsibreak { }; rss2email = callPackage ../applications/networking/feedreaders/rss2email { pythonPackages = python3Packages; }; rubocop = rubyPackages.rubocop; ruby-lsp = rubyPackages.ruby-lsp; ruplacer = callPackage ../tools/text/ruplacer { inherit (darwin.apple_sdk.frameworks) Security; }; rust-motd = callPackage ../tools/misc/rust-motd { inherit (darwin.apple_sdk.frameworks) Security; }; rustcat = callPackage ../tools/networking/rustcat { inherit (darwin.apple_sdk.frameworks) Security; }; rustscan = callPackage ../tools/security/rustscan { inherit (darwin.apple_sdk.frameworks) Security; }; rustdesk-server = callPackage ../servers/rustdesk-server { inherit (darwin.apple_sdk.frameworks) Security; }; s3fs = darwin.apple_sdk_11_0.callPackage ../tools/filesystems/s3fs { }; s3cmd = python3Packages.callPackage ../tools/networking/s3cmd { }; s3rs = callPackage ../tools/networking/s3rs { inherit (darwin.apple_sdk.frameworks) Security; }; s3-credentials = with python3Packages; toPythonApplication s3-credentials; safety-cli = with python3.pkgs; toPythonApplication safety; saml2aws = callPackage ../tools/security/saml2aws { inherit (darwin.apple_sdk.frameworks) AppKit; }; sasview = libsForQt5.callPackage ../applications/science/misc/sasview { }; screen = callPackage ../tools/misc/screen { inherit (darwin.apple_sdk.libs) utmp; }; scfbuild = python3.pkgs.callPackage ../tools/misc/scfbuild { }; sd = callPackage ../tools/text/sd { inherit (darwin.apple_sdk.frameworks) Security; }; securefs = darwin.apple_sdk_11_0.callPackage ../tools/filesystems/securefs { }; segger-jlink-headless = callPackage ../by-name/se/segger-jlink/package.nix { headless = true; }; selectdefaultapplication = libsForQt5.callPackage ../applications/misc/selectdefaultapplication { }; semgrep = python3.pkgs.toPythonApplication python3.pkgs.semgrep; inherit (semgrep.passthru) semgrep-core; seqdiag = with python3Packages; toPythonApplication seqdiag; shadowsocks-rust = callPackage ../tools/networking/shadowsocks-rust { inherit (darwin.apple_sdk.frameworks) Security CoreServices; }; shellify = haskellPackages.shellify.bin; sharedown = callPackage ../tools/misc/sharedown { }; shiv = with python3Packages; toPythonApplication shiv; sigil = libsForQt5.callPackage ../applications/editors/sigil { }; inherit (callPackage ../applications/networking/instant-messengers/signal-desktop {}) signal-desktop signal-desktop-beta; slither-analyzer = with python3Packages; toPythonApplication slither-analyzer; # aka., pgp-tools simplescreenrecorder = libsForQt5.callPackage ../applications/video/simplescreenrecorder { }; sisco.lv2 = callPackage ../applications/audio/sisco.lv2 { }; sks = callPackage ../servers/sks { ocamlPackages = ocaml-ng.ocamlPackages_4_12; }; slowlorust = callPackage ../tools/networking/slowlorust { inherit (darwin.apple_sdk.frameworks) Security; }; slstatus = callPackage ../applications/misc/slstatus { conf = config.slstatus.conf or null; }; smartmontools = callPackage ../tools/system/smartmontools { inherit (darwin.apple_sdk.frameworks) IOKit ApplicationServices; }; smpq = callPackage ../by-name/sm/smpq/package.nix { stormlib = stormlib.overrideAttrs (old: { version = "9.22"; src = fetchFromGitHub { owner = "ladislav-zezula"; repo = "StormLib"; rev = "v9.22"; hash = "sha256-jFUfxLzuRHAvFE+q19i6HfGcL6GX4vKL1g7l7LOhjeU="; }; }); }; snapcast = darwin.apple_sdk_11_0.callPackage ../applications/audio/snapcast { inherit (darwin.apple_sdk_11_0.frameworks) IOKit AudioToolbox; pulseaudioSupport = config.pulseaudio or stdenv.hostPlatform.isLinux; }; soapui = callPackage ../applications/networking/soapui { jdk = jdk11; }; specup = haskellPackages.specup.bin; spglib = callPackage ../development/libraries/spglib { inherit (llvmPackages) openmp; }; # to match naming of other package repositories spire-agent = spire.agent; spire-server = spire.server; spoof-mac = python3Packages.callPackage ../tools/networking/spoof-mac { }; suricata = callPackage ../applications/networking/ids/suricata { python = python3; libbpf = libbpf_0; }; softhsm = callPackage ../tools/security/softhsm { inherit (darwin) libobjc; inherit (darwin.apple_sdk.frameworks) Security; }; soundkonverter = libsForQt5.soundkonverter; sparrow-unwrapped = callPackage ../applications/blockchains/sparrow { openimajgrabber = callPackage ../applications/blockchains/sparrow/openimajgrabber.nix {}; openjdk = jdk23.override { enableJavaFX = true; }; }; sparrow = callPackage ../applications/blockchains/sparrow/fhsenv.nix { }; steck = callPackage ../servers/pinnwand/steck.nix { }; stm32loader = with python3Packages; toPythonApplication stm32loader; stremio = qt5.callPackage ../applications/video/stremio { }; solanum = callPackage ../servers/irc/solanum { autoreconfHook = buildPackages.autoreconfHook269; }; solc-select = with python3Packages; toPythonApplication solc-select; splot = haskell.lib.compose.justStaticExecutables haskellPackages.splot; squashfs-tools-ng = darwin.apple_sdk_11_0.callPackage ../tools/filesystems/squashfs-tools-ng { }; sourcehut = callPackage ../applications/version-management/sourcehut { }; sshfs = sshfs-fuse; # added 2017-08-14 inherit (callPackages ../tools/misc/sshx { }) sshx sshx-server; strip-nondeterminism = perlPackages.strip-nondeterminism; subsurface = libsForQt5.callPackage ../applications/misc/subsurface { }; sumorobot-manager = python3Packages.callPackage ../applications/science/robotics/sumorobot-manager { }; sslscan = callPackage ../tools/security/sslscan { openssl = openssl.override { withZlib = true; }; }; stacer = libsForQt5.callPackage ../tools/system/stacer { }; staticjinja = with python3.pkgs; toPythonApplication staticjinja; stoken = callPackage ../tools/security/stoken (config.stoken or {}); stutter = haskell.lib.compose.justStaticExecutables haskellPackages.stutter; strongswanTNC = strongswan.override { enableTNC = true; }; strongswanNM = strongswan.override { enableNetworkManager = true; }; stylish-haskell = haskell.lib.compose.justStaticExecutables haskellPackages.stylish-haskell; su = shadow.su; subzerod = with python3Packages; toPythonApplication subzerod; suckit = callPackage ../tools/networking/suckit { inherit (darwin.apple_sdk.frameworks) Security; }; system-config-printer = callPackage ../tools/misc/system-config-printer { autoreconfHook = buildPackages.autoreconfHook269; libxml2 = libxml2Python; }; privoxy = callPackage ../tools/networking/privoxy { w3m = w3m-batch; }; systemdgenie = libsForQt5.callPackage ../applications/system/systemdgenie { }; t = callPackage ../tools/misc/t { }; tabnine = callPackage ../development/tools/tabnine { }; tab-rs = callPackage ../tools/misc/tab-rs { inherit (darwin.apple_sdk.frameworks) IOKit; }; tandoor-recipes = callPackage ../applications/misc/tandoor-recipes { }; tartube = callPackage ../applications/video/tartube { }; tartube-yt-dlp = callPackage ../applications/video/tartube { youtube-dl = yt-dlp; }; tcpreplay = callPackage ../tools/networking/tcpreplay { inherit (darwin.apple_sdk.frameworks) Carbon CoreServices; }; teamviewer = libsForQt5.callPackage ../applications/networking/remote/teamviewer { }; inherit (callPackages ../servers/teleport { inherit (darwin.apple_sdk.frameworks) CoreFoundation Security AppKit; buildGoModule = buildGo122Module; }) teleport_15 teleport_16 teleport; telepresence = callPackage ../tools/networking/telepresence { pythonPackages = python3Packages; }; texmacs = libsForQt5.callPackage ../applications/editors/texmacs { stdenv = if stdenv.hostPlatform.isDarwin then darwin.apple_sdk_11_0.stdenv else stdenv; extraFonts = true; }; texmaker = qt6Packages.callPackage ../applications/editors/texmaker { }; texstudio = qt6Packages.callPackage ../applications/editors/texstudio { }; textadept = libsForQt5.callPackage ../applications/editors/textadept { }; texworks = qt6Packages.callPackage ../applications/editors/texworks { }; theLoungePlugins = let pkgs = lib.filterAttrs (name: _: lib.hasPrefix "thelounge-" name) nodePackages; getPackagesWithPrefix = prefix: lib.mapAttrs' (name: pkg: lib.nameValuePair (lib.removePrefix ("thelounge-" + prefix + "-") name) pkg) (lib.filterAttrs (name: _: lib.hasPrefix ("thelounge-" + prefix + "-") name) pkgs); in lib.recurseIntoAttrs { plugins = lib.recurseIntoAttrs (getPackagesWithPrefix "plugin"); themes = lib.recurseIntoAttrs (getPackagesWithPrefix "theme"); }; thinkpad-scripts = python3.pkgs.callPackage ../tools/misc/thinkpad-scripts { }; tiled = libsForQt5.callPackage ../applications/editors/tiled { }; timetrap = callPackage ../applications/office/timetrap { }; tinc = callPackage ../tools/networking/tinc { }; tikzit = libsForQt5.callPackage ../tools/typesetting/tikzit { }; tinc_pre = callPackage ../tools/networking/tinc/pre.nix { }; tldr-hs = haskellPackages.tldr; tmux-sessionizer = callPackage ../tools/misc/tmux-sessionizer { inherit (darwin.apple_sdk.frameworks) Security; }; tmuxPlugins = recurseIntoAttrs (callPackage ../misc/tmux-plugins { pkgs = pkgs.__splicedPackages; }); tokei = callPackage ../development/tools/misc/tokei { inherit (darwin.apple_sdk.frameworks) Security; }; topgrade = callPackage ../tools/misc/topgrade { inherit (darwin.apple_sdk.frameworks) AppKit Cocoa Foundation; }; tor = callPackage ../tools/security/tor { }; torsocks = callPackage ../tools/security/tor/torsocks.nix { }; toybox = darwin.apple_sdk_11_0.callPackage ../tools/misc/toybox { }; trackma = callPackage ../tools/misc/trackma { }; trackma-curses = trackma.override { withCurses = true; }; trackma-gtk = trackma.override { withGTK = true; }; trackma-qt = trackma.override { withQT = true; }; tpmmanager = libsForQt5.callPackage ../applications/misc/tpmmanager { }; trezorctl = with python3Packages; toPythonApplication trezor; trezord = callPackage ../servers/trezord { inherit (darwin.apple_sdk.frameworks) AppKit; }; trezor-agent = with python3Packages; toPythonApplication trezor-agent; trunk-ng = callPackage ../by-name/tr/trunk-ng/package.nix { inherit (darwin.apple_sdk.frameworks) CoreServices Security SystemConfiguration; }; ttp = with python3.pkgs; toPythonApplication ttp; trace-cmd = callPackage ../os-specific/linux/trace-cmd { }; kernelshark = qt6Packages.callPackage ../os-specific/linux/trace-cmd/kernelshark.nix { }; tracee = callPackage ../tools/security/tracee { clang = clang_14; }; translatelocally-models = recurseIntoAttrs (callPackages ../misc/translatelocally-models { }); translatepy = with python3.pkgs; toPythonApplication translatepy; trenchbroom = libsForQt5.callPackage ../applications/misc/trenchbroom { }; inherit (callPackage ../applications/office/trilium {}) trilium-desktop trilium-server ; trytond = with python3Packages; toPythonApplication trytond; ttfautohint = libsForQt5.callPackage ../tools/misc/ttfautohint { autoreconfHook = buildPackages.autoreconfHook269; }; ttfautohint-nox = ttfautohint.override { enableGUI = false; }; tuifeed = callPackage ../applications/networking/feedreaders/tuifeed { inherit (darwin.apple_sdk.frameworks) Security; }; tunnelto = callPackage ../tools/networking/tunnelto { inherit (darwin.apple_sdk.frameworks) Security; }; twilight = callPackage ../tools/graphics/twilight { libX11 = xorg.libX11; }; twitch-chat-downloader = python3Packages.callPackage ../applications/misc/twitch-chat-downloader { }; twtxt = python3Packages.callPackage ../applications/networking/twtxt { }; twurl = callPackage ../tools/misc/twurl { }; typesense = callPackage ../servers/search/typesense { }; ubidump = python3Packages.callPackage ../tools/filesystems/ubidump { }; ubpm = libsForQt5.callPackage ../applications/misc/ubpm { }; uftraceFull = uftrace.override { withLuaJIT = true; withPython = true; }; unetbootin = libsForQt5.callPackage ../tools/cd-dvd/unetbootin { }; unrpa = with python3Packages; toPythonApplication unrpa; usort = with python3Packages; toPythonApplication usort; vacuum = libsForQt5.callPackage ../applications/networking/instant-messengers/vacuum {}; vampire = callPackage ../applications/science/logic/vampire { }; vcmi = libsForQt5.callPackage ../games/vcmi { }; video2midi = callPackage ../tools/audio/video2midi { pythonPackages = python3Packages; }; vikunja = callPackage ../by-name/vi/vikunja/package.nix { pnpm = pnpm_9; }; vimpager = callPackage ../tools/misc/vimpager { }; vimpager-latest = callPackage ../tools/misc/vimpager/latest.nix { }; vimwiki-markdown = python3Packages.callPackage ../tools/misc/vimwiki-markdown { }; visidata = python3Packages.callPackage ../applications/misc/visidata { }; vkbasalt = callPackage ../tools/graphics/vkbasalt { vkbasalt32 = pkgsi686Linux.vkbasalt; }; vpn-slice = python3Packages.callPackage ../tools/networking/vpn-slice { }; vpWithSixel = vp.override { # Enable next line for console graphics. Note that it requires `sixel` # enabled terminals such as mlterm or xterm -ti 340 SDL = SDL_sixel; }; openconnectPackages = callPackage ../tools/networking/openconnect { }; inherit (openconnectPackages) openconnect openconnect_openssl; globalprotect-openconnect = libsForQt5.callPackage ../tools/networking/globalprotect-openconnect { }; sssd = callPackage ../os-specific/linux/sssd { inherit (perlPackages) Po4a; # python312Packages.python-ldap is broken # https://github.com/NixOS/nixpkgs/issues/326296 python3 = python311; }; sentry-cli = callPackage ../development/tools/sentry-cli { inherit (darwin.apple_sdk.frameworks) CoreServices Security SystemConfiguration; }; waifu2x-converter-cpp = callPackage ../tools/graphics/waifu2x-converter-cpp { inherit (darwin.apple_sdk.frameworks) OpenCL; }; watchexec = callPackage ../tools/misc/watchexec { inherit (darwin.apple_sdk.frameworks) Cocoa AppKit; }; watchman = darwin.apple_sdk_11_0.callPackage ../development/tools/watchman { inherit (darwin.apple_sdk_11_0.frameworks) CoreServices; }; webassemblyjs-cli = nodePackages."@webassemblyjs/cli-1.11.1"; webassemblyjs-repl = nodePackages."@webassemblyjs/repl-1.11.1"; wasm-strip = nodePackages."@webassemblyjs/wasm-strip"; wasm-text-gen = nodePackages."@webassemblyjs/wasm-text-gen-1.11.1"; wast-refmt = nodePackages."@webassemblyjs/wast-refmt-1.11.1"; wasmedge = callPackage ../development/tools/wasmedge { stdenv = if stdenv.hostPlatform.isDarwin then overrideSDK stdenv "11.0" else llvmPackages.stdenv; inherit (darwin.apple_sdk_11_0.frameworks) Foundation; }; whatweb = callPackage ../tools/security/whatweb { }; wireguard-tools = callPackage ../tools/networking/wireguard-tools { }; wireguard-vanity-address = callPackage ../tools/networking/wireguard-vanity-address { inherit (darwin.apple_sdk.frameworks) Security; }; wg-netmanager = callPackage ../tools/networking/wg-netmanager { inherit (darwin.apple_sdk.frameworks) Security; }; woodpecker-agent = callPackage ../development/tools/continuous-integration/woodpecker/agent.nix { }; woodpecker-cli = callPackage ../development/tools/continuous-integration/woodpecker/cli.nix { }; woodpecker-server = callPackage ../development/tools/continuous-integration/woodpecker/server.nix { }; wpscan = callPackage ../tools/security/wpscan { }; testdisk = libsForQt5.callPackage ../tools/system/testdisk { }; testdisk-qt = testdisk.override { enableQt = true; }; htmldoc = callPackage ../tools/typesetting/htmldoc { inherit (darwin.apple_sdk.frameworks) SystemConfiguration Foundation; }; td = callPackage ../tools/misc/td { }; tweet-hs = haskell.lib.compose.justStaticExecutables haskellPackages.tweet-hs; tkgate = callPackage ../applications/science/electronics/tkgate/1.x.nix { }; tremor-rs = darwin.apple_sdk_11_0.callPackage ../tools/misc/tremor-rs { inherit (darwin.apple_sdk_11_0.frameworks) Security; }; tremor-language-server = callPackage ../tools/misc/tremor-rs/ls.nix { }; truecrack-cuda = truecrack.override { cudaSupport = true; }; turbovnc = callPackage ../tools/admin/turbovnc { # fontDirectories = [ xorg.fontadobe75dpi xorg.fontmiscmisc xorg.fontcursormisc xorg.fontbhlucidatypewriter75dpi ]; libjpeg_turbo = libjpeg_turbo.override { enableJava = true; }; }; ufmt = with python3Packages; toPythonApplication ufmt; uim = callPackage ../tools/inputmethods/uim { autoconf = buildPackages.autoconf269; }; unbound-with-systemd = unbound.override { withSystemd = true; }; unbound-full = unbound.override { python = python3; withSystemd = true; withPythonModule = true; withDoH = true; withECS = true; withDNSCrypt = true; withDNSTAP = true; withTFO = true; withRedis = true; }; unicorn = callPackage ../development/libraries/unicorn { inherit (darwin.apple_sdk.frameworks) IOKit; }; unrar-wrapper = python3Packages.callPackage ../tools/archivers/unrar-wrapper { }; vuls = callPackage ../by-name/vu/vuls/package.nix { buildGoModule = buildGo123Module; }; xdp-tools = callPackage ../tools/networking/xdp-tools { llvmPackages = llvmPackages_14; }; ugarit = callPackage ../tools/backup/ugarit { inherit (chickenPackages_4) eggDerivation fetchegg; }; ugarit-manifest-maker = callPackage ../tools/backup/ugarit-manifest-maker { inherit (chickenPackages_4) eggDerivation fetchegg; }; unar = callPackage ../tools/archivers/unar { inherit (darwin.apple_sdk.frameworks) Foundation AppKit; stdenv = clangStdenv; }; unzipNLS = lowPrio (unzip.override { enableNLS = true; }); inherit (callPackages ../servers/varnish { }) varnish60 varnish75; inherit (callPackages ../servers/varnish/packages.nix { }) varnish60Packages varnish75Packages; varnishPackages = varnish75Packages; varnish = varnishPackages.varnish; viceroy = callPackage ../development/tools/viceroy { inherit (darwin.apple_sdk.frameworks) Security; }; vncdo = with python3Packages; toPythonApplication vncdo; # An alias to work around the splicing incidents # Related: # https://github.com/NixOS/nixpkgs/issues/204303 # https://github.com/NixOS/nixpkgs/issues/211340 # https://github.com/NixOS/nixpkgs/issues/227327 wafHook = waf.hook; wagyu = callPackage ../tools/misc/wagyu { inherit (darwin.apple_sdk.frameworks) Security; }; web-eid-app = libsForQt5.callPackage ../tools/security/web-eid-app { }; wio = callPackage ../by-name/wi/wio/package.nix { wlroots = wlroots_0_17; }; wiiuse = callPackage ../development/libraries/wiiuse { inherit (darwin) libobjc; inherit (darwin.apple_sdk.frameworks) Foundation IOBluetooth; }; wireguard-go = callPackage ../tools/networking/wireguard-go { buildGoModule = buildGo122Module; }; wring = nodePackages.wring; wyrd = callPackage ../tools/misc/wyrd { ocamlPackages = ocaml-ng.ocamlPackages_4_14_unsafe_string; }; xbursttools = callPackage ../tools/misc/xburst-tools { # It needs a cross compiler for mipsel to build the firmware it will # load into the Ben Nanonote gccCross = pkgsCross.ben-nanonote.buildPackages.gccWithoutTargetLibc; autoconf = buildPackages.autoconf269; }; clipbuzz = callPackage ../tools/misc/clipbuzz { zig = buildPackages.zig_0_12; }; # A minimal xar is needed to break an infinite recursion between macfuse-stubs and xar. # It is also needed to reduce the amount of unnecessary stuff in the Darwin bootstrap. xarMinimal = callPackage ../by-name/xa/xar/package.nix { e2fsprogs = null; }; xdelta = callPackage ../tools/compression/xdelta { }; xdeltaUnstable = callPackage ../tools/compression/xdelta/unstable.nix { }; xdot = with python3Packages; toPythonApplication xdot; xflux = callPackage ../tools/misc/xflux { }; xflux-gui = python3Packages.callPackage ../tools/misc/xflux/gui.nix { }; libxfs = xfsprogs.dev; xmlto = callPackage ../tools/typesetting/xmlto { w3m = w3m-batch; }; xidlehook = callPackage ../tools/X11/xidlehook { inherit (darwin.apple_sdk.frameworks) Security; }; xsv = callPackage ../tools/text/xsv { inherit (darwin.apple_sdk.frameworks) Security; }; xtreemfs = callPackage ../tools/filesystems/xtreemfs { boost = boost179; }; xorriso = libisoburn; xvfb-run = callPackage ../tools/misc/xvfb-run { inherit (texFunctions) fontsConf; }; yapf = with python3Packages; toPythonApplication yapf; yarn-berry = callPackage ../development/tools/yarn-berry { }; yarn2nix-moretea = callPackage ../development/tools/yarn2nix-moretea/yarn2nix { pkgs = pkgs.__splicedPackages; }; inherit (yarn2nix-moretea) yarn2nix mkYarnPackage mkYarnModules fixup_yarn_lock; yamlfix = with python3Packages; toPythonApplication yamlfix; yamllint = with python3Packages; toPythonApplication yamllint; # To expose more packages for Yi, override the extraPackages arg. yi = callPackage ../applications/editors/yi/wrapper.nix { }; yaydl = callPackage ../tools/video/yaydl { inherit (darwin.apple_sdk.frameworks) Security; }; zbackup = callPackage ../tools/backup/zbackup { protobuf = protobuf_21; }; zbar = libsForQt5.callPackage ../tools/graphics/zbar { inherit (darwin.apple_sdk.frameworks) Foundation; }; zenith = callPackage ../tools/system/zenith { inherit (darwin.apple_sdk.frameworks) IOKit; }; # Nvidia support does not require any propietary libraries, so CI can build it. # Note that when enabling this unconditionally, non-nvidia users will always have an empty "GPU" section. zenith-nvidia = callPackage ../tools/system/zenith { inherit (darwin.apple_sdk.frameworks) IOKit; nvidiaSupport = true; }; zpaq = callPackage ../tools/archivers/zpaq { }; zpaqd = callPackage ../tools/archivers/zpaq/zpaqd.nix { }; zint = qt6Packages.callPackage ../development/libraries/zint { }; zstd = callPackage ../tools/compression/zstd { cmake = buildPackages.cmakeMinimal; }; ### SHELLS runtimeShell = "${runtimeShellPackage}${runtimeShellPackage.shellPath}"; runtimeShellPackage = bash; bash = lowPrio (callPackage ../shells/bash/5.nix { }); # WARNING: this attribute is used by nix-shell so it shouldn't be removed/renamed bashInteractive = callPackage ../shells/bash/5.nix { interactive = true; withDocs = true; }; bashInteractiveFHS = callPackage ../shells/bash/5.nix { interactive = true; withDocs = true; forFHSEnv = true; }; carapace = callPackage ../shells/carapace { buildGoModule = buildGo123Module; }; fish = callPackage ../shells/fish { }; wrapFish = callPackage ../shells/fish/wrapper.nix { }; fishPlugins = recurseIntoAttrs (callPackage ../shells/fish/plugins { }); zsh = callPackage ../shells/zsh { }; powerline = with python3Packages; toPythonApplication powerline; ### DEVELOPMENT / COMPILERS temurin-bin-23 = javaPackages.compiler.temurin-bin.jdk-23; temurin-jre-bin-23 = javaPackages.compiler.temurin-bin.jre-23; temurin-bin-21 = javaPackages.compiler.temurin-bin.jdk-21; temurin-jre-bin-21 = javaPackages.compiler.temurin-bin.jre-21; temurin-bin-17 = javaPackages.compiler.temurin-bin.jdk-17; temurin-jre-bin-17 = javaPackages.compiler.temurin-bin.jre-17; temurin-bin-11 = javaPackages.compiler.temurin-bin.jdk-11; temurin-jre-bin-11 = javaPackages.compiler.temurin-bin.jre-11; temurin-bin-8 = javaPackages.compiler.temurin-bin.jdk-8; temurin-jre-bin-8 = javaPackages.compiler.temurin-bin.jre-8; temurin-bin = temurin-bin-21; temurin-jre-bin = temurin-jre-bin-21; semeru-bin-21 = javaPackages.compiler.semeru-bin.jdk-21; semeru-jre-bin-21 = javaPackages.compiler.semeru-bin.jre-21; semeru-bin-17 = javaPackages.compiler.semeru-bin.jdk-17; semeru-jre-bin-17 = javaPackages.compiler.semeru-bin.jre-17; semeru-bin-11 = javaPackages.compiler.semeru-bin.jdk-11; semeru-jre-bin-11 = javaPackages.compiler.semeru-bin.jre-11; semeru-bin-8 = javaPackages.compiler.semeru-bin.jdk-8; semeru-jre-bin-8 = javaPackages.compiler.semeru-bin.jre-8; semeru-bin = semeru-bin-21; semeru-jre-bin = semeru-jre-bin-21; adoptopenjdk-icedtea-web = callPackage ../development/compilers/adoptopenjdk-icedtea-web { jdk = jdk8; }; alan = callPackage ../development/compilers/alan { }; alan_2 = callPackage ../development/compilers/alan/2.nix { }; armips = callPackage ../development/compilers/armips { stdenv = gcc10Stdenv; }; autocorrect = callPackage ../tools/text/autocorrect { inherit (darwin.apple_sdk.frameworks) Security SystemConfiguration; }; ballerina = callPackage ../development/compilers/ballerina { openjdk = openjdk17_headless; }; binaryen = callPackage ../development/compilers/binaryen { nodejs = nodejs-slim; inherit (python3Packages) filecheck; }; bluespec = callPackage ../by-name/bl/bluespec/package.nix { gmp-static = gmp.override { withStatic = true; }; }; codon = callPackage ../development/compilers/codon { inherit (llvmPackages_14) lld stdenv; }; colmap = libsForQt5.callPackage ../applications/science/misc/colmap { inherit (config) cudaSupport; }; colmapWithCuda = colmap.override { cudaSupport = true; }; opensplatWithCuda = opensplat.override { cudaSupport = true; }; chickenPackages_4 = recurseIntoAttrs (callPackage ../development/compilers/chicken/4 { }); chickenPackages_5 = recurseIntoAttrs (callPackage ../development/compilers/chicken/5 { }); chickenPackages = dontRecurseIntoAttrs chickenPackages_5; inherit (chickenPackages_5) fetchegg eggDerivation chicken egg2nix; cdb = callPackage ../development/tools/database/cdb { stdenv = gccStdenv; }; libclang = llvmPackages.libclang; clang-manpages = llvmPackages.clang-manpages; clang = llvmPackages.clang; clang_12 = llvmPackages_12.clang; clang_13 = llvmPackages_13.clang; clang_14 = llvmPackages_14.clang; clang_15 = llvmPackages_15.clang; clang_16 = llvmPackages_16.clang; clang_17 = llvmPackages_17.clang; clang-tools = llvmPackages.clang-tools; clang-analyzer = callPackage ../development/tools/analysis/clang-analyzer { llvmPackages = llvmPackages; inherit (llvmPackages) clang; }; clazy = callPackage ../development/tools/analysis/clazy { llvmPackages = llvmPackages_14; stdenv = llvmPackages_14.stdenv; }; #Use this instead of stdenv to build with clang clangStdenv = if stdenv.cc.isClang then stdenv else lowPrio llvmPackages.stdenv; libcxxStdenv = if stdenv.hostPlatform.isDarwin then stdenv else lowPrio llvmPackages.libcxxStdenv; comby = callPackage ../development/tools/comby { ocamlPackages = ocaml-ng.ocamlPackages_4_14; }; inherit (coqPackages) compcert; computecpp = wrapCCWith rec { cc = computecpp-unwrapped; extraPackages = [ llvmPackages.compiler-rt ]; extraBuildCommands = '' wrap compute $wrapper $ccPath/compute wrap compute++ $wrapper $ccPath/compute++ export named_cc=compute export named_cxx=compute++ rsrc="$out/resource-root" mkdir -p "$rsrc/lib" ln -s "${cc}/lib" "$rsrc/include" echo "-resource-dir=$rsrc" >> $out/nix-support/cc-cflags ''; }; corretto11 = javaPackages.compiler.corretto11; corretto17 = javaPackages.compiler.corretto17; corretto21 = javaPackages.compiler.corretto21; cotton = callPackage ../development/tools/cotton { inherit (darwin.apple_sdk.frameworks) CoreServices; }; inherit (darwin.apple_sdk_11_0.callPackage ../development/compilers/crystal { }) crystal_1_2 crystal_1_7 crystal_1_8 crystal_1_9 crystal_1_11 crystal_1_12 crystal_1_14 crystal; crystalline = callPackage ../development/tools/language-servers/crystalline { llvmPackages = crystal.llvmPackages; }; scry = callPackage ../development/tools/scry { crystal = crystal_1_2; }; devpi-client = python3Packages.callPackage ../development/tools/devpi-client { }; devpi-server = python3Packages.callPackage ../development/tools/devpi-server { }; elm2nix = haskell.lib.compose.justStaticExecutables haskellPackages.elm2nix; elmPackages = recurseIntoAttrs (callPackage ../development/compilers/elm { }); fasm = pkgsi686Linux.callPackage ../development/compilers/fasm { inherit (stdenv.hostPlatform) isx86_64; }; fasm-bin = callPackage ../development/compilers/fasm/bin.nix { }; fbc = if stdenv.hostPlatform.isDarwin then callPackage ../development/compilers/fbc/mac-bin.nix { } else callPackage ../development/compilers/fbc { }; filecheck = with python3Packages; toPythonApplication filecheck; flutterPackages-bin = recurseIntoAttrs (callPackage ../development/compilers/flutter { }); flutterPackages-source = recurseIntoAttrs (callPackage ../development/compilers/flutter { useNixpkgsEngine = true; }); flutterPackages = flutterPackages-bin; flutter = flutterPackages.stable; flutter327 = flutterPackages.v3_27; flutter326 = flutterPackages.v3_26; flutter324 = flutterPackages.v3_24; flutter319 = flutterPackages.v3_19; fnm = callPackage ../development/tools/fnm { inherit (darwin.apple_sdk.frameworks) DiskArbitration Foundation Security; }; fpc = callPackage ../development/compilers/fpc { }; gambit = callPackage ../development/compilers/gambit { }; gambit-unstable = callPackage ../development/compilers/gambit/unstable.nix { }; gambit-support = callPackage ../development/compilers/gambit/gambit-support.nix { }; gerbil = callPackage ../development/compilers/gerbil { }; gerbil-unstable = callPackage ../development/compilers/gerbil/unstable.nix { }; gerbil-support = callPackage ../development/compilers/gerbil/gerbil-support.nix { }; gerbilPackages-unstable = pkgs.gerbil-support.gerbilPackages-unstable; # NB: don't recurseIntoAttrs for (unstable!) libraries glow-lang = pkgs.gerbilPackages-unstable.glow-lang; default-gcc-version = 13; gcc = pkgs.${"gcc${toString default-gcc-version}"}; gccFun = callPackage ../development/compilers/gcc; gcc-unwrapped = gcc.cc; wrapNonDeterministicGcc = stdenv: ccWrapper: if ccWrapper.isGNU then ccWrapper.overrideAttrs(old: { env = old.env // { cc = old.env.cc.override { reproducibleBuild = false; profiledCompiler = with stdenv; (!isDarwin && hostPlatform.isx86); }; }; }) else ccWrapper; gccStdenv = if stdenv.cc.isGNU then stdenv else stdenv.override { cc = buildPackages.gcc; allowedRequisites = null; # Remove libcxx/libcxxabi, and add clang for AS if on darwin (it uses # clang's internal assembler). extraBuildInputs = lib.optional stdenv.hostPlatform.isDarwin clang.cc; }; gcc7Stdenv = overrideCC gccStdenv buildPackages.gcc7; gcc8Stdenv = overrideCC gccStdenv buildPackages.gcc8; gcc9Stdenv = overrideCC gccStdenv buildPackages.gcc9; gcc10Stdenv = overrideCC gccStdenv buildPackages.gcc10; gcc11Stdenv = overrideCC gccStdenv buildPackages.gcc11; gcc12Stdenv = overrideCC gccStdenv buildPackages.gcc12; gcc13Stdenv = overrideCC gccStdenv buildPackages.gcc13; gcc14Stdenv = overrideCC gccStdenv buildPackages.gcc14; # This is not intended for use in nixpkgs but for providing a faster-running # compiler to nixpkgs users by building gcc with reproducibility-breaking # profile-guided optimizations fastStdenv = overrideCC gccStdenv (wrapNonDeterministicGcc gccStdenv buildPackages.gcc_latest); wrapCCMulti = cc: if stdenv.targetPlatform.system == "x86_64-linux" then let # Binutils with glibc multi bintools = cc.bintools.override { libc = glibc_multi; }; in lowPrio (wrapCCWith { cc = cc.cc.override { stdenv = overrideCC stdenv (wrapCCWith { cc = cc.cc; inherit bintools; libc = glibc_multi; }); profiledCompiler = false; enableMultilib = true; }; libc = glibc_multi; inherit bintools; extraBuildCommands = '' echo "dontMoveLib64=1" >> $out/nix-support/setup-hook ''; }) else throw "Multilib ${cc.name} not supported for ‘${stdenv.targetPlatform.system}’"; wrapClangMulti = clang: if stdenv.targetPlatform.system == "x86_64-linux" then callPackage ../development/compilers/llvm/multi.nix { inherit clang; gcc32 = pkgsi686Linux.gcc; gcc64 = pkgs.gcc; } else throw "Multilib ${clang.cc.name} not supported for '${stdenv.targetPlatform.system}'"; gcc_multi = wrapCCMulti gcc; clang_multi = wrapClangMulti clang; gccMultiStdenv = overrideCC stdenv buildPackages.gcc_multi; clangMultiStdenv = overrideCC stdenv buildPackages.clang_multi; multiStdenv = if stdenv.cc.isClang then clangMultiStdenv else gccMultiStdenv; gcc_debug = lowPrio (wrapCC (gcc.cc.overrideAttrs { dontStrip = true; })); gccCrossLibcStdenv = overrideCC stdenvNoCC buildPackages.gccWithoutTargetLibc; # The GCC used to build libc for the target platform. Normal gccs will be # built with, and use, that cross-compiled libc. gccWithoutTargetLibc = assert stdenv.targetPlatform != stdenv.hostPlatform; let libcCross1 = binutilsNoLibc.libc; in wrapCCWith { cc = gccFun { # copy-pasted inherit noSysDirs; majorMinorVersion = toString default-gcc-version; reproducibleBuild = true; profiledCompiler = false; isl = if !stdenv.hostPlatform.isDarwin then isl_0_20 else null; withoutTargetLibc = true; langCC = false; libcCross = libcCross1; targetPackages.stdenv.cc.bintools = binutilsNoLibc; enableShared = stdenv.targetPlatform.hasSharedLibraries # temporarily disabled due to breakage; # see https://github.com/NixOS/nixpkgs/pull/243249 && !stdenv.targetPlatform.isWindows && !(stdenv.targetPlatform.useLLVM or false) ; }; bintools = binutilsNoLibc; libc = libcCross1; extraPackages = []; }; inherit (callPackage ../development/compilers/gcc/all.nix { inherit noSysDirs; }) gcc7 gcc8 gcc9 gcc10 gcc11 gcc12 gcc13 gcc14; gcc_latest = gcc14; libgccjit = gcc.cc.override { name = "libgccjit"; langFortran = false; langCC = false; langC = false; profiledCompiler = false; langJit = true; enableLTO = false; }; gnat = gnat13; # When changing this, update also gnatPackages gnat11 = wrapCC (gcc11.cc.override { name = "gnat"; langC = true; langCC = false; langAda = true; profiledCompiler = false; # As per upstream instructions building a cross compiler # should be done with a (native) compiler of the same version. # If we are cross-compiling GNAT, we may as well do the same. gnat-bootstrap = if stdenv.hostPlatform == stdenv.targetPlatform && stdenv.buildPlatform == stdenv.hostPlatform then buildPackages.gnat-bootstrap11 else buildPackages.gnat11; stdenv = if stdenv.hostPlatform == stdenv.targetPlatform && stdenv.buildPlatform == stdenv.hostPlatform && stdenv.buildPlatform.isDarwin && stdenv.buildPlatform.isx86_64 then overrideCC stdenv gnat-bootstrap11 else stdenv; }); gnat12 = wrapCC (gcc12.cc.override { name = "gnat"; langC = true; langCC = false; langAda = true; profiledCompiler = false; # As per upstream instructions building a cross compiler # should be done with a (native) compiler of the same version. # If we are cross-compiling GNAT, we may as well do the same. gnat-bootstrap = if stdenv.hostPlatform == stdenv.targetPlatform && stdenv.buildPlatform == stdenv.hostPlatform then buildPackages.gnat-bootstrap12 else buildPackages.gnat12; stdenv = if stdenv.hostPlatform == stdenv.targetPlatform && stdenv.buildPlatform == stdenv.hostPlatform && stdenv.buildPlatform.isDarwin && stdenv.buildPlatform.isx86_64 then overrideCC stdenv gnat-bootstrap12 else stdenv; }); gnat13 = wrapCC (gcc13.cc.override { name = "gnat"; langC = true; langCC = false; langAda = true; profiledCompiler = false; # As per upstream instructions building a cross compiler # should be done with a (native) compiler of the same version. # If we are cross-compiling GNAT, we may as well do the same. gnat-bootstrap = if stdenv.hostPlatform == stdenv.targetPlatform && stdenv.buildPlatform == stdenv.hostPlatform then buildPackages.gnat-bootstrap12 else buildPackages.gnat13; stdenv = if stdenv.hostPlatform == stdenv.targetPlatform && stdenv.buildPlatform == stdenv.hostPlatform && stdenv.buildPlatform.isDarwin && stdenv.buildPlatform.isx86_64 then overrideCC stdenv gnat-bootstrap12 else stdenv; }); gnat14 = wrapCC (gcc14.cc.override { name = "gnat"; langC = true; langCC = false; langAda = true; profiledCompiler = false; # As per upstream instructions building a cross compiler # should be done with a (native) compiler of the same version. # If we are cross-compiling GNAT, we may as well do the same. gnat-bootstrap = if stdenv.hostPlatform == stdenv.targetPlatform && stdenv.buildPlatform == stdenv.hostPlatform then buildPackages.gnat-bootstrap12 else buildPackages.gnat13; stdenv = if stdenv.hostPlatform == stdenv.targetPlatform && stdenv.buildPlatform == stdenv.hostPlatform && stdenv.buildPlatform.isDarwin && stdenv.buildPlatform.isx86_64 then overrideCC stdenv gnat-bootstrap12 else stdenv; }); gnat-bootstrap = gnat-bootstrap12; gnat-bootstrap11 = wrapCC (callPackage ../development/compilers/gnat-bootstrap { majorVersion = "11"; }); gnat-bootstrap12 = wrapCCWith ({ cc = callPackage ../development/compilers/gnat-bootstrap { majorVersion = "12"; }; } // lib.optionalAttrs (stdenv.hostPlatform.isDarwin) { bintools = bintoolsDualAs; }); gnat12Packages = recurseIntoAttrs (callPackage ./ada-packages.nix { gnat = buildPackages.gnat12; }); gnat13Packages = recurseIntoAttrs (callPackage ./ada-packages.nix { gnat = buildPackages.gnat13; }); gnat14Packages = recurseIntoAttrs (callPackage ./ada-packages.nix { gnat = buildPackages.gnat14; }); gnatPackages = gnat13Packages; inherit (gnatPackages) gprbuild gnatprove; gccgo = wrapCC (gcc.cc.override { name = "gccgo"; langCC = true; #required for go. langC = true; langGo = true; langJit = true; profiledCompiler = false; } // { # not supported on darwin: https://github.com/golang/go/issues/463 meta.broken = stdenv.hostPlatform.isDarwin; }); gccgo12 = wrapCC (gcc12.cc.override { name = "gccgo"; langCC = true; #required for go. langC = true; langGo = true; langJit = true; profiledCompiler = false; } // { # not supported on darwin: https://github.com/golang/go/issues/463 meta.broken = stdenv.hostPlatform.isDarwin; }); gccgo13 = wrapCC (gcc13.cc.override { name = "gccgo"; langCC = true; #required for go. langC = true; langGo = true; langJit = true; profiledCompiler = false; } // { # not supported on darwin: https://github.com/golang/go/issues/463 meta.broken = stdenv.hostPlatform.isDarwin; }); gccgo14 = wrapCC (gcc14.cc.override { name = "gccgo"; langCC = true; #required for go. langC = true; langGo = true; langJit = true; profiledCompiler = false; } // { # not supported on darwin: https://github.com/golang/go/issues/463 meta.broken = stdenv.hostPlatform.isDarwin; }); ghdl-mcode = callPackage ../by-name/gh/ghdl/package.nix { backend = "mcode"; }; ghdl-gcc = callPackage ../by-name/gh/ghdl/package.nix { backend = "gcc"; }; ghdl-llvm = callPackage ../by-name/gh/ghdl/package.nix { backend = "llvm"; inherit (llvmPackages_15) llvm; }; gcc-arm-embedded = gcc-arm-embedded-12; # It would be better to match the default gcc so that there are no linking errors # when using C/C++ libraries in D packages, but right now versions >= 12 are broken. gdc = gdc11; gdc11 = wrapCC (gcc11.cc.override { name = "gdc"; langCC = false; langC = false; langD = true; profiledCompiler = false; }); gleam = callPackage ../development/compilers/gleam { inherit (darwin.apple_sdk.frameworks) Security SystemConfiguration; erlang = erlang_27; }; # Haskell and GHC haskell = callPackage ./haskell-packages.nix { }; haskellPackages = dontRecurseIntoAttrs # Prefer native-bignum to avoid linking issues with gmp # GHC 9.6 rts can't be built statically with hadrian, so we need to use 9.4 # until 9.8 is ready (if stdenv.hostPlatform.isStatic then haskell.packages.native-bignum.ghc94 # JS backend can't use gmp else if stdenv.hostPlatform.isGhcjs then haskell.packages.native-bignum.ghc96 else haskell.packages.ghc96) // { __recurseIntoDerivationForReleaseJobs = true; }; # haskellPackages.ghc is build->host (it exposes the compiler used to build the # set, similarly to stdenv.cc), but pkgs.ghc should be host->target to be more # consistent with the gcc, gnat, clang etc. derivations # # We use targetPackages.haskellPackages.ghc if available since this also has # the withPackages wrapper available. In the final cross-compiled package set # however, targetPackages won't be populated, so we need to fall back to the # plain, cross-compiled compiler (which is only theoretical at the moment). ghc = targetPackages.haskellPackages.ghc or # Prefer native-bignum to avoid linking issues with gmp # Use 9.4 for static over broken 9.6 (if stdenv.targetPlatform.isStatic then haskell.compiler.native-bignum.ghc94 # JS backend can't use GMP else if stdenv.targetPlatform.isGhcjs then haskell.compiler.native-bignum.ghc96 else haskell.compiler.ghc96); alex = haskell.lib.compose.justStaticExecutables haskellPackages.alex; happy = haskell.lib.compose.justStaticExecutables haskellPackages.happy; hscolour = haskell.lib.compose.justStaticExecutables haskellPackages.hscolour; cabal-install = haskell.lib.compose.justStaticExecutables haskellPackages.cabal-install; stack = # TODO: Erroneous references to GHC on aarch64-darwin: https://github.com/NixOS/nixpkgs/issues/318013 (if stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64 then lib.id else haskell.lib.compose.justStaticExecutables) haskellPackages.stack; hlint = haskell.lib.compose.justStaticExecutables haskellPackages.hlint; krank = haskell.lib.compose.justStaticExecutables haskellPackages.krank; stylish-cabal = haskell.lib.compose.justStaticExecutables haskellPackages.stylish-cabal; lhs2tex = haskellPackages.lhs2tex; all-cabal-hashes = callPackage ../data/misc/hackage { }; purescript = callPackage ../development/compilers/purescript/purescript { }; purescript-psa = nodePackages.purescript-psa; purenix = haskell.lib.compose.justStaticExecutables haskellPackages.purenix; spago = callPackage ../development/tools/purescript/spago { }; pulp = nodePackages.pulp; pscid = nodePackages.pscid; coreboot-toolchain = recurseIntoAttrs (callPackage ../development/tools/misc/coreboot-toolchain { }); spicedb = callPackage ../servers/spicedb { }; spicedb-zed = callPackage ../servers/spicedb/zed.nix { }; tamarin-prover = (haskellPackages.callPackage ../applications/science/logic/tamarin-prover { # NOTE: do not use the haskell packages 'graphviz' and 'maude' inherit maude which; graphviz = graphviz-nox; }); inherit (callPackage ../development/compilers/haxe { inherit (darwin.apple_sdk.frameworks) Security; }) haxe_4_3 haxe_4_1 haxe_4_0 ; haxe = haxe_4_3; haxePackages = recurseIntoAttrs (callPackage ./haxe-packages.nix { }); inherit (haxePackages) hxcpp; falcon = callPackage ../development/interpreters/falcon { stdenv = gcc10Stdenv; }; fstar = callPackage ../development/compilers/fstar { ocamlPackages = ocaml-ng.ocamlPackages_4_14; z3 = z3_4_8_5; }; dotnetPackages = recurseIntoAttrs (callPackage ./dotnet-packages.nix {}); gwe = callPackage ../tools/misc/gwe { nvidia_x11 = linuxPackages.nvidia_x11; }; gwt240 = callPackage ../development/compilers/gwt/2.4.0.nix { }; iay = callPackage ../tools/misc/iay { inherit (darwin.apple_sdk.frameworks) AppKit Security Foundation Cocoa; }; idrisPackages = dontRecurseIntoAttrs (callPackage ../development/idris-modules { idris-no-deps = haskellPackages.idris; pkgs = pkgs.__splicedPackages; }); idris = idrisPackages.with-packages [ idrisPackages.base ] ; idris2Packages = recurseIntoAttrs (callPackage ../development/compilers/idris2 { }); inherit (idris2Packages) idris2; inherit (callPackage ../development/tools/database/indradb { }) indradb-server indradb-client; instawow = callPackage ../games/instawow/default.nix { }; irony-server = callPackage ../development/tools/irony-server { # The repository of irony to use -- must match the version of the employed emacs # package. Wishing we could merge it into one irony package, to avoid this issue, # but its emacs-side expression is autogenerated, and we can't hook into it (other # than peek into its version). inherit (emacs.pkgs.melpaStablePackages) irony; }; heptagon = callPackage ../development/compilers/heptagon { ocamlPackages = ocaml-ng.ocamlPackages_4_14; }; openjfx17 = openjfx; openjfx21 = callPackage ../by-name/op/openjfx/package.nix { featureVersion = "21"; }; openjfx23 = callPackage ../by-name/op/openjfx/package.nix { featureVersion = "23"; }; openjdk8-bootstrap = javaPackages.compiler.openjdk8-bootstrap; openjdk8 = javaPackages.compiler.openjdk8; openjdk8_headless = javaPackages.compiler.openjdk8.headless; jdk8 = openjdk8; jdk8_headless = openjdk8_headless; jre8 = openjdk8.jre; jre8_headless = openjdk8_headless.jre; openjdk11-bootstrap = javaPackages.compiler.openjdk11-bootstrap; openjdk11 = javaPackages.compiler.openjdk11; openjdk11_headless = javaPackages.compiler.openjdk11.headless; jdk11 = openjdk11; jdk11_headless = openjdk11_headless; openjdk17-bootstrap = javaPackages.compiler.openjdk17-bootstrap; openjdk17 = javaPackages.compiler.openjdk17; openjdk17_headless = javaPackages.compiler.openjdk17.headless; jdk17 = openjdk17; jdk17_headless = openjdk17_headless; openjdk21 = javaPackages.compiler.openjdk21; openjdk21_headless = javaPackages.compiler.openjdk21.headless; jdk21 = openjdk21; jdk21_headless = openjdk21_headless; openjdk23 = javaPackages.compiler.openjdk23; openjdk23_headless = javaPackages.compiler.openjdk23.headless; jdk23 = openjdk23; jdk23_headless = openjdk23_headless; /* default JDK */ jdk = jdk21; jdk_headless = jdk21_headless; # Since the introduction of the Java Platform Module System in Java 9, Java # no longer ships a separate JRE package. # # If you are building a 'minimal' system/image, you are encouraged to use # 'jre_minimal' to build a bespoke JRE containing only the modules you need. # # For a general-purpose system, 'jre' defaults to the full JDK: jre = jdk; jre_headless = jdk_headless; jre17_minimal = callPackage ../development/compilers/openjdk/jre.nix { jdk = jdk17; }; jre_minimal = callPackage ../development/compilers/openjdk/jre.nix { }; openjdk = jdk; openjdk_headless = jdk_headless; graalvmCEPackages = callPackage ../development/compilers/graalvm/community-edition { }; graalvm-ce = graalvmCEPackages.graalvm-ce; buildGraalvmNativeImage = (callPackage ../build-support/build-graalvm-native-image { graalvmDrv = graalvm-ce; }).override; openshot-qt = libsForQt5.callPackage ../applications/video/openshot-qt { python3 = python311; }; inherit (callPackage ../development/compilers/julia { }) julia_19-bin julia_110-bin julia_111-bin julia_19 julia_110 julia_111; julia-lts = julia_110-bin; julia-stable = julia_111; julia = julia-stable; julia-lts-bin = julia_110-bin; julia-stable-bin = julia_111-bin; julia-bin = julia-stable-bin; kind2 = darwin.apple_sdk_11_0.callPackage ../development/compilers/kind2 { }; koka = haskell.lib.compose.justStaticExecutables (haskellPackages.callPackage ../development/compilers/koka { }); kotlin = callPackage ../development/compilers/kotlin { }; kotlin-native = callPackage ../development/compilers/kotlin/native.nix { }; lazarus = callPackage ../development/compilers/fpc/lazarus.nix { fpc = fpc; }; lazarus-qt = libsForQt5.callPackage ../development/compilers/fpc/lazarus.nix { fpc = fpc; withQt = true; }; lessc = nodePackages.less; lobster = callPackage ../development/compilers/lobster { inherit (darwin.apple_sdk.frameworks) CoreFoundation Cocoa AudioToolbox OpenGL Foundation ForceFeedback; }; lld = llvmPackages.lld; lld_12 = llvmPackages_12.lld; lld_13 = llvmPackages_13.lld; lld_14 = llvmPackages_14.lld; lld_15 = llvmPackages_15.lld; lld_16 = llvmPackages_16.lld; lld_17 = llvmPackages_17.lld; lldb = llvmPackages.lldb; lldb_12 = llvmPackages_12.lldb; lldb_13 = llvmPackages_13.lldb; lldb_14 = llvmPackages_14.lldb; lldb_15 = llvmPackages_15.lldb; lldb_16 = llvmPackages_16.lldb; lldb_17 = llvmPackages_17.lldb; llvm = llvmPackages.llvm; llvm_12 = llvmPackages_12.llvm; llvm_13 = llvmPackages_13.llvm; llvm_14 = llvmPackages_14.llvm; llvm_15 = llvmPackages_15.llvm; llvm_16 = llvmPackages_16.llvm; llvm_17 = llvmPackages_17.llvm; mlir_16 = llvmPackages_16.mlir; mlir_17 = llvmPackages_17.mlir; libclc = llvmPackages.libclc; libllvm = llvmPackages.libllvm; llvm-manpages = llvmPackages.llvm-manpages; # Please remove all this logic when bumping to LLVM 19 and make this # a simple alias. llvmPackages = let # This returns the minimum supported version for the platform. The # assumption is that or any later version is good. choose = platform: if platform.isDarwin then 16 else 18; # We take the "max of the mins". Why? Since those are lower bounds of the # supported version set, this is like intersecting those sets and then # taking the min bound of that. minSupported = toString (lib.trivial.max (choose stdenv.hostPlatform) (choose stdenv.targetPlatform)); in pkgs.${"llvmPackages_${minSupported}"}; llvmPackages_12 = recurseIntoAttrs (callPackage ../development/compilers/llvm/12 { inherit (stdenvAdapters) overrideCC; buildLlvmTools = buildPackages.llvmPackages_12.tools; targetLlvmLibraries = targetPackages.llvmPackages_12.libraries or llvmPackages_12.libraries; targetLlvm = targetPackages.llvmPackages_12.llvm or llvmPackages_12.llvm; }); inherit (rec { llvmPackagesSet = recurseIntoAttrs (callPackages ../development/compilers/llvm { }); llvmPackages_13 = llvmPackagesSet."13"; llvmPackages_14 = llvmPackagesSet."14"; llvmPackages_15 = llvmPackagesSet."15"; llvmPackages_16 = llvmPackagesSet."16"; llvmPackages_17 = llvmPackagesSet."17"; llvmPackages_18 = llvmPackagesSet."18"; clang_18 = llvmPackages_18.clang; lld_18 = llvmPackages_18.lld; lldb_18 = llvmPackages_18.lldb; llvm_18 = llvmPackages_18.llvm; llvmPackages_19 = llvmPackagesSet."19"; clang_19 = llvmPackages_19.clang; lld_19 = llvmPackages_19.lld; lldb_19 = llvmPackages_19.lldb; llvm_19 = llvmPackages_19.llvm; bolt_19 = llvmPackages_19.bolt; }) llvmPackages_13 llvmPackages_14 llvmPackages_15 llvmPackages_16 llvmPackages_17 llvmPackages_18 clang_18 lld_18 lldb_18 llvm_18 llvmPackages_19 clang_19 lld_19 lldb_19 llvm_19 bolt_19; lorri = callPackage ../tools/misc/lorri { inherit (darwin.apple_sdk.frameworks) CoreServices Security; }; mercury = callPackage ../development/compilers/mercury { jdk_headless = openjdk8_headless; # TODO: remove override https://github.com/NixOS/nixpkgs/pull/89731 }; mint = callPackage ../development/compilers/mint { crystal = crystal_1_9; }; mitscheme = callPackage ../development/compilers/mit-scheme { texinfo = texinfo6; }; mitschemeX11 = mitscheme.override { enableX11 = true; }; inherit (callPackage ../development/compilers/mlton {}) mlton20130715 mlton20180207Binary mlton20180207 mlton20210117 mltonHEAD; mlton = mlton20210117; mono = mono6; mono4 = lowPrio (callPackage ../development/compilers/mono/4.nix { inherit (darwin) libobjc; inherit (darwin.apple_sdk.frameworks) Foundation; }); mono5 = callPackage ../development/compilers/mono/5.nix { inherit (darwin) libobjc; inherit (darwin.apple_sdk.frameworks) Foundation; }; mono6 = callPackage ../development/compilers/mono/6.nix { inherit (darwin) libobjc; inherit (darwin.apple_sdk.frameworks) Foundation; }; mozart2 = callPackage ../development/compilers/mozart { emacs = emacs-nox; jre_headless = jre8_headless; # TODO: remove override https://github.com/NixOS/nixpkgs/pull/89731 }; mozart2-binary = callPackage ../development/compilers/mozart/binary.nix { }; nim = nim2; nim1 = nim-1_0; nim2 = nim-2_2; nim-unwrapped = nim-unwrapped-2_2; nim-unwrapped-1 = nim-unwrapped-1_0; nim-unwrapped-2 = nim-unwrapped-2_2; buildNimPackage = callPackage ../build-support/build-nim-package.nix { }; nimOverrides = callPackage ./nim-overrides.nix { }; nextpnrWithGui = libsForQt5.callPackage ../by-name/ne/nextpnr/package.nix { enableGui = true; inherit (darwin.apple_sdk.frameworks) OpenGL; }; obliv-c = callPackage ../development/compilers/obliv-c { stdenv = gcc10Stdenv; ocamlPackages = ocaml-ng.ocamlPackages_4_14; }; ocaml-ng = callPackage ./ocaml-packages.nix { }; ocaml = ocamlPackages.ocaml; ocamlPackages = recurseIntoAttrs ocaml-ng.ocamlPackages; ocaml-crunch = ocamlPackages.crunch.bin; inherit (ocaml-ng.ocamlPackages_4_14) ocamlformat_0_19_0 ocamlformat_0_20_0 ocamlformat_0_20_1 ocamlformat_0_21_0 ocamlformat_0_22_4; inherit (ocamlPackages) ocamlformat # latest version ocamlformat_0_23_0 ocamlformat_0_24_1 ocamlformat_0_25_1 ocamlformat_0_26_0 ocamlformat_0_26_1 ocamlformat_0_26_2; inherit (ocamlPackages) odig; ber_metaocaml = callPackage ../development/compilers/ocaml/ber-metaocaml.nix { }; opam = callPackage ../development/tools/ocaml/opam { inherit (darwin.apple_sdk.frameworks) Foundation; }; opam-installer = callPackage ../development/tools/ocaml/opam/installer.nix { }; wrapWatcom = callPackage ../development/compilers/open-watcom/wrapper.nix { }; open-watcom-v2-unwrapped = callPackage ../development/compilers/open-watcom/v2.nix { }; open-watcom-v2 = wrapWatcom open-watcom-v2-unwrapped { }; open-watcom-bin-unwrapped = callPackage ../development/compilers/open-watcom/bin.nix { }; open-watcom-bin = wrapWatcom open-watcom-bin-unwrapped { }; ponyc = callPackage ../development/compilers/ponyc { # Upstream pony no longer supports GCC stdenv = llvmPackages.stdenv; }; pony-corral = callPackage ../development/compilers/ponyc/pony-corral.nix { }; replibyte = callPackage ../development/tools/database/replibyte { inherit (darwin.apple_sdk.frameworks) Security SystemConfiguration; }; rml = callPackage ../development/compilers/rml { ocamlPackages = ocaml-ng.ocamlPackages_4_14; }; rtags = callPackage ../development/tools/rtags { inherit (darwin) apple_sdk; }; wrapRustcWith = { rustc-unwrapped, ... } @ args: callPackage ../build-support/rust/rustc-wrapper args; wrapRustc = rustc-unwrapped: wrapRustcWith { inherit rustc-unwrapped; }; rust_1_82 = callPackage ../development/compilers/rust/1_82.nix { inherit (darwin.apple_sdk.frameworks) CoreFoundation Security SystemConfiguration; llvm_18 = llvmPackages_18.libllvm; }; rust = rust_1_82; mrustc = callPackage ../development/compilers/mrustc { }; mrustc-minicargo = callPackage ../development/compilers/mrustc/minicargo.nix { }; mrustc-bootstrap = callPackage ../development/compilers/mrustc/bootstrap.nix { openssl = openssl_1_1; }; rustPackages_1_82 = rust_1_82.packages.stable; rustPackages = rustPackages_1_82; inherit (rustPackages) cargo cargo-auditable cargo-auditable-cargo-wrapper clippy rustc rustPlatform; makeRustPlatform = callPackage ../development/compilers/rust/make-rust-platform.nix { }; buildRustCrate = let # Returns a true if the builder's rustc was built with support for the target. targetAlreadyIncluded = lib.elem stdenv.hostPlatform.rust.rustcTarget (lib.splitString "," (lib.removePrefix "--target=" ( lib.elemAt (lib.filter (f: lib.hasPrefix "--target=" f) pkgsBuildBuild.rustc.unwrapped.configureFlags) 0 ))); in callPackage ../build-support/rust/build-rust-crate ({ } // lib.optionalAttrs (stdenv.hostPlatform.libc == null) { stdenv = stdenvNoCC; # Some build targets without libc will fail to evaluate with a normal stdenv. } // lib.optionalAttrs targetAlreadyIncluded { inherit (pkgsBuildBuild) rustc cargo; } # Optimization. ); buildRustCrateHelpers = callPackage ../build-support/rust/build-rust-crate/helpers.nix { }; cargo-web = callPackage ../development/tools/rust/cargo-web { inherit (darwin.apple_sdk.frameworks) CoreServices Security; }; cargo-flamegraph = callPackage ../development/tools/rust/cargo-flamegraph { inherit (darwin.apple_sdk.frameworks) Security; inherit (linuxPackages) perf; }; defaultCrateOverrides = callPackage ../build-support/rust/default-crate-overrides.nix { }; cargo-audit = callPackage ../development/tools/rust/cargo-audit { inherit (darwin.apple_sdk.frameworks) Security SystemConfiguration; }; cargo-c = callPackage ../development/tools/rust/cargo-c { inherit (darwin.apple_sdk.frameworks) CoreFoundation Security; }; cargo-clone = callPackage ../development/tools/rust/cargo-clone { inherit (darwin.apple_sdk.frameworks) CoreServices Security SystemConfiguration; }; cargo-codspeed = callPackage ../development/tools/rust/cargo-codspeed { rustPlatform = makeRustPlatform { stdenv = if stdenv.hostPlatform.isDarwin then overrideSDK stdenv "11.0" else stdenv; inherit rustc cargo; }; }; cargo-cyclonedx = callPackage ../development/tools/rust/cargo-cyclonedx { inherit (darwin.apple_sdk.frameworks) Security SystemConfiguration CoreFoundation; }; cargo-deadlinks = callPackage ../development/tools/rust/cargo-deadlinks { inherit (darwin.apple_sdk.frameworks) Security; }; cargo-edit = callPackage ../development/tools/rust/cargo-edit { inherit (darwin.apple_sdk.frameworks) Security; }; cargo-outdated = callPackage ../development/tools/rust/cargo-outdated { inherit (darwin.apple_sdk.frameworks) CoreFoundation CoreServices Security SystemConfiguration; }; inherit (callPackages ../development/tools/rust/cargo-pgrx { }) cargo-pgrx_0_10_2 cargo-pgrx_0_11_2 cargo-pgrx_0_11_3 cargo-pgrx_0_12_0_alpha_1 ; cargo-pgrx = cargo-pgrx_0_11_2; buildPgrxExtension = callPackage ../development/tools/rust/cargo-pgrx/buildPgrxExtension.nix { inherit (darwin.apple_sdk.frameworks) Security; }; cargo-tarpaulin = callPackage ../development/tools/analysis/cargo-tarpaulin { inherit (darwin.apple_sdk.frameworks) Security; }; cargo-asm = callPackage ../development/tools/rust/cargo-asm { inherit (darwin.apple_sdk.frameworks) Security; }; cargo-bazel = callPackage ../development/tools/rust/cargo-bazel { inherit (darwin.apple_sdk.frameworks) Security; }; cargo-cache = callPackage ../development/tools/rust/cargo-cache { inherit (darwin.apple_sdk.frameworks) Security; }; cargo-crev = callPackage ../development/tools/rust/cargo-crev { inherit (darwin.apple_sdk.frameworks) Security SystemConfiguration CoreFoundation; }; cargo-fund = callPackage ../development/tools/rust/cargo-fund { inherit (darwin.apple_sdk.frameworks) Security; }; cargo-hf2 = callPackage ../development/tools/rust/cargo-hf2 { inherit (darwin.apple_sdk.frameworks) AppKit; }; cargo-inspect = callPackage ../development/tools/rust/cargo-inspect { inherit (darwin.apple_sdk.frameworks) Security; }; cargo-lambda = callPackage ../development/tools/rust/cargo-lambda { zig = buildPackages.zig_0_12; inherit (darwin.apple_sdk.frameworks) CoreServices Security; }; cargo-msrv = callPackage ../development/tools/rust/cargo-msrv { inherit (darwin.apple_sdk.frameworks) Security; }; cargo-ndk = callPackage ../development/tools/rust/cargo-ndk { inherit (darwin.apple_sdk.frameworks) CoreGraphics Foundation; }; cargo-rdme = callPackage ../by-name/ca/cargo-rdme/package.nix { inherit (darwin.apple_sdk.frameworks) Security; }; cargo-spellcheck = callPackage ../development/tools/rust/cargo-spellcheck { inherit (darwin.apple_sdk.frameworks) Security SystemConfiguration; }; cargo-udeps = callPackage ../development/tools/rust/cargo-udeps { inherit (darwin.apple_sdk.frameworks) CoreServices Security SystemConfiguration; }; cargo-vet = callPackage ../development/tools/rust/cargo-vet { inherit (darwin.apple_sdk.frameworks) Security; }; cargo-watch = callPackage ../development/tools/rust/cargo-watch { inherit (darwin.apple_sdk.frameworks) Foundation Cocoa; }; cargo-whatfeatures = callPackage ../development/tools/rust/cargo-whatfeatures { inherit (darwin.apple_sdk.frameworks) Security; }; cargo-zigbuild = callPackage ../development/tools/rust/cargo-zigbuild { zig = buildPackages.zig_0_12; }; opensmalltalk-vm = callPackage ../development/compilers/opensmalltalk-vm { }; opensycl = darwin.apple_sdk_11_0.callPackage ../development/compilers/opensycl { }; opensyclWithRocm = opensycl.override { rocmSupport = true; }; rustfmt = rustPackages.rustfmt; rust-bindgen-unwrapped = callPackage ../development/tools/rust/bindgen/unwrapped.nix { }; rust-bindgen = callPackage ../development/tools/rust/bindgen { }; rust-cbindgen = callPackage ../development/tools/rust/cbindgen { inherit (darwin.apple_sdk.frameworks) Security; }; rustup = callPackage ../development/tools/rust/rustup { inherit (darwin.apple_sdk.frameworks) CoreServices Security; }; rustup-toolchain-install-master = callPackage ../development/tools/rust/rustup-toolchain-install-master { inherit (darwin.apple_sdk.frameworks) Security; }; scala_2_10 = callPackage ../development/compilers/scala/2.x.nix { majorVersion = "2.10"; jre = jdk8; }; scala_2_11 = callPackage ../development/compilers/scala/2.x.nix { majorVersion = "2.11"; jre = jdk8; }; scala_2_12 = callPackage ../development/compilers/scala/2.x.nix { majorVersion = "2.12"; }; scala_2_13 = callPackage ../development/compilers/scala/2.x.nix { majorVersion = "2.13"; }; scala_3 = callPackage ../development/compilers/scala { }; scala = scala_3; scala-runners = callPackage ../development/compilers/scala-runners { coursier = coursier.override { jre = jdk8; }; }; scalafix = callPackage ../development/tools/scalafix { jre = jre8; # TODO: remove override https://github.com/NixOS/nixpkgs/pull/89731 }; # smlnjBootstrap should be redundant, now that smlnj works on Darwin natively smlnjBootstrap = callPackage ../development/compilers/smlnj/bootstrap.nix { }; smlnj = callPackage ../development/compilers/smlnj { inherit (darwin) Libsystem; }; sqlx-cli = callPackage ../development/tools/rust/sqlx-cli { inherit (darwin.apple_sdk.frameworks) SystemConfiguration CoreFoundation Security; }; squeak = callPackage ../development/compilers/squeak { stdenv = clangStdenv; }; squirrel-sql = callPackage ../development/tools/database/squirrel-sql { drivers = [ jtds_jdbc mssql_jdbc mysql_jdbc postgresql_jdbc ]; }; surrealdb-migrations = callPackage ../development/tools/database/surrealdb-migrations { inherit (darwin.apple_sdk.frameworks) Security; }; swiftPackages = recurseIntoAttrs (callPackage ../development/compilers/swift { }); inherit (swiftPackages) swift swiftpm sourcekit-lsp swift-format swiftpm2nix; swi-prolog = callPackage ../development/compilers/swi-prolog { inherit (darwin.apple_sdk.frameworks) Security; }; swi-prolog-gui = swi-prolog.override { withGui = true; }; tbb_2020_3 = callPackage ../development/libraries/tbb/2020_3.nix { }; tbb_2021_5 = callPackage ../development/libraries/tbb/2021_5.nix { } ; tbb_2021_11 = callPackage ../development/libraries/tbb { }; # many packages still fail with latest version tbb = tbb_2020_3; terra = callPackage ../development/compilers/terra { inherit (darwin) libobjc; inherit (darwin.apple_sdk.frameworks) Cocoa Foundation; }; teyjus = callPackage ../development/compilers/teyjus { inherit (ocaml-ng.ocamlPackages_4_14) buildDunePackage; }; thrust = callPackage ../development/tools/thrust { gconf = gnome2.GConf; }; tinycc = darwin.apple_sdk_11_0.callPackage ../development/compilers/tinycc { }; tinygo = callPackage ../development/compilers/tinygo { llvmPackages = llvmPackages_18; }; ubports-click = python3Packages.callPackage ../development/tools/click { }; urweb = callPackage ../development/compilers/urweb { icu = icu67; }; vcard = python3Packages.toPythonApplication python3Packages.vcard; inherit (callPackage ../development/compilers/vala { }) vala_0_56 vala; vyper = with python3Packages; toPythonApplication vyper; wrapCCWith = { cc , # This should be the only bintools runtime dep with this sort of logic. The # Others should instead delegate to the next stage's choice with # `targetPackages.stdenv.cc.bintools`. This one is different just to # provide the default choice, avoiding infinite recursion. # See the bintools attribute for the logic and reasoning. We need to provide # a default here, since eval will hit this function when bootstrapping # stdenv where the bintools attribute doesn't exist, but will never actually # be evaluated -- callPackage ends up being too eager. bintools ? pkgs.bintools , libc ? bintools.libc , # libc++ from the default LLVM version is bound at the top level, but we # want the C++ library to be explicitly chosen by the caller, and null by # default. libcxx ? null , extraPackages ? lib.optional (cc.isGNU or false && stdenv.targetPlatform.isMinGW) threadsCross.package , nixSupport ? {} , ... } @ extraArgs: callPackage ../build-support/cc-wrapper (let self = { nativeTools = stdenv.targetPlatform == stdenv.hostPlatform && stdenv.cc.nativeTools or false; nativeLibc = stdenv.targetPlatform == stdenv.hostPlatform && stdenv.cc.nativeLibc or false; nativePrefix = stdenv.cc.nativePrefix or ""; noLibc = !self.nativeLibc && (self.libc == null); isGNU = cc.isGNU or false; isClang = cc.isClang or false; isArocc = cc.isArocc or false; isZig = cc.isZig or false; inherit cc bintools libc libcxx extraPackages nixSupport zlib; } // extraArgs; in self); wrapCC = cc: wrapCCWith { inherit cc; }; wrapBintoolsWith = { bintools , libc ? if stdenv.targetPlatform != stdenv.hostPlatform then libcCross else stdenv.cc.libc , ... } @ extraArgs: callPackage ../build-support/bintools-wrapper (let self = { nativeTools = stdenv.targetPlatform == stdenv.hostPlatform && stdenv.cc.nativeTools or false; nativeLibc = stdenv.targetPlatform == stdenv.hostPlatform && stdenv.cc.nativeLibc or false; nativePrefix = stdenv.cc.nativePrefix or ""; noLibc = (self.libc == null); inherit bintools libc; } // extraArgs; in self); # prolog yosys = callPackage ../development/compilers/yosys { }; yosys-bluespec = callPackage ../development/compilers/yosys/plugins/bluespec.nix { }; yosys-ghdl = callPackage ../development/compilers/yosys/plugins/ghdl.nix { }; yosys-synlig = callPackage ../development/compilers/yosys/plugins/synlig.nix { }; yosys-symbiflow = callPackage ../development/compilers/yosys/plugins/symbiflow.nix { }; zulu8 = callPackage ../development/compilers/zulu/8.nix { }; zulu11 = callPackage ../development/compilers/zulu/11.nix { }; zulu17 = callPackage ../development/compilers/zulu/17.nix { }; zulu21 = callPackage ../development/compilers/zulu/21.nix { }; zulu23 = callPackage ../development/compilers/zulu/23.nix { }; zulu = zulu21; ### DEVELOPMENT / INTERPRETERS acl2 = callPackage ../development/interpreters/acl2 { }; acl2-minimal = callPackage ../development/interpreters/acl2 { certifyBooks = false; }; babashka-unwrapped = callPackage ../development/interpreters/babashka { }; babashka = callPackage ../development/interpreters/babashka/wrapped.nix { }; # BQN interpreters and compilers mbqn = bqn; cbqn = cbqn-bootstrap.phase2; cbqn-replxx = cbqn-bootstrap.phase2-replxx; cbqn-standalone = cbqn-bootstrap.phase0; cbqn-standalone-replxx = cbqn-bootstrap.phase0-replxx; # Below, the classic self-bootstrapping process cbqn-bootstrap = lib.dontRecurseIntoAttrs { # Use clang to compile CBQN if we aren't already. # CBQN's upstream primarily targets and tests clang which means using gcc # will result in slower binaries and on some platforms failing/broken builds. # See https://github.com/dzaima/CBQN/issues/12. # # Known issues: # # * CBQN using gcc is broken at runtime on i686 due to # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58416, # * CBQN uses some CPP macros gcc doesn't like for aarch64. stdenv = if !stdenv.cc.isClang then clangStdenv else stdenv; mbqn-source = buildPackages.mbqn.src; phase0 = callPackage ../development/interpreters/bqn/cbqn { inherit (cbqn-bootstrap) mbqn-source stdenv; generateBytecode = false; # Not really used, but since null can be dangerous... bqn-interpreter = "${lib.getExe' buildPackages.mbqn "bqn"}"; }; phase0-replxx = callPackage ../development/interpreters/bqn/cbqn { inherit (cbqn-bootstrap) mbqn-source stdenv; enableReplxx = true; generateBytecode = false; # Not really used, but since null can be dangerous... bqn-interpreter = "${lib.getExe' buildPackages.mbqn "bqn"}"; }; phase1 = callPackage ../development/interpreters/bqn/cbqn { inherit (cbqn-bootstrap) mbqn-source stdenv; generateBytecode = true; bqn-interpreter = "${lib.getExe' buildPackages.cbqn-bootstrap.phase0 "cbqn"}"; }; phase2 = callPackage ../development/interpreters/bqn/cbqn { inherit (cbqn-bootstrap) mbqn-source stdenv; generateBytecode = true; bqn-interpreter = "${lib.getExe' buildPackages.cbqn-bootstrap.phase0 "cbqn"}"; }; phase2-replxx = callPackage ../development/interpreters/bqn/cbqn { inherit (cbqn-bootstrap) mbqn-source stdenv; generateBytecode = true; enableReplxx = true; bqn-interpreter = "${lib.getExe' buildPackages.cbqn-bootstrap.phase0 "cbqn"}"; }; }; dbqn = callPackage ../by-name/db/dbqn/package.nix { buildNativeImage = false; jdk = jre; stdenv = stdenvNoCC; }; dbqn-native = dbqn.override { buildNativeImage = true; jdk = graalvm-ce; }; cliscord = callPackage ../misc/cliscord { inherit (darwin.apple_sdk.frameworks) Security; }; clojupyter = callPackage ../applications/editors/jupyter-kernels/clojupyter { jre = jre8; }; inherit (callPackage ../applications/editors/jupyter-kernels/xeus-cling { }) cpp11-kernel cpp14-kernel cpp17-kernel cpp2a-kernel; xeus-cling = callPackage ../applications/editors/jupyter-kernels/xeus-cling/xeus-cling.nix { }; clojure = callPackage ../development/interpreters/clojure { # set this to an LTS version of java jdk = jdk21; }; clooj = callPackage ../development/interpreters/clojure/clooj.nix { }; dhall = haskell.lib.compose.justStaticExecutables haskellPackages.dhall; dhall-bash = haskell.lib.compose.justStaticExecutables haskellPackages.dhall-bash; dhall-docs = haskell.lib.compose.justStaticExecutables haskellPackages.dhall-docs; dhall-lsp-server = haskell.lib.compose.justStaticExecutables haskellPackages.dhall-lsp-server; dhall-json = haskell.lib.compose.justStaticExecutables haskellPackages.dhall-json; dhall-nix = haskell.lib.compose.justStaticExecutables haskellPackages.dhall-nix; dhall-nixpkgs = haskell.lib.compose.justStaticExecutables haskellPackages.dhall-nixpkgs; dhall-yaml = haskell.lib.compose.justStaticExecutables haskellPackages.dhall-yaml; dhallPackages = recurseIntoAttrs (callPackage ./dhall-packages.nix { }); duckscript = callPackage ../development/tools/rust/duckscript { inherit (darwin.apple_sdk.frameworks) Security SystemConfiguration; }; evcxr = callPackage ../development/interpreters/evcxr { inherit (darwin.apple_sdk.frameworks) CoreServices Security; }; beam = callPackage ./beam-packages.nix { }; beam_nox = callPackage ./beam-packages.nix { beam = beam_nox; wxSupport = false; }; beam_minimal = callPackage ./beam-packages.nix { beam = beam_minimal; wxSupport = false; systemdSupport = false; }; beam_nodocs = callPackage ./beam-packages.nix { beam = beam_nodocs; wxSupport = false; systemdSupport = false; ex_docSupport = false; }; inherit (beam.interpreters) erlang erlang_27 erlang_26 erlang_25 erlang_24 elixir elixir_1_17 elixir_1_16 elixir_1_15 elixir_1_14 elixir_1_13 elixir_1_12 elixir_1_11 elixir_1_10 elixir-ls; erlang_nox = beam_nox.interpreters.erlang; inherit (beam.packages.erlang) ex_doc erlang-ls erlfmt elvis-erlang rebar rebar3 rebar3WithPlugins fetchHex lfe lfe_2_1; beamPackages = beam.packages.erlang // { __attrsFailEvaluation = true; }; erlang_language_platform = callPackage ../by-name/er/erlang-language-platform/package.nix { }; gnudatalanguage = callPackage ../development/interpreters/gnudatalanguage { inherit (llvmPackages) openmp; inherit (darwin.apple_sdk.frameworks) Cocoa; # MPICH currently build on Darwin mpi = mpich; }; graphql-client = callPackage ../development/tools/graphql-client { inherit (darwin.apple_sdk.frameworks) Security; }; inherit (callPackages ../applications/networking/cluster/hadoop {}) hadoop_3_4 hadoop_3_3 hadoop2; hadoop3 = hadoop_3_4; hadoop = hadoop3; jacinda = haskell.lib.compose.justStaticExecutables haskellPackages.jacinda; janet = callPackage ../development/interpreters/janet { }; jpm = callPackage ../development/interpreters/janet/jpm.nix { }; davmail = callPackage ../applications/networking/davmail { zulu = zulu11; }; lambda-lisp-blc = lambda-lisp; love_0_10 = callPackage ../development/interpreters/love/0.10.nix { }; love_11 = callPackage ../development/interpreters/love/11.nix { }; love = love_11; ### LUA interpreters emiluaPlugins = recurseIntoAttrs (callPackage ./emilua-plugins.nix {} (callPackage ../development/interpreters/emilua { })); inherit (emiluaPlugins) emilua; luaInterpreters = callPackage ./../development/interpreters/lua-5 { }; inherit (luaInterpreters) lua5_1 lua5_2 lua5_2_compat lua5_3 lua5_3_compat lua5_4 lua5_4_compat luajit_2_1 luajit_2_0 luajit_openresty; lua5 = lua5_2_compat; lua = lua5; lua51Packages = recurseIntoAttrs lua5_1.pkgs; lua52Packages = recurseIntoAttrs lua5_2.pkgs; lua53Packages = recurseIntoAttrs lua5_3.pkgs; lua54Packages = recurseIntoAttrs lua5_4.pkgs; luajitPackages = recurseIntoAttrs luajit.pkgs; luaPackages = lua52Packages; luajit = luajit_2_1; luarocks = luaPackages.luarocks; luarocks-nix = luaPackages.luarocks-nix; luarocks-packages-updater = callPackage ../by-name/lu/luarocks-packages-updater/package.nix { pluginupdate = ../../maintainers/scripts/pluginupdate-py; }; toluapp = callPackage ../development/tools/toluapp { lua = lua5_1; # doesn't work with any other :( }; ### END OF LUA ### CuboCore CuboCore = recurseIntoAttrs (import ./cubocore-packages.nix { inherit newScope lxqt lib libsForQt5; }); ### End of CuboCore obb = callPackage ../development/interpreters/clojure/obb.nix { }; octave = callPackage ../development/interpreters/octave { }; octaveFull = octave.override { enableQt = true; }; octave-kernel = callPackage ../applications/editors/jupyter-kernels/octave { }; octavePackages = recurseIntoAttrs octave.pkgs; # PHP interpreters, packages and extensions. # # Set default PHP interpreter, extensions and packages php = php82; phpExtensions = php.extensions; phpPackages = php.packages; # Import PHP84 interpreter, extensions and packages php84 = callPackage ../development/interpreters/php/8.4.nix { stdenv = if stdenv.cc.isClang then llvmPackages.stdenv else stdenv; pcre2 = pcre2.override { withJitSealloc = false; # See https://bugs.php.net/bug.php?id=78927 and https://bugs.php.net/bug.php?id=78630 }; }; php84Extensions = recurseIntoAttrs php84.extensions; php84Packages = recurseIntoAttrs php84.packages; # Import PHP83 interpreter, extensions and packages php83 = callPackage ../development/interpreters/php/8.3.nix { stdenv = if stdenv.cc.isClang then llvmPackages.stdenv else stdenv; pcre2 = pcre2.override { withJitSealloc = false; # See https://bugs.php.net/bug.php?id=78927 and https://bugs.php.net/bug.php?id=78630 }; }; php83Extensions = recurseIntoAttrs php83.extensions; php83Packages = recurseIntoAttrs php83.packages; # Import PHP82 interpreter, extensions and packages php82 = callPackage ../development/interpreters/php/8.2.nix { stdenv = if stdenv.cc.isClang then llvmPackages.stdenv else stdenv; pcre2 = pcre2.override { withJitSealloc = false; # See https://bugs.php.net/bug.php?id=78927 and https://bugs.php.net/bug.php?id=78630 }; }; php82Extensions = recurseIntoAttrs php82.extensions; php82Packages = recurseIntoAttrs php82.packages; # Import PHP81 interpreter, extensions and packages php81 = callPackage ../development/interpreters/php/8.1.nix { stdenv = if stdenv.cc.isClang then llvmPackages.stdenv else stdenv; pcre2 = pcre2.override { withJitSealloc = false; # See https://bugs.php.net/bug.php?id=78927 and https://bugs.php.net/bug.php?id=78630 }; }; php81Extensions = recurseIntoAttrs php81.extensions; php81Packages = recurseIntoAttrs php81.packages; polyml = callPackage ../development/compilers/polyml { }; polyml56 = callPackage ../development/compilers/polyml/5.6.nix { }; polyml57 = callPackage ../development/compilers/polyml/5.7.nix { }; # Python interpreters. All standard library modules are included except for tkinter, which is # available as `pythonPackages.tkinter` and can be used as any other Python package. # When switching these sets, please update docs at ../../doc/languages-frameworks/python.md python2 = python27; python3 = python312; # pythonPackages further below, but assigned here because they need to be in sync python2Packages = dontRecurseIntoAttrs python27Packages; python3Packages = dontRecurseIntoAttrs python312Packages; pypy = pypy2; pypy2 = pypy27; pypy3 = pypy39; # Python interpreter that is build with all modules, including tkinter. # These are for compatibility and should not be used inside Nixpkgs. python2Full = python2.override { self = python2Full; pythonAttr = "python2Full"; x11Support = true; }; python27Full = python27.override { self = python27Full; pythonAttr = "python27Full"; x11Support = true; }; python3Full = python3.override { self = python3Full; pythonAttr = "python3Full"; bluezSupport = lib.meta.availableOn stdenv.hostPlatform bluez; x11Support = true; }; python39Full = python39.override { self = python39Full; pythonAttr = "python39Full"; bluezSupport = lib.meta.availableOn stdenv.hostPlatform bluez; x11Support = true; }; python310Full = python310.override { self = python310Full; pythonAttr = "python310Full"; bluezSupport = lib.meta.availableOn stdenv.hostPlatform bluez; x11Support = true; }; python311Full = python311.override { self = python311Full; pythonAttr = "python311Full"; bluezSupport = lib.meta.availableOn stdenv.hostPlatform bluez; x11Support = true; }; python312Full = python312.override { self = python312Full; pythonAttr = "python312Full"; bluezSupport = lib.meta.availableOn stdenv.hostPlatform bluez; x11Support = true; }; python313Full = python313.override { self = python313Full; pythonAttr = "python313Full"; bluezSupport = lib.meta.availableOn stdenv.hostPlatform bluez; x11Support = true; }; python314Full = python314.override { self = python314Full; pythonAttr = "python314Full"; bluezSupport = lib.meta.availableOn stdenv.hostPlatform bluez; x11Support = true; }; # https://py-free-threading.github.io python313FreeThreading = python313.override { pythonAttr = "python313FreeThreading"; enableGIL = false; }; python314FreeThreading = python314.override { pythonAttr = "python313FreeThreading"; enableGIL = false; }; pythonInterpreters = callPackage ./../development/interpreters/python { }; inherit (pythonInterpreters) python27 python39 python310 python311 python312 python313 python314 python3Minimal pypy27 pypy310 pypy39 rustpython; # List of extensions with overrides to apply to all Python package sets. pythonPackagesExtensions = [ ]; # Python package sets. python27Packages = python27.pkgs; python39Packages = python39.pkgs; python310Packages = python310.pkgs; python311Packages = recurseIntoAttrs python311.pkgs; python312Packages = recurseIntoAttrs python312.pkgs; python313Packages = python313.pkgs; python314Packages = python314.pkgs; pypyPackages = pypy.pkgs; pypy2Packages = pypy2.pkgs; pypy27Packages = pypy27.pkgs; pypy3Packages = pypy3.pkgs; pypy39Packages = pypy39.pkgs; pypy310Packages = pypy310.pkgs; pythonManylinuxPackages = callPackage ./../development/interpreters/python/manylinux { }; pythonCondaPackages = callPackage ./../development/interpreters/python/conda { }; # Should eventually be moved inside Python interpreters. python-setup-hook = buildPackages.callPackage ../development/interpreters/python/setup-hook.nix { }; pythonDocs = recurseIntoAttrs (callPackage ../development/interpreters/python/cpython/docs {}); svg2tikz = with python3.pkgs; toPythonApplication svg2tikz; poetryPlugins = recurseIntoAttrs poetry.plugins; pipx = with python3.pkgs; toPythonApplication pipx; pipewire = callPackage ../development/libraries/pipewire { # ffmpeg depends on SDL2 which depends on pipewire by default. # Break the cycle by depending on ffmpeg-headless. # Pipewire only uses libavcodec (via an SPA plugin), which isn't # affected by the *-headless changes. ffmpeg = ffmpeg-headless; }; wireplumber = callPackage ../development/libraries/pipewire/wireplumber.nix { }; racket = callPackage ../development/interpreters/racket { inherit (darwin.apple_sdk.frameworks) CoreFoundation; }; racket_7_9 = callPackage ../development/interpreters/racket/racket_7_9.nix { inherit (darwin.apple_sdk.frameworks) CoreFoundation; }; racket-minimal = callPackage ../development/interpreters/racket/minimal.nix { }; rakudo = callPackage ../development/interpreters/rakudo { }; moarvm = darwin.apple_sdk_11_0.callPackage ../development/interpreters/rakudo/moarvm.nix { inherit (darwin.apple_sdk_11_0.frameworks) CoreServices ApplicationServices; }; nqp = callPackage ../development/interpreters/rakudo/nqp.nix { }; zef = callPackage ../development/interpreters/rakudo/zef.nix { }; inherit (ocamlPackages) reason rtop; buildRubyGem = callPackage ../development/ruby-modules/gem { inherit (darwin) libobjc; }; defaultGemConfig = callPackage ../development/ruby-modules/gem-config { inherit (darwin) DarwinTools autoSignDarwinBinariesHook; inherit (darwin.apple_sdk.frameworks) CoreServices; }; bundlerEnv = callPackage ../development/ruby-modules/bundler-env { }; bundlerApp = callPackage ../development/ruby-modules/bundler-app { }; bundlerUpdateScript = callPackage ../development/ruby-modules/bundler-update-script { }; bundler-audit = callPackage ../tools/security/bundler-audit { }; solargraph = rubyPackages.solargraph; rubyfmt = darwin.apple_sdk_11_0.callPackage ../development/tools/rubyfmt { inherit (darwin.apple_sdk_11_0.frameworks) Foundation Security; inherit (darwin) libobjc; }; inherit (callPackage ../development/interpreters/ruby { inherit (darwin) libobjc libunwind; inherit (darwin.apple_sdk.frameworks) Foundation; }) mkRubyVersion mkRuby ruby_3_1 ruby_3_2 ruby_3_3 ruby_3_4; ruby = ruby_3_3; rubyPackages = rubyPackages_3_3; rubyPackages_3_1 = recurseIntoAttrs ruby_3_1.gems; rubyPackages_3_2 = recurseIntoAttrs ruby_3_2.gems; rubyPackages_3_3 = recurseIntoAttrs ruby_3_3.gems; rubyPackages_3_4 = recurseIntoAttrs ruby_3_4.gems; samplebrain = libsForQt5.callPackage ../applications/audio/samplebrain { }; inherit (callPackages ../applications/networking/cluster/spark { }) spark_3_5 spark_3_4; spark3 = spark_3_5; spark = spark3; inherit ({ spidermonkey_78 = callPackage ../development/interpreters/spidermonkey/78.nix { inherit (darwin) libobjc; }; spidermonkey_91 = callPackage ../development/interpreters/spidermonkey/91.nix { inherit (darwin) libobjc; }; spidermonkey_115 = callPackage ../development/interpreters/spidermonkey/115.nix { inherit (darwin) libobjc; }; spidermonkey_128 = callPackage ../development/interpreters/spidermonkey/128.nix { inherit (darwin) libobjc; }; }) spidermonkey_78 spidermonkey_91 spidermonkey_115 spidermonkey_128 ; supercollider = libsForQt5.callPackage ../development/interpreters/supercollider { fftw = fftwSinglePrec; }; supercollider_scel = supercollider.override { useSCEL = true; }; supercolliderPlugins = recurseIntoAttrs { sc3-plugins = callPackage ../development/interpreters/supercollider/plugins/sc3-plugins.nix { fftw = fftwSinglePrec; }; }; supercollider-with-plugins = callPackage ../development/interpreters/supercollider/wrapper.nix { plugins = []; }; supercollider-with-sc3-plugins = supercollider-with-plugins.override { plugins = with supercolliderPlugins; [ sc3-plugins ]; }; tcl = tcl-8_6; tcl-8_5 = callPackage ../development/interpreters/tcl/8.5.nix { }; tcl-8_6 = callPackage ../development/interpreters/tcl/8.6.nix { }; tcl-9_0 = callPackage ../development/interpreters/tcl/9.0.nix { }; # We don't need versioned package sets thanks to the tcl stubs mechanism tclPackages = recurseIntoAttrs (callPackage ./tcl-packages.nix {}); tclreadline = tclPackages.tclreadline; wasm = ocamlPackages.wasm; ### DEVELOPMENT / MISC inherit (callPackages ../development/misc/h3 { }) h3_3 h3_4; h3 = h3_3; avrlibc = callPackage ../development/misc/avr/libc { stdenv = stdenvNoLibc; }; sourceFromHead = callPackage ../build-support/source-from-head-fun.nix { }; jruby = callPackage ../development/interpreters/jruby { }; guile_1_8 = callPackage ../development/interpreters/guile/1.8.nix { }; # Needed for autogen guile_2_0 = callPackage ../development/interpreters/guile/2.0.nix { }; guile_2_2 = callPackage ../development/interpreters/guile/2.2.nix { }; guile_3_0 = callPackage ../development/interpreters/guile/3.0.nix { }; guile = guile_3_0; guile-sdl = callPackage ../by-name/gu/guile-sdl/package.nix { guile = guile_2_2; }; guile-xcb = callPackage ../by-name/gu/guile-xcb/package.nix { guile = guile_2_2; }; msp430GccSupport = callPackage ../development/misc/msp430/gcc-support.nix { }; msp430Newlib = callPackage ../development/misc/msp430/newlib.nix { }; mspds = callPackage ../development/misc/msp430/mspds { }; mspds-bin = callPackage ../development/misc/msp430/mspds/binary.nix { }; mspdebug = callPackage ../development/misc/msp430/mspdebug.nix { }; vc4-newlib = callPackage ../development/misc/vc4/newlib.nix { }; or1k-newlib = callPackage ../development/misc/or1k/newlib.nix { }; mise = callPackage ../by-name/mi/mise/package.nix { inherit (darwin.apple_sdk.frameworks) Security SystemConfiguration; }; ### DEVELOPMENT / TOOLS actiona = libsForQt5.callPackage ../applications/misc/actiona { }; inherit (callPackage ../development/tools/alloy { }) alloy5 alloy6 alloy; anybadge = with python3Packages; toPythonApplication anybadge; ansible = ansible_2_17; ansible_2_17 = python3Packages.toPythonApplication python3Packages.ansible-core; ansible_2_16 = python3Packages.toPythonApplication (python3Packages.ansible-core.overridePythonAttrs (oldAttrs: rec { version = "2.16.8"; src = oldAttrs.src.override { inherit version; hash = "sha256-WeSqQO1azbTvm789BYkY//k/ZqFJNz2BWciilgRBC9o="; }; })); ansible-builder = with python3Packages; toPythonApplication ansible-builder; ansible-doctor = callPackage ../tools/admin/ansible/doctor.nix { }; yakut = python3Packages.callPackage ../development/tools/misc/yakut { }; ### DEVELOPMENT / TOOLS / LANGUAGE-SERVERS ccls = callPackage ../development/tools/language-servers/ccls { llvmPackages = llvmPackages_14; }; fortls = python3.pkgs.callPackage ../development/tools/language-servers/fortls { }; fortran-language-server = python3.pkgs.callPackage ../development/tools/language-servers/fortran-language-server { }; inherit (callPackages ../development/tools/language-servers/nixd { llvmPackages = llvmPackages_16; }) nixf nixt nixd; ansible-later = callPackage ../tools/admin/ansible/later.nix { }; ansible-lint = callPackage ../tools/admin/ansible/lint.nix { }; antlr2 = callPackage ../development/tools/parsing/antlr/2.7.7.nix { }; antlr3_4 = callPackage ../development/tools/parsing/antlr/3.4.nix { }; antlr3_5 = callPackage ../development/tools/parsing/antlr/3.5.nix { }; antlr3 = antlr3_5; inherit (callPackages ../development/tools/parsing/antlr/4.nix { }) antlr4_8 antlr4_9 antlr4_10 antlr4_11 antlr4_12 antlr4_13; antlr4 = antlr4_13; antlr = antlr4; ant = apacheAnt; inherit (callPackages ../servers/apache-kafka { }) apacheKafka_3_6 apacheKafka_3_7 apacheKafka_3_8; apacheKafka = apacheKafka_3_8; asn2quickder = python3Packages.callPackage ../development/tools/asn2quickder { }; libastyle = astyle.override { asLibrary = true; }; aws-adfs = with python3Packages; toPythonApplication aws-adfs; electron-source = callPackage ../development/tools/electron { }; inherit (callPackages ../development/tools/electron/binary { }) electron_24-bin electron_27-bin electron_28-bin electron_29-bin electron_30-bin electron_31-bin electron_32-bin electron_33-bin ; inherit (callPackages ../development/tools/electron/chromedriver { }) electron-chromedriver_29 electron-chromedriver_30 electron-chromedriver_31 electron-chromedriver_32 electron-chromedriver_33 ; electron_24 = electron_24-bin; electron_27 = electron_27-bin; electron_28 = electron_28-bin; electron_29 = electron_29-bin; electron_30 = electron_30-bin; electron_31 = if lib.meta.availableOn stdenv.hostPlatform electron-source.electron_31 then electron-source.electron_31 else electron_31-bin; electron_32 = if lib.meta.availableOn stdenv.hostPlatform electron-source.electron_32 then electron-source.electron_32 else electron_32-bin; electron_33 = if lib.meta.availableOn stdenv.hostPlatform electron-source.electron_33 then electron-source.electron_33 else electron_33-bin; electron = electron_33; electron-bin = electron_33-bin; electron-chromedriver = electron-chromedriver_33; autoconf = callPackage ../development/tools/misc/autoconf { }; autoconf213 = callPackage ../development/tools/misc/autoconf/2.13.nix { }; autoconf264 = callPackage ../development/tools/misc/autoconf/2.64.nix { }; autoconf269 = callPackage ../development/tools/misc/autoconf/2.69.nix { }; autoconf271 = callPackage ../development/tools/misc/autoconf/2.71.nix { }; automake = automake116x; automake111x = callPackage ../development/tools/misc/automake/automake-1.11.x.nix { }; automake115x = callPackage ../development/tools/misc/automake/automake-1.15.x.nix { }; automake116x = callPackage ../development/tools/misc/automake/automake-1.16.x.nix { }; automake117x = callPackage ../development/tools/misc/automake/automake-1.17.x.nix { }; bandit = with python3Packages; toPythonApplication bandit; bazel = bazel_6; bazel_5 = callPackage ../development/tools/build-managers/bazel/bazel_5 { inherit (darwin) sigtool; inherit (darwin.apple_sdk.frameworks) CoreFoundation CoreServices Foundation; buildJdk = jdk11_headless; runJdk = jdk11_headless; stdenv = if stdenv.cc.isClang then llvmPackages.stdenv else if stdenv.cc.isGNU then gcc12Stdenv else stdenv; bazel_self = bazel_5; }; bazel_6 = darwin.apple_sdk_11_0.callPackage ../development/tools/build-managers/bazel/bazel_6 { inherit (darwin) sigtool; inherit (darwin.apple_sdk_11_0.frameworks) CoreFoundation CoreServices Foundation; buildJdk = jdk11_headless; runJdk = jdk11_headless; stdenv = if stdenv.hostPlatform.isDarwin then darwin.apple_sdk_11_0.stdenv else if stdenv.cc.isClang then llvmPackages.stdenv else if stdenv.cc.isGNU then gcc12Stdenv else stdenv; bazel_self = bazel_6; }; bazel_7 = darwin.apple_sdk_11_0.callPackage ../development/tools/build-managers/bazel/bazel_7 { inherit (darwin) sigtool; inherit (darwin.apple_sdk_11_0.frameworks) CoreFoundation CoreServices Foundation IOKit; buildJdk = jdk21_headless; runJdk = jdk21_headless; stdenv = if stdenv.hostPlatform.isDarwin then darwin.apple_sdk_11_0.stdenv else if stdenv.cc.isClang then llvmPackages.stdenv else stdenv; bazel_self = bazel_7; }; buildifier = bazel-buildtools; buildozer = bazel-buildtools; unused_deps = bazel-buildtools; rebazel = callPackage ../development/tools/rebazel { inherit (darwin.apple_sdk.frameworks) CoreServices; }; buildBazelPackage = darwin.apple_sdk_11_0.callPackage ../build-support/build-bazel-package { }; binutils-unwrapped = callPackage ../development/tools/misc/binutils { inherit (darwin.apple_sdk.frameworks) CoreServices; # FHS sys dirs presumably only have stuff for the build platform noSysDirs = (stdenv.targetPlatform != stdenv.hostPlatform) || noSysDirs; }; binutils-unwrapped-all-targets = callPackage ../development/tools/misc/binutils { inherit (darwin.apple_sdk.frameworks) CoreServices; # FHS sys dirs presumably only have stuff for the build platform noSysDirs = (stdenv.targetPlatform != stdenv.hostPlatform) || noSysDirs; withAllTargets = true; }; binutils = wrapBintoolsWith { bintools = binutils-unwrapped; }; binutils_nogold = lowPrio (wrapBintoolsWith { bintools = binutils-unwrapped.override { enableGold = false; }; }); binutilsNoLibc = wrapBintoolsWith { bintools = binutils-unwrapped; libc = preLibcCrossHeaders; }; libbfd = callPackage ../development/tools/misc/binutils/libbfd.nix { }; libopcodes = callPackage ../development/tools/misc/binutils/libopcodes.nix { }; # Held back 2.38 release. Remove once all dependencies are ported to 2.39. binutils-unwrapped_2_38 = callPackage ../development/tools/misc/binutils/2.38 { autoreconfHook = autoreconfHook269; # FHS sys dirs presumably only have stuff for the build platform noSysDirs = (stdenv.targetPlatform != stdenv.hostPlatform) || noSysDirs; }; libbfd_2_38 = callPackage ../development/tools/misc/binutils/2.38/libbfd.nix { autoreconfHook = buildPackages.autoreconfHook269; }; libopcodes_2_38 = callPackage ../development/tools/misc/binutils/2.38/libopcodes.nix { autoreconfHook = buildPackages.autoreconfHook269; }; # Here we select the default bintools implementations to be used. Note when # cross compiling these are used not for this stage but the *next* stage. # That is why we choose using this stage's target platform / next stage's # host platform. # # Because this is the *next* stages choice, it's a bit non-modular to put # here. In theory, bootstraping is supposed to not be a chain but at tree, # where each stage supports many "successor" stages, like multiple possible # futures. We don't have a better alternative, but with this downside in # mind, please be judicious when using this attribute. E.g. for building # things in *this* stage you should use probably `stdenv.cc.bintools` (from a # default or alternate `stdenv`), at build time, and try not to "force" a # specific bintools at runtime at all. # # In other words, try to only use this in wrappers, and only use those # wrappers from the next stage. bintools-unwrapped = let inherit (stdenv.targetPlatform) linker; in if linker == "lld" then llvmPackages.bintools-unwrapped else if linker == "cctools" then darwin.binutils-unwrapped else if linker == "bfd" then binutils-unwrapped else if linker == "gold" then binutils-unwrapped.override { enableGoldDefault = true; } else null; bintoolsNoLibc = wrapBintoolsWith { bintools = bintools-unwrapped; libc = preLibcCrossHeaders; }; bintools = wrapBintoolsWith { bintools = bintools-unwrapped; }; bintoolsDualAs = wrapBintoolsWith { bintools = darwin.binutilsDualAs-unwrapped; wrapGas = true; }; black = with python3Packages; toPythonApplication black; blackfire = callPackage ../development/tools/misc/blackfire { }; black-macchiato = with python3Packages; toPythonApplication black-macchiato; bossa = callPackage ../development/embedded/bossa { }; bossa-arduino = callPackage ../development/embedded/bossa/arduino.nix { }; buck = callPackage ../development/tools/build-managers/buck { python3 = python311; }; buck2 = callPackage ../development/tools/build-managers/buck2 { stdenv = stdenvNoCC; }; build2 = callPackage ../development/tools/build-managers/build2 { # Break cycle by using self-contained toolchain for bootstrapping build2 = buildPackages.callPackage ../development/tools/build-managers/build2/bootstrap.nix { }; }; # Dependency of build2, must also break cycle for this libbutl = callPackage ../development/libraries/libbutl { build2 = build2.bootstrap; inherit (darwin) DarwinTools; }; bdep = callPackage ../development/tools/build-managers/build2/bdep.nix { }; bore-cli = callPackage ../tools/networking/bore-cli/default.nix { inherit (darwin.apple_sdk.frameworks) Security; }; bpkg = callPackage ../development/tools/build-managers/build2/bpkg.nix { }; buildkite-test-collector-rust = callPackage ../development/tools/continuous-integration/buildkite-test-collector-rust { inherit (darwin.apple_sdk.frameworks) Security; }; libbpf = callPackage ../os-specific/linux/libbpf { }; libbpf_0 = callPackage ../os-specific/linux/libbpf/0.x.nix { }; bundlewrap = with python3.pkgs; toPythonApplication bundlewrap; cadre = callPackage ../development/tools/cadre { }; # Wrapper that works as gcc or g++ # It can be used by setting in nixpkgs config like this, for example: # replaceStdenv = { pkgs }: pkgs.ccacheStdenv; # But if you build in chroot, you should have that path in chroot # If instantiated directly, it will use $HOME/.ccache as the cache directory, # i.e. /homeless-shelter/.ccache using the Nix daemon. # You should specify a different directory using an override in # packageOverrides to set extraConfig. # # Example using Nix daemon (i.e. multiuser Nix install or on NixOS): # packageOverrides = pkgs: { # ccacheWrapper = pkgs.ccacheWrapper.override { # extraConfig = '' # export CCACHE_COMPRESS=1 # export CCACHE_DIR=/var/cache/ccache # export CCACHE_UMASK=007 # ''; # }; # You can use a different directory, but whichever directory you choose # should be owned by user root, group nixbld with permissions 0770. ccacheWrapper = makeOverridable ({ extraConfig, cc }: cc.override { cc = ccache.links { inherit extraConfig; unwrappedCC = cc.cc; }; }) { extraConfig = ""; inherit (stdenv) cc; }; ccacheStdenv = lowPrio (makeOverridable ({ stdenv, ... } @ extraArgs: overrideCC stdenv (buildPackages.ccacheWrapper.override ({ inherit (stdenv) cc; } // lib.optionalAttrs (builtins.hasAttr "extraConfig" extraArgs) { extraConfig = extraArgs.extraConfig; }))) { inherit stdenv; }); matter-compiler = callPackage ../development/compilers/matter-compiler { }; chromedriver = callPackage ../development/tools/selenium/chromedriver { }; chruby = callPackage ../development/tools/misc/chruby { rubies = null; }; cloudcompare = libsForQt5.callPackage ../applications/graphics/cloudcompare { }; coder = callPackage ../development/tools/coder { }; cookiecutter = with python3Packages; toPythonApplication cookiecutter; corundum = callPackage ../development/tools/corundum { }; ctags = callPackage ../development/tools/misc/ctags { }; ctagsWrapped = callPackage ../development/tools/misc/ctags/wrapped.nix { }; cubiomes-viewer = libsForQt5.callPackage ../applications/misc/cubiomes-viewer { }; # can't use override - it triggers infinite recursion cmakeMinimal = callPackage ../by-name/cm/cmake/package.nix { isMinimalBuild = true; }; cmakeCurses = cmake.override { uiToolkits = [ "ncurses" ]; }; cmakeWithGui = cmake.override { uiToolkits = [ "ncurses" "qt5" ]; }; cmake-format = python3Packages.callPackage ../development/tools/cmake-format { }; cmake-language-server = python3Packages.callPackage ../development/tools/misc/cmake-language-server { inherit cmake cmake-format; }; # Does not actually depend on Qt 5 inherit (plasma5Packages) extra-cmake-modules; coccinelle = callPackage ../development/tools/misc/coccinelle { ocamlPackages = ocaml-ng.ocamlPackages_4_14; }; credstash = with python3Packages; toPythonApplication credstash; creduce = callPackage ../development/tools/misc/creduce { inherit (llvmPackages_16) llvm libclang; }; inherit (nodePackages) csslint; css-html-js-minify = with python3Packages; toPythonApplication css-html-js-minify; cvise = python3Packages.callPackage ../development/tools/misc/cvise { # cvise keeps up with fresh llvm releases and supports wide version range inherit (llvmPackages_14) llvm libclang; }; dbt = with python3Packages; toPythonApplication dbt-core; dprint = callPackage ../development/tools/dprint { inherit (darwin.apple_sdk_11_0.frameworks) CoreFoundation Security; }; devbox = callPackage ../development/tools/devbox { buildGoModule = buildGo123Module; }; libcxx = llvmPackages.libcxx; libgcc = stdenv.cc.cc.libgcc or null; # This is for e.g. LLVM libraries on linux. gccForLibs = if stdenv.targetPlatform == stdenv.hostPlatform && targetPackages.stdenv.cc.isGNU # Can only do this is in the native case, otherwise we might get infinite # recursion if `targetPackages.stdenv.cc.cc` itself uses `gccForLibs`. then targetPackages.stdenv.cc.cc else gcc.cc; libstdcxx5 = callPackage ../development/libraries/gcc/libstdc++/5.nix { }; libsigrok = callPackage ../development/tools/libsigrok { python = python3; }; distcc = callPackage ../development/tools/misc/distcc { libiberty_static = libiberty.override { staticBuild = true; }; }; # distccWrapper: wrapper that works as gcc or g++ # It can be used by setting in nixpkgs config like this, for example: # replaceStdenv = { pkgs }: pkgs.distccStdenv; # But if you build in chroot, a default 'nix' will create # a new net namespace, and won't have network access. # You can use an override in packageOverrides to set extraConfig: # packageOverrides = pkgs: { # distccWrapper = pkgs.distccWrapper.override { # extraConfig = '' # DISTCC_HOSTS="myhost1 myhost2" # ''; # }; # distccWrapper = makeOverridable ({ extraConfig ? "" }: wrapCC (distcc.links extraConfig)) { }; distccStdenv = lowPrio (overrideCC stdenv buildPackages.distccWrapper); distccMasquerade = if stdenv.hostPlatform.isDarwin then null else callPackage ../development/tools/misc/distcc/masq.nix { gccRaw = gcc.cc; binutils = binutils; }; docutils = with python3Packages; toPythonApplication docutils; doit = with python3Packages; toPythonApplication doit; dot2tex = with python3.pkgs; toPythonApplication dot2tex; doxygen = darwin.apple_sdk_11_0.callPackage ../development/tools/documentation/doxygen { qt5 = null; inherit (darwin.apple_sdk_11_0.frameworks) CoreServices; }; doxygen_gui = lowPrio (doxygen.override { inherit qt5; }); drake = callPackage ../development/tools/build-managers/drake { }; dura = callPackage ../development/tools/misc/dura { inherit (darwin.apple_sdk.frameworks) Security; }; edb = libsForQt5.callPackage ../development/tools/misc/edb { }; elf2uf2-rs = darwin.apple_sdk_11_0.callPackage ../development/embedded/elf2uf2-rs { inherit (darwin.apple_sdk_11_0.frameworks) CoreFoundation DiskArbitration Foundation; }; license_finder = callPackage ../development/tools/license_finder { }; # NOTE: Override and set useIcon = false to use Awk instead of Icon. fffuu = haskell.lib.compose.justStaticExecutables (haskellPackages.callPackage ../tools/misc/fffuu { }); flow = callPackage ../development/tools/analysis/flow { inherit (darwin.apple_sdk.frameworks) CoreServices; ocamlPackages = ocaml-ng.ocamlPackages_4_14; }; fswatch = callPackage ../development/tools/misc/fswatch { inherit (darwin.apple_sdk.frameworks) CoreServices; autoreconfHook = buildPackages.autoreconfHook269; }; fujprog = callPackage ../development/embedded/fpga/fujprog { inherit (darwin.apple_sdk.frameworks) IOKit; }; gede = libsForQt5.callPackage ../development/tools/misc/gede { }; gdbgui = python3Packages.callPackage ../development/tools/misc/gdbgui { }; pmd = callPackage ../development/tools/analysis/pmd { openjdk = openjdk8; # TODO: remove override https://github.com/NixOS/nixpkgs/pull/89731 }; jdepend = callPackage ../development/tools/analysis/jdepend { jdk = jdk8; # TODO: remove override https://github.com/NixOS/nixpkgs/pull/89731 }; flex_2_5_35 = callPackage ../development/tools/parsing/flex/2.5.35.nix { }; flex = callPackage ../development/tools/parsing/flex { }; m4 = gnum4; gnumake = callPackage ../development/tools/build-managers/gnumake { }; gradle-packages = import ../development/tools/build-managers/gradle { inherit jdk11 jdk17 jdk21; }; gradleGen = gradle-packages.gen; wrapGradle = callPackage gradle-packages.wrapGradle { }; gradle_7-unwrapped = callPackage gradle-packages.gradle_7 { }; gradle_8-unwrapped = callPackage gradle-packages.gradle_8 { }; gradle-unwrapped = gradle_8-unwrapped; gradle_7 = wrapGradle gradle_7-unwrapped null; gradle_8 = wrapGradle gradle_8-unwrapped null; gradle = wrapGradle gradle-unwrapped "gradle-unwrapped"; gperf = callPackage ../development/tools/misc/gperf { }; # 3.1 changed some parameters from int to size_t, leading to mismatches. gperf_3_0 = callPackage ../development/tools/misc/gperf/3.0.x.nix { }; griffe = with python3Packages; toPythonApplication griffe; gwrap = g-wrap; g-wrap = callPackage ../by-name/g-/g-wrap/package.nix { guile = guile_2_2; }; hadolint = # TODO: Erroneous references to GHC on aarch64-darwin: https://github.com/NixOS/nixpkgs/issues/318013 (if stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64 then lib.id else haskell.lib.compose.justStaticExecutables) haskellPackages.hadolint; iaca_2_1 = callPackage ../development/tools/iaca/2.1.nix { }; iaca_3_0 = callPackage ../development/tools/iaca/3.0.nix { }; iaca = iaca_3_0; ikos = callPackage ../development/tools/analysis/ikos { inherit (llvmPackages_14) stdenv clang llvm; tbb = tbb_2021_11; }; include-what-you-use = callPackage ../development/tools/analysis/include-what-you-use { llvmPackages = llvmPackages_18; }; inherit (callPackage ../applications/misc/inochi2d { }) inochi-creator inochi-session; javacc = callPackage ../development/tools/parsing/javacc { # Upstream doesn't support anything newer than Java 8. # https://github.com/javacc/javacc/blob/c708628423b71ce8bc3b70143fa5b6a2b7362b3a/README.md#building-javacc-from-source jdk = jdk8; jre = jre8; }; jenkins-job-builder = with python3Packages; toPythonApplication jenkins-job-builder; kcc = libsForQt5.callPackage ../applications/graphics/kcc { }; kubie = callPackage ../development/tools/kubie { inherit (darwin.apple_sdk.frameworks) Security; }; kustomize = callPackage ../development/tools/kustomize { }; kustomize_3 = callPackage ../development/tools/kustomize/3.nix { }; kustomize_4 = callPackage ../development/tools/kustomize/4.nix { }; kustomize-sops = callPackage ../development/tools/kustomize/kustomize-sops.nix { }; libtool = libtool_2; libtool_1_5 = callPackage ../development/tools/misc/libtool { }; libtool_2 = callPackage ../development/tools/misc/libtool/libtool2.nix { }; linuxkit = callPackage ../development/tools/misc/linuxkit { inherit (darwin.apple_sdk_11_0.frameworks) Cocoa Virtualization; inherit (darwin) sigtool; }; listenbrainz-mpd = callPackage ../applications/audio/listenbrainz-mpd { inherit (darwin.apple_sdk.frameworks) Security SystemConfiguration CoreFoundation; }; lit = with python3Packages; toPythonApplication lit; lttng-ust = callPackage ../development/tools/misc/lttng-ust { }; lttng-ust_2_12 = callPackage ../development/tools/misc/lttng-ust/2.12.nix { }; marksman = callPackage ../development/tools/marksman { }; massif-visualizer = libsForQt5.callPackage ../development/tools/analysis/massif-visualizer { }; maven3 = maven; inherit (maven) buildMaven; mavproxy = python3Packages.callPackage ../applications/science/robotics/mavproxy { }; mdl = callPackage ../development/tools/misc/mdl { }; meraki-cli = python3Packages.callPackage ../tools/admin/meraki-cli { }; python-matter-server = with python3Packages; toPythonApplication ( python-matter-server.overridePythonAttrs (oldAttrs: { dependencies = oldAttrs.dependencies ++ oldAttrs.optional-dependencies.server; }) ); minizinc = callPackage ../development/tools/minizinc { }; minizincide = qt6Packages.callPackage ../development/tools/minizinc/ide.nix { inherit (darwin.apple_sdk_11_0.frameworks) Cocoa; }; mkdocs = with python3Packages; toPythonApplication mkdocs; mold = callPackage ../by-name/mo/mold/package.nix { stdenv = if stdenv.hostPlatform.isDarwin then overrideSDK stdenv "11.0" else stdenv; tbb = tbb_2021_11; }; mold-wrapped = wrapBintoolsWith { bintools = mold; extraBuildCommands = '' wrap ${targetPackages.stdenv.cc.bintools.targetPrefix}ld.mold ${../build-support/bintools-wrapper/ld-wrapper.sh} ${mold}/bin/ld.mold wrap ${targetPackages.stdenv.cc.bintools.targetPrefix}mold ${../build-support/bintools-wrapper/ld-wrapper.sh} ${mold}/bin/mold ''; }; moon = callPackage ../development/tools/build-managers/moon/default.nix { }; mopsa = ocamlPackages.mopsa.bin; haskell-ci = # TODO: Erroneous references to GHC on aarch64-darwin: https://github.com/NixOS/nixpkgs/issues/318013 (if stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64 then lib.id else haskell.lib.compose.justStaticExecutables) haskellPackages.haskell-ci; nimbo = with python3Packages; callPackage ../applications/misc/nimbo { }; nixbang = callPackage ../development/tools/misc/nixbang { pythonPackages = python3Packages; }; nexusmods-app-unfree = nexusmods-app.override { pname = "nexusmods-app-unfree"; _7zz = _7zz-rar; }; nwjs = callPackage ../development/tools/nwjs { }; nwjs-sdk = callPackage ../development/tools/nwjs { sdk = true; }; obelisk = callPackage ../development/tools/ocaml/obelisk { menhir = ocamlPackages.menhir; }; openai = with python3Packages; toPythonApplication openai; openai-whisper = with python3.pkgs; toPythonApplication openai-whisper; openai-whisper-cpp = darwin.apple_sdk_11_0.callPackage ../tools/audio/openai-whisper-cpp { inherit (darwin.apple_sdk_11_0.frameworks) Accelerate CoreGraphics CoreML CoreVideo MetalKit; }; openocd-rp2040 = openocd.overrideAttrs (old: { pname = "openocd-rp2040"; src = fetchFromGitHub { owner = "raspberrypi"; repo = "openocd"; rev = "4d87f6dcae77d3cbcd8ac3f7dc887adf46ffa504"; hash = "sha256-bBqVoHsnNoaC2t8hqcduI8GGlO0VDMUovCB0HC+rxvc="; # openocd disables the vendored libraries that use submodules and replaces them with nix versions. # this works out as one of the submodule sources seems to be flakey. fetchSubmodules = false; }; nativeBuildInputs = old.nativeBuildInputs ++ [ autoreconfHook ]; }); oprofile = callPackage ../development/tools/profiling/oprofile { libiberty_static = libiberty.override { staticBuild = true; }; }; pactorio = callPackage ../development/tools/pactorio { inherit (darwin.apple_sdk.frameworks) Security; }; patchelf = callPackage ../development/tools/misc/patchelf { }; patchelfUnstable = lowPrio (callPackage ../development/tools/misc/patchelf/unstable.nix { }); pgcli = with pkgs.python3Packages; toPythonApplication pgcli; pkgconf-unwrapped = libpkgconf; pkgconf = callPackage ../build-support/pkg-config-wrapper { pkg-config = pkgconf-unwrapped; baseBinName = "pkgconf"; }; pkg-config = callPackage ../build-support/pkg-config-wrapper { pkg-config = pkg-config-unwrapped; }; pkg-configUpstream = lowPrio (pkg-config.override (old: { pkg-config = old.pkg-config.override { vanilla = true; }; })); pnpm-lock-export = callPackage ../development/web/pnpm-lock-export { }; portableService = callPackage ../build-support/portable-service { }; polar = callPackage ../tools/misc/polar { }; inherit (nodePackages) postcss-cli; pyprof2calltree = with python3Packages; toPythonApplication pyprof2calltree; premake3 = callPackage ../development/tools/misc/premake/3.nix { }; premake4 = callPackage ../development/tools/misc/premake { }; premake5 = callPackage ../development/tools/misc/premake/5.nix { inherit (darwin.apple_sdk.frameworks) Foundation; }; premake = premake4; procodile = callPackage ../tools/system/procodile { }; pry = callPackage ../development/tools/pry { }; pycritty = with python3Packages; toPythonApplication pycritty; qtcreator = qt6Packages.callPackage ../development/tools/qtcreator { inherit (linuxPackages) perf; stdenv = llvmPackages.stdenv; }; qxmledit = libsForQt5.callPackage ../applications/editors/qxmledit {} ; radare2 = callPackage ../development/tools/analysis/radare2 ({ lua = lua5; } // (config.radare or {})); rizin = pkgs.callPackage ../development/tools/analysis/rizin { }; rizinPlugins = recurseIntoAttrs rizin.plugins; cutter = qt6.callPackage ../development/tools/analysis/rizin/cutter.nix { }; cutterPlugins = recurseIntoAttrs cutter.plugins; ragel = ragelStable; inherit (callPackages ../development/tools/parsing/ragel { }) ragelStable ragelDev; redis-dump = callPackage ../development/tools/redis-dump { }; inherit (regclient) regbot regctl regsync; reno = callPackage ../development/tools/reno { python3Packages = python311Packages; }; replace-secret = callPackage ../build-support/replace-secret/replace-secret.nix { }; inherit (callPackage ../development/tools/replay-io { }) replay-io replay-node-cli; rnginline = with python3Packages; toPythonApplication rnginline; rr = callPackage ../development/tools/analysis/rr { }; rufo = callPackage ../development/tools/rufo { }; muonStandalone = muon.override { embedSamurai = true; buildDocs = false; }; sauce-connect = callPackage ../development/tools/sauce-connect { }; sbomnix = python3.pkgs.callPackage ../tools/security/sbomnix { }; seer = libsForQt5.callPackage ../development/tools/misc/seer { }; semantik = libsForQt5.callPackage ../applications/office/semantik { }; sbt = callPackage ../development/tools/build-managers/sbt { }; sbt-with-scala-native = callPackage ../development/tools/build-managers/sbt/scala-native.nix { }; simpleBuildTool = sbt; scala-cli = callPackage ../development/tools/build-managers/scala-cli { }; scss-lint = callPackage ../development/tools/scss-lint { }; shadowenv = callPackage ../tools/misc/shadowenv { inherit (darwin.apple_sdk.frameworks) Security; }; shake = # TODO: Erroneous references to GHC on aarch64-darwin: https://github.com/NixOS/nixpkgs/issues/318013 (if stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64 then lib.id else haskell.lib.compose.justStaticExecutables) haskellPackages.shake; inherit (callPackage ../development/tools/build-managers/shards { }) shards_0_17 shards; shellcheck = callPackage ../development/tools/shellcheck { inherit (__splicedPackages.haskellPackages) ShellCheck; }; # Minimal shellcheck executable for package checks. # Use shellcheck which does not include docs, as # pandoc takes long to build and documentation isn't needed for just running the cli shellcheck-minimal = haskell.lib.compose.justStaticExecutables shellcheck.unwrapped; slint-lsp = callPackage ../by-name/sl/slint-lsp/package.nix { inherit (darwin.apple_sdk_11_0.frameworks) AppKit CoreGraphics CoreServices CoreText Foundation OpenGL; }; sloc = nodePackages.sloc; snowman = qt5.callPackage ../development/tools/analysis/snowman { }; sparse = callPackage ../development/tools/analysis/sparse { llvm = llvm_14; }; speedtest-cli = with python3Packages; toPythonApplication speedtest-cli; splint = callPackage ../development/tools/analysis/splint { flex = flex_2_5_35; }; spoofer = callPackage ../tools/networking/spoofer { protobuf = protobuf_21; }; spoofer-gui = callPackage ../tools/networking/spoofer { withGUI = true; protobuf = protobuf_21; }; spr = callPackage ../development/tools/spr { inherit (darwin.apple_sdk.frameworks) Security; }; sqlitebrowser = libsForQt5.callPackage ../development/tools/database/sqlitebrowser { }; sqlite-utils = with python3Packages; toPythonApplication sqlite-utils; sqlmap = with python3Packages; toPythonApplication sqlmap; c0 = callPackage ../development/compilers/c0 { stdenv = if stdenv.hostPlatform.isDarwin then gccStdenv else stdenv; }; swftools = callPackage ../tools/video/swftools { stdenv = gccStdenv; }; tarmac = callPackage ../development/tools/tarmac { inherit (darwin.apple_sdk.frameworks) Security; }; teensyduino = arduino-core.override { withGui = true; withTeensyduino = true; }; tytools = libsForQt5.callPackage ../development/embedded/tytools { }; texinfoPackages = callPackages ../development/tools/misc/texinfo/packages.nix { }; inherit (texinfoPackages) texinfo413 texinfo6_5 # needed for allegro texinfo6_7 # needed for gpm, iksemel and fwknop texinfo6 texinfo7 ; texinfo4= texinfo413; # needed for eukleides and singular texinfo = texinfo7; texinfoInteractive = texinfo.override { interactive = true; }; texlab = callPackage ../development/tools/misc/texlab { inherit (darwin.apple_sdk.frameworks) Security CoreServices; }; tflint-plugins = recurseIntoAttrs ( callPackage ../development/tools/analysis/tflint-plugins { } ); travis = callPackage ../development/tools/misc/travis { }; tree-sitter = makeOverridable (callPackage ../development/tools/parsing/tree-sitter) { inherit (darwin.apple_sdk.frameworks) Security CoreServices; }; tree-sitter-grammars = recurseIntoAttrs tree-sitter.builtGrammars; uhd = callPackage ../applications/radio/uhd { }; uhdMinimal = uhd.override { enableUtils = false; enablePythonApi = false; }; gdb = callPackage ../development/tools/misc/gdb { guile = null; }; gdbHostCpuOnly = gdb.override { hostCpuOnly = true; }; jprofiler = callPackage ../development/tools/java/jprofiler { jdk = jdk11; }; valgrind = callPackage ../development/tools/analysis/valgrind { inherit (buildPackages.darwin) xnu bootstrap_cmds; }; valgrind-light = (res.valgrind.override { gdb = null; }).overrideAttrs (oldAttrs: { meta = oldAttrs.meta // { description = "${oldAttrs.meta.description} (without GDB)"; }; }); qcachegrind = libsForQt5.callPackage ../development/tools/analysis/qcachegrind { }; vcpkg-tool-unwrapped = callPackage ../by-name/vc/vcpkg-tool/package.nix { doWrap = false; }; wails = callPackage ../development/tools/wails { stdenv = gccStdenv; }; whatstyle = callPackage ../development/tools/misc/whatstyle { inherit (llvmPackages) clang-unwrapped; }; watson-ruby = callPackage ../development/tools/misc/watson-ruby { }; xmake = darwin.apple_sdk_11_0.callPackage ../development/tools/build-managers/xmake { inherit (darwin.apple_sdk_11_0.frameworks) CoreServices; }; xcode-install = callPackage ../development/tools/xcode-install { }; xcbuild = callPackage ../by-name/xc/xcbuild/package.nix { stdenv = # xcbuild is included in the SDK. Avoid an infinite recursion by using a bootstrap stdenv. if stdenv.hostPlatform.isDarwin then darwin.bootstrapStdenv else stdenv; }; xcbuildHook = makeSetupHook { name = "xcbuild-hook"; propagatedBuildInputs = [ xcbuild ]; } ../by-name/xc/xcbuild/setup-hook.sh; xcodebuild = xcbuild; xcpretty = callPackage ../development/tools/xcpretty { }; xxdiff = libsForQt5.callPackage ../development/tools/misc/xxdiff { }; xxe-pe = callPackage ../applications/editors/xxe-pe { }; xxdiff-tip = xxdiff; ycmd = callPackage ../by-name/yc/ycmd/package.nix { inherit (darwin.apple_sdk.frameworks) Cocoa; python = python3; }; yourkit-java = callPackage ../by-name/yo/yourkit-java/package.nix { jre = jdk17; }; yq = python3.pkgs.toPythonApplication python3.pkgs.yq; mypy = with python3Packages; toPythonApplication mypy; mypy-protobuf = with python3Packages; toPythonApplication mypy-protobuf; ### DEVELOPMENT / LIBRARIES abseil-cpp_202103 = callPackage ../development/libraries/abseil-cpp/202103.nix { # If abseil-cpp doesn’t have a deployment target of 10.13+, arrow-cpp crashes in libgrpc.dylib. stdenv = if stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isx86_64 then overrideSDK stdenv { darwinMinVersion = "10.13"; } else stdenv; }; abseil-cpp_202301 = callPackage ../development/libraries/abseil-cpp/202301.nix { # If abseil-cpp doesn’t have a deployment target of 10.13+, arrow-cpp crashes in libgrpc.dylib. stdenv = if stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isx86_64 then overrideSDK stdenv { darwinMinVersion = "10.13"; } else stdenv; }; abseil-cpp_202401 = callPackage ../development/libraries/abseil-cpp/202401.nix { # If abseil-cpp doesn’t have a deployment target of 10.13+, arrow-cpp crashes in libgrpc.dylib. stdenv = if stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isx86_64 then overrideSDK stdenv { darwinMinVersion = "10.13"; } else stdenv; }; abseil-cpp_202407 = callPackage ../development/libraries/abseil-cpp/202407.nix { # If abseil-cpp doesn’t have a deployment target of 10.13+, arrow-cpp crashes in libgrpc.dylib. stdenv = if stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isx86_64 then overrideSDK stdenv { darwinMinVersion = "10.13"; } else stdenv; }; abseil-cpp = abseil-cpp_202407; acl = callPackage ../development/libraries/acl { }; agg = callPackage ../development/libraries/agg { stdenv = gccStdenv; }; allegro = allegro4; allegro4 = callPackage ../development/libraries/allegro { }; allegro5 = callPackage ../development/libraries/allegro/5.nix { }; ansi2html = with python3.pkgs; toPythonApplication ansi2html; appstream = callPackage ../development/libraries/appstream { }; apr = callPackage ../development/libraries/apr { autoreconfHook = buildPackages.autoreconfHook269; }; argparse-manpage = with python3Packages; toPythonApplication argparse-manpage; aribb25 = callPackage ../development/libraries/aribb25 { inherit (darwin.apple_sdk.frameworks) PCSC; }; arrayfire = callPackage ../development/libraries/arrayfire { cudaPackages = cudaPackages_12; }; asio_1_10 = callPackage ../development/libraries/asio/1.10.nix { }; asio = callPackage ../development/libraries/asio { }; aspell = callPackage ../development/libraries/aspell { }; aspellDicts = recurseIntoAttrs (callPackages ../development/libraries/aspell/dictionaries.nix {}); aspellWithDicts = callPackage ../development/libraries/aspell/aspell-with-dicts.nix { aspell = aspell.override { searchNixProfiles = false; }; }; attr = callPackage ../development/libraries/attr { }; # Not moved to aliases while we decide if we should split the package again. at-spi2-atk = at-spi2-core; aqbanking = callPackage ../development/libraries/aqbanking { }; audiofile = callPackage ../development/libraries/audiofile { inherit (darwin.apple_sdk.frameworks) AudioUnit CoreServices; }; aws-c-cal = callPackage ../development/libraries/aws-c-cal { inherit (darwin.apple_sdk.frameworks) Security; }; aws-c-io = callPackage ../development/libraries/aws-c-io { inherit (darwin.apple_sdk.frameworks) Security; }; aws-sdk-cpp = callPackage ../development/libraries/aws-sdk-cpp { inherit (darwin.apple_sdk.frameworks) CoreAudio AudioToolbox; }; backlight-auto = callPackage ../by-name/ba/backlight-auto/package.nix { zig = buildPackages.zig_0_11; }; inherit (callPackages ../development/libraries/bashup-events { }) bashup-events32 bashup-events44; bc-soci = callPackage ../development/libraries/soci/bc-soci.nix { }; # TODO(@Ericson2314): Build bionic libc from source bionic = if stdenv.hostPlatform.useAndroidPrebuilt then pkgs."androidndkPkgs_${stdenv.hostPlatform.androidNdkVersion}".libraries else callPackage ../os-specific/linux/bionic-prebuilt { }; inherit (callPackage ../development/libraries/boost { inherit (buildPackages) boost-build; }) boost175 boost177 boost178 boost179 boost180 boost181 boost182 boost183 boost184 boost185 boost186 ; boost = boost181; inherit (callPackages ../development/libraries/botan { }) botan2 botan3 ; box2d = callPackage ../development/libraries/box2d { inherit (darwin.apple_sdk.frameworks) Carbon Cocoa Kernel OpenGL; }; c-ares = callPackage ../development/libraries/c-ares { }; c-aresMinimal = callPackage ../development/libraries/c-ares { withCMake = false; }; inherit (callPackages ../development/libraries/c-blosc { }) c-blosc c-blosc2; cachix = lib.getBin haskellPackages.cachix; cubeb = callPackage ../development/libraries/audio/cubeb { inherit (darwin.apple_sdk.frameworks) AudioUnit CoreAudio CoreServices; }; hercules-ci-agent = callPackage ../development/tools/continuous-integration/hercules-ci-agent { }; hci = callPackage ../development/tools/continuous-integration/hci { }; isa-l = callPackage ../development/libraries/isa-l { }; niv = lib.getBin (haskell.lib.compose.justStaticExecutables haskellPackages.niv); ormolu = lib.getBin (haskell.lib.compose.justStaticExecutables haskellPackages.ormolu); catboost = callPackage ../by-name/ca/catboost/package.nix { # https://github.com/catboost/catboost/issues/2540 cudaPackages = cudaPackages_11; }; cctag = callPackage ../development/libraries/cctag { stdenv = clangStdenv; tbb = tbb_2021_11; }; cctz = callPackage ../development/libraries/cctz { inherit (darwin.apple_sdk.frameworks) Foundation; }; ceedling = callPackage ../development/tools/ceedling { }; celt = callPackage ../development/libraries/celt { }; celt_0_7 = callPackage ../development/libraries/celt/0.7.nix { }; celt_0_5_1 = callPackage ../development/libraries/celt/0.5.1.nix { }; certbot = python3.pkgs.toPythonApplication python3.pkgs.certbot; certbot-full = certbot.withPlugins (cp: with cp; [ certbot-dns-cloudflare certbot-dns-google certbot-dns-ovh certbot-dns-rfc2136 certbot-dns-route53 ]); # CGAL 5 has API changes cgal_4 = callPackage ../development/libraries/CGAL/4.nix { }; cgal_5 = callPackage ../development/libraries/CGAL { }; cgal = cgal_5; check = callPackage ../development/libraries/check { inherit (darwin.apple_sdk.frameworks) CoreServices; }; clucene_core_2 = callPackage ../development/libraries/clucene-core/2.x.nix { }; clucene_core = clucene_core_2; clutter-gst = callPackage ../development/libraries/clutter-gst { }; codecserver = callPackage ../applications/audio/codecserver { protobuf = protobuf_21; }; cogl = callPackage ../development/libraries/cogl { inherit (darwin.apple_sdk.frameworks) OpenGL; }; coinlive = callPackage ../tools/misc/coinlive { inherit (darwin.apple_sdk.frameworks) Security; }; inherit (cosmopolitan) cosmocc; ctranslate2 = callPackage ../development/libraries/ctranslate2 rec { stdenv = if withCUDA then gcc11Stdenv else pkgs.stdenv; withCUDA = pkgs.config.cudaSupport; withCuDNN = withCUDA && (cudaPackages ? cudnn); cudaPackages = pkgs.cudaPackages; }; ustream-ssl = callPackage ../development/libraries/ustream-ssl { ssl_implementation = openssl; }; ustream-ssl-wolfssl = callPackage ../development/libraries/ustream-ssl { ssl_implementation = wolfssl; additional_buildInputs = [ openssl ]; }; ustream-ssl-mbedtls = callPackage ../development/libraries/ustream-ssl { ssl_implementation = mbedtls_2; stdenv = if stdenv.hostPlatform.isDarwin then overrideSDK stdenv "11.0" else stdenv; }; cxxtest = python3Packages.callPackage ../development/libraries/cxxtest { }; cypress = callPackage ../development/web/cypress { }; # Make bdb5 the default as it is the last release under the custom # bsd-like license db = db5; db4 = db48; db48 = callPackage ../development/libraries/db/db-4.8.nix { }; db5 = db53; db53 = callPackage ../development/libraries/db/db-5.3.nix { }; db6 = db60; db60 = callPackage ../development/libraries/db/db-6.0.nix { }; db62 = callPackage ../development/libraries/db/db-6.2.nix { }; dbus = callPackage ../development/libraries/dbus { }; dbus-sharp-1_0 = callPackage ../development/libraries/dbus-sharp/dbus-sharp-1.0.nix { }; dbus-sharp-2_0 = callPackage ../development/libraries/dbus-sharp { }; dbus-sharp-glib-1_0 = callPackage ../development/libraries/dbus-sharp-glib/dbus-sharp-glib-1.0.nix { }; dbus-sharp-glib-2_0 = callPackage ../development/libraries/dbus-sharp-glib { }; makeDBusConf = { suidHelper, serviceDirectories, apparmor ? "disabled" }: callPackage ../development/libraries/dbus/make-dbus-conf.nix { inherit suidHelper serviceDirectories apparmor; }; dee = callPackage ../development/libraries/dee { autoreconfHook = buildPackages.autoreconfHook269; }; discord-rpc = callPackage ../development/libraries/discord-rpc { inherit (darwin.apple_sdk.frameworks) AppKit; }; draco = callPackage ../development/libraries/draco { tinygltf = callPackage ../development/libraries/draco/tinygltf.nix { }; }; # Multi-arch "drivers" which we want to build for i686. driversi686Linux = recurseIntoAttrs { inherit (pkgsi686Linux) amdvlk intel-media-driver intel-vaapi-driver mesa mesa-demos libva-vdpau-driver libvdpau-va-gl vdpauinfo; }; duckdb = callPackage ../development/libraries/duckdb { }; eccodes = callPackage ../development/libraries/eccodes { pythonPackages = python3Packages; stdenv = if stdenv.hostPlatform.isDarwin then gccStdenv else stdenv; }; edencommon = darwin.apple_sdk_11_0.callPackage ../development/libraries/edencommon { }; eigen = callPackage ../development/libraries/eigen { }; eigen2 = callPackage ../development/libraries/eigen/2.0.nix { }; vapoursynth = callPackage ../by-name/va/vapoursynth/package.nix { inherit (darwin.apple_sdk.frameworks) ApplicationServices; }; vapoursynth-editor = libsForQt5.callPackage ../by-name/va/vapoursynth/editor.nix { }; vmmlib = callPackage ../development/libraries/vmmlib { inherit (darwin.apple_sdk.frameworks) Accelerate CoreGraphics CoreVideo; }; elastix = callPackage ../development/libraries/science/biology/elastix { inherit (darwin.apple_sdk.frameworks) Cocoa; }; # TODO: Fix references and add justStaticExecutables https://github.com/NixOS/nixpkgs/issues/318013 emanote = haskellPackages.emanote; enchant2 = callPackage ../development/libraries/enchant/2.x.nix { inherit (darwin.apple_sdk.frameworks) Cocoa; }; enchant = enchant2; libepoxy = callPackage ../development/libraries/libepoxy { inherit (darwin.apple_sdk.frameworks) Carbon OpenGL; }; factor-lang-scope = callPackage ../development/compilers/factor-lang/scope.nix { }; factor-lang = factor-lang-scope.interpreter; far2l = callPackage ../applications/misc/far2l { inherit (darwin.apple_sdk.frameworks) IOKit Carbon Cocoa AudioToolbox OpenGL System; }; farstream = callPackage ../development/libraries/farstream { inherit (gst_all_1) gstreamer gst-plugins-base gst-plugins-good gst-plugins-bad gst-libav; autoreconfHook = buildPackages.autoreconfHook269; }; fbthrift = darwin.apple_sdk_11_0.callPackage ../development/libraries/fbthrift { }; fb303 = darwin.apple_sdk_11_0.callPackage ../development/libraries/fb303 { }; inherit (callPackage ../development/libraries/ffmpeg { }) ffmpeg_4 ffmpeg_4-headless ffmpeg_4-full ffmpeg_6 ffmpeg_6-headless ffmpeg_6-full ffmpeg_7 ffmpeg_7-headless ffmpeg_7-full ffmpeg ffmpeg-headless ffmpeg-full; fftwSinglePrec = fftw.override { precision = "single"; }; fftwFloat = fftwSinglePrec; # the configure option is just an alias fftwLongDouble = fftw.override { precision = "long-double"; }; # Need gcc >= 4.6.0 to build with FFTW with quad precision, but Darwin defaults to Clang fftwQuad = fftw.override { precision = "quad-precision"; stdenv = gccStdenv; }; fftwMpi = fftw.override { enableMpi = true; }; fizz = darwin.apple_sdk_11_0.callPackage ../development/libraries/fizz { }; flint = callPackage ../development/libraries/flint { }; flint3 = callPackage ../development/libraries/flint/3.nix { }; fltk13 = callPackage ../development/libraries/fltk { inherit (darwin.apple_sdk.frameworks) ApplicationServices Carbon Cocoa OpenGL; }; fltk14 = callPackage ../development/libraries/fltk/1.4.nix { inherit (darwin.apple_sdk.frameworks) ApplicationServices Carbon Cocoa OpenGL; }; fltk13-minimal = fltk13.override { withGL = false; withCairo = false; withPango = false; withExamples = false; withDocs = false; }; fltk14-minimal = fltk14.override { withGL = false; withCairo = false; withPango = false; withExamples = false; withDocs = false; }; fltk = fltk13; fltk-minimal = fltk13-minimal; inherit (callPackages ../development/libraries/fmt { }) fmt_8 fmt_9 fmt_10 fmt_11; fmt = fmt_10; fplll = callPackage ../development/libraries/fplll { }; fplll_20160331 = callPackage ../development/libraries/fplll/20160331.nix { }; freeimage = callPackage ../development/libraries/freeimage { inherit (darwin) autoSignDarwinBinariesHook; }; freeipa = callPackage ../os-specific/linux/freeipa { kerberos = krb5.override { withVerto = true; }; sasl = cyrus_sasl; samba = samba4.override { enableLDAP = true; }; }; frog = res.languageMachines.frog; fontconfig = callPackage ../development/libraries/fontconfig { inherit (darwin.apple_sdk.frameworks) CoreFoundation; }; folly = darwin.apple_sdk_11_0.callPackage ../development/libraries/folly { }; makeFontsConf = callPackage ../development/libraries/fontconfig/make-fonts-conf.nix { }; makeFontsCache = let fontconfig_ = fontconfig; in {fontconfig ? fontconfig_, fontDirectories}: callPackage ../development/libraries/fontconfig/make-fonts-cache.nix { inherit fontconfig fontDirectories; }; freenect = callPackage ../development/libraries/freenect { inherit (darwin.apple_sdk.frameworks) Cocoa GLUT; }; gamenetworkingsockets = callPackage ../development/libraries/gamenetworkingsockets { protobuf = protobuf_21; }; gcovr = with python3Packages; toPythonApplication gcovr; gcr = callPackage ../development/libraries/gcr { }; gcr_4 = callPackage ../development/libraries/gcr/4.nix { }; gecode_3 = callPackage ../development/libraries/gecode/3.nix { }; gecode_6 = qt5.callPackage ../development/libraries/gecode { }; gecode = gecode_6; geph = recurseIntoAttrs (callPackages ../applications/networking/geph { pnpm = pnpm_8; }); gegl = callPackage ../development/libraries/gegl { inherit (darwin.apple_sdk.frameworks) OpenCL; }; gensio = darwin.apple_sdk_11_0.callPackage ../development/libraries/gensio { }; geoclue2-with-demo-agent = geoclue2.override { withDemoAgent = true; }; geocode-glib_2 = geocode-glib.override { libsoup = libsoup_3; }; geoipWithDatabase = makeOverridable (callPackage ../development/libraries/geoip) { drvName = "geoip-tools"; geoipDatabase = geolite-legacy; }; geoip = callPackage ../development/libraries/geoip { }; geos = callPackage ../development/libraries/geos { }; geos_3_9 = callPackage ../development/libraries/geos/3.9.nix { }; geos_3_11 = callPackage ../development/libraries/geos/3.11.nix { }; inherit (callPackages ../development/libraries/getdns { }) getdns stubby; gettext = callPackage ../development/libraries/gettext { }; gd = callPackage ../development/libraries/gd { automake = automake115x; }; gdal = callPackage ../development/libraries/gdal { }; gdalMinimal = callPackage ../development/libraries/gdal { useMinimalFeatures = true; }; gdcm = callPackage ../development/libraries/gdcm { inherit (darwin) DarwinTools; inherit (darwin.apple_sdk.frameworks) ApplicationServices Cocoa; }; givaro = callPackage ../development/libraries/givaro { }; givaro_3 = callPackage ../development/libraries/givaro/3.nix { }; givaro_3_7 = callPackage ../development/libraries/givaro/3.7.nix { }; ghp-import = with python3Packages; toPythonApplication ghp-import; ghcid = haskellPackages.ghcid.bin; gr-framework = callPackage ../by-name/gr/gr-framework/package.nix { stdenv = if stdenv.hostPlatform.isDarwin then darwin.apple_sdk_11_0.stdenv else stdenv; }; graphia = qt6Packages.callPackage ../applications/science/misc/graphia { }; libgit2 = callPackage ../development/libraries/libgit2 { inherit (darwin.apple_sdk.frameworks) Security; }; glew = callPackage ../development/libraries/glew { inherit (darwin.apple_sdk.frameworks) OpenGL; }; glew110 = callPackage ../development/libraries/glew/1.10.nix { inherit (darwin.apple_sdk.frameworks) AGL OpenGL; }; glfw = glfw3; glfw2 = callPackage ../development/libraries/glfw/2.x.nix { }; glfw3-minecraft = callPackage ../by-name/gl/glfw3/package.nix { withMinecraftPatch = true; }; glibc = callPackage ../development/libraries/glibc { stdenv = gccStdenv; # doesn't compile without gcc }; mtrace = callPackage ../development/libraries/glibc/mtrace.nix { }; # Provided by libc on Operating Systems that use the Extensible Linker Format. elf-header = if stdenv.hostPlatform.isElf then null else elf-header-real; glibc_memusage = callPackage ../development/libraries/glibc { withGd = true; }; # Being redundant to avoid cycles on boot. TODO: find a better way glibcCross = callPackage ../development/libraries/glibc { stdenv = gccCrossLibcStdenv; # doesn't compile without gcc libgcc = callPackage ../development/libraries/gcc/libgcc { gcc = gccCrossLibcStdenv.cc; glibc = glibcCross.override { libgcc = null; }; stdenvNoLibs = gccCrossLibcStdenv; }; }; muslCross = musl.override { stdenv = stdenvNoLibc; }; # These are used when buiding compiler-rt / libgcc, prior to building libc. preLibcCrossHeaders = let inherit (stdenv.targetPlatform) libc; in if stdenv.targetPlatform.isMinGW then targetPackages.windows.mingw_w64_headers or windows.mingw_w64_headers else if libc == "nblibc" then targetPackages.netbsd.headers or netbsd.headers else null; # We can choose: libcCrossChooser = name: # libc is hackily often used from the previous stage. This `or` # hack fixes the hack, *sigh*. /**/ if name == null then null else if name == "glibc" then targetPackages.glibcCross or glibcCross else if name == "bionic" then targetPackages.bionic or bionic else if name == "uclibc" then targetPackages.uclibc or uclibc else if name == "avrlibc" then targetPackages.avrlibc or avrlibc else if name == "newlib" && stdenv.targetPlatform.isMsp430 then targetPackages.msp430Newlib or msp430Newlib else if name == "newlib" && stdenv.targetPlatform.isVc4 then targetPackages.vc4-newlib or vc4-newlib else if name == "newlib" && stdenv.targetPlatform.isOr1k then targetPackages.or1k-newlib or or1k-newlib else if name == "newlib" then targetPackages.newlib or newlib else if name == "newlib-nano" then targetPackages.newlib-nano or newlib-nano else if name == "musl" then targetPackages.muslCross or muslCross else if name == "msvcrt" then targetPackages.windows.mingw_w64 or windows.mingw_w64 else if name == "ucrt" then targetPackages.windows.mingw_w64 or windows.mingw_w64 else if name == "libSystem" then if stdenv.targetPlatform.useiOSPrebuilt then targetPackages.darwin.iosSdkPkgs.libraries or darwin.iosSdkPkgs.libraries else targetPackages.darwin.libSystem or darwin.libSystem else if name == "fblibc" then targetPackages.freebsd.libc or freebsd.libc else if name == "oblibc" then targetPackages.openbsd.libc or openbsd.libc else if name == "nblibc" then targetPackages.netbsd.libc or netbsd.libc else if name == "wasilibc" then targetPackages.wasilibc or wasilibc else if name == "relibc" then targetPackages.relibc or relibc else throw "Unknown libc ${name}"; libcCross = if stdenv.targetPlatform == stdenv.buildPlatform then null else libcCrossChooser stdenv.targetPlatform.libc; threadsCross = lib.optionalAttrs (stdenv.targetPlatform.isMinGW && !(stdenv.targetPlatform.useLLVM or false)) { # other possible values: win32 or posix model = "mcf"; # For win32 or posix set this to null package = targetPackages.windows.mcfgthreads or windows.mcfgthreads; }; wasilibc = callPackage ../development/libraries/wasilibc { stdenv = stdenvNoLibc; }; # Only supported on Linux and only on glibc glibcLocales = if stdenv.hostPlatform.isLinux && stdenv.hostPlatform.isGnu then callPackage ../development/libraries/glibc/locales.nix { stdenv = if (!stdenv.cc.isGNU) then gccStdenv else stdenv; withLinuxHeaders = !stdenv.cc.isGNU; } else null; glibcLocalesUtf8 = if stdenv.hostPlatform.isLinux && stdenv.hostPlatform.isGnu then callPackage ../development/libraries/glibc/locales.nix { stdenv = if (!stdenv.cc.isGNU) then gccStdenv else stdenv; withLinuxHeaders = !stdenv.cc.isGNU; allLocales = false; } else null; glibcInfo = callPackage ../development/libraries/glibc/info.nix { }; glibc_multi = callPackage ../development/libraries/glibc/multi.nix { # The buildPackages is required for cross-compilation. The pkgsi686Linux set # has target and host always set to the same value based on target platform # of the current set. We need host to be same as build to correctly get i686 # variant of glibc. glibc32 = pkgsi686Linux.buildPackages.glibc; }; glsurf = callPackage ../applications/science/math/glsurf { ocamlPackages = ocaml-ng.ocamlPackages_4_14_unsafe_string; }; gmime2 = callPackage ../development/libraries/gmime/2.nix { }; gmime3 = callPackage ../development/libraries/gmime/3.nix { }; gmime = gmime2; gmp4 = callPackage ../development/libraries/gmp/4.3.2.nix { }; # required by older GHC versions gmp6 = callPackage ../development/libraries/gmp/6.x.nix { }; gmp = gmp6; gmpxx = gmp.override { cxx = true; }; #GMP ex-satellite, so better keep it near gmp # A GMP fork gns3Packages = dontRecurseIntoAttrs (callPackage ../applications/networking/gns3 { }); gns3-gui = gns3Packages.guiStable; gns3-server = gns3Packages.serverStable; gobject-introspection = callPackage ../development/libraries/gobject-introspection/wrapper.nix { }; gobject-introspection-unwrapped = callPackage ../development/libraries/gobject-introspection { nixStoreDir = config.nix.storeDir or builtins.storeDir; }; goocanvas = callPackage ../development/libraries/goocanvas { }; goocanvas2 = callPackage ../development/libraries/goocanvas/2.x.nix { }; goocanvas3 = callPackage ../development/libraries/goocanvas/3.x.nix { }; grpc = darwin.apple_sdk_11_0.callPackage ../development/libraries/grpc { stdenv = if stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isx86_64 then overrideSDK darwin.apple_sdk_11_0.stdenv { darwinMinVersion = "10.13"; } else stdenv; }; gsettings-qt = libsForQt5.callPackage ../development/libraries/gsettings-qt { }; gst_all_1 = recurseIntoAttrs (callPackage ../development/libraries/gstreamer { callPackage = newScope gst_all_1; stdenv = if stdenv.hostPlatform.isDarwin then overrideSDK stdenv "12.3" else stdenv; inherit (darwin.apple_sdk_12_3.frameworks) AudioToolbox AVFoundation Cocoa CoreFoundation CoreMedia CoreServices CoreVideo DiskArbitration Foundation IOKit MediaToolbox OpenGL Security SystemConfiguration VideoToolbox; inherit (darwin.apple_sdk_12_3.libs) xpc; }); qxmpp = libsForQt5.callPackage ../development/libraries/qxmpp { }; gnu-efi = if stdenv.hostPlatform.isEfi then callPackage ../development/libraries/gnu-efi { } else null; gnutls = callPackage ../development/libraries/gnutls { inherit (darwin.apple_sdk.frameworks) Security; util-linux = util-linuxMinimal; # break the cyclic dependency autoconf = buildPackages.autoconf269; }; gpac = callPackage ../applications/video/gpac { }; gpgme = callPackage ../development/libraries/gpgme { }; grantlee = libsForQt5.callPackage ../development/libraries/grantlee { }; glib = callPackage ../development/libraries/glib (let glib-untested = glib.overrideAttrs { doCheck = false; }; in { # break dependency cycles # these things are only used for tests, they don't get into the closure shared-mime-info = shared-mime-info.override { glib = glib-untested; }; desktop-file-utils = desktop-file-utils.override { glib = glib-untested; }; dbus = dbus.override { enableSystemd = false; }; }); glibmm = callPackage ../development/libraries/glibmm { }; glibmm_2_68 = callPackage ../development/libraries/glibmm/2.68.nix { inherit (darwin.apple_sdk.frameworks) Cocoa; }; glirc = haskell.lib.compose.justStaticExecutables haskellPackages.glirc; # Not moved to aliases while we decide if we should split the package again. atk = at-spi2-core; atkmm = callPackage ../development/libraries/atkmm { }; atkmm_2_36 = callPackage ../development/libraries/atkmm/2.36.nix { }; cairomm = callPackage ../development/libraries/cairomm { }; cairomm_1_16 = callPackage ../development/libraries/cairomm/1.16.nix { inherit (darwin.apple_sdk.frameworks) ApplicationServices; }; pango = callPackage ../development/libraries/pango { harfbuzz = harfbuzz.override { withCoreText = stdenv.hostPlatform.isDarwin; }; }; pangolin = callPackage ../development/libraries/pangolin { inherit (darwin.apple_sdk.frameworks) Carbon Cocoa; }; pangomm = callPackage ../development/libraries/pangomm { inherit (darwin.apple_sdk.frameworks) ApplicationServices; }; pangomm_2_48 = callPackage ../development/libraries/pangomm/2.48.nix { inherit (darwin.apple_sdk.frameworks) ApplicationServices; }; pangomm_2_42 = callPackage ../development/libraries/pangomm/2.42.nix { inherit (darwin.apple_sdk.frameworks) ApplicationServices; }; gdk-pixbuf = callPackage ../development/libraries/gdk-pixbuf { }; gdk-pixbuf-xlib = callPackage ../development/libraries/gdk-pixbuf/xlib.nix { }; gtk2 = callPackage ../development/libraries/gtk/2.x.nix { inherit (darwin.apple_sdk.frameworks) AppKit Cocoa; }; gtk2-x11 = gtk2.override { cairo = cairo.override { x11Support = true; }; pango = pango.override { cairo = cairo.override { x11Support = true; }; x11Support = true; }; gdktarget = "x11"; }; gtk3 = callPackage ../development/libraries/gtk/3.x.nix { inherit (darwin.apple_sdk.frameworks) AppKit Cocoa QuartzCore; }; gtk4 = callPackage ../development/libraries/gtk/4.x.nix { }; # On darwin gtk uses cocoa by default instead of x11. gtk3-x11 = gtk3.override { cairo = cairo.override { x11Support = true; }; pango = pango.override { cairo = cairo.override { x11Support = true; }; x11Support = true; }; x11Support = true; }; gtkmm2 = callPackage ../development/libraries/gtkmm/2.x.nix { }; gtkmm3 = callPackage ../development/libraries/gtkmm/3.x.nix { }; gtkmm4 = callPackage ../development/libraries/gtkmm/4.x.nix { }; gtk-sharp-2_0 = callPackage ../development/libraries/gtk-sharp/2.0.nix { }; gtk-sharp-3_0 = callPackage ../development/libraries/gtk-sharp/3.0.nix { }; gtk-mac-integration = callPackage ../development/libraries/gtk-mac-integration { gtk = gtk3; }; gtk-mac-integration-gtk2 = gtk-mac-integration.override { gtk = gtk2; }; gtk-mac-integration-gtk3 = gtk-mac-integration; gtksourceview = gtksourceview3; gtksourceview3 = callPackage ../development/libraries/gtksourceview/3.x.nix { }; gtksourceview4 = callPackage ../development/libraries/gtksourceview/4.x.nix { }; gtksourceview5 = callPackage ../development/libraries/gtksourceview/5.x.nix { }; gtksourceviewmm = callPackage ../development/libraries/gtksourceviewmm { }; gtksourceviewmm4 = callPackage ../development/libraries/gtksourceviewmm/4.x.nix { }; gtkspell2 = callPackage ../development/libraries/gtkspell { }; gtkspell3 = callPackage ../development/libraries/gtkspell/3.nix { }; gwenhywfar = callPackage ../development/libraries/aqbanking/gwenhywfar.nix { }; hamlib = hamlib_3; hamlib_3 = callPackage ../development/libraries/hamlib { }; hamlib_4 = callPackage ../development/libraries/hamlib/4.nix { }; heimdal = callPackage ../development/libraries/kerberos/heimdal.nix { inherit (darwin.apple_sdk.frameworks) CoreFoundation Security SystemConfiguration; autoreconfHook = buildPackages.autoreconfHook269; }; harfbuzz = callPackage ../development/libraries/harfbuzz { inherit (darwin.apple_sdk.frameworks) ApplicationServices CoreText; }; harfbuzzFull = harfbuzz.override { withCoreText = stdenv.hostPlatform.isDarwin; withGraphite2 = true; withIcu = true; }; herqq = libsForQt5.callPackage ../development/libraries/herqq { }; hidapi = callPackage ../development/libraries/hidapi { inherit (darwin.apple_sdk.frameworks) Cocoa IOKit; }; highfive-mpi = highfive.override { hdf5 = hdf5-mpi; }; hivex = callPackage ../development/libraries/hivex { autoreconfHook = buildPackages.autoreconfHook269; }; hpx = callPackage ../development/libraries/hpx { boost = boost179; asio = asio.override { boost = boost179; }; }; hspell = callPackage ../development/libraries/hspell { }; hspellDicts = callPackage ../development/libraries/hspell/dicts.nix { }; hunspell = callPackage ../development/libraries/hunspell { }; hunspellDicts = recurseIntoAttrs (callPackages ../development/libraries/hunspell/dictionaries.nix {}); hunspellDictsChromium = recurseIntoAttrs (callPackages ../development/libraries/hunspell/dictionaries-chromium.nix {}); hunspellWithDicts = dicts: callPackage ../development/libraries/hunspell/wrapper.nix { inherit dicts; }; hydra = callPackage ../by-name/hy/hydra/package.nix { nix = nixVersions.nix_2_24; }; hydra-check = with python3.pkgs; toPythonApplication hydra-check; icu-versions = callPackages ../development/libraries/icu { }; inherit (icu-versions) icu60 icu63 icu64 icu66 icu67 icu69 icu70 icu71 icu72 icu73 icu74 icu75 icu76 ; icu = icu74; idasen = with python3Packages; toPythonApplication idasen; imgui = callPackage ../development/libraries/imgui { stdenv = if stdenv.hostPlatform.isDarwin then overrideSDK stdenv "11.0" else stdenv; }; imlib2Full = imlib2.override { # Compilation error on Darwin with librsvg. For more information see: # https://github.com/NixOS/nixpkgs/pull/166452#issuecomment-1090725613 svgSupport = !stdenv.hostPlatform.isDarwin; heifSupport = !stdenv.hostPlatform.isDarwin; webpSupport = true; jxlSupport = true; psSupport = true; }; imlib2-nox = imlib2.override { x11Support = false; }; imlibsetroot = callPackage ../applications/graphics/imlibsetroot { libXinerama = xorg.libXinerama; } ; indicator-application-gtk2 = callPackage ../development/libraries/indicator-application/gtk2.nix { }; indicator-application-gtk3 = callPackage ../development/libraries/indicator-application/gtk3.nix { }; indilib = darwin.apple_sdk_11_0.callPackage ../development/libraries/science/astronomy/indilib { }; indi-3rdparty = recurseIntoAttrs (callPackages ../development/libraries/science/astronomy/indilib/indi-3rdparty.nix { }); ios-cross-compile = callPackage ../development/compilers/ios-cross-compile/9.2.nix { }; irrlicht = if !stdenv.hostPlatform.isDarwin then callPackage ../development/libraries/irrlicht { } else callPackage ../development/libraries/irrlicht/mac.nix { inherit (darwin.apple_sdk.frameworks) Cocoa OpenGL IOKit; }; iso-flags-png-320x240 = iso-flags.overrideAttrs (oldAttrs: { buildFlags = [ "png-country-320x240-fancy" ]; installPhase = '' runHook preInstall mkdir -p $out/share && mv build/png-country-4x2-fancy/res-320x240 $out/share/iso-flags-png runHook postInstall ''; }); isoimagewriter = libsForQt5.callPackage ../tools/misc/isoimagewriter {}; isort = with python3Packages; toPythonApplication isort; ispc = callPackage ../development/compilers/ispc { llvmPackages = llvmPackages_17; }; isso = callPackage ../servers/isso { nodejs = nodejs_20; }; itk_5_2 = callPackage ../development/libraries/itk/5.2.x.nix { inherit (darwin.apple_sdk.frameworks) Cocoa; }; itk_5 = callPackage ../development/libraries/itk/5.x.nix { inherit (darwin.apple_sdk.frameworks) Cocoa; }; itk = itk_5; jemalloc = callPackage ../development/libraries/jemalloc { }; rust-jemalloc-sys = callPackage ../development/libraries/jemalloc/rust.nix { }; rust-jemalloc-sys-unprefixed = rust-jemalloc-sys.override { unprefixed = true; }; json2yaml = haskell.lib.compose.justStaticExecutables haskellPackages.json2yaml; libjodycode = callPackage ../development/libraries/libjodycode { # missing aligned_alloc() stdenv = if stdenv.hostPlatform.isDarwin then darwin.apple_sdk_11_0.stdenv else stdenv; }; kddockwidgets = libsForQt5.callPackage ../development/libraries/kddockwidgets { }; keybinder = callPackage ../development/libraries/keybinder { automake = automake111x; lua = lua5_1; }; keybinder3 = callPackage ../development/libraries/keybinder3 { gtk3 = if stdenv.hostPlatform.isDarwin then gtk3-x11 else gtk3; automake = automake111x; }; krb5 = callPackage ../development/libraries/kerberos/krb5.nix { inherit (buildPackages.darwin) bootstrap_cmds; }; libkrb5 = krb5; # TODO(de11n) Try to make krb5 reuse libkrb5 as a dependency ktextaddons = libsForQt5.callPackage ../development/libraries/ktextaddons {}; l-smash = callPackage ../development/libraries/l-smash { stdenv = gccStdenv; }; languageMachines = recurseIntoAttrs (import ../development/libraries/languagemachines/packages.nix { inherit pkgs; }); laurel = callPackage ../servers/monitoring/laurel/default.nix { }; lcms = lcms2; lib2geom = callPackage ../development/libraries/lib2geom { stdenv = if stdenv.cc.isClang then llvmPackages_13.stdenv else stdenv; }; libacr38u = callPackage ../tools/security/libacr38u { inherit (darwin.apple_sdk.frameworks) IOKit; }; libadwaita = callPackage ../development/libraries/libadwaita { inherit (pkgs.darwin.apple_sdk.frameworks) AppKit Foundation; }; libagar = callPackage ../development/libraries/libagar { }; libagar_test = callPackage ../development/libraries/libagar/libagar_test.nix { }; libao = callPackage ../development/libraries/libao { usePulseAudio = config.pulseaudio or (lib.meta.availableOn stdenv.hostPlatform libpulseaudio); inherit (darwin.apple_sdk.frameworks) CoreAudio CoreServices AudioUnit; }; libappindicator-gtk2 = libappindicator.override { gtkVersion = "2"; }; libappindicator-gtk3 = libappindicator.override { gtkVersion = "3"; }; libarchive-qt = libsForQt5.callPackage ../development/libraries/libarchive-qt { }; libaribcaption = callPackage ../by-name/li/libaribcaption/package.nix { inherit (darwin.apple_sdk.frameworks) ApplicationServices CoreFoundation CoreGraphics CoreText; }; libasn1c = callPackage ../servers/osmocom/libasn1c/default.nix { }; libbap = callPackage ../development/libraries/libbap { inherit (ocaml-ng.ocamlPackages_4_14) bap ocaml findlib ctypes ctypes-foreign; }; libbass = (callPackage ../development/libraries/audio/libbass { }).bass; libbass_fx = (callPackage ../development/libraries/audio/libbass { }).bass_fx; libbassmidi = (callPackage ../development/libraries/audio/libbass { }).bassmidi; libbassmix = (callPackage ../development/libraries/audio/libbass { }).bassmix; libbluray = callPackage ../development/libraries/libbluray { inherit (darwin.apple_sdk.frameworks) DiskArbitration; }; libcamera-qcam = callPackage ../by-name/li/libcamera/package.nix { withQcam = true; }; libcanberra = callPackage ../development/libraries/libcanberra { inherit (darwin.apple_sdk.frameworks) Carbon CoreServices AppKit; }; libcanberra-gtk2 = pkgs.libcanberra.override { gtkSupport = "gtk2"; }; libcanberra-gtk3 = pkgs.libcanberra.override { gtkSupport = "gtk3"; }; libcanberra_kde = if (config.kde_runtime.libcanberraWithoutGTK or true) then pkgs.libcanberra else pkgs.libcanberra-gtk2; libcec = callPackage ../development/libraries/libcec { }; libcec_platform = callPackage ../development/libraries/libcec/platform.nix { }; libcef = callPackage ../development/libraries/libcef { }; libcdio = callPackage ../development/libraries/libcdio { inherit (darwin.apple_sdk.frameworks) Carbon IOKit; }; libcdio-paranoia = callPackage ../development/libraries/libcdio-paranoia { inherit (darwin.apple_sdk.frameworks) DiskArbitration IOKit; }; libcdr = callPackage ../development/libraries/libcdr { lcms = lcms2; }; libchamplain_libsoup3 = libchamplain.override { withLibsoup3 = true; }; libchipcard = callPackage ../development/libraries/aqbanking/libchipcard.nix { }; libcomps = callPackage ../tools/package-management/libcomps { python = python3; }; libcxxrt = callPackage ../development/libraries/libcxxrt { stdenv = if stdenv.hostPlatform.useLLVM or false then overrideCC stdenv buildPackages.llvmPackages.tools.clangNoLibcxx else stdenv; }; libdbiDriversBase = libdbiDrivers.override { libmysqlclient = null; sqlite = null; }; libdbusmenu-gtk2 = libdbusmenu.override { gtkVersion = "2"; }; libdbusmenu-gtk3 = libdbusmenu.override { gtkVersion = "3"; }; libdc1394 = callPackage ../development/libraries/libdc1394 { inherit (darwin.apple_sdk.frameworks) CoreServices; }; libdeflate = darwin.apple_sdk_11_0.callPackage ../development/libraries/libdeflate { }; libdevil = callPackage ../development/libraries/libdevil { inherit (darwin.apple_sdk.frameworks) OpenGL; }; libdevil-nox = callPackage ../development/libraries/libdevil { inherit (darwin.apple_sdk.frameworks) OpenGL; withXorg = false; }; libdnf = callPackage ../tools/package-management/libdnf { python = python3; }; libdvdcss = callPackage ../development/libraries/libdvdcss { inherit (darwin) IOKit; }; libdvdnav = callPackage ../development/libraries/libdvdnav { }; libdvdnav_4_2_1 = callPackage ../development/libraries/libdvdnav/4.2.1.nix { libdvdread = libdvdread_4_9_9; }; libdvdread = callPackage ../development/libraries/libdvdread { }; libdvdread_4_9_9 = callPackage ../development/libraries/libdvdread/4.9.9.nix { }; dwarfdump = libdwarf.bin; libfilezilla = darwin.apple_sdk_11_0.callPackage ../development/libraries/libfilezilla { inherit (darwin.apple_sdk_11_0.frameworks) ApplicationServices; }; libfm-extra = libfm.override { extraOnly = true; }; libgda = callPackage ../development/libraries/libgda { }; libgda6 = callPackage ../development/libraries/libgda/6.x.nix { }; libgnome-games-support = callPackage ../development/libraries/libgnome-games-support { }; libgnome-games-support_2_0 = callPackage ../development/libraries/libgnome-games-support/2.0.nix { }; libgrss = callPackage ../development/libraries/libgrss { inherit (darwin.apple_sdk_11_0.frameworks) Foundation AppKit; }; libiio = callPackage ../development/libraries/libiio { inherit (darwin.apple_sdk.frameworks) CFNetwork CoreServices; python = python3; }; libsoundio = callPackage ../development/libraries/libsoundio { inherit (darwin.apple_sdk.frameworks) AudioUnit; }; libextractor = callPackage ../development/libraries/libextractor { libmpeg2 = mpeg2dec; }; libfive = libsForQt5.callPackage ../development/libraries/libfive { stdenv = if stdenv.hostPlatform.isDarwin then overrideSDK stdenv "11.0" else stdenv; python = python3; }; libffi = callPackage ../development/libraries/libffi { }; libffi_3_3 = callPackage ../development/libraries/libffi/3.3.nix { }; libffiBoot = libffi.override { doCheck = false; }; libfreefare = callPackage ../development/libraries/libfreefare { inherit (darwin.apple_sdk.frameworks) IOKit Security; inherit (darwin) libobjc; }; libftdi = callPackage ../development/libraries/libftdi { inherit (darwin) libobjc; inherit (darwin.apple_sdk.frameworks) IOKit Security; }; libftdi1 = callPackage ../development/libraries/libftdi/1.x.nix { }; libgcrypt = callPackage ../development/libraries/libgcrypt { }; libgcrypt_1_8 = callPackage ../development/libraries/libgcrypt/1.8.nix { }; libgdiplus = callPackage ../development/libraries/libgdiplus { inherit (darwin.apple_sdk.frameworks) Carbon; }; # https://git.gnupg.org/cgi-bin/gitweb.cgi?p=libgpg-error.git;a=blob;f=README;h=fd6e1a83f55696c1f7a08f6dfca08b2d6b7617ec;hb=70058cd9f944d620764e57c838209afae8a58c78#l118 libgpg-error-gen-posix-lock-obj = libgpg-error.override { genPosixLockObjOnly = true; }; libgpod = callPackage ../development/libraries/libgpod { autoreconfHook = buildPackages.autoreconfHook269; }; libimobiledevice = callPackage ../development/libraries/libimobiledevice { inherit (darwin.apple_sdk.frameworks) SystemConfiguration CoreFoundation; }; libindicator-gtk2 = libindicator.override { gtkVersion = "2"; }; libindicator-gtk3 = libindicator.override { gtkVersion = "3"; }; libiodbc = callPackage ../development/libraries/libiodbc { inherit (darwin.apple_sdk.frameworks) Carbon; }; inherit (callPackage ../development/libraries/libliftoff { }) libliftoff_0_4 libliftoff_0_5; libliftoff = libliftoff_0_5; liblqr1 = callPackage ../development/libraries/liblqr-1 { inherit (darwin.apple_sdk.frameworks) Carbon AppKit; }; libqtdbusmock = libsForQt5.callPackage ../development/libraries/libqtdbusmock { inherit (lomiri) cmake-extras; }; libqtdbustest = libsForQt5.callPackage ../development/libraries/libqtdbustest { inherit (lomiri) cmake-extras; }; libre = callPackage ../development/libraries/libre { inherit (darwin.apple_sdk.frameworks) SystemConfiguration; }; libremines = qt6.callPackage ../games/libremines { }; librepo = callPackage ../tools/package-management/librepo { python = python3; }; librsb = callPackage ../development/libraries/librsb { # Taken from https://build.opensuse.org/package/view_file/science/librsb/librsb.spec memHierarchy = "L3:16/64/8192K,L2:16/64/2048K,L1:8/64/16K"; }; libsamplerate = callPackage ../development/libraries/libsamplerate { inherit (darwin.apple_sdk.frameworks) ApplicationServices Carbon CoreServices; }; # GNU libc provides libiconv so systems with glibc don't need to # build libiconv separately. Additionally, Apple forked/repackaged # libiconv, so build and use the upstream one with a compatible ABI, # and BSDs include libiconv in libc. # # We also provide `libiconvReal`, which will always be a standalone libiconv, # just in case you want it regardless of platform. libiconv = if lib.elem stdenv.hostPlatform.libc [ "glibc" "musl" "nblibc" "wasilibc" "fblibc" ] then libcIconv (if stdenv.hostPlatform != stdenv.buildPlatform then libcCross else stdenv.cc.libc) else if stdenv.hostPlatform.isDarwin then darwin.libiconv else libiconvReal; libcIconv = libc: let inherit (libc) pname version; libcDev = lib.getDev libc; in runCommand "${pname}-iconv-${version}" { strictDeps = true; } '' mkdir -p $out/include ln -sv ${libcDev}/include/iconv.h $out/include ''; libiconvReal = callPackage ../development/libraries/libiconv { }; iconv = if lib.elem stdenv.hostPlatform.libc [ "glibc" "musl" ] then lib.getBin stdenv.cc.libc else if stdenv.hostPlatform.isDarwin then lib.getBin libiconv else if stdenv.hostPlatform.isFreeBSD then lib.getBin freebsd.iconv else lib.getBin libiconvReal; # On non-GNU systems we need GNU Gettext for libintl. libintl = if stdenv.hostPlatform.libc != "glibc" then gettext else null; libidn2 = callPackage ../development/libraries/libidn2 { }; libinput = callPackage ../development/libraries/libinput { graphviz = graphviz-nox; }; # also known as libturbojpeg libjpeg = libjpeg_turbo; libjpeg8 = libjpeg_turbo.override { enableJpeg8 = true; }; malcontent = callPackage ../development/libraries/malcontent { }; malcontent-ui = callPackage ../development/libraries/malcontent/ui.nix { }; libmatthew_java = callPackage ../development/libraries/java/libmatthew-java { jdk = jdk8; # TODO: remove override https://github.com/NixOS/nixpkgs/pull/89731 }; inherit ({ libmicrohttpd_0_9_77 = callPackage ../development/libraries/libmicrohttpd/0.9.77.nix { }; libmicrohttpd_1_0 = callPackage ../development/libraries/libmicrohttpd/1.0.nix { }; }) libmicrohttpd_0_9_77 libmicrohttpd_1_0 ; libmicrohttpd = libmicrohttpd_1_0; libmikmod = callPackage ../development/libraries/libmikmod { inherit (darwin.apple_sdk.frameworks) CoreAudio; }; libmusicbrainz3 = callPackage ../development/libraries/libmusicbrainz { }; libmusicbrainz5 = callPackage ../development/libraries/libmusicbrainz/5.x.nix { }; libmusicbrainz = libmusicbrainz3; libosmscout = libsForQt5.callPackage ../development/libraries/libosmscout { }; libpeas = callPackage ../development/libraries/libpeas { }; libpeas2 = callPackage ../development/libraries/libpeas/2.x.nix { }; libphonenumber = callPackage ../development/libraries/libphonenumber { inherit (darwin.apple_sdk.frameworks) Foundation; }; libpng = callPackage ../development/libraries/libpng { stdenv = # libpng is a dependency of xcbuild. Avoid an infinite recursion by using a bootstrap stdenv # that does not propagate xcrun. if stdenv.hostPlatform.isDarwin then darwin.bootstrapStdenv else stdenv; }; libpng12 = callPackage ../development/libraries/libpng/12.nix { }; inherit (callPackages ../development/libraries/prometheus-client-c { stdenv = gccStdenv; # Required for darwin }) libprom libpromhttp; libproxy = callPackage ../development/libraries/libproxy { }; libpulsar = callPackage ../development/libraries/libpulsar { protobuf = protobuf_21; }; libpwquality = callPackage ../development/libraries/libpwquality { python = python3; }; libqt5pas = libsForQt5.callPackage ../development/compilers/fpc/libqt5pas.nix { }; librsvg = callPackage ../development/libraries/librsvg { inherit (darwin) libobjc; inherit (darwin.apple_sdk.frameworks) ApplicationServices Foundation; }; libsigcxx = callPackage ../development/libraries/libsigcxx { }; libsigcxx30 = callPackage ../development/libraries/libsigcxx/3.0.nix { }; libsndfile = callPackage ../development/libraries/libsndfile { inherit (darwin.apple_sdk.frameworks) Carbon AudioToolbox; }; libsoup = callPackage ../development/libraries/libsoup { }; libsoup_3 = callPackage ../development/libraries/libsoup/3.x.nix { }; libstatgrab = callPackage ../development/libraries/libstatgrab { inherit (darwin.apple_sdk.frameworks) IOKit; }; libticalcs2 = callPackage ../development/libraries/libticalcs2 { inherit (darwin) libobjc; }; libtorrent-rasterbar = libtorrent-rasterbar-2_0_x; libubox-nossl = callPackage ../development/libraries/libubox { }; libubox = callPackage ../development/libraries/libubox { with_ustream_ssl = true; }; libubox-wolfssl = callPackage ../development/libraries/libubox { with_ustream_ssl = true; ustream-ssl = ustream-ssl-wolfssl; }; libubox-mbedtls = callPackage ../development/libraries/libubox { with_ustream_ssl = true; ustream-ssl = ustream-ssl-mbedtls; }; libui = callPackage ../development/libraries/libui { inherit (darwin.apple_sdk.frameworks) Cocoa; }; libuiohook = callPackage ../development/libraries/libuiohook { inherit (darwin.apple_sdk.frameworks) AppKit ApplicationServices Carbon; }; libunistring = callPackage ../development/libraries/libunistring { }; libunique = callPackage ../development/libraries/libunique { }; libunique3 = callPackage ../development/libraries/libunique/3.x.nix { }; libusb-compat-0_1 = callPackage ../development/libraries/libusb-compat/0.1.nix { }; libusb1 = callPackage ../development/libraries/libusb1 { inherit (darwin) libobjc; inherit (darwin.apple_sdk.frameworks) IOKit Security; }; libunicode = callPackage ../development/libraries/libunicode { catch2 = catch2_3; fmt = fmt_9; }; libunwind = # Use the system unwinder in the SDK but provide a compatibility package to: # 1. avoid evaluation errors with setting `unwind` to `null`; and # 2. provide a `.pc` for compatibility with packages that expect to find libunwind that way. if stdenv.hostPlatform.isDarwin then darwin.libunwind else if stdenv.hostPlatform.system == "riscv32-linux" then llvmPackages.libunwind else callPackage ../development/libraries/libunwind { }; libuv = darwin.apple_sdk_11_0.callPackage ../development/libraries/libuv { }; libv4l = lowPrio (v4l-utils.override { withUtils = false; }); libva-minimal = callPackage ../development/libraries/libva { minimal = true; }; libva = libva-minimal.override { minimal = false; }; libva-utils = callPackage ../development/libraries/libva/utils.nix { }; libva1 = callPackage ../development/libraries/libva/1.nix { }; libva1-minimal = libva1.override { minimal = true; }; libvgm = callPackage ../development/libraries/libvgm { inherit (darwin.apple_sdk.frameworks) CoreAudio AudioToolbox; }; libvirt = callPackage ../development/libraries/libvirt { inherit (darwin.apple_sdk.frameworks) Carbon AppKit; }; libvncserver = callPackage ../development/libraries/libvncserver { inherit (darwin.apple_sdk.frameworks) Carbon; }; libwnck = callPackage ../development/libraries/libwnck { }; libwnck2 = callPackage ../development/libraries/libwnck/2.nix { }; libwpd = callPackage ../development/libraries/libwpd { }; libwpd_08 = callPackage ../development/libraries/libwpd/0.8.nix { }; libxcrypt = callPackage ../development/libraries/libxcrypt { fetchurl = stdenv.fetchurlBoot; perl = buildPackages.perl.override { enableCrypt = false; fetchurl = stdenv.fetchurlBoot; }; }; libxcrypt-legacy = libxcrypt.override { enableHashes = "all"; }; libxkbcommon = libxkbcommon_8; libxml2 = callPackage ../development/libraries/libxml2 { python = python3; stdenv = # libxml2 is a dependency of xcbuild. Avoid an infinite recursion by using a bootstrap stdenv # that does not propagate xcrun. if stdenv.hostPlatform.isDarwin then darwin.bootstrapStdenv else stdenv; }; libxml2Python = let inherit (python3.pkgs) libxml2; in pkgs.buildEnv { # slightly hacky name = "libxml2+py-${res.libxml2.version}"; paths = with libxml2; [ dev bin py ]; # Avoid update.nix/tests conflicts with libxml2. passthru = builtins.removeAttrs libxml2.passthru [ "updateScript" "tests" ]; # the hook to find catalogs is hidden by buildEnv postBuild = '' mkdir "$out/nix-support" cp '${libxml2.dev}/nix-support/propagated-build-inputs' "$out/nix-support/" ''; }; libxmlxx = callPackage ../development/libraries/libxmlxx { }; libxmlxx3 = callPackage ../development/libraries/libxmlxx/v3.nix { }; libxslt = callPackage ../development/libraries/libxslt { python = python3; }; libwpe = callPackage ../development/libraries/libwpe { }; libwpe-fdo = callPackage ../development/libraries/libwpe/fdo.nix { }; yaml-cpp = callPackage ../development/libraries/yaml-cpp { }; yaml-cpp_0_3 = callPackage ../development/libraries/yaml-cpp/0.3.0.nix { }; liquid-dsp = callPackage ../development/libraries/liquid-dsp { inherit (darwin) autoSignDarwinBinariesHook; }; luabind = callPackage ../development/libraries/luabind { lua = lua5_1; }; luabind_luajit = luabind.override { lua = luajit; }; luksmeta = callPackage ../development/libraries/luksmeta { asciidoc = asciidoc-full; }; mapnik = callPackage ../development/libraries/mapnik { harfbuzz = harfbuzz.override { withIcu = true; }; }; matterhorn = # TODO: Erroneous references to GHC on aarch64-darwin: https://github.com/NixOS/nixpkgs/issues/318013 (if stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64 then lib.id else haskell.lib.compose.justStaticExecutables) haskellPackages.matterhorn; mbedtls_2 = callPackage ../development/libraries/mbedtls/2.nix { }; mbedtls = callPackage ../development/libraries/mbedtls/3.nix { }; mediastreamer = libsForQt5.callPackage ../development/libraries/mediastreamer { }; mediastreamer-openh264 = callPackage ../development/libraries/mediastreamer/msopenh264.nix { }; memorymapping = callPackage ../development/libraries/memorymapping { }; memorymappingHook = makeSetupHook { name = "memorymapping-hook"; propagatedBuildInputs = [ memorymapping ]; } ../development/libraries/memorymapping/setup-hook.sh; memstream = callPackage ../development/libraries/memstream { }; memstreamHook = makeSetupHook { name = "memstream-hook"; propagatedBuildInputs = [ memstream ]; } ../development/libraries/memstream/setup-hook.sh; mergerfs = callPackage ../tools/filesystems/mergerfs { }; mergerfs-tools = callPackage ../tools/filesystems/mergerfs/tools.nix { }; simple-dftd3 = callPackage ../development/libraries/science/chemistry/simple-dftd3 { }; tblite = callPackage ../development/libraries/science/chemistry/tblite { }; ## libGL/libGLU/Mesa stuff # Default libGL implementation. # # Android NDK provides an OpenGL implementation, we can just use that. # # On macOS, we use the OpenGL framework. Packages that still need GLX # specifically can pull in libGLX instead. If you have a package that # should work without X11 but it can’t find the library, it may help # to add the path to `NIX_CFLAGS_COMPILE`: # # -L${libGL}/Library/Frameworks/OpenGL.framework/Versions/Current/Libraries # # If you still can’t get it working, please don’t hesitate to ping # @NixOS/darwin-maintainers to ask an expert to take a look. libGL = if stdenv.hostPlatform.useAndroidPrebuilt then stdenv else if stdenv.hostPlatform.isDarwin then darwin.apple_sdk.frameworks.OpenGL else libglvnd; # On macOS, we use the OpenGL framework. Packages that use libGLX on # macOS may need to depend on mesa_glu directly if this doesn’t work. libGLU = if stdenv.hostPlatform.isDarwin then darwin.apple_sdk.frameworks.OpenGL else mesa_glu; # libglvnd does not work (yet?) on macOS. libGLX = if stdenv.hostPlatform.isDarwin then mesa else libglvnd; # On macOS, we use the GLUT framework. Packages that use libGLX on # macOS may need to depend on freeglut directly if this doesn’t work. libglut = if stdenv.hostPlatform.isDarwin then darwin.apple_sdk.frameworks.GLUT else freeglut; mesa = if stdenv.hostPlatform.isDarwin then darwin.apple_sdk_11_0.callPackage ../development/libraries/mesa/darwin.nix { inherit (darwin.apple_sdk_11_0.libs) Xplugin; } else callPackage ../development/libraries/mesa {}; mesa_i686 = pkgsi686Linux.mesa; # make it build on Hydra ## End libGL/libGLU/Mesa stuff midivisualizer = darwin.apple_sdk_11_0.callPackage ../applications/audio/midivisualizer { inherit (darwin.apple_sdk_11_0.frameworks) AppKit Cocoa Carbon CoreAudio CoreMIDI CoreServices Kernel; }; mkvtoolnix = qt6Packages.callPackage ../applications/video/mkvtoolnix { }; mkvtoolnix-cli = mkvtoolnix.override { withGUI = false; }; mlt = darwin.apple_sdk_11_0.callPackage ../development/libraries/mlt { }; mlv-app = libsForQt5.callPackage ../applications/video/mlv-app { }; mpeg2dec = libmpeg2; msoffcrypto-tool = with python3.pkgs; toPythonApplication msoffcrypto-tool; mpich = callPackage ../development/libraries/mpich { ch4backend = libfabric; }; mpich-pmix = mpich.override { pmixSupport = true; withPm = [ ]; }; mvfst = darwin.apple_sdk_11_0.callPackage ../development/libraries/mvfst { }; mygpoclient = with python3.pkgs; toPythonApplication mygpoclient; mygui = callPackage ../development/libraries/mygui { inherit (darwin.apple_sdk.frameworks) Cocoa; }; nanovna-saver = libsForQt5.callPackage ../applications/science/electronics/nanovna-saver { }; nemo-qml-plugin-dbus = libsForQt5.callPackage ../development/libraries/nemo-qml-plugin-dbus { }; ncurses5 = ncurses.override { abiVersion = "5"; }; ncurses6 = ncurses.override { abiVersion = "6"; }; ncurses = if stdenv.hostPlatform.useiOSPrebuilt then null else callPackage ../development/libraries/ncurses { # ncurses is included in the SDK. Avoid an infinite recursion by using a bootstrap stdenv. stdenv = if stdenv.hostPlatform.isDarwin then darwin.bootstrapStdenv else stdenv; }; ndi = callPackage ../development/libraries/ndi { }; nettle = import ../development/libraries/nettle { inherit callPackage fetchurl; }; newt = callPackage ../development/libraries/newt { python = python3; }; libnghttp2 = nghttp2.lib; nghttp3 = callPackage ../development/libraries/nghttp3 { inherit (darwin.apple_sdk.frameworks) CoreServices; }; ngtcp2 = callPackage ../development/libraries/ngtcp2 { }; ngtcp2-gnutls = callPackage ../development/libraries/ngtcp2/gnutls.nix { }; non = callPackage ../applications/audio/non { wafHook = (waf.override { extraTools = [ "gccdeps" ]; }).hook; }; nspr = callPackage ../development/libraries/nspr { inherit (darwin.apple_sdk.frameworks) CoreServices; }; nss_latest = callPackage ../development/libraries/nss/latest.nix { }; nss_esr = callPackage ../development/libraries/nss/esr.nix { }; nss = nss_esr; nssTools = nss.tools; nuspell = callPackage ../development/libraries/nuspell { }; nuspellWithDicts = dicts: callPackage ../development/libraries/nuspell/wrapper.nix { inherit dicts; }; nv-codec-headers-9 = nv-codec-headers.override { majorVersion = "9"; }; nv-codec-headers-10 = nv-codec-headers.override { majorVersion = "10"; }; nv-codec-headers-11 = nv-codec-headers.override { majorVersion = "11"; }; nv-codec-headers-12 = nv-codec-headers.override { majorVersion = "12"; }; nvidiaCtkPackages = callPackage ../by-name/nv/nvidia-container-toolkit/packages.nix { }; inherit (nvidiaCtkPackages) nvidia-docker ; nvidia-vaapi-driver = lib.hiPrio (callPackage ../development/libraries/nvidia-vaapi-driver { }); nvidia-system-monitor-qt = libsForQt5.callPackage ../tools/system/nvidia-system-monitor-qt { }; nvtopPackages = recurseIntoAttrs (import ../tools/system/nvtop { inherit callPackage; }); inherit (callPackages ../development/libraries/ogre { }) ogre_13 ogre_14; ogre = ogre_14; one_gadget = callPackage ../development/tools/misc/one_gadget { }; oneDNN = callPackage ../development/libraries/oneDNN { }; oneDNN_2 = callPackage ../development/libraries/oneDNN/2.nix { }; openalSoft = callPackage ../development/libraries/openal-soft { inherit (darwin.apple_sdk.frameworks) CoreServices AudioUnit AudioToolbox; }; openal = openalSoft; openbabel = openbabel3; openbabel2 = callPackage ../development/libraries/openbabel/2.nix { }; openbabel3 = callPackage ../development/libraries/openbabel { python = python3; }; opencascade-occt_7_6 = opencascade-occt.overrideAttrs rec { pname = "opencascade-occt"; version = "7.6.2"; commit = "V${builtins.replaceStrings ["."] ["_"] version}"; src = fetchurl { name = "occt-${commit}.tar.gz"; url = "https://git.dev.opencascade.org/gitweb/?p=occt.git;a=snapshot;h=${commit};sf=tgz"; hash = "sha256-n3KFrN/mN1SVXfuhEUAQ1fJzrCvhiclxfEIouyj9Z18="; }; patches = [ # Backport GCC 14 build fix (fetchpatch { url = "https://github.com/Open-Cascade-SAS/OCCT/commit/7236e83dcc1e7284e66dc61e612154617ef715d6.patch"; hash = "sha256-NoC2mE3DG78Y0c9UWonx1vmXoU4g5XxFUT3eVXqLU60="; }) ]; }; opencsg = callPackage ../development/libraries/opencsg { inherit (qt5) qmake; inherit (darwin.apple_sdk.frameworks) GLUT; }; opencv4 = callPackage ../development/libraries/opencv/4.x.nix { inherit (darwin.apple_sdk.frameworks) AVFoundation Cocoa VideoDecodeAcceleration CoreMedia MediaToolbox Accelerate; pythonPackages = python3Packages; # TODO(@connorbaker): OpenCV 4.9 only supports up to CUDA 12.3. cudaPackages = cudaPackages_12_3; # TODO: LTO does not work. # https://github.com/NixOS/nixpkgs/issues/343123 enableLto = false; }; opencv4WithoutCuda = opencv4.override { enableCuda = false; }; opencv = opencv4; openexr = openexr_2; openexr_2 = callPackage ../development/libraries/openexr { }; openexr_3 = callPackage ../development/libraries/openexr/3.nix { }; opencolorio = darwin.apple_sdk_11_0.callPackage ../development/libraries/opencolorio { inherit (darwin.apple_sdk_11_0.frameworks) Carbon GLUT Cocoa; }; opencolorio_1 = callPackage ../development/libraries/opencolorio/1.x.nix { }; ois = callPackage ../development/libraries/ois { inherit (darwin.apple_sdk.frameworks) Cocoa IOKit Kernel; }; openscenegraph = callPackage ../development/libraries/openscenegraph { inherit (darwin.apple_sdk.frameworks) AGL Accelerate Carbon Cocoa Foundation; }; openstackclient = with python311Packages; toPythonApplication python-openstackclient; openstackclient-full = openstackclient.overridePythonAttrs (oldAttrs: { dependencies = oldAttrs.dependencies ++ oldAttrs.optional-dependencies.cli-plugins; }); barbicanclient = with python311Packages; toPythonApplication python-barbicanclient; glanceclient = with python311Packages; toPythonApplication python-glanceclient; heatclient = with python311Packages; toPythonApplication python-heatclient; ironicclient = with python311Packages; toPythonApplication python-ironicclient; magnumclient = with python311Packages; toPythonApplication python-magnumclient; manilaclient = with python311Packages; toPythonApplication python-manilaclient; mistralclient = with python311Packages; toPythonApplication python-mistralclient; swiftclient = with python311Packages; toPythonApplication python-swiftclient; troveclient = with python311Packages; toPythonApplication python-troveclient; watcherclient = with python311Packages; toPythonApplication python-watcherclient; zunclient = with python311Packages; toPythonApplication python-zunclient; openvdb = callPackage ../development/libraries/openvdb { }; openvdb_11 = callPackage ../development/libraries/openvdb/11.nix { }; openvr = callPackage ../by-name/op/openvr/package.nix { inherit (darwin.apple_sdk.frameworks) Foundation AppKit; }; inherit (callPackages ../development/libraries/libressl { }) libressl_3_6 libressl_3_7 libressl_3_8 libressl_3_9 libressl_4_0; libressl = libressl_4_0; wolfssl = darwin.apple_sdk_11_0.callPackage ../development/libraries/wolfssl { inherit (darwin.apple_sdk_11_0.frameworks) Security; }; openssl = openssl_3_3; openssl_legacy = openssl.override { conf = ../development/libraries/openssl/3.0/legacy.cnf; }; inherit (callPackages ../development/libraries/openssl { }) openssl_1_1 openssl_3 openssl_3_3; openwebrx = callPackage ../applications/radio/openwebrx { inherit (python3Packages) buildPythonPackage buildPythonApplication setuptools pycsdr pydigiham; }; pcl = libsForQt5.callPackage ../development/libraries/pcl { stdenv = if stdenv.hostPlatform.isDarwin then darwin.apple_sdk_11_0.stdenv else stdenv; inherit (darwin.apple_sdk_11_0.frameworks) Cocoa AGL OpenGL; }; pcre = callPackage ../development/libraries/pcre { }; pcre16 = res.pcre.override { variant = "pcre16"; }; # pcre32 seems unused pcre-cpp = res.pcre.override { variant = "cpp"; }; pcre2 = callPackage ../development/libraries/pcre2 { }; pdfhummus = libsForQt5.callPackage ../development/libraries/pdfhummus { }; phetch = callPackage ../applications/networking/gopher/phetch { inherit (darwin.apple_sdk.frameworks) Security; }; inherit (callPackage ../development/libraries/physfs { inherit (darwin.apple_sdk.frameworks) Foundation; }) physfs_2 physfs; pingvin-share = callPackage ../servers/pingvin-share { }; pipelight = callPackage ../tools/misc/pipelight { stdenv = stdenv_32bit; wine-staging = pkgsi686Linux.wine-staging; }; place-cursor-at = haskell.lib.compose.justStaticExecutables haskellPackages.place-cursor-at; podofo = callPackage ../development/libraries/podofo { }; podofo010 = callPackage ../development/libraries/podofo/0.10.x.nix { }; poppler = callPackage ../development/libraries/poppler { lcms = lcms2; }; poppler_gi = lowPrio (poppler.override { introspectionSupport = true; }); poppler_min = poppler.override { # TODO: maybe reduce even more minimal = true; suffix = "min"; }; poppler_utils = poppler.override { suffix = "utils"; utils = true; }; portaudio = callPackage ../development/libraries/portaudio { }; portmidi = callPackage ../development/libraries/portmidi { inherit (darwin.apple_sdk.frameworks) Carbon CoreAudio CoreFoundation CoreMIDI CoreServices; }; proj = callPackage ../development/libraries/proj { }; proj_7 = callPackage ../development/libraries/proj/7.nix { }; proselint = callPackage ../tools/text/proselint { inherit (python3Packages) buildPythonApplication click future six; }; prospector = callPackage ../development/tools/prospector { }; protobuf = protobuf_28; inherit ({ protobuf_28 = callPackage ../development/libraries/protobuf/28.nix { }; protobuf_27 = callPackage ../development/libraries/protobuf/27.nix { }; protobuf_26 = callPackage ../development/libraries/protobuf/26.nix { }; protobuf_25 = callPackage ../development/libraries/protobuf/25.nix { }; protobuf_24 = callPackage ../development/libraries/protobuf/24.nix { }; protobuf_23 = callPackage ../development/libraries/protobuf/23.nix { abseil-cpp = abseil-cpp_202301; }; protobuf_21 = callPackage ../development/libraries/protobuf/21.nix { abseil-cpp = abseil-cpp_202103; }; }) protobuf_28 protobuf_27 protobuf_26 protobuf_25 protobuf_24 protobuf_23 protobuf_21 ; flatbuffers = callPackage ../development/libraries/flatbuffers { }; flatbuffers_23 = callPackage ../development/libraries/flatbuffers/23.nix { }; nanopbMalloc = callPackage ../by-name/na/nanopb/package.nix { enableMalloc = true; }; pth = if stdenv.hostPlatform.isMusl then npth else gnupth; python-qt = libsForQt5.callPackage ../development/libraries/python-qt { }; pyotherside = libsForQt5.callPackage ../development/libraries/pyotherside { }; qbs = libsForQt5.callPackage ../development/tools/build-managers/qbs { }; qdjango = libsForQt5.callPackage ../development/libraries/qdjango { }; qmenumodel = libsForQt5.callPackage ../development/libraries/qmenumodel { inherit (lomiri) cmake-extras; }; qolibri = libsForQt5.callPackage ../applications/misc/qolibri { }; quarto = callPackage ../development/libraries/quarto { }; quartoMinimal = callPackage ../development/libraries/quarto { rWrapper = null; python3 = null; }; qt5 = recurseIntoAttrs (makeOverridable (import ../development/libraries/qt-5/5.15) { inherit (__splicedPackages) makeScopeWithSplicing' generateSplicesForMkScope lib fetchurl fetchpatch fetchgit fetchFromGitHub makeSetupHook makeWrapper bison cups dconf harfbuzz libGL perl gtk3 python3 llvmPackages_15 overrideSDK overrideLibcxx darwin; inherit (__splicedPackages.gst_all_1) gstreamer gst-plugins-base; inherit config; stdenv = if stdenv.hostPlatform.isDarwin then overrideSDK stdenv "11.0" else stdenv; }); libsForQt5 = (recurseIntoAttrs (import ./qt5-packages.nix { inherit lib __splicedPackages makeScopeWithSplicing' generateSplicesForMkScope pkgsHostTarget; })) // { __recurseIntoDerivationForReleaseJobs = true; }; # plasma5Packages maps to the Qt5 packages set that is used to build the plasma5 desktop plasma5Packages = libsForQt5; qtEnv = qt5.env; qt5Full = qt5.full; qt6 = recurseIntoAttrs (callPackage ../development/libraries/qt-6 { }); qt6Packages = recurseIntoAttrs (import ./qt6-packages.nix { inherit lib __splicedPackages makeScopeWithSplicing' generateSplicesForMkScope pkgsHostTarget kdePackages; stdenv = if stdenv.hostPlatform.isDarwin then darwin.apple_sdk_11_0.stdenv else stdenv; }); quill = callPackage ../tools/security/quill { inherit (darwin.apple_sdk.frameworks) Security; }; qv2ray = libsForQt5.callPackage ../applications/networking/qv2ray { }; rabbitmq-java-client = callPackage ../development/libraries/rabbitmq-java-client { jre = jre8; # TODO: remove override https://github.com/NixOS/nixpkgs/pull/89731 jdk = jdk8; # TODO: remove override https://github.com/NixOS/nixpkgs/pull/89731 }; readline = readline82; readline70 = callPackage ../development/libraries/readline/7.0.nix { }; readline82 = callPackage ../development/libraries/readline/8.2.nix { }; readmdict = with python3Packages; toPythonApplication readmdict; kissfftFloat = kissfft.override { datatype = "float"; }; lambdabot = callPackage ../development/tools/haskell/lambdabot { haskellLib = haskell.lib.compose; }; librdf_raptor = callPackage ../development/libraries/librdf/raptor.nix { }; librdf_raptor2 = callPackage ../development/libraries/librdf/raptor2.nix { }; librdf_rasqal = callPackage ../development/libraries/librdf/rasqal.nix { }; librdf_redland = callPackage ../development/libraries/librdf/redland.nix { }; redland = librdf_redland; # added 2018-04-25 qradiolink = callPackage ../applications/radio/qradiolink { protobuf = protobuf_21; }; qadwaitadecorations-qt6 = callPackage ../by-name/qa/qadwaitadecorations/package.nix { useQt6 = true; }; qgnomeplatform = libsForQt5.callPackage ../development/libraries/qgnomeplatform { }; qgnomeplatform-qt6 = qt6Packages.callPackage ../development/libraries/qgnomeplatform { useQt6 = true; }; randomx = darwin.apple_sdk_11_0.callPackage ../development/libraries/randomx { }; remodel = callPackage ../development/tools/remodel { inherit (darwin.apple_sdk.frameworks) Security; }; rhino = callPackage ../development/libraries/java/rhino { javac = jdk8; jvm = jre8; }; rocksdb_8_11 = rocksdb.overrideAttrs rec { pname = "rocksdb"; version = "8.11.4"; src = fetchFromGitHub { owner = "facebook"; repo = pname; rev = "v${version}"; hash = "sha256-ZrU7G3xeimF3H2LRGBDHOq936u5pH/3nGecM4XEoWc8="; }; }; rocksdb_8_3 = rocksdb.overrideAttrs rec { pname = "rocksdb"; version = "8.3.2"; src = fetchFromGitHub { owner = "facebook"; repo = pname; rev = "v${version}"; hash = "sha256-mfIRQ8nkUbZ3Bugy3NAvOhcfzFY84J2kBUIUBcQ2/Qg="; }; }; rocksdb_7_10 = rocksdb.overrideAttrs rec { pname = "rocksdb"; version = "7.10.2"; src = fetchFromGitHub { owner = "facebook"; repo = pname; rev = "v${version}"; hash = "sha256-U2ReSrJwjAXUdRmwixC0DQXht/h/6rV8SOf5e2NozIs="; }; }; rocksdb_6_23 = rocksdb.overrideAttrs rec { pname = "rocksdb"; version = "6.23.3"; src = fetchFromGitHub { owner = "facebook"; repo = pname; rev = "v${version}"; hash = "sha256-SsDqhjdCdtIGNlsMj5kfiuS3zSGwcxi4KV71d95h7yk="; }; }; rover = callPackage ../development/tools/rover { }; rshell = python3.pkgs.callPackage ../development/embedded/rshell { }; rure = callPackage ../development/libraries/rure { }; schroedinger = callPackage ../development/libraries/schroedinger { autoreconfHook = buildPackages.autoreconfHook269; }; SDL = SDL1; SDL2 = callPackage ../development/libraries/SDL2 { inherit (darwin.apple_sdk.frameworks) AudioUnit Cocoa CoreAudio CoreServices ForceFeedback OpenGL; }; sdr-j-fm = libsForQt5.callPackage ../applications/radio/sdr-j-fm { }; sdrpp = callPackage ../applications/radio/sdrpp { inherit (darwin.apple_sdk.frameworks) AppKit; }; sigdigger = libsForQt5.callPackage ../applications/radio/sigdigger { }; sev-snp-measure = with python3Packages; toPythonApplication sev-snp-measure; graphite2 = callPackage ../development/libraries/silgraphite/graphite2.nix { }; simavr = callPackage ../development/tools/simavr { avrgcc = pkgsCross.avr.buildPackages.gcc; avrlibc = pkgsCross.avr.libcCross; inherit (darwin.apple_sdk.frameworks) GLUT; }; simpleitk = callPackage ../development/libraries/simpleitk { lua = lua5_4; }; sfml = callPackage ../development/libraries/sfml { inherit (darwin.apple_sdk.frameworks) IOKit Foundation AppKit OpenAL; }; skawarePackages = recurseIntoAttrs (callPackage ../development/skaware-packages { }); inherit (skawarePackages) execline execline-man-pages mdevd nsss s6 s6-dns s6-linux-init s6-linux-utils s6-man-pages s6-networking s6-networking-man-pages s6-portable-utils s6-portable-utils-man-pages s6-rc s6-rc-man-pages sdnotify-wrapper skalibs skalibs_2_10 tipidee utmps; kgt = callPackage ../development/tools/kgt { inherit (skawarePackages) cleanPackaging; }; nettee = callPackage ../tools/networking/nettee { inherit (skawarePackages) cleanPackaging; }; slibGuile = callPackage ../development/libraries/slib { scheme = guile; }; snac2 = darwin.apple_sdk_11_0.callPackage ../servers/snac2 { }; soapyairspy = callPackage ../applications/radio/soapyairspy { inherit (darwin) libobjc; inherit (darwin.apple_sdk.frameworks) IOKit Security; }; soapyaudio = callPackage ../applications/radio/soapyaudio { inherit (darwin.apple_sdk.frameworks) Accelerate CoreAudio; }; soapybladerf = callPackage ../applications/radio/soapybladerf { inherit (darwin) libobjc; inherit (darwin.apple_sdk.frameworks) IOKit Security; }; soapyhackrf = callPackage ../applications/radio/soapyhackrf { inherit (darwin) libobjc; inherit (darwin.apple_sdk.frameworks) IOKit Security; }; soapysdr = callPackage ../applications/radio/soapysdr { }; soapysdr-with-plugins = callPackage ../applications/radio/soapysdr { extraPackages = [ limesuite soapyairspy soapyaudio soapybladerf soapyhackrf soapyremote soapyrtlsdr soapyuhd ]; }; soapyrtlsdr = callPackage ../applications/radio/soapyrtlsdr { inherit (darwin) libobjc; inherit (darwin.apple_sdk.frameworks) IOKit Security; }; soapyuhd = callPackage ../applications/radio/soapyuhd { inherit (darwin) libobjc; inherit (darwin.apple_sdk.frameworks) IOKit Security; }; sofia_sip = callPackage ../development/libraries/sofia-sip { inherit (darwin.apple_sdk.frameworks) SystemConfiguration; }; soil = callPackage ../development/libraries/soil { inherit (darwin.apple_sdk.frameworks) Carbon; }; spandsp = callPackage ../development/libraries/spandsp { }; spandsp3 = callPackage ../development/libraries/spandsp/3.nix { }; speechd-minimal = speechd.override { withLibao = false; withPulse = false; withAlsa = false; withOss = false; withFlite = false; withEspeak = false; withPico = false; libsOnly = true; }; speech-tools = callPackage ../development/libraries/speech-tools { inherit (darwin.apple_sdk.frameworks) CoreServices AudioUnit Cocoa; }; speex = callPackage ../development/libraries/speex { fftw = fftwFloat; }; speexdsp = callPackage ../development/libraries/speexdsp { fftw = fftwFloat; }; sphinx = with python3Packages; toPythonApplication sphinx; sphinx-autobuild = with python3Packages; toPythonApplication sphinx-autobuild; sphinx-serve = with python3Packages; toPythonApplication sphinx-serve; inherit (python3Packages) sphinxHook; suwidgets = libsForQt5.callPackage ../applications/radio/suwidgets { }; sqlite = lowPrio (callPackage ../development/libraries/sqlite { }); unqlite = lowPrio (callPackage ../development/libraries/unqlite { }); inherit (callPackage ../development/libraries/sqlite/tools.nix { inherit (darwin.apple_sdk.frameworks) Foundation; }) sqlite-analyzer sqldiff; sqlar = callPackage ../development/libraries/sqlite/sqlar.nix { }; sqlite-interactive = (sqlite.override { interactive = true; }).bin; standardnotes = callPackage ../applications/editors/standardnotes { }; stlink = callPackage ../development/tools/misc/stlink { }; stlink-gui = callPackage ../development/tools/misc/stlink { withGUI = true; }; streamlink-twitch-gui-bin = callPackage ../applications/video/streamlink-twitch-gui/bin.nix { }; structuresynth = libsForQt5.callPackage ../development/libraries/structuresynth { }; suil = darwin.apple_sdk_11_0.callPackage ../development/libraries/audio/suil { }; sundials = callPackage ../development/libraries/sundials { python = python3; }; svxlink = libsForQt5.callPackage ../applications/radio/svxlink { }; tachyon = callPackage ../development/libraries/tachyon { inherit (darwin.apple_sdk.frameworks) Carbon; }; tageditor = libsForQt5.callPackage ../applications/audio/tageditor { }; tclap = tclap_1_2; tclap_1_2 = callPackage ../development/libraries/tclap/1.2.nix { }; tclap_1_4 = callPackage ../development/libraries/tclap/1.4.nix { }; tectonic = callPackage ../tools/typesetting/tectonic/wrapper.nix { }; tectonic-unwrapped = callPackage ../tools/typesetting/tectonic { harfbuzz = harfbuzzFull; }; termbench-pro = callPackage ../development/libraries/termbench-pro { fmt = fmt_8; }; texpresso = callPackage ../tools/typesetting/tex/texpresso { texpresso-tectonic = callPackage ../tools/typesetting/tex/texpresso/tectonic.nix { }; }; tinyxml = tinyxml2; tinyxml2 = callPackage ../development/libraries/tinyxml/2.6.2.nix { }; tk = tk-8_6; tk-9_0 = callPackage ../development/libraries/tk/9.0.nix { tcl = tcl-9_0; }; tk-8_6 = callPackage ../development/libraries/tk/8.6.nix { }; tk-8_5 = callPackage ../development/libraries/tk/8.5.nix { tcl = tcl-8_5; }; tpm2-tss = callPackage ../development/libraries/tpm2-tss { autoreconfHook = buildPackages.autoreconfHook269; }; unixODBCDrivers = recurseIntoAttrs (callPackages ../development/libraries/unixODBCDrivers { }); v8 = callPackage ../development/libraries/v8 { stdenv = if stdenv.hostPlatform.isDarwin then overrideSDK stdenv "11.0" else stdenv; }; valeStyles = recurseIntoAttrs (callPackages ../by-name/va/vale/styles.nix { }); valhalla = callPackage ../development/libraries/valhalla { boost = boost.override { enablePython = true; python = python3; }; protobuf = protobuf_21.override { abseil-cpp = abseil-cpp_202103.override { cxxStandard = "17"; }; }; }; vc = callPackage ../development/libraries/vc { }; vc_0_7 = callPackage ../development/libraries/vc/0.7.nix { }; vencord-web-extension = callPackage ../by-name/ve/vencord/package.nix { buildWebExtension = true; }; vid-stab = callPackage ../development/libraries/vid-stab { inherit (llvmPackages) openmp; }; vigra = callPackage ../development/libraries/vigra { hdf5 = hdf5.override { usev110Api = true; }; }; vte-gtk4 = vte.override { gtkVersion = "4"; }; vtk_9 = libsForQt5.callPackage ../development/libraries/vtk/9.x.nix { inherit (darwin) libobjc; inherit (darwin.apple_sdk.libs) xpc; inherit (darwin.apple_sdk.frameworks) AGL Cocoa CoreServices DiskArbitration IOKit CFNetwork Security ApplicationServices CoreText IOSurface ImageIO OpenGL GLUT; }; vtk_9_withQt5 = vtk_9.override { enableQt = true; }; vtk = vtk_9; vtk_9_egl = vtk_9.override { enableEgl = true; }; vtkWithQt5 = vtk_9_withQt5; vulkan-caps-viewer = libsForQt5.callPackage ../tools/graphics/vulkan-caps-viewer { }; vulkan-cts = callPackage ../tools/graphics/vulkan-cts { }; vulkan-headers = callPackage ../development/libraries/vulkan-headers { }; vulkan-tools = callPackage ../tools/graphics/vulkan-tools { inherit (darwin.apple_sdk.frameworks) AppKit Cocoa; }; wangle = darwin.apple_sdk_11_0.callPackage ../development/libraries/wangle { }; wayland = darwin.apple_sdk_11_0.callPackage ../development/libraries/wayland { }; wayland-scanner = callPackage ../development/libraries/wayland/scanner.nix { }; wayland-protocols = callPackage ../development/libraries/wayland/protocols.nix { }; waylandpp = callPackage ../development/libraries/waylandpp { graphviz = graphviz-nox; }; webkitgtk_4_0 = callPackage ../development/libraries/webkitgtk { harfbuzz = harfbuzzFull; inherit (gst_all_1) gst-plugins-base gst-plugins-bad; inherit (darwin) apple_sdk; }; webkitgtk_4_1 = webkitgtk_4_0.override { libsoup = libsoup_3; }; webkitgtk_6_0 = webkitgtk_4_0.override { libsoup = libsoup_3; gtk3 = gtk4; }; webrtc-audio-processing_1 = callPackage ../development/libraries/webrtc-audio-processing { }; webrtc-audio-processing_0_3 = callPackage ../development/libraries/webrtc-audio-processing/0.3.nix { }; # bump when majoring of packages have updated webrtc-audio-processing = webrtc-audio-processing_0_3; wildmidi = callPackage ../development/libraries/wildmidi { inherit (darwin.apple_sdk.frameworks) OpenAL CoreAudioKit; }; wlr-protocols = callPackage ../development/libraries/wlroots/protocols.nix { }; wt = wt4; inherit (libsForQt5.callPackage ../development/libraries/wt { }) wt4; wxGTK31 = callPackage ../development/libraries/wxwidgets/wxGTK31.nix { inherit (darwin.stubs) setfile; inherit (darwin.apple_sdk.frameworks) AGL Carbon Cocoa Kernel QTKit AVFoundation AVKit WebKit; }; wxGTK32 = callPackage ../development/libraries/wxwidgets/wxGTK32.nix { inherit (darwin.stubs) setfile; inherit (darwin.apple_sdk.frameworks) AGL Carbon Cocoa Kernel QTKit AVFoundation AVKit WebKit; }; wxSVG = callPackage ../development/libraries/wxSVG { wxGTK = wxGTK32; }; inherit (callPackages ../development/libraries/xapian { }) xapian_1_4; xapian = xapian_1_4; xapian-omega = callPackage ../development/libraries/xapian/tools/omega { libmagic = file; }; xcb-util-cursor = xorg.xcbutilcursor; xcb-util-cursor-HEAD = callPackage ../development/libraries/xcb-util-cursor/HEAD.nix { }; xcbutilxrm = callPackage ../servers/x11/xorg/xcb-util-xrm.nix { }; xgboostWithCuda = xgboost.override { cudaSupport = true; }; yubico-pam = callPackage ../development/libraries/yubico-pam { inherit (darwin.apple_sdk.frameworks) CoreServices SystemConfiguration; }; yubikey-manager-qt = libsForQt5.callPackage ../tools/misc/yubikey-manager-qt { }; yubikey-personalization-gui = libsForQt5.callPackage ../tools/misc/yubikey-personalization-gui { }; zlib = callPackage ../development/libraries/zlib { stdenv = # zlib is a dependency of xcbuild. Avoid an infinite recursion by using a bootstrap stdenv # that does not propagate xcrun. if stdenv.hostPlatform.isDarwin then darwin.bootstrapStdenv else stdenv; }; zeromq4 = callPackage ../development/libraries/zeromq/4.x.nix { }; zeromq = zeromq4; # requires a newer Apple SDK zig_0_9 = darwin.apple_sdk_11_0.callPackage ../development/compilers/zig/0.9 { llvmPackages = llvmPackages_13; }; # requires a newer Apple SDK zig_0_10 = darwin.apple_sdk_11_0.callPackage ../development/compilers/zig/0.10 { llvmPackages = llvmPackages_15; }; # requires a newer Apple SDK zig_0_11 = darwin.apple_sdk_11_0.callPackage ../development/compilers/zig/0.11 { llvmPackages = llvmPackages_16; }; # requires a newer Apple SDK zig_0_12 = darwin.apple_sdk_11_0.callPackage ../development/compilers/zig/0.12 { llvmPackages = llvmPackages_17; }; # requires a newer Apple SDK zig_0_13 = darwin.apple_sdk_11_0.callPackage ../development/compilers/zig/0.13 { llvmPackages = llvmPackages_18; }; zig = zig_0_13; zigStdenv = if stdenv.cc.isZig then stdenv else lowPrio zig.passthru.stdenv; aroccPackages = recurseIntoAttrs (callPackage ../development/compilers/arocc {}); arocc = aroccPackages.latest; aroccStdenv = if stdenv.cc.isArocc then stdenv else lowPrio arocc.cc.passthru.stdenv; gsignond = callPackage ../development/libraries/gsignond { plugins = []; }; gsignondPlugins = recurseIntoAttrs { sasl = callPackage ../development/libraries/gsignond/plugins/sasl.nix { }; oauth = callPackage ../development/libraries/gsignond/plugins/oauth.nix { }; lastfm = callPackage ../development/libraries/gsignond/plugins/lastfm.nix { }; mail = callPackage ../development/libraries/gsignond/plugins/mail.nix { }; }; ### DEVELOPMENT / LIBRARIES / DARWIN SDKS apple-sdk_10_12 = callPackage ../by-name/ap/apple-sdk/package.nix { darwinSdkMajorVersion = "10.12"; }; apple-sdk_10_13 = callPackage ../by-name/ap/apple-sdk/package.nix { darwinSdkMajorVersion = "10.13"; }; apple-sdk_10_14 = callPackage ../by-name/ap/apple-sdk/package.nix { darwinSdkMajorVersion = "10.14"; }; apple-sdk_10_15 = callPackage ../by-name/ap/apple-sdk/package.nix { darwinSdkMajorVersion = "10.15"; }; apple-sdk_11 = callPackage ../by-name/ap/apple-sdk/package.nix { darwinSdkMajorVersion = "11"; }; apple-sdk_12 = callPackage ../by-name/ap/apple-sdk/package.nix { darwinSdkMajorVersion = "12"; }; apple-sdk_13 = callPackage ../by-name/ap/apple-sdk/package.nix { darwinSdkMajorVersion = "13"; }; apple-sdk_14 = callPackage ../by-name/ap/apple-sdk/package.nix { darwinSdkMajorVersion = "14"; }; apple-sdk_15 = callPackage ../by-name/ap/apple-sdk/package.nix { darwinSdkMajorVersion = "15"; }; darwinMinVersionHook = deploymentTarget: makeSetupHook { name = "darwin-deployment-target-hook-${deploymentTarget}"; substitutions = { darwinMinVersionVariable = lib.escapeShellArg stdenv.hostPlatform.darwinMinVersionVariable; deploymentTarget = lib.escapeShellArg deploymentTarget; }; } ../os-specific/darwin/darwin-min-version-hook/setup-hook.sh; ### DEVELOPMENT / TESTING TOOLS atf = callPackage ../by-name/at/atf/package.nix { stdenv = # atf is a dependency of libiconv. Avoid an infinite recursion with `pkgsStatic` by using a bootstrap stdenv. if stdenv.hostPlatform.isDarwin then darwin.bootstrapStdenv else stdenv; }; ### DEVELOPMENT / LIBRARIES / AGDA agdaPackages = callPackage ./agda-packages.nix { inherit (haskellPackages) Agda; }; agda = agdaPackages.agda; ### DEVELOPMENT / LIBRARIES / BASH ### DEVELOPMENT / LIBRARIES / JAVA javaCup = callPackage ../development/libraries/java/cup { jdk = jdk8; # TODO: remove override https://github.com/NixOS/nixpkgs/pull/89731 }; saxonb = saxonb_8_8; saxon-he = saxon_12-he; inherit (callPackages ../development/libraries/java/saxon { jre = jre_headless; jre8 = jre8_headless; }) saxon saxonb_8_8 saxonb_9_1 saxon_9-he saxon_11-he saxon_12-he; swt_jdk8 = callPackage ../by-name/sw/swt/package.nix { jdk = jdk8; }; ### DEVELOPMENT / LIBRARIES / JAVASCRIPT ### DEVELOPMENT / BOWER MODULES (JAVASCRIPT) buildBowerComponents = callPackage ../development/bower-modules/generic { }; ### DEVELOPMENT / GO # the unversioned attributes should always point to the same go version go = go_1_23; buildGoModule = buildGo123Module; buildGoPackage = buildGo123Package; go_1_22 = callPackage ../development/compilers/go/1.22.nix { }; buildGo122Module = callPackage ../build-support/go/module.nix { go = buildPackages.go_1_22; }; buildGo122Package = callPackage ../build-support/go/package.nix { go = buildPackages.go_1_22; }; go_1_23 = callPackage ../development/compilers/go/1.23.nix { }; buildGo123Module = callPackage ../build-support/go/module.nix { go = buildPackages.go_1_23; }; buildGo123Package = callPackage ../build-support/go/package.nix { go = buildPackages.go_1_23; }; ### DEVELOPMENT / HARE hareHook = callPackage ../by-name/ha/hare/hook.nix { }; ### DEVELOPMENT / JAVA MODULES javaPackages = recurseIntoAttrs (callPackage ./java-packages.nix { }); ### DEVELOPMENT / LISP MODULES asdf = callPackage ../development/lisp-modules/asdf { texLive = null; }; # QuickLisp minimal version asdf_2_26 = callPackage ../development/lisp-modules/asdf/2.26.nix { texLive = null; }; # Currently most popular asdf_3_1 = callPackage ../development/lisp-modules/asdf/3.1.nix { texLive = null; }; # Latest asdf_3_3 = callPackage ../development/lisp-modules/asdf/3.3.nix { texLive = null; }; wrapLisp = callPackage ../development/lisp-modules/nix-cl.nix {}; # Armed Bear Common Lisp abcl = wrapLisp { pkg = callPackage ../development/compilers/abcl { # https://armedbear.common-lisp.dev/ lists OpenJDK 17 as the highest # supported JDK. jdk = openjdk17; }; faslExt = "abcl"; }; # Clozure Common Lisp ccl = wrapLisp { pkg = callPackage ../development/compilers/ccl { inherit (buildPackages.darwin) bootstrap_cmds; }; faslExt = "lx64fsl"; }; # Clasp Common Lisp clasp-common-lisp = wrapLisp { pkg = callPackage ../development/compilers/clasp { }; faslExt = "fasl"; }; # CLISP clisp = wrapLisp { pkg = callPackage ../development/interpreters/clisp { }; faslExt = "fas"; flags = ["-E" "UTF-8"]; }; wrapLispi686Linux = pkgsi686Linux.callPackage ../development/lisp-modules/nix-cl.nix {}; # CMU Common Lisp cmucl_binary = wrapLispi686Linux { pkg = pkgsi686Linux.callPackage ../development/compilers/cmucl/binary.nix { }; faslExt = "sse2f"; program = "lisp"; }; # Embeddable Common Lisp ecl = wrapLisp { pkg = callPackage ../development/compilers/ecl { }; faslExt = "fas"; }; ecl_16_1_2 = wrapLisp { pkg = callPackage ../development/compilers/ecl/16.1.2.nix { }; faslExt = "fas"; }; # GNU Common Lisp gcl = wrapLisp { pkg = callPackage ../development/compilers/gcl { }; faslExt = "o"; }; # ManKai Common Lisp mkcl = wrapLisp { pkg = callPackage ../development/compilers/mkcl {}; faslExt = "fas"; }; # Steel Bank Common Lisp sbcl_2_4_6 = wrapLisp { pkg = callPackage ../development/compilers/sbcl { version = "2.4.6"; }; faslExt = "fasl"; flags = [ "--dynamic-space-size" "3000" ]; }; sbcl_2_4_9 = wrapLisp { pkg = callPackage ../development/compilers/sbcl { version = "2.4.9"; }; faslExt = "fasl"; flags = [ "--dynamic-space-size" "3000" ]; }; sbcl_2_4_10 = wrapLisp { pkg = callPackage ../development/compilers/sbcl { version = "2.4.10"; }; faslExt = "fasl"; flags = [ "--dynamic-space-size" "3000" ]; }; sbcl = sbcl_2_4_10; sbclPackages = recurseIntoAttrs sbcl.pkgs; ### DEVELOPMENT / PERL MODULES perlInterpreters = import ../development/interpreters/perl { inherit callPackage; }; inherit (perlInterpreters) perl538 perl540; perl538Packages = recurseIntoAttrs perl538.pkgs; perl540Packages = recurseIntoAttrs perl540.pkgs; perl = perl540; perlPackages = perl540Packages; ack = perlPackages.ack; perlcritic = perlPackages.PerlCritic; sqitchMysql = (callPackage ../development/tools/misc/sqitch { mysqlSupport = true; }).overrideAttrs { pname = "sqitch-mysql"; }; sqitchPg = (callPackage ../development/tools/misc/sqitch { postgresqlSupport = true; }).overrideAttrs { pname = "sqitch-pg"; }; ### DEVELOPMENT / R MODULES R = darwin.apple_sdk_11_0.callPackage ../applications/science/math/R { # TODO: split docs into a separate output withRecommendedPackages = false; inherit (darwin.apple_sdk_11_0.frameworks) Cocoa Foundation; inherit (darwin) libobjc; }; rWrapper = callPackage ../development/r-modules/wrapper.nix { recommendedPackages = with rPackages; [ boot class cluster codetools foreign KernSmooth lattice MASS Matrix mgcv nlme nnet rpart spatial survival ]; # Override this attribute to register additional libraries. packages = []; }; radianWrapper = callPackage ../development/r-modules/wrapper-radian.nix { recommendedPackages = with rPackages; [ boot class cluster codetools foreign KernSmooth lattice MASS Matrix mgcv nlme nnet rpart spatial survival ]; radian = python3Packages.radian; # Override this attribute to register additional libraries. packages = []; # Override this attribute if you want to expose R with the same set of # packages as specified in radian wrapR = false; }; rstudioWrapper = libsForQt5.callPackage ../development/r-modules/wrapper-rstudio.nix { recommendedPackages = with rPackages; [ boot class cluster codetools foreign KernSmooth lattice MASS Matrix mgcv nlme nnet rpart spatial survival ]; # Override this attribute to register additional libraries. packages = []; }; rstudioServerWrapper = rstudioWrapper.override { rstudio = rstudio-server; }; rPackages = (dontRecurseIntoAttrs (callPackage ../development/r-modules { overrides = (config.rPackageOverrides or (_: {})) pkgs; })) // { __attrsFailEvaluation = true; }; ### SERVERS adguardhome = callPackage ../servers/adguardhome { }; alerta = callPackage ../servers/monitoring/alerta/client.nix { }; alerta-server = callPackage ../servers/monitoring/alerta { }; apacheHttpd_2_4 = callPackage ../servers/http/apache-httpd/2.4.nix { inherit (darwin.apple_sdk.frameworks) Foundation; }; apacheHttpd = apacheHttpd_2_4; apacheHttpdPackagesFor = apacheHttpd: self: let callPackage = newScope self; in { inherit apacheHttpd; mod_auth_mellon = callPackage ../servers/http/apache-modules/mod_auth_mellon { }; mod_ca = callPackage ../servers/http/apache-modules/mod_ca { }; mod_crl = callPackage ../servers/http/apache-modules/mod_crl { }; mod_cspnonce = callPackage ../servers/http/apache-modules/mod_cspnonce { }; mod_csr = callPackage ../servers/http/apache-modules/mod_csr { }; mod_dnssd = callPackage ../servers/http/apache-modules/mod_dnssd { }; mod_fastcgi = callPackage ../servers/http/apache-modules/mod_fastcgi { }; mod_itk = callPackage ../servers/http/apache-modules/mod_itk { }; mod_jk = callPackage ../servers/http/apache-modules/mod_jk { }; mod_mbtiles = callPackage ../servers/http/apache-modules/mod_mbtiles { }; mod_ocsp = callPackage ../servers/http/apache-modules/mod_ocsp { }; mod_perl = callPackage ../servers/http/apache-modules/mod_perl { }; mod_pkcs12 = callPackage ../servers/http/apache-modules/mod_pkcs12 { }; mod_python = callPackage ../servers/http/apache-modules/mod_python { }; mod_scep = callPackage ../servers/http/apache-modules/mod_scep { }; mod_spkac = callPackage ../servers/http/apache-modules/mod_spkac { }; mod_tile = callPackage ../servers/http/apache-modules/mod_tile { }; mod_timestamp = callPackage ../servers/http/apache-modules/mod_timestamp { }; mod_wsgi3 = callPackage ../servers/http/apache-modules/mod_wsgi { }; php = pkgs.php.override { inherit apacheHttpd; }; subversion = pkgs.subversion.override { httpServer = true; inherit apacheHttpd; }; } // lib.optionalAttrs config.allowAliases { mod_evasive = throw "mod_evasive is not supported on Apache httpd 2.4"; mod_wsgi = self.mod_wsgi2; mod_wsgi2 = throw "mod_wsgi2 has been removed since Python 2 is EOL. Use mod_wsgi3 instead"; }; apacheHttpdPackages_2_4 = recurseIntoAttrs (apacheHttpdPackagesFor apacheHttpd_2_4 apacheHttpdPackages_2_4); apacheHttpdPackages = apacheHttpdPackages_2_4; appdaemon = callPackage ../servers/home-assistant/appdaemon.nix { }; cassandra_3_0 = callPackage ../servers/nosql/cassandra/3.0.nix { jre = jre8; # TODO: remove override https://github.com/NixOS/nixpkgs/pull/89731 python = python2; }; cassandra_3_11 = callPackage ../servers/nosql/cassandra/3.11.nix { jre = jre8; # TODO: remove override https://github.com/NixOS/nixpkgs/pull/89731 python = python2; }; cassandra_4 = callPackage ../servers/nosql/cassandra/4.nix { # Effective Cassandra 4.0.2 there is full Java 11 support # -- https://cassandra.apache.org/doc/latest/cassandra/new/java11.html jre = pkgs.jdk11_headless; python = python3; }; cassandra = cassandra_4; cassandra-cpp-driver = callPackage ../development/libraries/cassandra-cpp-driver/default.nix { }; apache-jena = callPackage ../servers/nosql/apache-jena/binary.nix { java = jre; }; apache-jena-fuseki = callPackage ../servers/nosql/apache-jena/fuseki-binary.nix { java = jre; }; inherit (callPackages ../servers/asterisk { }) asterisk asterisk-stable asterisk-lts asterisk_18 asterisk_20; asterisk-ldap = lowPrio (asterisk.override { ldapSupport = true; }); dnsutils = bind.dnsutils; dig = lib.addMetaAttrs { mainProgram = "dig"; } bind.dnsutils; charybdis = callPackage ../servers/irc/charybdis { autoreconfHook = buildPackages.autoreconfHook269; }; clickhouse = callPackage ../servers/clickhouse { llvmPackages = llvmPackages_16; }; clickhouse-cli = with python3Packages; toPythonApplication clickhouse-cli; couchdb3 = callPackage ../servers/http/couchdb/3.nix { }; dcnnt = python3Packages.callPackage ../servers/dcnnt { }; deconz = qt5.callPackage ../servers/deconz { }; doh-proxy-rust = callPackage ../servers/dns/doh-proxy-rust { inherit (darwin.apple_sdk.frameworks) Security; }; dict = callPackage ../servers/dict { libmaa = callPackage ../servers/dict/libmaa.nix { }; }; dictdDBs = recurseIntoAttrs (callPackages ../servers/dict/dictd-db.nix {}); dictDBCollector = callPackage ../servers/dict/dictd-db-collector.nix { }; diod = callPackage ../servers/diod { lua = lua5_1; }; directx-shader-compiler = callPackage ../tools/graphics/directx-shader-compiler { # https://github.com/NixOS/nixpkgs/issues/216294 stdenv = if stdenv.cc.isGNU && stdenv.hostPlatform.isi686 then gcc11Stdenv else stdenv; }; dodgy = with python3Packages; toPythonApplication dodgy; dovecot = callPackage ../servers/mail/dovecot { }; envoy = callPackage ../by-name/en/envoy/package.nix { jdk = openjdk11_headless; }; etcd = etcd_3_5; etcd_3_4 = callPackage ../servers/etcd/3.4.nix { }; etcd_3_5 = callPackage ../servers/etcd/3.5 { }; prosody = callPackage ../servers/xmpp/prosody { withExtraLibs = []; withExtraLuaPackages = _: []; }; elasticmq-server-bin = callPackage ../servers/elasticmq-server-bin { jre = jre8; # TODO: remove override https://github.com/NixOS/nixpkgs/pull/89731 jdk = jdk8; # TODO: remove override https://github.com/NixOS/nixpkgs/pull/89731 }; eventstore = callPackage ../servers/nosql/eventstore { }; fedigroups = callPackage ../servers/fedigroups { inherit (darwin.apple_sdk.frameworks) Security; }; felix = callPackage ../servers/felix { }; felix_remoteshell = callPackage ../servers/felix/remoteshell.nix { }; inherit (callPackages ../servers/firebird { }) firebird_4 firebird_3 firebird_2_5 firebird; freshrss = callPackage ../servers/web-apps/freshrss { }; freshrss-extensions = recurseIntoAttrs (callPackage ../servers/web-apps/freshrss/extensions { }); freeswitch = callPackage ../servers/sip/freeswitch { inherit (darwin.apple_sdk.frameworks) SystemConfiguration; }; glabels-qt = libsForQt5.callPackage ../applications/graphics/glabels-qt { }; grafana = callPackage ../servers/monitoring/grafana { }; grafanaPlugins = callPackages ../servers/monitoring/grafana/plugins { }; grafana-loki = callPackage ../servers/monitoring/loki { }; promtail = callPackage ../servers/monitoring/loki/promtail.nix { }; hasura-graphql-engine = haskell.lib.compose.justStaticExecutables haskell.packages.ghc810.graphql-engine; hasura-cli = callPackage ../servers/hasura/cli.nix { }; inherit (callPackage ../servers/hbase {}) hbase_2_4 hbase_2_5 hbase_2_6 hbase_3_0; hbase2 = hbase_2_6; hbase3 = hbase_3_0; hbase = hbase2; # when updating, point to the latest stable release home-assistant = callPackage ../servers/home-assistant { }; buildHomeAssistantComponent = callPackage ../servers/home-assistant/build-custom-component { }; home-assistant-custom-components = lib.recurseIntoAttrs (lib.packagesFromDirectoryRecursive { inherit (home-assistant.python.pkgs) callPackage; directory = ../servers/home-assistant/custom-components; }); home-assistant-custom-lovelace-modules = lib.recurseIntoAttrs (callPackage ../servers/home-assistant/custom-lovelace-modules {}); home-assistant-cli = callPackage ../servers/home-assistant/cli.nix { }; home-assistant-component-tests = recurseIntoAttrs home-assistant.tests.components; icingaweb2-ipl = callPackage ../servers/icingaweb2/ipl.nix { }; icingaweb2-thirdparty = callPackage ../servers/icingaweb2/thirdparty.nix { }; icingaweb2 = callPackage ../servers/icingaweb2 { }; icingaweb2Modules = { theme-april = callPackage ../servers/icingaweb2/theme-april { }; theme-lsd = callPackage ../servers/icingaweb2/theme-lsd { }; theme-particles = callPackage ../servers/icingaweb2/theme-particles { }; theme-snow = callPackage ../servers/icingaweb2/theme-snow { }; theme-spring = callPackage ../servers/icingaweb2/theme-spring { }; }; inspircdMinimal = inspircd.override { extraModules = []; }; jboss = callPackage ../servers/http/jboss { }; jetty = jetty_12; jetty_12 = callPackage ../servers/http/jetty/12.x.nix { }; jetty_11 = callPackage ../servers/http/jetty/11.x.nix { }; jibri = callPackage ../servers/jibri { }; jicofo = callPackage ../servers/jicofo { }; jitsi-meet = callPackage ../servers/web-apps/jitsi-meet { }; jitsi-meet-prosody = callPackage ../misc/jitsi-meet-prosody { }; jitsi-videobridge = callPackage ../servers/jitsi-videobridge { }; knot-resolver = callPackage ../servers/dns/knot-resolver { systemd = systemdMinimal; # in closure already anyway }; leafnode = callPackage ../servers/news/leafnode { }; leafnode1 = callPackage ../servers/news/leafnode/1.nix { }; lemmy-server = callPackage ../servers/web-apps/lemmy/server.nix { inherit (darwin.apple_sdk.frameworks) Security SystemConfiguration; }; lemmy-ui = callPackage ../servers/web-apps/lemmy/ui.nix { nodejs = nodejs_18; }; mailmanPackages = callPackage ../servers/mail/mailman { # Hyperkitty test fails with 3.12: # https://gitlab.com/mailman/hyperkitty/-/issues/514 python3 = python311; }; inherit (mailmanPackages) mailman mailman-hyperkitty; mailman-web = mailmanPackages.web; mastodon = callPackage ../servers/mastodon { nodejs-slim = nodejs-slim_22; python3 = python311; ruby = ruby_3_3; yarn-berry = yarn-berry.override { nodejs = nodejs-slim_22; }; }; materialize = callPackage ../servers/sql/materialize { inherit (buildPackages.darwin) bootstrap_cmds; inherit (darwin.apple_sdk.frameworks) DiskArbitration Foundation; }; micro-full = micro.wrapper.override { extraPackages = [ wl-clipboard xclip ]; }; micro-with-wl-clipboard = micro.wrapper.override { extraPackages = [ wl-clipboard ]; }; micro-with-xclip = micro.wrapper.override { extraPackages = [ xclip ]; }; minio = callPackage ../servers/minio { }; # Keep around to allow people to migrate their data from the old legacy fs format # https://github.com/minio/minio/releases/tag/RELEASE.2022-10-29T06-21-33Z minio_legacy_fs = callPackage ../servers/minio/legacy_fs.nix { }; mkchromecast = libsForQt5.callPackage ../applications/networking/mkchromecast { }; inherit (callPackages ../servers/mpd { inherit (darwin.apple_sdk.frameworks) AudioToolbox AudioUnit; }) mpd mpd-small mpdWithFeatures; mtprotoproxy = python3.pkgs.callPackage ../servers/mtprotoproxy { }; moodle = callPackage ../servers/web-apps/moodle { }; moodle-utils = callPackage ../servers/web-apps/moodle/moodle-utils.nix { }; inherit (callPackage ../applications/networking/mullvad { }) mullvad; mullvad-vpn = callPackage ../applications/networking/mullvad-vpn { }; mullvad-closest = with python3Packages; toPythonApplication mullvad-closest; napalm = with python3Packages; toPythonApplication ( napalm.overridePythonAttrs (attrs: { # add community frontends that depend on the napalm python package propagatedBuildInputs = attrs.propagatedBuildInputs ++ [ napalm-hp-procurve ]; }) ); nginx = nginxStable; nginxQuic = callPackage ../servers/http/nginx/quic.nix { zlib = zlib-ng.override { withZlibCompat = true; }; withPerl = false; # We don't use `with` statement here on purpose! # See https://github.com/NixOS/nixpkgs/pull/10474#discussion_r42369334 modules = [ nginxModules.rtmp nginxModules.dav nginxModules.moreheaders ]; # Use latest boringssl to allow http3 support openssl = quictls; }; nginxStable = callPackage ../servers/http/nginx/stable.nix { zlib = zlib-ng.override { withZlibCompat = true; }; withPerl = false; # We don't use `with` statement here on purpose! # See https://github.com/NixOS/nixpkgs/pull/10474#discussion_r42369334 modules = [ nginxModules.rtmp nginxModules.dav nginxModules.moreheaders ]; }; nginxMainline = callPackage ../servers/http/nginx/mainline.nix { zlib = zlib-ng.override { withZlibCompat = true; }; withKTLS = true; withPerl = false; # We don't use `with` statement here on purpose! # See https://github.com/NixOS/nixpkgs/pull/10474#discussion_r42369334 modules = [ nginxModules.dav nginxModules.moreheaders ]; }; nginxModules = recurseIntoAttrs (callPackage ../servers/http/nginx/modules.nix { }); # We should move to dynmaic modules and create a nginxFull package with all modules nginxShibboleth = nginxStable.override { modules = [ nginxModules.rtmp nginxModules.dav nginxModules.moreheaders nginxModules.shibboleth ]; }; libmodsecurity = callPackage ../tools/security/libmodsecurity { autoreconfHook = buildPackages.autoreconfHook269; }; nsd = callPackage ../servers/dns/nsd (config.nsd or {}); outline = callPackage ../servers/web-apps/outline (lib.fix (super: { yarn = yarn.override { inherit (super) nodejs; }; nodejs = nodejs_20; })); openafs = callPackage ../servers/openafs/1.8 { }; openresty = callPackage ../servers/http/openresty { withPerl = false; modules = []; }; opensmtpd = callPackage ../servers/mail/opensmtpd { }; opensmtpd-extras = callPackage ../servers/mail/opensmtpd/extras.nix { }; opensmtpd-filter-rspamd = callPackage ../servers/mail/opensmtpd/filter-rspamd.nix { }; osrm-backend = callPackage ../servers/osrm-backend { tbb = tbb_2021_11; # https://github.com/Project-OSRM/osrm-backend/issues/6503 boost = boost179; }; postfix = callPackage ../servers/mail/postfix { }; pfixtools = callPackage ../servers/mail/postfix/pfixtools.nix { }; pflogsumm = callPackage ../servers/mail/postfix/pflogsumm.nix { }; system-sendmail = lowPrio (callPackage ../servers/mail/system-sendmail { }); # PulseAudio daemons hsphfpd = callPackage ../servers/pulseaudio/hsphfpd.nix { }; pulseaudio = callPackage ../servers/pulseaudio { inherit (darwin.apple_sdk.frameworks) CoreServices AudioUnit Cocoa CoreAudio; }; qpaeq = libsForQt5.callPackage ../servers/pulseaudio/qpaeq.nix { }; pulseaudioFull = pulseaudio.override { x11Support = true; jackaudioSupport = true; airtunesSupport = true; bluetoothSupport = true; advancedBluetoothCodecs = true; remoteControlSupport = true; zeroconfSupport = true; }; libpulseaudio = pulseaudio.override { libOnly = true; }; apulse = callPackage ../misc/apulse { }; libpressureaudio = callPackage ../misc/apulse/pressureaudio.nix { }; tomcat-native = callPackage ../servers/http/tomcat/tomcat-native.nix { }; libmysqlclient = libmysqlclient_3_3; libmysqlclient_3_1 = mariadb-connector-c_3_1; libmysqlclient_3_2 = mariadb-connector-c_3_2; libmysqlclient_3_3 = mariadb-connector-c_3_3; mariadb-connector-c = mariadb-connector-c_3_3; mariadb-connector-c_3_1 = callPackage ../servers/sql/mariadb/connector-c/3_1.nix { }; mariadb-connector-c_3_2 = callPackage ../servers/sql/mariadb/connector-c/3_2.nix { }; mariadb-connector-c_3_3 = callPackage ../servers/sql/mariadb/connector-c/3_3.nix { }; inherit (import ../servers/sql/mariadb pkgs) mariadb_105 mariadb_106 mariadb_1011 mariadb_114 ; mariadb = mariadb_1011; mariadb-embedded = mariadb.override { withEmbedded = true; }; mongodb = hiPrio mongodb-7_0; mongodb-6_0 = darwin.apple_sdk_11_0.callPackage ../servers/nosql/mongodb/6.0.nix { sasl = cyrus_sasl; boost = boost178.override { enableShared = false; }; inherit (darwin.apple_sdk.frameworks) CoreFoundation Security; stdenv = if stdenv.hostPlatform.isDarwin then darwin.apple_sdk_11_0.stdenv.override (old: { hostPlatform = old.hostPlatform // { darwinMinVersion = "10.14"; }; buildPlatform = old.buildPlatform // { darwinMinVersion = "10.14"; }; targetPlatform = old.targetPlatform // { darwinMinVersion = "10.14"; }; }) else if stdenv.cc.isClang then llvmPackages.stdenv else stdenv; }; mongodb-7_0 = darwin.apple_sdk_11_0.callPackage ../servers/nosql/mongodb/7.0.nix { sasl = cyrus_sasl; boost = boost179.override { enableShared = false; }; inherit (darwin.apple_sdk.frameworks) CoreFoundation Security; stdenv = if stdenv.hostPlatform.isDarwin then darwin.apple_sdk_11_0.stdenv.override (old: { hostPlatform = old.hostPlatform // { darwinMinVersion = "10.14"; }; buildPlatform = old.buildPlatform // { darwinMinVersion = "10.14"; }; targetPlatform = old.targetPlatform // { darwinMinVersion = "10.14"; }; }) else if stdenv.cc.isClang then llvmPackages.stdenv else stdenv; }; influxdb = callPackage ../servers/nosql/influxdb { }; influxdb2-server = callPackage ../servers/nosql/influxdb2 { }; influxdb2-cli = callPackage ../servers/nosql/influxdb2/cli.nix { }; influxdb2-token-manipulator = callPackage ../servers/nosql/influxdb2/token-manipulator.nix { }; influxdb2-provision = callPackage ../servers/nosql/influxdb2/provision.nix { }; # For backwards compatibility with older versions of influxdb2, # which bundled the server and CLI into the same derivation. Will be # removed in a few releases. influxdb2 = callPackage ../servers/nosql/influxdb2/combined.nix { }; mysql80 = callPackage ../servers/sql/mysql/8.0.x.nix { inherit (darwin) developer_cmds DarwinTools; inherit (darwin.apple_sdk.frameworks) CoreServices; boost = boost177; # Configure checks for specific version. icu = icu69; protobuf = protobuf_21; }; mssql_jdbc = callPackage ../servers/sql/mssql/jdbc { }; jtds_jdbc = callPackage ../servers/sql/mssql/jdbc/jtds.nix { }; miniflux = callPackage ../by-name/mi/miniflux/package.nix { buildGoModule = buildGo123Module; }; inherit (callPackage ../servers/mir { }) mir mir_2_15; icinga2 = callPackage ../servers/monitoring/icinga2 { }; icinga2-agent = callPackage ../servers/monitoring/icinga2 { nameSuffix = "-agent"; withMysql = false; withNotification = false; withIcingadb = false; }; nagiosPlugins = recurseIntoAttrs (callPackages ../servers/monitoring/nagios-plugins { }); riemann-dash = callPackage ../servers/monitoring/riemann-dash { }; qboot = pkgsi686Linux.callPackage ../applications/virtualization/qboot { }; rust-hypervisor-firmware = callPackage ../applications/virtualization/rust-hypervisor-firmware { }; OVMF = callPackage ../applications/virtualization/OVMF { inherit (python3Packages) pexpect; }; OVMFFull = callPackage ../applications/virtualization/OVMF { inherit (python3Packages) pexpect; secureBoot = true; httpSupport = true; tpmSupport = true; tlsSupport = true; msVarsTemplate = stdenv.hostPlatform.isx86_64 || stdenv.hostPlatform.isAarch64; }; tang = callPackage ../servers/tang { asciidoc = asciidoc-full; }; postgresqlVersions = import ../servers/sql/postgresql pkgs; inherit (postgresqlVersions) postgresql_13 postgresql_14 postgresql_15 postgresql_16 postgresql_17 postgresql_13_jit postgresql_14_jit postgresql_15_jit postgresql_16_jit postgresql_17_jit ; postgresql = postgresql_16; postgresql_jit = postgresql_16_jit; postgresqlPackages = recurseIntoAttrs postgresql.pkgs; postgresqlJitPackages = recurseIntoAttrs postgresql_jit.pkgs; postgresql13Packages = recurseIntoAttrs postgresql_13.pkgs; postgresql14Packages = recurseIntoAttrs postgresql_14.pkgs; postgresql15Packages = recurseIntoAttrs postgresql_15.pkgs; postgresql16Packages = recurseIntoAttrs postgresql_16.pkgs; postgresql17Packages = recurseIntoAttrs postgresql_17.pkgs; postgresql13JitPackages = recurseIntoAttrs postgresql_13_jit.pkgs; postgresql14JitPackages = recurseIntoAttrs postgresql_14_jit.pkgs; postgresql15JitPackages = recurseIntoAttrs postgresql_15_jit.pkgs; postgresql16JitPackages = recurseIntoAttrs postgresql_16_jit.pkgs; postgresql17JitPackages = recurseIntoAttrs postgresql_17_jit.pkgs; postgrest = haskellPackages.postgrest.bin; prom2json = callPackage ../servers/monitoring/prometheus/prom2json.nix { }; prometheus-alertmanager = callPackage ../servers/monitoring/prometheus/alertmanager.nix { }; prometheus-apcupsd-exporter = callPackage ../servers/monitoring/prometheus/apcupsd-exporter.nix { }; prometheus-artifactory-exporter = callPackage ../servers/monitoring/prometheus/artifactory-exporter.nix { }; prometheus-atlas-exporter = callPackage ../servers/monitoring/prometheus/atlas-exporter.nix { }; prometheus-aws-s3-exporter = callPackage ../servers/monitoring/prometheus/aws-s3-exporter.nix { }; prometheus-bind-exporter = callPackage ../servers/monitoring/prometheus/bind-exporter.nix { }; prometheus-bird-exporter = callPackage ../servers/monitoring/prometheus/bird-exporter.nix { }; prometheus-bitcoin-exporter = callPackage ../servers/monitoring/prometheus/bitcoin-exporter.nix { }; prometheus-blackbox-exporter = callPackage ../servers/monitoring/prometheus/blackbox-exporter.nix { }; prometheus-cloudflare-exporter = callPackage ../servers/monitoring/prometheus/cloudflare-exporter.nix { }; prometheus-collectd-exporter = callPackage ../servers/monitoring/prometheus/collectd-exporter.nix { }; prometheus-consul-exporter = callPackage ../servers/monitoring/prometheus/consul-exporter.nix { }; prometheus-dnsmasq-exporter = callPackage ../servers/monitoring/prometheus/dnsmasq-exporter.nix { }; prometheus-domain-exporter = callPackage ../servers/monitoring/prometheus/domain-exporter.nix { }; prometheus-fastly-exporter = callPackage ../servers/monitoring/prometheus/fastly-exporter.nix { }; prometheus-flow-exporter = callPackage ../servers/monitoring/prometheus/flow-exporter.nix { }; prometheus-fritzbox-exporter = callPackage ../servers/monitoring/prometheus/fritzbox-exporter.nix { }; prometheus-gitlab-ci-pipelines-exporter = callPackage ../servers/monitoring/prometheus/gitlab-ci-pipelines-exporter.nix { }; prometheus-graphite-exporter = callPackage ../servers/monitoring/prometheus/graphite-exporter.nix { }; prometheus-haproxy-exporter = callPackage ../servers/monitoring/prometheus/haproxy-exporter.nix { }; prometheus-idrac-exporter = callPackage ../servers/monitoring/prometheus/idrac-exporter.nix { }; prometheus-imap-mailstat-exporter = callPackage ../servers/monitoring/prometheus/imap-mailstat-exporter.nix { }; prometheus-influxdb-exporter = callPackage ../servers/monitoring/prometheus/influxdb-exporter.nix { }; prometheus-ipmi-exporter = callPackage ../servers/monitoring/prometheus/ipmi-exporter.nix { }; prometheus-jitsi-exporter = callPackage ../servers/monitoring/prometheus/jitsi-exporter.nix { }; prometheus-jmx-httpserver = callPackage ../servers/monitoring/prometheus/jmx-httpserver.nix { }; prometheus-json-exporter = callPackage ../servers/monitoring/prometheus/json-exporter.nix { }; prometheus-junos-czerwonk-exporter = callPackage ../servers/monitoring/prometheus/junos-czerwonk-exporter.nix { }; prometheus-kea-exporter = callPackage ../servers/monitoring/prometheus/kea-exporter.nix { }; prometheus-keylight-exporter = callPackage ../servers/monitoring/prometheus/keylight-exporter.nix { }; prometheus-knot-exporter = callPackage ../servers/monitoring/prometheus/knot-exporter.nix { }; prometheus-lnd-exporter = callPackage ../servers/monitoring/prometheus/lnd-exporter.nix { }; prometheus-mail-exporter = callPackage ../servers/monitoring/prometheus/mail-exporter.nix { }; prometheus-mikrotik-exporter = callPackage ../servers/monitoring/prometheus/mikrotik-exporter.nix { }; prometheus-modemmanager-exporter = callPackage ../servers/monitoring/prometheus/modemmanager-exporter.nix { }; prometheus-mongodb-exporter = callPackage ../servers/monitoring/prometheus/mongodb-exporter.nix { }; prometheus-mysqld-exporter = callPackage ../servers/monitoring/prometheus/mysqld-exporter.nix { }; prometheus-nats-exporter = callPackage ../servers/monitoring/prometheus/nats-exporter.nix { }; prometheus-nextcloud-exporter = callPackage ../servers/monitoring/prometheus/nextcloud-exporter.nix { }; prometheus-nginx-exporter = callPackage ../servers/monitoring/prometheus/nginx-exporter.nix { }; prometheus-nginxlog-exporter = callPackage ../servers/monitoring/prometheus/nginxlog-exporter.nix { }; prometheus-nut-exporter = callPackage ../servers/monitoring/prometheus/nut-exporter.nix { }; prometheus-pgbouncer-exporter = callPackage ../servers/monitoring/prometheus/pgbouncer-exporter.nix { }; prometheus-php-fpm-exporter = callPackage ../servers/monitoring/prometheus/php-fpm-exporter.nix { }; prometheus-pihole-exporter = callPackage ../servers/monitoring/prometheus/pihole-exporter.nix { }; prometheus-ping-exporter = callPackage ../servers/monitoring/prometheus/ping-exporter.nix { }; prometheus-postfix-exporter = callPackage ../servers/monitoring/prometheus/postfix-exporter.nix { }; prometheus-postgres-exporter = callPackage ../servers/monitoring/prometheus/postgres-exporter.nix { }; prometheus-process-exporter = callPackage ../servers/monitoring/prometheus/process-exporter.nix { }; prometheus-pve-exporter = callPackage ../servers/monitoring/prometheus/pve-exporter.nix { }; prometheus-redis-exporter = callPackage ../servers/monitoring/prometheus/redis-exporter.nix { }; prometheus-rabbitmq-exporter = callPackage ../servers/monitoring/prometheus/rabbitmq-exporter.nix { }; prometheus-rtl_433-exporter = callPackage ../servers/monitoring/prometheus/rtl_433-exporter.nix { }; prometheus-sabnzbd-exporter = callPackage ../servers/monitoring/prometheus/sabnzbd-exporter.nix { }; prometheus-sachet = callPackage ../servers/monitoring/prometheus/sachet.nix { }; prometheus-script-exporter = callPackage ../servers/monitoring/prometheus/script-exporter.nix { }; prometheus-shelly-exporter = callPackage ../servers/monitoring/prometheus/shelly-exporter.nix { }; prometheus-smokeping-prober = callPackage ../servers/monitoring/prometheus/smokeping-prober.nix { }; prometheus-snmp-exporter = callPackage ../servers/monitoring/prometheus/snmp-exporter.nix { }; prometheus-statsd-exporter = callPackage ../servers/monitoring/prometheus/statsd-exporter.nix { }; prometheus-sql-exporter = callPackage ../servers/monitoring/prometheus/sql-exporter.nix { }; prometheus-systemd-exporter = callPackage ../servers/monitoring/prometheus/systemd-exporter.nix { }; prometheus-unbound-exporter = callPackage ../servers/monitoring/prometheus/unbound-exporter.nix { }; prometheus-v2ray-exporter = callPackage ../servers/monitoring/prometheus/v2ray-exporter.nix { }; prometheus-varnish-exporter = callPackage ../servers/monitoring/prometheus/varnish-exporter.nix { }; prometheus-wireguard-exporter = callPackage ../servers/monitoring/prometheus/wireguard-exporter.nix { inherit (darwin.apple_sdk.frameworks) Security; }; prometheus-zfs-exporter = callPackage ../servers/monitoring/prometheus/zfs-exporter.nix { }; prometheus-xmpp-alerts = callPackage ../servers/monitoring/prometheus/xmpp-alerts.nix { }; public-inbox = perlPackages.callPackage ../servers/mail/public-inbox { }; spf-engine = python3.pkgs.callPackage ../servers/mail/spf-engine { }; pypiserver = with python3Packages; toPythonApplication pypiserver; qremotecontrol-server = libsForQt5.callPackage ../servers/misc/qremotecontrol-server { }; rabbitmq-server = callPackage ../servers/amqp/rabbitmq-server { inherit (darwin.apple_sdk.frameworks) AppKit Carbon Cocoa; erlang = erlang_26; }; radicale2 = callPackage ../servers/radicale/2.x.nix { }; radicale3 = radicale; qcal = callPackage ../tools/networking/qcal/default.nix { }; rake = callPackage ../development/tools/build-managers/rake { }; restic = callPackage ../tools/backup/restic { }; restic-rest-server = callPackage ../tools/backup/restic/rest-server.nix { }; rethinkdb = callPackage ../servers/nosql/rethinkdb { stdenv = clangStdenv; libtool = cctools; protobuf = protobuf_21; }; rippled = callPackage ../servers/rippled { boost = boost177; }; rippled-validator-keys-tool = callPackage ../servers/rippled/validator-keys-tool.nix { }; rustic = callPackage ../by-name/ru/rustic/package.nix { inherit (darwin.apple_sdk.frameworks) Security SystemConfiguration; }; samba4 = darwin.apple_sdk_11_0.callPackage ../servers/samba/4.x.nix { }; samba = samba4; samba4Full = lowPrio (samba4.override { enableLDAP = true; enablePrinting = true; enableMDNS = true; enableDomainController = true; enableRegedit = true; enableCephFS = !stdenv.hostPlatform.isAarch64; }); sambaFull = samba4Full; scalene = with python3Packages; toPythonApplication scalene; shairplay = callPackage ../servers/shairplay { avahi = avahi-compat; }; shairport-sync-airplay2 = shairport-sync.override { enableAirplay2 = true; }; showoff = callPackage ../servers/http/showoff { }; ruby-zoom = callPackage ../tools/text/ruby-zoom { }; inherit (callPackages ../servers/monitoring/sensu-go { }) sensu-go-agent sensu-go-backend sensu-go-cli; shishi = callPackage ../servers/shishi { pam = if stdenv.hostPlatform.isLinux then pam else null; # see also openssl, which has/had this same trick }; sickgear = callPackage ../servers/sickbeard/sickgear.nix { }; snipe-it = callPackage ../by-name/sn/snipe-it/package.nix { php = php81; }; spacecookie = haskell.lib.compose.justStaticExecutables haskellPackages.spacecookie; inherit (callPackages ../servers/http/tomcat { }) tomcat9 tomcat10 tomcat11; tomcat = tomcat11; torque = callPackage ../servers/computing/torque { autoreconfHook = buildPackages.autoreconfHook269; }; tt-rss = callPackage ../servers/tt-rss { }; inherit (callPackages ../servers/web-apps/matomo {}) matomo matomo_5 matomo-beta; unpackerr = callPackage ../servers/unpackerr { inherit (darwin.apple_sdk.frameworks) Cocoa WebKit; }; unstructured-api = callPackage ../servers/unstructured-api { }; virtualenv = with python3Packages; toPythonApplication virtualenv; virtualenv-clone = with python3Packages; toPythonApplication virtualenv-clone; quartz-wm = callPackage ../servers/x11/quartz-wm { stdenv = clangStdenv; inherit (darwin.apple_sdk.frameworks) AppKit Foundation; inherit (darwin.apple_sdk.libs) Xplugin; }; xorg = let # Use `lib.callPackageWith __splicedPackages` rather than plain `callPackage` # so as not to have the newly bound xorg items already in scope, which would # have created a cycle. overrides = lib.callPackageWith __splicedPackages ../servers/x11/xorg/overrides.nix { inherit (darwin.apple_sdk.frameworks) ApplicationServices Carbon Cocoa; inherit (darwin.apple_sdk.libs) Xplugin; inherit (buildPackages.darwin) bootstrap_cmds; udev = if stdenv.hostPlatform.isLinux then udev else null; libdrm = if stdenv.hostPlatform.isLinux then libdrm else null; }; generatedPackages = lib.callPackageWith __splicedPackages ../servers/x11/xorg/default.nix { }; xorgPackages = makeScopeWithSplicing' { otherSplices = generateSplicesForMkScope "xorg"; f = lib.extends overrides generatedPackages; }; in recurseIntoAttrs xorgPackages; xwayland = callPackage ../servers/x11/xorg/xwayland.nix { }; zabbixFor = version: rec { agent = (callPackages ../servers/monitoring/zabbix/agent.nix {}).${version}; proxy-mysql = (callPackages ../servers/monitoring/zabbix/proxy.nix { mysqlSupport = true; }).${version}; proxy-pgsql = (callPackages ../servers/monitoring/zabbix/proxy.nix { postgresqlSupport = true; }).${version}; proxy-sqlite = (callPackages ../servers/monitoring/zabbix/proxy.nix { sqliteSupport = true; }).${version}; server-mysql = (callPackages ../servers/monitoring/zabbix/server.nix { mysqlSupport = true; }).${version}; server-pgsql = (callPackages ../servers/monitoring/zabbix/server.nix { postgresqlSupport = true; }).${version}; web = (callPackages ../servers/monitoring/zabbix/web.nix {}).${version}; agent2 = (callPackages ../servers/monitoring/zabbix/agent2.nix {}).${version}; # backwards compatibility server = server-pgsql; }; zabbix70 = recurseIntoAttrs (zabbixFor "v70"); zabbix60 = recurseIntoAttrs (zabbixFor "v60"); zabbix64 = recurseIntoAttrs (zabbixFor "v64"); zabbix50 = recurseIntoAttrs (zabbixFor "v50"); zabbix = zabbix60; ### SERVERS / GEOSPATIAL martin = callPackage ../servers/geospatial/martin { inherit (darwin.apple_sdk.frameworks) Security SystemConfiguration; }; ### OS-SPECIFIC alfred = callPackage ../os-specific/linux/batman-adv/alfred.nix { }; alsa-utils = callPackage ../by-name/al/alsa-utils/package.nix { fftw = fftwFloat; }; arm-trusted-firmware = callPackage ../misc/arm-trusted-firmware { }; inherit (arm-trusted-firmware) buildArmTrustedFirmware armTrustedFirmwareTools armTrustedFirmwareAllwinner armTrustedFirmwareAllwinnerH616 armTrustedFirmwareAllwinnerH6 armTrustedFirmwareQemu armTrustedFirmwareRK3328 armTrustedFirmwareRK3399 armTrustedFirmwareRK3588 armTrustedFirmwareS905 ; inherit (callPackages ../os-specific/linux/apparmor { }) libapparmor apparmor-utils apparmor-bin-utils apparmor-parser apparmor-pam apparmor-profiles apparmor-kernel-patches apparmorRulesFromClosure; ath9k-htc-blobless-firmware = callPackage ../os-specific/linux/firmware/ath9k { }; ath9k-htc-blobless-firmware-unstable = callPackage ../os-specific/linux/firmware/ath9k { enableUnstable = true; }; b43Firmware_5_1_138 = callPackage ../os-specific/linux/firmware/b43-firmware/5.1.138.nix { }; b43Firmware_6_30_163_46 = callPackage ../os-specific/linux/firmware/b43-firmware/6.30.163.46.nix { }; batctl = callPackage ../os-specific/linux/batman-adv/batctl.nix { }; bluez5 = bluez; bluez5-experimental = bluez-experimental; bluez-experimental = bluez.override { enableExperimental = true; }; busybox = callPackage ../os-specific/linux/busybox { # Fixes libunwind from being dynamically linked to a static binary. stdenv = if (stdenv.targetPlatform.useLLVM or false) then overrideCC stdenv buildPackages.llvmPackages.clangNoLibcxx else stdenv; }; busybox-sandbox-shell = callPackage ../os-specific/linux/busybox/sandbox-shell.nix { # musl roadmap has RISC-V support projected for 1.1.20 busybox = if !stdenv.hostPlatform.isRiscV && !stdenv.hostPlatform.isLoongArch64 && stdenv.hostPlatform.libc != "bionic" then pkgsStatic.busybox else busybox; }; cm-rgb = python3Packages.callPackage ../tools/system/cm-rgb { }; conky = callPackage ../os-specific/linux/conky ({ lua = lua5_4; inherit (linuxPackages.nvidia_x11.settings) libXNVCtrl; } // config.conky or {}); cpupower-gui = python3Packages.callPackage ../os-specific/linux/cpupower-gui { inherit (pkgs) meson; }; cryptomator = callPackage ../tools/security/cryptomator { jdk = jdk23.override { enableJavaFX = true; }; }; # Darwin package set # # Even though this is a set of packages not single package, use `callPackage` # not `callPackages` so the per-package callPackages don't have their # `.override` clobbered. C.F. `llvmPackages` which does the same. darwin = recurseIntoAttrs (callPackage ./darwin-packages.nix { }); defaultbrowser = callPackage ../os-specific/darwin/defaultbrowser { inherit (darwin.apple_sdk.frameworks) Foundation; }; displaylink = callPackage ../os-specific/linux/displaylink { inherit (linuxPackages) evdi; }; dmraid = callPackage ../os-specific/linux/dmraid { lvm2 = lvm2_dmeventd; }; drbd = callPackage ../os-specific/linux/drbd/utils.nix { }; # unstable until the first 1.x release fwts = callPackage ../os-specific/linux/fwts { }; libuuid = if stdenv.hostPlatform.isLinux then util-linuxMinimal else null; elegant-sddm = libsForQt5.callPackage ../data/themes/elegant-sddm { }; error-inject = callPackages ../os-specific/linux/error-inject { }; ffado = callPackage ../os-specific/linux/ffado { }; ffado-mixer = callPackage ../os-specific/linux/ffado { withMixer = true; }; libffado = ffado; freefall = callPackage ../os-specific/linux/freefall { inherit (linuxPackages) kernel; }; fusePackages = dontRecurseIntoAttrs (callPackage ../os-specific/linux/fuse { util-linux = util-linuxMinimal; }); fuse = fuse2; fuse2 = lowPrio (if stdenv.hostPlatform.isDarwin then macfuse-stubs else fusePackages.fuse_2); fuse3 = fusePackages.fuse_3; gpm = callPackage ../servers/gpm { withNcurses = false; # Keep curses disabled for lack of value # latest 6.8 mysteriously fails to parse '@headings single': # https://lists.gnu.org/archive/html/bug-texinfo/2021-09/msg00011.html texinfo = buildPackages.texinfo6_7; }; gpm-ncurses = gpm.override { withNcurses = true; }; htop = callPackage ../tools/system/htop { inherit (darwin) IOKit; }; htop-vim = callPackage ../tools/system/htop/htop-vim.nix { }; humility = callPackage ../development/tools/rust/humility { inherit (darwin.apple_sdk.frameworks) AppKit; }; btop = darwin.apple_sdk_11_0.callPackage ../tools/system/btop { }; btop-rocm = btop.override { rocmSupport = true; }; i7z = qt5.callPackage ../os-specific/linux/i7z { }; ipu6-camera-hal = callPackage ../development/libraries/ipu6-camera-hal {}; ipu6ep-camera-hal = callPackage ../development/libraries/ipu6-camera-hal { ipuVersion = "ipu6ep"; }; ipu6epmtl-camera-hal = callPackage ../development/libraries/ipu6-camera-hal { ipuVersion = "ipu6epmtl"; }; iputils = hiPrio (callPackage ../os-specific/linux/iputils { }); # hiPrio for collisions with inetutils (ping) iptables = callPackage ../os-specific/linux/iptables { }; iptables-legacy = callPackage ../os-specific/linux/iptables { nftablesCompat = false; }; iptables-nftables-compat = iptables; jool-cli = callPackage ../os-specific/linux/jool/cli.nix { }; libkrun-sev = libkrun.override { sevVariant = true; }; linthesia = callPackage ../games/linthesia/default.nix { }; osx-cpu-temp = callPackage ../os-specific/darwin/osx-cpu-temp { inherit (darwin.apple_sdk.frameworks) IOKit; }; macfuse-stubs = callPackage ../os-specific/darwin/macfuse { inherit (darwin.apple_sdk.frameworks) DiskArbitration; }; projecteur = libsForQt5.callPackage ../os-specific/linux/projecteur { }; lkl = callPackage ../applications/virtualization/lkl { }; lklWithFirewall = callPackage ../applications/virtualization/lkl { firewallSupport = true; }; inherit (callPackages ../os-specific/linux/kernel-headers { inherit (pkgsBuildBuild) elf-header; }) linuxHeaders makeLinuxHeaders; klibc = callPackage ../os-specific/linux/klibc { }; klibcShrunk = lowPrio (callPackage ../os-specific/linux/klibc/shrunk.nix { }); linuxKernel = recurseIntoAttrs (callPackage ./linux-kernels.nix { }); inherit (linuxKernel) buildLinux linuxConfig kernelPatches; linuxPackagesFor = linuxKernel.packagesFor; hardenedLinuxPackagesFor = linuxKernel.hardenedPackagesFor; linuxManualConfig = linuxKernel.manualConfig; linuxPackages_custom = linuxKernel.customPackage; # This serves as a test for linuxPackages_custom linuxPackages_custom_tinyconfig_kernel = let base = linuxPackages.kernel; tinyLinuxPackages = linuxKernel.customPackage { inherit (base) version modDirVersion src; allowImportFromDerivation = false; configfile = linuxConfig { makeTarget = "tinyconfig"; src = base.src; }; }; in tinyLinuxPackages.kernel; # The current default kernel / kernel modules. linuxPackages = linuxKernel.packageAliases.linux_default; linux = linuxPackages.kernel; linuxPackages_latest = linuxKernel.packageAliases.linux_latest; linux_latest = linuxPackages_latest.kernel; # Testing (rc) kernel linuxPackages_testing = linuxKernel.packages.linux_testing; linux_testing = linuxKernel.kernels.linux_testing; # Realtime kernel linuxPackages-rt = linuxKernel.packageAliases.linux_rt_default; linuxPackages-rt_latest = linuxKernel.packageAliases.linux_rt_latest; linux-rt = linuxPackages-rt.kernel; linux-rt_latest = linuxPackages-rt_latest.kernel; # hardened kernels linuxPackages_hardened = linuxKernel.packages.linux_hardened; linux_hardened = linuxPackages_hardened.kernel; linuxPackages_5_4_hardened = linuxKernel.packages.linux_5_4_hardened; linux_5_4_hardened = linuxKernel.kernels.linux_5_4_hardened; linuxPackages_5_10_hardened = linuxKernel.packages.linux_5_10_hardened; linux_5_10_hardened = linuxKernel.kernels.linux_5_10_hardened; linuxPackages_5_15_hardened = linuxKernel.packages.linux_5_15_hardened; linux_5_15_hardened = linuxKernel.kernels.linux_5_15_hardened; linuxPackages_6_1_hardened = linuxKernel.packages.linux_6_1_hardened; linux_6_1_hardened = linuxKernel.kernels.linux_6_1_hardened; linuxPackages_6_6_hardened = linuxKernel.packages.linux_6_6_hardened; linux_6_6_hardened = linuxKernel.kernels.linux_6_6_hardened; linuxPackages_6_11_hardened = linuxKernel.packages.linux_6_11_hardened; linux_6_11_hardened = linuxKernel.kernels.linux_6_11_hardened; # GNU Linux-libre kernels linuxPackages-libre = linuxKernel.packages.linux_libre; linux-libre = linuxPackages-libre.kernel; linuxPackages_latest-libre = linuxKernel.packages.linux_latest_libre; linux_latest-libre = linuxPackages_latest-libre.kernel; # zen-kernel linuxPackages_zen = linuxKernel.packages.linux_zen; linux_zen = linuxPackages_zen.kernel; linuxPackages_lqx = linuxKernel.packages.linux_lqx; linux_lqx = linuxPackages_lqx.kernel; # XanMod kernel linuxPackages_xanmod = linuxKernel.packages.linux_xanmod; linux_xanmod = linuxKernel.kernels.linux_xanmod; linuxPackages_xanmod_stable = linuxKernel.packages.linux_xanmod_stable; linux_xanmod_stable = linuxKernel.kernels.linux_xanmod_stable; linuxPackages_xanmod_latest = linuxKernel.packages.linux_xanmod_latest; linux_xanmod_latest = linuxKernel.kernels.linux_xanmod_latest; linux-doc = callPackage ../os-specific/linux/kernel/htmldocs.nix { }; cryptodev = linuxPackages.cryptodev; libsemanage = callPackage ../os-specific/linux/libsemanage { python = python3; }; librasterlite2 = callPackage ../development/libraries/librasterlite2 { inherit (darwin.apple_sdk.frameworks) ApplicationServices; }; librealsense = darwin.apple_sdk_11_0.callPackage ../development/libraries/librealsense { }; librealsenseWithCuda = callPackage ../development/libraries/librealsense { cudaSupport = true; # librealsenseWithCuda doesn't build on gcc11. CUDA 11.3 is the last version # to use pre-gcc11, in particular gcc9. stdenv = gcc9Stdenv; }; librealsenseWithoutCuda = callPackage ../development/libraries/librealsense { cudaSupport = false; }; librealsense-gui = callPackage ../development/libraries/librealsense { enableGUI = true; }; kmod = callPackage ../os-specific/linux/kmod { }; lvm2 = callPackage ../os-specific/linux/lvm2/2_03.nix { # break the cyclic dependency: # util-linux (non-minimal) depends (optionally, but on by default) on systemd, # systemd (optionally, but on by default) on cryptsetup and cryptsetup depends on lvm2 util-linux = util-linuxMinimal; }; lvm2_dmeventd = lvm2.override { enableDmeventd = true; enableCmdlib = true; }; lvm2_vdo = lvm2_dmeventd.override { enableVDO = true; }; mdadm = mdadm4; minimal-bootstrap = recurseIntoAttrs (import ../os-specific/linux/minimal-bootstrap { inherit (stdenv) buildPlatform hostPlatform; inherit lib config; fetchurl = import ../build-support/fetchurl/boot.nix { inherit (stdenv.buildPlatform) system; }; checkMeta = callPackage ../stdenv/generic/check-meta.nix { inherit (stdenv) hostPlatform; }; }); minimal-bootstrap-sources = callPackage ../os-specific/linux/minimal-bootstrap/stage0-posix/bootstrap-sources.nix { inherit (stdenv) hostPlatform; }; make-minimal-bootstrap-sources = callPackage ../os-specific/linux/minimal-bootstrap/stage0-posix/make-bootstrap-sources.nix { inherit (stdenv) hostPlatform; }; aggregateModules = modules: callPackage ../os-specific/linux/kmod/aggregator.nix { inherit (buildPackages) kmod; inherit modules; }; nushell = darwin.apple_sdk_11_0.callPackage ../shells/nushell { inherit (darwin.apple_sdk_11_0) Libsystem; inherit (darwin.apple_sdk_11_0.frameworks) AppKit Security; }; nushellPlugins = recurseIntoAttrs (callPackage ../shells/nushell/plugins { inherit (darwin.apple_sdk.frameworks) Security; inherit (darwin.apple_sdk_11_0.frameworks) IOKit CoreFoundation Foundation; }); nettools = if stdenv.hostPlatform.isLinux then callPackage ../os-specific/linux/net-tools { } else unixtools.nettools; nftables = callPackage ../os-specific/linux/nftables { }; noah = callPackage ../os-specific/darwin/noah { inherit (darwin.apple_sdk.frameworks) Hypervisor; }; open-vm-tools-headless = open-vm-tools.override { withX = false; }; gdlv = callPackage ../by-name/gd/gdlv/package.nix { inherit (darwin.apple_sdk_11_0.frameworks) AppKit CoreGraphics Foundation Metal; }; gotop = callPackage ../tools/system/gotop { inherit (darwin.apple_sdk.frameworks) IOKit; }; odin = callPackage ../by-name/od/odin/package.nix { inherit (pkgs.darwin.apple_sdk_11_0) MacOSX-SDK; inherit (pkgs.darwin.apple_sdk_11_0.frameworks) Security; llvmPackages = llvmPackages_18; }; okapi = callPackage ../development/libraries/okapi { inherit (darwin.apple_sdk.frameworks) Security; }; pam = if stdenv.hostPlatform.isLinux then linux-pam else openpam; # pam_bioapi ( see http://www.thinkwiki.org/wiki/How_to_enable_the_fingerprint_reader ) procps = if stdenv.hostPlatform.isLinux then callPackage ../os-specific/linux/procps-ng { } else unixtools.procps; qemu_kvm = lowPrio (qemu.override { hostCpuOnly = true; }); qemu_full = lowPrio (qemu.override { smbdSupport = lib.meta.availableOn stdenv.hostPlatform samba; cephSupport = lib.meta.availableOn stdenv.hostPlatform ceph; glusterfsSupport = lib.meta.availableOn stdenv.hostPlatform glusterfs && lib.meta.availableOn stdenv.hostPlatform libuuid; }); qemu_test = lowPrio (qemu.override { hostCpuOnly = true; nixosTestRunner = true; }); linux-firmware = callPackage ../os-specific/linux/firmware/linux-firmware { }; raspberrypifw = callPackage ../os-specific/linux/firmware/raspberrypi { }; raspberrypi-armstubs = callPackage ../os-specific/linux/firmware/raspberrypi/armstubs.nix { }; rfkill_udev = callPackage ../os-specific/linux/rfkill/udev.nix { }; sass = callPackage ../development/tools/sass { }; sddm-astronaut = qt6Packages.callPackage ../data/themes/sddm-astronaut { }; sddm-chili-theme = libsForQt5.callPackage ../data/themes/chili-sddm { }; sddm-sugar-dark = libsForQt5.callPackage ../data/themes/sddm-sugar-dark { }; sdrangel = qt6Packages.callPackage ../applications/radio/sdrangel { stdenv = if stdenv.hostPlatform.isDarwin then overrideSDK stdenv "12.3" else stdenv; }; sgx-sdk = callPackage ../os-specific/linux/sgx/sdk { }; sgx-psw = callPackage ../os-specific/linux/sgx/psw { protobuf = protobuf_21; }; sinit = callPackage ../os-specific/linux/sinit { rcinit = "/etc/rc.d/rc.init"; rcshutdown = "/etc/rc.d/rc.shutdown"; }; sysdig = callPackage ../os-specific/linux/sysdig { kernel = null; }; # sysdig is a client, for a driver look at linuxPackagesFor sysprof = callPackage ../development/tools/profiling/sysprof { }; libsysprof-capture = callPackage ../development/tools/profiling/sysprof/capture.nix { }; systemd = callPackage ../os-specific/linux/systemd { # break some cyclic dependencies util-linux = util-linuxMinimal; # provide a super minimal gnupg used for systemd-machined gnupg = gnupg.override { enableMinimal = true; guiSupport = false; }; }; systemdMinimal = systemd.override { pname = "systemd-minimal"; withAcl = false; withAnalyze = false; withApparmor = false; withAudit = false; withCompression = false; withCoredump = false; withCryptsetup = false; withRepart = false; withDocumentation = false; withEfi = false; withFido2 = false; withHostnamed = false; withHomed = false; withHwdb = false; withImportd = false; withIptables = false; withLibBPF = false; withLibidn2 = false; withLocaled = false; withLogind = false; withMachined = false; withNetworkd = false; withNss = false; withOomd = false; withPCRE2 = false; withPam = false; withPolkit = false; withPortabled = false; withRemote = false; withResolved = false; withShellCompletions = false; withSysupdate = false; withSysusers = false; withTimedated = false; withTimesyncd = false; withTpm2Tss = false; withUserDb = false; withUkify = false; withBootloader = false; withPasswordQuality = false; withVmspawn = false; withQrencode = false; withLibarchive = false; }; systemdLibs = systemdMinimal.override { pname = "systemd-minimal-libs"; buildLibsOnly = true; }; # We do not want to include ukify in the normal systemd attribute as it # relies on Python at runtime. systemdUkify = systemd.override { withUkify = true; }; udev = if (with stdenv.hostPlatform; isLinux && isStatic) then libudev-zero else systemdLibs; sysvtools = sysvinit.override { withoutInitTools = true; }; # FIXME: `tcp-wrapper' is actually not OS-specific. trickster = callPackage ../servers/trickster/trickster.nix { }; trinsic-cli = callPackage ../tools/admin/trinsic-cli { inherit (darwin.apple_sdk.frameworks) Security; }; # Upstream U-Boots: inherit (callPackage ../misc/uboot {}) buildUBoot ubootTools ubootA20OlinuxinoLime ubootA20OlinuxinoLime2EMMC ubootBananaPi ubootBananaPim3 ubootBananaPim64 ubootAmx335xEVM ubootClearfog ubootCM3588NAS ubootCubieboard2 ubootGuruplug ubootJetsonTK1 ubootLibreTechCC ubootNanoPCT4 ubootNanoPCT6 ubootNovena ubootOdroidC2 ubootOdroidXU3 ubootOlimexA64Olinuxino ubootOlimexA64Teres1 ubootOrangePi3 ubootOrangePi3B ubootOrangePi5 ubootOrangePi5Plus ubootOrangePiPc ubootOrangePiZeroPlus2H5 ubootOrangePiZero ubootOrangePiZero2 ubootOrangePiZero3 ubootPcduino3Nano ubootPine64 ubootPine64LTS ubootPinebook ubootPinebookPro ubootQemuAarch64 ubootQemuArm ubootQemuRiscv64Smode ubootQemuX86 ubootRaspberryPi ubootRaspberryPi2 ubootRaspberryPi3_32bit ubootRaspberryPi3_64bit ubootRaspberryPi4_32bit ubootRaspberryPi4_64bit ubootRaspberryPiZero ubootRock4CPlus ubootRock5ModelB ubootRock64 ubootRock64v2 ubootRockPi4 ubootRockPro64 ubootROCPCRK3399 ubootSheevaplug ubootSopine ubootTuringRK1 ubootUtilite ubootWandboard ; # Upstream Barebox: inherit (callPackage ../misc/barebox {}) buildBarebox bareboxTools; eudev = callPackage ../by-name/eu/eudev/package.nix { util-linux = util-linuxMinimal; }; udisks2 = callPackage ../os-specific/linux/udisks/2-default.nix { }; udisks = udisks2; usbrelay = callPackage ../os-specific/linux/usbrelay { }; usbrelayd = callPackage ../os-specific/linux/usbrelay/daemon.nix { }; util-linuxMinimal = util-linux.override { nlsSupport = false; ncursesSupport = false; systemdSupport = false; translateManpages = false; }; v4l-utils = qt5.callPackage ../os-specific/linux/v4l-utils { }; windows = callPackages ../os-specific/windows {}; wpa_supplicant = callPackage ../os-specific/linux/wpa_supplicant { }; wpa_supplicant_gui = libsForQt5.callPackage ../os-specific/linux/wpa_supplicant/gui.nix { }; inherit ({ zfs_2_1 = callPackage ../os-specific/linux/zfs/2_1.nix { configFile = "user"; }; zfs_2_2 = callPackage ../os-specific/linux/zfs/2_2.nix { configFile = "user"; }; zfs_unstable = callPackage ../os-specific/linux/zfs/unstable.nix { configFile = "user"; }; }) zfs_2_1 zfs_2_2 zfs_unstable; zfs = zfs_2_2; ### DATA adwaita-qt = libsForQt5.callPackage ../data/themes/adwaita-qt { }; adwaita-qt6 = qt6Packages.callPackage ../data/themes/adwaita-qt { useQt6 = true; }; androguard = with python3.pkgs; toPythonApplication androguard; andromeda-gtk-theme = libsForQt5.callPackage ../data/themes/andromeda-gtk-theme { }; ankacoder = callPackage ../data/fonts/ankacoder { }; ankacoder-condensed = callPackage ../data/fonts/ankacoder/condensed.nix { }; ant-theme = callPackage ../data/themes/ant-theme/ant.nix { }; ant-bloody-theme = callPackage ../data/themes/ant-theme/ant-bloody.nix { }; ant-nebula-theme = callPackage ../data/themes/ant-theme/ant-nebula.nix { }; bibata-cursors-translucent = callPackage ../data/icons/bibata-cursors/translucent.nix { }; breath-theme = libsForQt5.callPackage ../data/themes/breath-theme { }; cacert = callPackage ../data/misc/cacert { }; cnspec = callPackage ../tools/security/cnspec { buildGoModule = buildGo123Module; }; colloid-kde = libsForQt5.callPackage ../data/themes/colloid-kde { }; dejavu_fonts = lowPrio (callPackage ../data/fonts/dejavu-fonts {}); # solve collision for nix-env before https://github.com/NixOS/nix/pull/815 dejavu_fontsEnv = buildEnv { name = dejavu_fonts.name; paths = [ dejavu_fonts.out ]; }; docbook_sgml_dtd_31 = callPackage ../data/sgml+xml/schemas/sgml-dtd/docbook/3.1.nix { }; docbook_sgml_dtd_41 = callPackage ../data/sgml+xml/schemas/sgml-dtd/docbook/4.1.nix { }; docbook_xml_dtd_412 = callPackage ../data/sgml+xml/schemas/xml-dtd/docbook/4.1.2.nix { }; docbook_xml_dtd_42 = callPackage ../data/sgml+xml/schemas/xml-dtd/docbook/4.2.nix { }; docbook_xml_dtd_43 = callPackage ../data/sgml+xml/schemas/xml-dtd/docbook/4.3.nix { }; docbook_xml_dtd_44 = callPackage ../data/sgml+xml/schemas/xml-dtd/docbook/4.4.nix { }; docbook_xml_dtd_45 = callPackage ../data/sgml+xml/schemas/xml-dtd/docbook/4.5.nix { }; inherit (callPackages ../data/sgml+xml/stylesheets/xslt/docbook-xsl { }) docbook-xsl-nons docbook-xsl-ns; # TODO: move this to aliases docbook_xsl = docbook-xsl-nons; docbook_xsl_ns = docbook-xsl-ns; documentation-highlighter = callPackage ../misc/documentation-highlighter { }; epapirus-icon-theme = papirus-icon-theme.override { withElementary = true; }; moeli = eduli; emojione = callPackage ../data/fonts/emojione { inherit (nodePackages) svgo; }; fira-code = callPackage ../data/fonts/fira-code { }; fira-code-symbols = callPackage ../data/fonts/fira-code/symbols.nix { }; fira-code-nerdfont = nerdfonts.override { fonts = [ "FiraCode" ]; }; flat-remix-icon-theme = callPackage ../data/icons/flat-remix-icon-theme { inherit (plasma5Packages) breeze-icons; }; font-awesome_4 = (callPackage ../data/fonts/font-awesome { }).v4; font-awesome_5 = (callPackage ../data/fonts/font-awesome { }).v5; font-awesome_6 = (callPackage ../data/fonts/font-awesome { }).v6; font-awesome = font-awesome_6; graphite-kde-theme = libsForQt5.callPackage ../data/themes/graphite-kde-theme { }; palenight-theme = callPackage ../data/themes/gtk-theme-framework { theme = "palenight"; }; amarena-theme = callPackage ../data/themes/gtk-theme-framework { theme = "amarena"; }; gruvterial-theme = callPackage ../data/themes/gtk-theme-framework { theme = "gruvterial"; }; oceanic-theme = callPackage ../data/themes/gtk-theme-framework { theme = "oceanic"; }; spacx-gtk-theme = callPackage ../data/themes/gtk-theme-framework { theme = "spacx"; }; inherit ({ gruppled-black-cursors = callPackage ../data/icons/gruppled-cursors { theme = "gruppled_black"; }; gruppled-black-lite-cursors = callPackage ../data/icons/gruppled-lite-cursors { theme = "gruppled_black_lite"; }; gruppled-white-cursors = callPackage ../data/icons/gruppled-cursors { theme = "gruppled_white"; }; gruppled-white-lite-cursors = callPackage ../data/icons/gruppled-lite-cursors { theme = "gruppled_white_lite"; }; }) gruppled-black-cursors gruppled-black-lite-cursors gruppled-white-cursors gruppled-white-lite-cursors ; gruvbox-dark-icons-gtk = callPackage ../data/icons/gruvbox-dark-icons-gtk { inherit (plasma5Packages) breeze-icons; }; hackgen-font = callPackage ../data/fonts/hackgen { }; hackgen-nf-font = callPackage ../data/fonts/hackgen/nerdfont.nix { }; inconsolata = callPackage ../data/fonts/inconsolata { }; inconsolata-lgc = callPackage ../data/fonts/inconsolata/lgc.nix { }; inconsolata-nerdfont = nerdfonts.override { fonts = [ "Inconsolata" ]; }; input-fonts = callPackage ../data/fonts/input-fonts { }; iosevka = callPackage ../data/fonts/iosevka { }; iosevka-bin = callPackage ../data/fonts/iosevka/bin.nix { }; iosevka-comfy = recurseIntoAttrs (callPackages ../data/fonts/iosevka/comfy.nix {}); joypixels = callPackage ../data/fonts/joypixels { }; kde-rounded-corners = kdePackages.callPackage ../data/themes/kwin-decorations/kde-rounded-corners { }; kora-icon-theme = callPackage ../data/icons/kora-icon-theme { inherit (libsForQt5.kdeFrameworks) breeze-icons; }; la-capitaine-icon-theme = callPackage ../data/icons/la-capitaine-icon-theme { inherit (plasma5Packages) breeze-icons; inherit (pantheon) elementary-icon-theme; }; layan-kde = libsForQt5.callPackage ../data/themes/layan-kde { }; inherit (callPackages ../data/fonts/liberation-fonts { }) liberation_ttf_v1 liberation_ttf_v2 ; liberation_ttf = liberation_ttf_v2; lightly-qt = libsForQt5.callPackage ../data/themes/lightly-qt { }; lightly-boehs = libsForQt5.callPackage ../data/themes/lightly-boehs { }; # ltunifi and solaar both provide udev rules but solaar's rules are more # up-to-date so we simply use that instead of having to maintain our own rules logitech-udev-rules = solaar.udev; # lohit-fonts.assamese lohit-fonts.bengali lohit-fonts.devanagari lohit-fonts.gujarati lohit-fonts.gurmukhi # lohit-fonts.kannada lohit-fonts.malayalam lohit-fonts.marathi lohit-fonts.nepali lohit-fonts.odia # lohit-fonts.tamil-classical lohit-fonts.tamil lohit-fonts.telugu # lohit-fonts.kashmiri lohit-fonts.konkani lohit-fonts.maithili lohit-fonts.sindhi lohit-fonts = recurseIntoAttrs ( callPackages ../data/fonts/lohit-fonts { } ); maia-icon-theme = libsForQt5.callPackage ../data/icons/maia-icon-theme { }; marwaita-icons = callPackage ../by-name/ma/marwaita-icons/package.nix { inherit (kdePackages) breeze-icons; }; material-kwin-decoration = libsForQt5.callPackage ../data/themes/material-kwin-decoration { }; mplus-outline-fonts = recurseIntoAttrs (callPackage ../data/fonts/mplus-outline-fonts { }); nordic = libsForQt5.callPackage ../data/themes/nordic { }; noto-fonts-lgc-plus = callPackage ../by-name/no/noto-fonts/package.nix { suffix = "-lgc-plus"; variants = [ "Noto Sans" "Noto Serif" "Noto Sans Mono" "Noto Music" "Noto Sans Symbols" "Noto Sans Symbols 2" "Noto Sans Math" ]; longDescription = '' This package provides the Noto Fonts, but only for latin, greek and cyrillic scripts, as well as some extra fonts. ''; }; nullmailer = callPackage ../servers/mail/nullmailer { stdenv = gccStdenv; }; numix-icon-theme = callPackage ../data/icons/numix-icon-theme { inherit (plasma5Packages) breeze-icons; }; openmoji-color = callPackage ../data/fonts/openmoji { fontFormats = ["glyf_colr_0"]; }; openmoji-black = callPackage ../data/fonts/openmoji { fontFormats = ["glyf"]; }; papirus-icon-theme = callPackage ../data/icons/papirus-icon-theme { inherit (pantheon) elementary-icon-theme; inherit (plasma5Packages) breeze-icons; }; papirus-maia-icon-theme = callPackage ../data/icons/papirus-maia-icon-theme { inherit (plasma5Packages) breeze-icons; }; papis = with python3Packages; toPythonApplication papis; paratype-pt-mono = callPackage ../data/fonts/paratype-pt/mono.nix { }; paratype-pt-sans = callPackage ../data/fonts/paratype-pt/sans.nix { }; paratype-pt-serif = callPackage ../data/fonts/paratype-pt/serif.nix { }; plata-theme = callPackage ../data/themes/plata { inherit (mate) marco; }; polychromatic = qt6Packages.callPackage ../applications/misc/polychromatic { }; powerline-rs = callPackage ../tools/misc/powerline-rs { inherit (darwin.apple_sdk.frameworks) Security; }; profont = callPackage ../data/fonts/profont { }; qogir-kde = libsForQt5.callPackage ../data/themes/qogir-kde { }; ricochet-refresh = callPackage ../by-name/ri/ricochet-refresh/package.nix { protobuf = protobuf_21; # https://github.com/blueprint-freespeech/ricochet-refresh/issues/178 }; roapi-http = callPackage ../servers/roapi/http.nix { }; shaderc = callPackage ../development/compilers/shaderc { inherit (darwin) autoSignDarwinBinariesHook; }; sierra-breeze-enhanced = libsForQt5.callPackage ../data/themes/kwin-decorations/sierra-breeze-enhanced { useQt5 = true; }; scheherazade = callPackage ../data/fonts/scheherazade { version = "2.100"; }; scheherazade-new = callPackage ../data/fonts/scheherazade { }; starship = callPackage ../tools/misc/starship { inherit (darwin.apple_sdk.frameworks) Security Foundation Cocoa; }; inherit (callPackages ../data/fonts/gdouros { }) aegan aegyptus akkadian assyrian eemusic maya symbola textfonts unidings; inherit (callPackages ../data/fonts/pretendard { }) pretendard pretendard-gov pretendard-jp pretendard-std; sourceHanPackages = dontRecurseIntoAttrs (callPackage ../data/fonts/source-han { }); source-han-sans = sourceHanPackages.sans; source-han-serif = sourceHanPackages.serif; source-han-mono = sourceHanPackages.mono; source-han-sans-vf-otf = sourceHanPackages.sans-vf-otf; source-han-sans-vf-ttf = sourceHanPackages.sans-vf-ttf; source-han-serif-vf-otf = sourceHanPackages.serif-vf-otf; source-han-serif-vf-ttf = sourceHanPackages.serif-vf-ttf; inherit (callPackages ../data/fonts/tai-languages { }) tai-ahom; tango-icon-theme = callPackage ../data/icons/tango-icon-theme { gtk = res.gtk2; }; themes = name: callPackage (../data/misc/themes + ("/" + name + ".nix")) { }; tela-circle-icon-theme = callPackage ../data/icons/tela-circle-icon-theme { inherit (libsForQt5) breeze-icons; }; terminus-nerdfont = nerdfonts.override { fonts = [ "Terminus" ]; }; tex-gyre = callPackages ../data/fonts/tex-gyre { }; tex-gyre-math = callPackages ../data/fonts/tex-gyre-math { }; utterly-nord-plasma = kdePackages.callPackage ../data/themes/utterly-nord-plasma { # renamed in KF6 plasma-framework = kdePackages.libplasma; }; whitesur-kde = kdePackages.callPackage ../data/themes/whitesur-kde { }; xkeyboard_config = xorg.xkeyboardconfig; xlsx2csv = with python3Packages; toPythonApplication xlsx2csv; zafiro-icons = callPackage ../data/icons/zafiro-icons { inherit (plasma5Packages) breeze-icons; }; zeal-qt5 = libsForQt5.callPackage ../data/documentation/zeal { }; zeal = zeal-qt5; zeal-qt6 = qt6Packages.callPackage ../data/documentation/zeal { qtx11extras = null; # Because it does not exist in qt6 }; ### APPLICATIONS / GIS grass = callPackage ../applications/gis/grass { stdenv = if stdenv.hostPlatform.isDarwin then overrideSDK stdenv "11.0" else stdenv; }; qgis-ltr = callPackage ../applications/gis/qgis/ltr.nix { }; qgis = callPackage ../applications/gis/qgis { }; qmapshack = libsForQt5.callPackage ../applications/gis/qmapshack { }; spatialite_gui = callPackage ../applications/gis/spatialite-gui { inherit (darwin.apple_sdk.frameworks) Carbon Cocoa IOKit; wxGTK = wxGTK32; }; whitebox-tools = callPackage ../applications/gis/whitebox-tools { inherit (darwin.apple_sdk.frameworks) Security; }; zombietrackergps = libsForQt5.callPackage ../applications/gis/zombietrackergps { }; ### APPLICATIONS _2bwm = callPackage ../applications/window-managers/2bwm { patches = config."2bwm".patches or []; }; abcde = callPackage ../applications/audio/abcde { inherit (python3Packages) eyed3; }; acd-cli = callPackage ../applications/networking/sync/acd_cli { inherit (python3Packages) buildPythonApplication appdirs colorama python-dateutil requests requests-toolbelt setuptools sqlalchemy fusepy; }; inherit (qt6Packages.callPackage ../applications/office/activitywatch { }) aw-qt aw-notify aw-server-rust aw-watcher-afk aw-watcher-window; activitywatch = callPackage ../applications/office/activitywatch/wrapper.nix { }; adobe-reader = pkgsi686Linux.callPackage ../applications/misc/adobe-reader { }; anilibria-winmaclinux = libsForQt5.callPackage ../applications/video/anilibria-winmaclinux { }; masterpdfeditor4 = libsForQt5.callPackage ../applications/misc/masterpdfeditor4 { }; master_me = callPackage ../applications/audio/master_me { inherit (darwin.apple_sdk.frameworks) Cocoa; }; inherit ({ pdfstudio2021 = callPackage ../applications/misc/pdfstudio { year = "2021"; }; pdfstudio2022 = callPackage ../applications/misc/pdfstudio { year = "2022"; }; pdfstudio2023 = callPackage ../applications/misc/pdfstudio { year = "2023"; }; pdfstudio2024 = callPackage ../applications/misc/pdfstudio { year = "2024"; }; pdfstudioviewer = callPackage ../applications/misc/pdfstudio { program = "pdfstudioviewer"; }; }) pdfstudio2021 pdfstudio2022 pdfstudio2023 pdfstudio2024 pdfstudioviewer ; acpic = callPackage ../applications/misc/acpic/default.nix { }; aeolus = callPackage ../applications/audio/aeolus { }; aeolus-stops = callPackage ../applications/audio/aeolus/stops.nix { }; airwave = libsForQt5.callPackage ../applications/audio/airwave { }; alembic = callPackage ../development/libraries/alembic { openexr = openexr_3; }; amarok = libsForQt5.callPackage ../applications/audio/amarok { }; amarok-kf5 = amarok; # for compatibility androidStudioPackages = recurseIntoAttrs (callPackage ../applications/editors/android-studio { }); android-studio = androidStudioPackages.stable; android-studio-full = android-studio.full; androidStudioForPlatformPackages = recurseIntoAttrs (callPackage ../applications/editors/android-studio-for-platform { }); android-studio-for-platform = androidStudioForPlatformPackages.stable; antimony = libsForQt5.callPackage ../applications/graphics/antimony { }; anup = callPackage ../applications/misc/anup { inherit (darwin.apple_sdk.frameworks) Security; }; apkeep = callPackage ../tools/misc/apkeep { inherit (darwin.apple_sdk.frameworks) Security SystemConfiguration; }; apngasm = callPackage ../applications/graphics/apngasm { }; apngasm_2 = callPackage ../applications/graphics/apngasm/2.nix { }; ardour = callPackage ../applications/audio/ardour { }; ardour_7 = callPackage ../applications/audio/ardour/7.nix { }; arelle = with python3Packages; toPythonApplication arelle; asuka = callPackage ../applications/networking/browsers/asuka { inherit (darwin.apple_sdk.frameworks) Security; }; astroid = callPackage ../applications/networking/mailreaders/astroid { vim = vim-full.override { features = "normal"; }; protobuf = protobuf_21; }; audacious = qt6Packages.callPackage ../applications/audio/audacious { }; audacious-plugins = qt6Packages.callPackage ../applications/audio/audacious/plugins.nix { # Avoid circular dependency audacious = audacious.override { audacious-plugins = null; }; }; av-98 = callPackage ../applications/networking/browsers/av-98 { }; bambootracker = libsForQt5.callPackage ../applications/audio/bambootracker { stdenv = if stdenv.hostPlatform.isDarwin then darwin.apple_sdk_11_0.stdenv else stdenv; }; bambootracker-qt6 = qt6Packages.callPackage ../applications/audio/bambootracker { stdenv = if stdenv.hostPlatform.isDarwin then darwin.apple_sdk_11_0.stdenv else stdenv; }; milkytracker = callPackage ../applications/audio/milkytracker { inherit (darwin.apple_sdk.frameworks) Cocoa CoreAudio Foundation; }; ptcollab = callPackage ../by-name/pt/ptcollab/package.nix { stdenv = if stdenv.hostPlatform.isDarwin then darwin.apple_sdk_11_0.stdenv else stdenv; }; schismtracker = callPackage ../applications/audio/schismtracker { inherit (darwin.apple_sdk.frameworks) Cocoa; }; libbitcoin = callPackage ../tools/misc/libbitcoin/libbitcoin.nix { boost = boost175; # fatal error: 'boost/interprocess/detail/posix_time_types_wrk.hpp' file not found }; libbitcoin-protocol = callPackage ../tools/misc/libbitcoin/libbitcoin-protocol.nix { boost = boost175; }; libbitcoin-client = callPackage ../tools/misc/libbitcoin/libbitcoin-client.nix { boost = boost175; }; libbitcoin-network = callPackage ../tools/misc/libbitcoin/libbitcoin-network.nix { boost = boost175; }; libbitcoin-explorer = callPackage ../tools/misc/libbitcoin/libbitcoin-explorer.nix { boost = boost175; }; ausweisapp = qt6Packages.callPackage ../applications/misc/ausweisapp { }; avidemux = libsForQt5.callPackage ../applications/video/avidemux { }; awesome = callPackage ../applications/window-managers/awesome { cairo = cairo.override { xcbSupport = true; }; inherit (texFunctions) fontsConf; }; awesomebump = libsForQt5.callPackage ../applications/graphics/awesomebump { }; backintime-common = callPackage ../applications/networking/sync/backintime/common.nix { }; backintime-qt = qt6.callPackage ../applications/networking/sync/backintime/qt.nix { }; backintime = backintime-qt; barrier = libsForQt5.callPackage ../applications/misc/barrier { }; bespokesynth = darwin.apple_sdk_11_0.callPackage ../applications/audio/bespokesynth { inherit (darwin.apple_sdk_11_0.frameworks) Accelerate Cocoa WebKit CoreServices CoreAudioKit IOBluetooth MetalKit; }; bespokesynth-with-vst2 = bespokesynth.override { enableVST2 = true; }; bfcal = libsForQt5.callPackage ../applications/misc/bfcal { }; bino3d = qt6Packages.callPackage ../applications/video/bino3d { }; bitlbee = callPackage ../applications/networking/instant-messengers/bitlbee { }; bitlbee-plugins = callPackage ../applications/networking/instant-messengers/bitlbee/plugins.nix { }; bitscope = recurseIntoAttrs (callPackage ../applications/science/electronics/bitscope/packages.nix { }); bitwig-studio3 = callPackage ../applications/audio/bitwig-studio/bitwig-studio3.nix { }; bitwig-studio4 = callPackage ../applications/audio/bitwig-studio/bitwig-studio4.nix { libjpeg = libjpeg8; }; bitwig-studio5 = callPackage ../applications/audio/bitwig-studio/bitwig-studio5.nix { libjpeg = libjpeg8; }; bitwig-studio = bitwig-studio5; blackbox = callPackage ../applications/version-management/blackbox { pinentry = pinentry-curses; }; blender = callPackage ../applications/misc/blender { openexr = openexr_3; python3Packages = python311Packages; inherit (darwin.apple_sdk.frameworks) Cocoa CoreGraphics ForceFeedback OpenAL OpenGL; }; blender-hip = blender.override { hipSupport = true; }; blucontrol = callPackage ../applications/misc/blucontrol/wrapper.nix { inherit (haskellPackages) ghcWithPackages; }; bluefish = callPackage ../applications/editors/bluefish { gtk = gtk3; }; bluej = callPackage ../applications/editors/bluej { openjdk = openjdk17.override { enableJavaFX = true; openjfx_jdk = openjfx17.override { withWebKit = true; }; }; }; bluejeans-gui = callPackage ../applications/networking/instant-messengers/bluejeans { }; bottles = callPackage ../applications/misc/bottles/fhsenv.nix { }; bottles-unwrapped = callPackage ../applications/misc/bottles { }; breezy = with python3Packages; toPythonApplication breezy; cage = callPackage ../applications/window-managers/cage { wlroots = wlroots_0_18; }; calf = callPackage ../applications/audio/calf { inherit (gnome2) libglade; }; calcmysky = qt6Packages.callPackage ../applications/science/astronomy/calcmysky { }; calibre = callPackage ../by-name/ca/calibre/package.nix { podofo = podofo010; }; # calico-felix and calico-node have not been packaged due to libbpf, linking issues inherit (callPackage ../applications/networking/cluster/calico {}) calico-apiserver calico-app-policy calico-cni-plugin calico-kube-controllers calico-pod2daemon calico-typha calicoctl confd-calico; carla = libsForQt5.callPackage ../applications/audio/carla { }; cb2bib = libsForQt5.callPackage ../applications/office/cb2bib { }; cbconvert-gui = cbconvert.gui; cddiscid = callPackage ../applications/audio/cd-discid { inherit (darwin) IOKit; }; cdparanoia = cdparanoiaIII; cdparanoiaIII = callPackage ../applications/audio/cdparanoia { }; brotab = callPackage ../tools/misc/brotab { python = python3; }; bumblebee-status = callPackage ../applications/window-managers/i3/bumblebee-status { python = python3; }; chromium = callPackage ../applications/networking/browsers/chromium (config.chromium or {}); chuck = callPackage ../applications/audio/chuck { inherit (darwin) DarwinTools; inherit (darwin.apple_sdk.frameworks) AppKit Carbon CoreAudio CoreMIDI CoreServices Kernel MultitouchSupport; }; cligh = python3Packages.callPackage ../development/tools/github/cligh { }; clight = callPackage ../applications/misc/clight { }; clight-gui = libsForQt5.callPackage ../applications/misc/clight/clight-gui.nix { }; clightd = callPackage ../applications/misc/clight/clightd.nix { }; clipgrab = libsForQt5.callPackage ../applications/video/clipgrab { }; cmus = callPackage ../applications/audio/cmus { inherit (darwin.apple_sdk.frameworks) AudioUnit CoreAudio VideoToolbox; libjack = libjack2; }; cni = callPackage ../applications/networking/cluster/cni { }; cni-plugins = callPackage ../applications/networking/cluster/cni/plugins.nix { }; communi = libsForQt5.callPackage ../applications/networking/irc/communi { }; confclerk = libsForQt5.callPackage ../applications/misc/confclerk { }; copyq = qt6Packages.callPackage ../applications/misc/copyq { }; cpeditor = libsForQt5.callPackage ../applications/editors/cpeditor { }; csound = callPackage ../applications/audio/csound { inherit (pkgs.darwin.apple_sdk.frameworks) Accelerate AudioUnit CoreAudio CoreMIDI; }; csound-qt = libsForQt5.callPackage ../applications/audio/csound/csound-qt { }; codeblocksFull = codeblocks.override { contribPlugins = true; }; cudatext-qt = callPackage ../applications/editors/cudatext { widgetset = "qt5"; }; cudatext-gtk = callPackage ../applications/editors/cudatext { widgetset = "gtk2"; }; cudatext = cudatext-qt; comical = callPackage ../applications/graphics/comical { inherit (darwin.apple_sdk.frameworks) Cocoa; }; cqrlog = callPackage ../applications/radio/cqrlog { hamlib = hamlib_4; }; cubicsdr = callPackage ../applications/radio/cubicsdr { inherit (darwin.apple_sdk.frameworks) Cocoa WebKit; }; cutecom = libsForQt5.callPackage ../tools/misc/cutecom { }; darcs = haskell.lib.compose.disableCabalFlag "library" (haskell.lib.compose.justStaticExecutables haskellPackages.darcs); darktable = callPackage ../by-name/da/darktable/package.nix { lua = lua5_4; pugixml = pugixml.override { shared = true; }; stdenv = if stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isx86_64 then overrideSDK llvmPackages_18.stdenv { darwinMinVersion = "10.14"; darwinSdkVersion = "11.0"; } else stdenv; }; datadog-agent = callPackage ../tools/networking/dd-agent/datadog-agent.nix { pythonPackages = datadog-integrations-core { }; }; datadog-process-agent = callPackage ../tools/networking/dd-agent/datadog-process-agent.nix { }; datadog-integrations-core = extras: callPackage ../tools/networking/dd-agent/integrations-core.nix { python = python3; extraIntegrations = extras; }; deadbeef = callPackage ../applications/audio/deadbeef { }; deadbeefPlugins = { headerbar-gtk3 = callPackage ../applications/audio/deadbeef/plugins/headerbar-gtk3.nix { }; lyricbar = callPackage ../applications/audio/deadbeef/plugins/lyricbar.nix { }; mpris2 = callPackage ../applications/audio/deadbeef/plugins/mpris2.nix { }; musical-spectrum = callPackage ../applications/audio/deadbeef/plugins/musical-spectrum.nix { }; statusnotifier = callPackage ../applications/audio/deadbeef/plugins/statusnotifier.nix { }; playlist-manager = callPackage ../applications/audio/deadbeef/plugins/playlist-manager.nix { }; }; deadbeef-with-plugins = callPackage ../applications/audio/deadbeef/wrapper.nix { plugins = []; }; denaro = callPackage ../applications/finance/denaro { }; inherit (callPackage ../development/tools/devpod { }) devpod devpod-desktop; dfasma = libsForQt5.callPackage ../applications/audio/dfasma { }; dfilemanager = libsForQt5.callPackage ../applications/file-managers/dfilemanager { }; direwolf = callPackage ../applications/radio/direwolf { hamlib = hamlib_4; }; djview = libsForQt5.callPackage ../applications/graphics/djview { }; djview4 = djview; dmenu = callPackage ../applications/misc/dmenu { }; dmenu-wayland = callPackage ../applications/misc/dmenu/wayland.nix { }; dmenu-rs-enable-plugins = dmenu-rs.override { enablePlugins = true; }; dmensamenu = callPackage ../applications/misc/dmensamenu { inherit (python3Packages) buildPythonApplication requests; }; dmtx-utils = callPackage ../tools/graphics/dmtx-utils { inherit (darwin.apple_sdk.frameworks) Foundation; }; inherit (callPackage ../applications/virtualization/docker {}) docker_24 docker_25 docker_26 docker_27; docker = docker_27; docker-client = docker.override { clientOnly = true; }; docker-gc = callPackage ../applications/virtualization/docker/gc.nix { }; docker-machine-hyperkit = callPackage ../applications/networking/cluster/docker-machine/hyperkit.nix { }; docker-machine-kvm2 = callPackage ../applications/networking/cluster/docker-machine/kvm2.nix { }; docker-buildx = callPackage ../applications/virtualization/docker/buildx.nix { }; docker-compose = callPackage ../applications/virtualization/docker/compose.nix { }; docker-sbom = callPackage ../applications/virtualization/docker/sbom.nix { }; drawio = callPackage ../applications/graphics/drawio { inherit (darwin) autoSignDarwinBinariesHook; }; drawio-headless = callPackage ../applications/graphics/drawio/headless.nix { }; drawpile = libsForQt5.callPackage ../applications/graphics/drawpile { }; drawpile-server-headless = libsForQt5.callPackage ../applications/graphics/drawpile { buildClient = false; buildServerGui = false; }; drawterm = callPackage ../tools/admin/drawterm { config = "unix"; }; drawterm-wayland = callPackage ../tools/admin/drawterm { config = "linux"; }; droopy = python3Packages.callPackage ../applications/networking/droopy { }; dexed = darwin.apple_sdk_11_0.callPackage ../applications/audio/dexed { inherit (darwin.apple_sdk_11_0.frameworks) Accelerate Cocoa WebKit MetalKit DiscRecording CoreAudioKit; inherit (darwin.apple_sdk_11_0.libs) simd; }; dwl = callPackage ../by-name/dw/dwl/package.nix { wlroots = wlroots_0_18; }; dwm = callPackage ../applications/window-managers/dwm { # dwm is configured entirely through source modification. Allow users to # specify patches through nixpkgs.config.dwm.patches patches = config.dwm.patches or []; }; dwm-status = callPackage ../applications/window-managers/dwm/dwm-status.nix { }; evilwm = callPackage ../applications/window-managers/evilwm { patches = config.evilwm.patches or []; }; eclipses = recurseIntoAttrs (callPackage ../applications/editors/eclipse { }); ecpdap = callPackage ../development/embedded/fpga/ecpdap { inherit (darwin.apple_sdk.frameworks) AppKit; }; electron-cash = libsForQt5.callPackage ../applications/misc/electron-cash { }; electrum = libsForQt5.callPackage ../applications/misc/electrum { }; electrum-grs = libsForQt5.callPackage ../applications/misc/electrum/grs.nix { }; electrum-ltc = libsForQt5.callPackage ../applications/misc/electrum/ltc.nix { }; elf-dissector = libsForQt5.callPackage ../applications/misc/elf-dissector { }; elinks = callPackage ../applications/networking/browsers/elinks { autoreconfHook = buildPackages.autoreconfHook269; }; inherit (recurseIntoAttrs (callPackage ../applications/editors/emacs { })) emacs28 emacs28-gtk3 emacs28-nox emacs29 emacs29-gtk3 emacs29-nox emacs29-pgtk emacs30 emacs30-gtk3 emacs30-nox emacs30-pgtk emacs28-macport emacs29-macport ; emacs-macport = emacs29-macport; emacs = emacs29; emacs-gtk = emacs29-gtk3; emacs-nox = emacs29-nox; emacsPackagesFor = emacs: import ./emacs-packages.nix { inherit (lib) makeScope makeOverridable dontRecurseIntoAttrs; emacs' = emacs; pkgs' = pkgs; # default pkgs used for bootstrapping the emacs package set }; # This alias should live in aliases.nix but that would cause Hydra not to evaluate/build the packages. # If you turn this into "real" alias again, please add it to pkgs/top-level/packages-config.nix again too emacsPackages = emacs.pkgs // { __recurseIntoDerivationForReleaseJobs = true; }; epick = callPackage ../applications/graphics/epick { inherit (darwin.apple_sdk.frameworks) AppKit; }; espeak-classic = callPackage ../applications/audio/espeak { }; espeak-ng = callPackage ../applications/audio/espeak-ng { inherit (darwin.apple_sdk.frameworks) AudioToolbox AudioUnit CoreAudio; }; espeak = res.espeak-ng; espeakedit = callPackage ../applications/audio/espeak/edit.nix { }; espflash = callPackage ../by-name/es/espflash/package.nix { inherit (darwin.apple_sdk.frameworks) CoreServices Security SystemConfiguration; }; evilpixie = libsForQt5.callPackage ../applications/graphics/evilpixie { }; greenfoot = callPackage ../applications/editors/greenfoot { openjdk = openjdk17.override { enableJavaFX = true; openjfx_jdk = openjfx17.override { withWebKit = true; }; }; }; haruna = kdePackages.callPackage ../applications/video/haruna { }; hdrmerge = libsForQt5.callPackage ../applications/graphics/hdrmerge { }; input-leap = qt6Packages.callPackage ../applications/misc/input-leap { avahi = avahi.override { withLibdnssdCompat = true; }; }; keepassxc = libsForQt5.callPackage ../applications/misc/keepassxc { inherit (darwin.apple_sdk_11_0.frameworks) LocalAuthentication; stdenv = if stdenv.hostPlatform.isDarwin then darwin.apple_sdk_11_0.stdenv else stdenv; }; evolution-data-server-gtk4 = evolution-data-server.override { withGtk3 = false; withGtk4 = true; }; evolution-ews = callPackage ../applications/networking/mailreaders/evolution/evolution-ews { }; evolution = callPackage ../applications/networking/mailreaders/evolution/evolution { }; evolutionWithPlugins = callPackage ../applications/networking/mailreaders/evolution/evolution/wrapper.nix { plugins = [ evolution evolution-ews ]; }; famistudio = darwin.apple_sdk_11_0.callPackage ../applications/audio/famistudio { }; fdr = libsForQt5.callPackage ../applications/science/programming/fdr { }; fetchmail = callPackage ../applications/misc/fetchmail { }; fetchmail_7 = callPackage ../applications/misc/fetchmail/v7.nix { }; finalfrontier = callPackage ../applications/science/machine-learning/finalfrontier { inherit (darwin.apple_sdk.frameworks) Security; }; finalfusion-utils = callPackage ../applications/science/machine-learning/finalfusion-utils { inherit (darwin.apple_sdk.frameworks) Security; }; firewalld-gui = firewalld.override { withGui = true; }; flacon = libsForQt5.callPackage ../applications/audio/flacon { }; fldigi = callPackage ../applications/radio/fldigi { hamlib = hamlib_4; }; fluidsynth = callPackage ../applications/audio/fluidsynth { inherit (darwin.apple_sdk.frameworks) AppKit AudioUnit CoreAudio CoreMIDI CoreServices; }; fmit = libsForQt5.callPackage ../applications/audio/fmit { }; fnc = darwin.apple_sdk_11_0.callPackage ../applications/version-management/fnc { }; focuswriter = qt6Packages.callPackage ../applications/editors/focuswriter { }; fossil = callPackage ../applications/version-management/fossil { sqlite = sqlite.override { enableDeserialize = true; }; }; fritzing = qt6Packages.callPackage ../applications/science/electronics/fritzing { }; ft2-clone = callPackage ../applications/audio/ft2-clone { inherit (darwin.apple_sdk.frameworks) CoreAudio CoreMIDI CoreServices Cocoa; }; fvwm = fvwm2; ganttproject-bin = callPackage ../applications/misc/ganttproject-bin { jre = openjdk17.override { enableJavaFX = true; }; }; gaucheBootstrap = darwin.apple_sdk_11_0.callPackage ../development/interpreters/gauche/boot.nix { }; gauche = darwin.apple_sdk_11_0.callPackage ../development/interpreters/gauche { inherit (darwin.apple_sdk_11_0.frameworks) CoreServices; }; gazelle-origin = python3Packages.callPackage ../tools/misc/gazelle-origin { }; geany = callPackage ../applications/editors/geany { }; geany-with-vte = callPackage ../applications/editors/geany/with-vte.nix { }; gnuradio = callPackage ../applications/radio/gnuradio/wrapper.nix { unwrapped = callPackage ../applications/radio/gnuradio { inherit (darwin.apple_sdk.frameworks) CoreAudio; python = python311; }; }; gnuradioPackages = lib.recurseIntoAttrs gnuradio.pkgs; # A build without gui components and other utilites not needed for end user # libraries gnuradioMinimal = gnuradio.override { doWrap = false; unwrapped = gnuradio.unwrapped.override { volk = volk.override { # So it will not reference python enableModTool = false; }; uhd = uhdMinimal; features = { gnuradio-companion = false; python-support = false; examples = false; gr-qtgui = false; gr-utils = false; gr-modtool = false; gr-blocktool = false; sphinx = false; doxygen = false; # Doesn't make it reference python eventually, but makes reverse # depdendencies require python to use cmake files of GR. gr-ctrlport = false; }; }; }; gnuradio3_8 = callPackage ../applications/radio/gnuradio/wrapper.nix { unwrapped = callPackage ../applications/radio/gnuradio/3.8.nix ({ inherit (darwin.apple_sdk.frameworks) CoreAudio; python = python311; volk = volk_2; } // lib.optionalAttrs stdenv.hostPlatform.isLinux { stdenv = pkgs.stdenvAdapters.useLibsFrom stdenv pkgs.gcc12Stdenv; }); }; gnuradio3_8Packages = lib.recurseIntoAttrs gnuradio3_8.pkgs; # A build without gui components and other utilites not needed if gnuradio is # used as a c++ library. gnuradio3_8Minimal = gnuradio3_8.override { doWrap = false; unwrapped = gnuradio3_8.unwrapped.override { volk = volk_2.override { enableModTool = false; }; uhd = uhdMinimal; features = { gnuradio-companion = false; python-support = false; examples = false; gr-qtgui = false; gr-utils = false; gr-modtool = false; sphinx = false; doxygen = false; # Doesn't make it reference python eventually, but makes reverse # depdendencies require python to use cmake files of GR. gr-ctrlport = false; }; }; }; grandorgue = callPackage ../applications/audio/grandorgue { inherit (darwin.apple_sdk.frameworks) Cocoa; }; greetd = recurseIntoAttrs { dlm = throw "greetd.dlm has been removed as it is broken and abandoned upstream"; #Added 2024-07-15 greetd = callPackage ../applications/display-managers/greetd { }; gtkgreet = callPackage ../applications/display-managers/greetd/gtkgreet.nix { }; regreet = callPackage ../applications/display-managers/greetd/regreet.nix { }; tuigreet = callPackage ../applications/display-managers/greetd/tuigreet.nix { }; wlgreet = callPackage ../applications/display-managers/greetd/wlgreet.nix { }; }; goldendict = libsForQt5.callPackage ../applications/misc/goldendict { }; goldendict-ng = qt6Packages.callPackage ../applications/misc/goldendict-ng { }; inherit (ocamlPackages) google-drive-ocamlfuse; googler = callPackage ../applications/misc/googler { python = python3; }; gqrx = qt6Packages.callPackage ../applications/radio/gqrx { }; gqrx-portaudio = qt6Packages.callPackage ../applications/radio/gqrx { portaudioSupport = true; pulseaudioSupport = false; }; gqrx-gr-audio = qt6Packages.callPackage ../applications/radio/gqrx { portaudioSupport = false; pulseaudioSupport = false; }; guitarix = callPackage ../applications/audio/guitarix { fftw = fftwSinglePrec; }; gurk-rs = callPackage ../applications/networking/instant-messengers/gurk-rs { inherit (darwin.apple_sdk.frameworks) Cocoa; }; puddletag = libsForQt5.callPackage ../applications/audio/puddletag { }; welle-io = qt6Packages.callPackage ../applications/radio/welle-io { }; wireshark = qt6Packages.callPackage ../applications/networking/sniffers/wireshark { inherit (darwin.apple_sdk_11_0.frameworks) ApplicationServices SystemConfiguration; libpcap = libpcap.override { withBluez = stdenv.hostPlatform.isLinux; }; }; wireshark-qt = wireshark; qtwirediff = qt6Packages.callPackage ../applications/networking/sniffers/qtwirediff {}; tshark = wireshark-cli; wireshark-cli = wireshark.override { withQt = false; libpcap = libpcap.override { withBluez = stdenv.hostPlatform.isLinux; }; }; fclones = callPackage ../tools/misc/fclones { }; fclones-gui = darwin.apple_sdk_11_0.callPackage ../tools/misc/fclones/gui.nix { }; feh = callPackage ../applications/graphics/feh { imlib2 = imlib2Full; }; filezilla = darwin.apple_sdk_11_0.callPackage ../applications/networking/ftp/filezilla { inherit (darwin.apple_sdk_11_0.frameworks) CoreServices Security; }; fire = darwin.apple_sdk_11_0.callPackage ../applications/audio/fire { inherit (darwin.apple_sdk_11_0.frameworks) Accelerate Cocoa WebKit CoreServices DiscRecording CoreAudioKit MetalKit; inherit (darwin.apple_sdk_11_0.libs) simd; }; buildMozillaMach = opts: callPackage (import ../applications/networking/browsers/firefox/common.nix opts) { }; firefox-unwrapped = import ../applications/networking/browsers/firefox/packages/firefox.nix { inherit stdenv lib callPackage fetchurl nixosTests buildMozillaMach; }; firefox-beta-unwrapped = import ../applications/networking/browsers/firefox/packages/firefox-beta.nix { inherit stdenv lib callPackage fetchurl nixosTests buildMozillaMach; }; firefox-devedition-unwrapped = import ../applications/networking/browsers/firefox/packages/firefox-devedition.nix { inherit stdenv lib callPackage fetchurl nixosTests buildMozillaMach; }; firefox-esr-128-unwrapped = import ../applications/networking/browsers/firefox/packages/firefox-esr-128.nix { inherit stdenv lib callPackage fetchurl nixosTests buildMozillaMach; }; firefox-esr-unwrapped = firefox-esr-128-unwrapped; firefox = wrapFirefox firefox-unwrapped { }; firefox-beta = wrapFirefox firefox-beta-unwrapped { nameSuffix = "-beta"; desktopName = "Firefox Beta"; wmClass = "firefox-beta"; icon = "firefox-beta"; }; firefox-devedition = wrapFirefox firefox-devedition-unwrapped { nameSuffix = "-devedition"; desktopName = "Firefox Developer Edition"; wmClass = "firefox-devedition"; icon = "firefox-devedition"; }; firefox-mobile = callPackage ../applications/networking/browsers/firefox/mobile-config.nix { }; firefox-esr-128 = wrapFirefox firefox-esr-128-unwrapped { nameSuffix = "-esr"; desktopName = "Firefox ESR"; wmClass = "firefox-esr"; icon = "firefox-esr"; }; firefox-esr = firefox-esr-128; firefox-bin-unwrapped = callPackage ../applications/networking/browsers/firefox-bin { channel = "release"; generated = import ../applications/networking/browsers/firefox-bin/release_sources.nix; }; firefox-bin = wrapFirefox firefox-bin-unwrapped { pname = "firefox-bin"; }; firefox-beta-bin-unwrapped = firefox-bin-unwrapped.override { channel = "beta"; generated = import ../applications/networking/browsers/firefox-bin/beta_sources.nix; }; firefox-beta-bin = res.wrapFirefox firefox-beta-bin-unwrapped { pname = "firefox-beta-bin"; desktopName = "Firefox Beta"; }; firefox-devedition-bin-unwrapped = callPackage ../applications/networking/browsers/firefox-bin { channel = "developer-edition"; generated = import ../applications/networking/browsers/firefox-bin/developer-edition_sources.nix; }; firefox-devedition-bin = res.wrapFirefox firefox-devedition-bin-unwrapped { pname = "firefox-devedition-bin"; desktopName = "Firefox DevEdition"; wmClass = "firefox-aurora"; }; librewolf-unwrapped = import ../applications/networking/browsers/librewolf { inherit stdenv lib callPackage buildMozillaMach nixosTests; }; librewolf = wrapFirefox librewolf-unwrapped { inherit (librewolf-unwrapped) extraPrefsFiles extraPoliciesFiles; libName = "librewolf"; }; firefox_decrypt = python3Packages.callPackage ../tools/security/firefox_decrypt { }; floorp-unwrapped = import ../applications/networking/browsers/floorp { inherit stdenv lib fetchFromGitHub buildMozillaMach nixosTests; }; floorp = wrapFirefox floorp-unwrapped { }; formiko = with python3Packages; callPackage ../applications/editors/formiko { inherit buildPythonApplication; }; foxotron = callPackage ../applications/graphics/foxotron { inherit (darwin.apple_sdk.frameworks) AVFoundation Carbon Cocoa CoreAudio Kernel OpenGL; }; freedv = callPackage ../applications/radio/freedv { inherit (darwin.apple_sdk.frameworks) AppKit AVFoundation Cocoa CoreMedia; codec2 = codec2.override { freedvSupport = true; }; }; freemind = callPackage ../applications/misc/freemind { jdk = jdk8; # TODO: remove override https://github.com/NixOS/nixpkgs/pull/89731 jre = jre8; # TODO: remove override https://github.com/NixOS/nixpkgs/pull/89731 }; freeoffice = callPackage ../applications/office/softmaker/freeoffice.nix { }; inherit (xorg) xlsfonts; xrdp = callPackage ../applications/networking/remote/xrdp { }; inherit ({ freerdp = callPackage ../applications/networking/remote/freerdp { inherit (darwin.apple_sdk.frameworks) AudioToolbox AVFoundation Carbon Cocoa CoreMedia; inherit (gst_all_1) gstreamer gst-plugins-base gst-plugins-good; }; freerdp3 = callPackage ../applications/networking/remote/freerdp/3.nix { stdenv = if stdenv.hostPlatform.isDarwin then overrideSDK stdenv "11.0" else stdenv; inherit (darwin.apple_sdk.frameworks) AudioToolbox AVFoundation Carbon Cocoa CoreMedia; }; }) freerdp freerdp3 ; freerdpUnstable = freerdp; gimp = callPackage ../applications/graphics/gimp { autoreconfHook = buildPackages.autoreconfHook269; lcms = lcms2; inherit (darwin.apple_sdk.frameworks) AppKit Cocoa; }; gimp-with-plugins = callPackage ../applications/graphics/gimp/wrapper.nix { plugins = null; # All packaged plugins enabled, if not explicit plugin list supplied }; gimpPlugins = recurseIntoAttrs (callPackage ../applications/graphics/gimp/plugins {}); girara = callPackage ../applications/misc/girara { gtk = gtk3; }; gtk-pipe-viewer = perlPackages.callPackage ../applications/video/pipe-viewer { withGtk3 = true; }; hydrus = python3Packages.callPackage ../applications/graphics/hydrus { inherit miniupnpc swftools; inherit (qt6) wrapQtAppsHook qtbase qtcharts; }; kemai = qt6Packages.callPackage ../applications/misc/kemai { }; jetbrains = (recurseIntoAttrs (callPackages ../applications/editors/jetbrains { vmopts = config.jetbrains.vmopts or null; jdk = jetbrains.jdk; }) // { jdk-no-jcef = callPackage ../development/compilers/jetbrains-jdk { jdk = jdk21; withJcef = false; }; jdk-no-jcef-17 = callPackage ../development/compilers/jetbrains-jdk/17.nix { withJcef = false; }; jdk = callPackage ../development/compilers/jetbrains-jdk { jdk = jdk21; }; jcef = callPackage ../development/compilers/jetbrains-jdk/jcef.nix { jdk = jdk21; }; }); librespot = callPackage ../applications/audio/librespot { withALSA = stdenv.hostPlatform.isLinux; withPulseAudio = config.pulseaudio or stdenv.hostPlatform.isLinux; withPortAudio = stdenv.hostPlatform.isDarwin; }; linssid = libsForQt5.callPackage ../applications/networking/linssid { }; linvstmanager = qt5.callPackage ../applications/audio/linvstmanager { }; deadd-notification-center = haskell.lib.compose.justStaticExecutables (haskellPackages.callPackage ../applications/misc/deadd-notification-center { }); m32edit = callPackage ../applications/audio/midas/m32edit.nix { }; manim = python3Packages.toPythonApplication python3Packages.manim; manim-slides = python3Packages.toPythonApplication ( python3Packages.manim-slides.override { withGui = true; } ); manuskript = libsForQt5.callPackage ../applications/editors/manuskript { python3Packages = python311Packages; }; minari = python3Packages.toPythonApplication python3Packages.minari; mindforger = libsForQt5.callPackage ../applications/editors/mindforger { }; molsketch = libsForQt5.callPackage ../applications/editors/molsketch { }; openutau = callPackage ../applications/audio/openutau { }; pattypan = callPackage ../applications/misc/pattypan { jdk = jdk.override { enableJavaFX = true; }; }; gkrellm = callPackage ../applications/misc/gkrellm { inherit (darwin.apple_sdk.frameworks) IOKit; }; gnunet = callPackage ../applications/networking/p2p/gnunet { }; gnunet-gtk = callPackage ../applications/networking/p2p/gnunet/gtk.nix { }; gphoto2 = callPackage ../applications/misc/gphoto2 { }; gphoto2fs = callPackage ../applications/misc/gphoto2/gphotofs.nix { }; gramps = callPackage ../applications/misc/gramps { pythonPackages = python3Packages; }; graphicsmagick_q16 = graphicsmagick.override { quantumdepth = 16; }; graphicsmagick-imagemagick-compat = graphicsmagick.imagemagick-compat; grisbi = callPackage ../applications/office/grisbi { gtk = gtk3; }; q4wine = libsForQt5.callPackage ../applications/misc/q4wine { }; qrencode = callPackage ../development/libraries/qrencode { inherit (darwin) libobjc; }; gollum = callPackage ../applications/misc/gollum { }; googleearth-pro = libsForQt5.callPackage ../applications/misc/googleearth-pro { }; gpsbabel = libsForQt5.callPackage ../applications/misc/gpsbabel { }; gpsbabel-gui = gpsbabel.override { withGUI = true; withDoc = true; }; gpu-screen-recorder = callPackage ../applications/video/gpu-screen-recorder { }; gpu-screen-recorder-gtk = callPackage ../applications/video/gpu-screen-recorder/gpu-screen-recorder-gtk.nix { }; gpxlab = libsForQt5.callPackage ../applications/misc/gpxlab { }; gpxsee-qt5 = libsForQt5.callPackage ../applications/misc/gpxsee { }; gpxsee-qt6 = qt6Packages.callPackage ../applications/misc/gpxsee { }; gpxsee = gpxsee-qt5; guvcview = libsForQt5.callPackage ../os-specific/linux/guvcview { }; hachoir = with python3Packages; toPythonApplication hachoir; heimer = libsForQt5.callPackage ../applications/misc/heimer { }; hydrogen-web-unwrapped = callPackage ../applications/networking/instant-messengers/hydrogen-web/unwrapped.nix { }; hydrogen-web = callPackage ../applications/networking/instant-messengers/hydrogen-web/wrapper.nix { conf = config.hydrogen-web.conf or { }; }; hledger = haskell.lib.compose.justStaticExecutables haskellPackages.hledger; hledger-iadd = haskell.lib.compose.justStaticExecutables haskellPackages.hledger-iadd; hledger-interest = haskell.lib.compose.justStaticExecutables haskellPackages.hledger-interest; hledger-ui = haskell.lib.compose.justStaticExecutables haskellPackages.hledger-ui; hledger-web = # TODO: Erroneous references to GHC on aarch64-darwin: https://github.com/NixOS/nixpkgs/issues/318013 (if stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64 then lib.id else haskell.lib.compose.justStaticExecutables) haskellPackages.hledger-web; hledger-utils = with python3.pkgs; toPythonApplication hledger-utils; hollywood = callPackage ../applications/misc/hollywood { inherit (python3Packages) pygments; }; hors = callPackage ../development/tools/hors { inherit (darwin.apple_sdk.frameworks) Security; }; hovercraft = python3Packages.callPackage ../applications/misc/hovercraft { }; hpack = haskell.lib.compose.justStaticExecutables haskellPackages.hpack; hpmyroom = libsForQt5.callPackage ../applications/networking/hpmyroom { }; hue-cli = callPackage ../tools/networking/hue-cli { }; hugin = callPackage ../applications/graphics/hugin { wxGTK = wxGTK32; }; huggle = libsForQt5.callPackage ../applications/misc/huggle { }; hushboard = python3.pkgs.callPackage ../applications/audio/hushboard { }; hydrogen = qt5.callPackage ../applications/audio/hydrogen { }; hyperion-ng = libsForQt5.callPackage ../applications/video/hyperion-ng { }; jackline = callPackage ../applications/networking/instant-messengers/jackline { ocamlPackages = ocaml-ng.ocamlPackages_4_14; }; meerk40t = callPackage ../applications/misc/meerk40t { }; meerk40t-camera = callPackage ../applications/misc/meerk40t/camera.nix { }; libmt32emu = callPackage ../applications/audio/munt/libmt32emu.nix { }; mt32emu-qt = libsForQt5.callPackage ../applications/audio/munt/mt32emu-qt.nix { }; mt32emu-smf2wav = callPackage ../applications/audio/munt/mt32emu-smf2wav.nix { }; noson = libsForQt5.callPackage ../applications/audio/noson { }; pass2csv = python3Packages.callPackage ../tools/security/pass2csv { }; pinboard = with python3Packages; toPythonApplication pinboard; pinboard-notes-backup = haskell.lib.compose.justStaticExecutables haskellPackages.pinboard-notes-backup; pixel2svg = python310Packages.callPackage ../tools/graphics/pixel2svg { }; pixinsight = qt6Packages.callPackage ../applications/graphics/pixinsight { }; protonup-qt = python3Packages.callPackage ../applications/misc/protonup-qt { }; inherit (callPackage ../applications/virtualization/singularity/packages.nix { }) apptainer singularity apptainer-overriden-nixos singularity-overriden-nixos ; slack = callPackage ../applications/networking/instant-messengers/slack { }; sosreport = python3Packages.callPackage ../applications/logging/sosreport { }; inherit (callPackages ../development/libraries/wlroots {}) wlroots_0_17 wlroots_0_18; sway-contrib = recurseIntoAttrs (callPackages ../applications/misc/sway-contrib { }); i3 = callPackage ../applications/window-managers/i3 { xcb-util-cursor = if stdenv.hostPlatform.isDarwin then xcb-util-cursor-HEAD else xcb-util-cursor; }; i3-auto-layout = callPackage ../applications/window-managers/i3/auto-layout.nix { }; i3-rounded = callPackage ../applications/window-managers/i3/rounded.nix { }; i3altlayout = callPackage ../applications/window-managers/i3/altlayout.nix { }; i3-balance-workspace = python3Packages.callPackage ../applications/window-managers/i3/balance-workspace.nix { }; i3-cycle-focus = callPackage ../applications/window-managers/i3/cycle-focus.nix { }; i3-easyfocus = callPackage ../applications/window-managers/i3/easyfocus.nix { }; i3-layout-manager = callPackage ../applications/window-managers/i3/layout-manager.nix { }; i3-ratiosplit = callPackage ../applications/window-managers/i3/i3-ratiosplit.nix { }; i3-resurrect = python3Packages.callPackage ../applications/window-managers/i3/i3-resurrect.nix { }; i3-swallow = python3Packages.callPackage ../applications/window-managers/i3/swallow.nix { }; i3blocks = callPackage ../applications/window-managers/i3/blocks.nix { }; i3blocks-gaps = callPackage ../applications/window-managers/i3/blocks-gaps.nix { }; i3ipc-glib = callPackage ../applications/window-managers/i3/i3ipc-glib.nix { }; i3lock = callPackage ../applications/window-managers/i3/lock.nix { cairo = cairo.override { xcbSupport = true; }; }; i3lock-blur = callPackage ../applications/window-managers/i3/lock-blur.nix { }; i3lock-color = callPackage ../applications/window-managers/i3/lock-color.nix { }; i3lock-fancy = callPackage ../applications/window-managers/i3/lock-fancy.nix { }; i3lock-fancy-rapid = callPackage ../applications/window-managers/i3/lock-fancy-rapid.nix { }; i3status = callPackage ../applications/window-managers/i3/status.nix { }; i3status-rust = callPackage ../applications/window-managers/i3/status-rust.nix { }; i3wsr = callPackage ../applications/window-managers/i3/wsr.nix { }; i3-wk-switch = callPackage ../applications/window-managers/i3/wk-switch.nix { }; kitti3 = python3.pkgs.callPackage ../applications/window-managers/i3/kitti3.nix { }; waybox = callPackage ../by-name/wa/waybox/package.nix { wlroots = wlroots_0_17; }; workstyle = callPackage ../applications/window-managers/i3/workstyle.nix { }; wmfocus = callPackage ../applications/window-managers/i3/wmfocus.nix { }; ii = callPackage ../applications/networking/irc/ii { stdenv = gccStdenv; }; ikiwiki = callPackage ../applications/misc/ikiwiki { python = python3; inherit (perlPackages.override { pkgs = pkgs // { imagemagick = imagemagickBig;}; }) ImageMagick; }; ikiwiki-full = ikiwiki.override { bazaarSupport = false; # tests broken cvsSupport = true; docutilsSupport = true; gitSupport = true; mercurialSupport = true; monotoneSupport = true; subversionSupport = true; }; iksemel = callPackage ../development/libraries/iksemel { texinfo = buildPackages.texinfo6_7; # Uses @setcontentsaftertitlepage, removed in 6.8. }; avalonia-ilspy = callPackage ../applications/misc/avalonia-ilspy { inherit (darwin) autoSignDarwinBinariesHook; }; imagemagick6_light = imagemagick6.override { bzip2Support = false; zlibSupport = false; libX11Support = false; libXtSupport = false; fontconfigSupport = false; freetypeSupport = false; ghostscriptSupport = false; libjpegSupport = false; djvulibreSupport = false; lcms2Support = false; openexrSupport = false; libpngSupport = false; liblqr1Support = false; librsvgSupport = false; libtiffSupport = false; libxml2Support = false; openjpegSupport = false; libwebpSupport = false; libheifSupport = false; libde265Support = false; }; imagemagick6 = callPackage ../applications/graphics/ImageMagick/6.x.nix { inherit (darwin.apple_sdk.frameworks) ApplicationServices Foundation; }; imagemagick6Big = imagemagick6.override { ghostscriptSupport = true; }; imagemagick_light = lowPrio (imagemagick.override { bzip2Support = false; zlibSupport = false; libX11Support = false; libXtSupport = false; fontconfigSupport = false; freetypeSupport = false; libjpegSupport = false; djvulibreSupport = false; lcms2Support = false; openexrSupport = false; libjxlSupport = false; libpngSupport = false; liblqr1Support = false; librsvgSupport = false; libtiffSupport = false; libxml2Support = false; openjpegSupport = false; libwebpSupport = false; libheifSupport = false; }); imagemagick = lowPrio (callPackage ../applications/graphics/ImageMagick { inherit (darwin.apple_sdk.frameworks) ApplicationServices Foundation; }); imagemagickBig = lowPrio (imagemagick.override { ghostscriptSupport = true; }); inherit (nodePackages) imapnotify; img2pdf = with python3Packages; toPythonApplication img2pdf; imgp = python3Packages.callPackage ../applications/graphics/imgp { }; inkcut = libsForQt5.callPackage ../applications/misc/inkcut { }; inkscape = callPackage ../applications/graphics/inkscape { lcms = lcms2; }; inkscape-with-extensions = callPackage ../applications/graphics/inkscape/with-extensions.nix { }; inkscape-extensions = recurseIntoAttrs (callPackages ../applications/graphics/inkscape/extensions.nix {}); inlyne = darwin.apple_sdk_11_0.callPackage ../applications/misc/inlyne { }; ion3 = callPackage ../applications/window-managers/ion-3 { lua = lua5_1; }; ipe = qt6Packages.callPackage ../applications/graphics/ipe { ghostscript = ghostscriptX; lua5 = lua5_3; }; irssi = callPackage ../applications/networking/irc/irssi { }; ir.lv2 = callPackage ../applications/audio/ir.lv2 { }; jabcode = callPackage ../development/libraries/jabcode { }; jabcode-writer = callPackage ../development/libraries/jabcode { subproject = "writer"; }; jabcode-reader = callPackage ../development/libraries/jabcode { subproject = "reader"; }; jabref = callPackage ../applications/office/jabref { jdk = jdk21.override { enableJavaFX = true; openjfx_jdk = openjfx23.override { withWebKit = true; }; }; }; jackmix = libsForQt5.callPackage ../applications/audio/jackmix { }; jackmix_jack1 = jackmix.override { jack = jack1; }; jalv-qt = jalv.override { useQt = true; }; jameica = callPackage ../applications/office/jameica { inherit (darwin.apple_sdk.frameworks) Cocoa; }; js8call = qt5.callPackage ../applications/radio/js8call { }; jwm = callPackage ../applications/window-managers/jwm { }; jwm-settings-manager = callPackage ../applications/window-managers/jwm/jwm-settings-manager.nix { }; inherit (callPackage ../applications/networking/cluster/k3s { }) k3s_1_28 k3s_1_29 k3s_1_30 k3s_1_31 ; k3s = k3s_1_31; kapow = libsForQt5.callPackage ../applications/misc/kapow { }; kchmviewer = libsForQt5.callPackage ../applications/misc/kchmviewer { }; okteta = libsForQt5.callPackage ../applications/editors/okteta { }; k4dirstat = libsForQt5.callPackage ../applications/misc/k4dirstat { }; kbibtex = libsForQt5.callPackage ../applications/office/kbibtex { }; kaidan = libsForQt5.callPackage ../applications/networking/instant-messengers/kaidan { }; kdeltachat = libsForQt5.callPackage ../applications/networking/instant-messengers/kdeltachat { }; kexi = libsForQt5.callPackage ../applications/office/kexi { }; kgraphviewer = libsForQt5.callPackage ../applications/graphics/kgraphviewer { }; kid3-cli = kid3.override { withCLI = true; withKDE = false; withQt = false; }; kid3-kde = kid3.override { withCLI = true; withKDE = true; withQt = false; }; kid3-qt = kid3.override { withCLI = true; withKDE = false; withQt = true; }; kiwix = libsForQt5.callPackage ../applications/misc/kiwix { }; kiwix-tools = callPackage ../applications/misc/kiwix/tools.nix { }; klayout = libsForQt5.callPackage ../applications/misc/klayout { }; klee = callPackage ../applications/science/logic/klee { llvmPackages = llvmPackages_13; }; kmetronome = qt6Packages.callPackage ../applications/audio/kmetronome { }; kmplayer = libsForQt5.callPackage ../applications/video/kmplayer { }; kmymoney = libsForQt5.callPackage ../applications/office/kmymoney { }; kotatogram-desktop = callPackage ../applications/networking/instant-messengers/telegram/kotatogram-desktop { }; krane = callPackage ../applications/networking/cluster/krane { }; krita = callPackage ../applications/graphics/krita/wrapper.nix { }; ktimetracker = libsForQt5.callPackage ../applications/office/ktimetracker { }; kubectl-evict-pod = callPackage ../applications/networking/cluster/kubectl-evict-pod { }; kubeval = callPackage ../applications/networking/cluster/kubeval { }; kubeval-schema = callPackage ../applications/networking/cluster/kubeval/schema.nix { }; kubernetes = callPackage ../applications/networking/cluster/kubernetes { }; kubectl = callPackage ../applications/networking/cluster/kubernetes/kubectl.nix { }; kubectl-convert = kubectl.convert; kubectl-view-allocations = callPackage ../applications/networking/cluster/kubectl-view-allocations { inherit (darwin.apple_sdk.frameworks) Security; }; kubelogin-oidc = callPackage ../by-name/ku/kubelogin-oidc/package.nix { buildGoModule = buildGo123Module; }; kthxbye = callPackage ../servers/monitoring/prometheus/kthxbye.nix { }; linkerd = callPackage ../applications/networking/cluster/linkerd { }; linkerd_edge = callPackage ../applications/networking/cluster/linkerd/edge.nix { }; linkerd_stable = linkerd; kuma = callPackage ../applications/networking/cluster/kuma { isFull = true; }; kuma-experimental = callPackage ../applications/networking/cluster/kuma { isFull = true; enableGateway = true; pname = "kuma-experimental"; }; kumactl = callPackage ../applications/networking/cluster/kuma { components = ["kumactl"]; pname = "kumactl"; }; kuma-cp = callPackage ../applications/networking/cluster/kuma { components = ["kuma-cp"]; pname = "kuma-cp"; }; kuma-dp = callPackage ../applications/networking/cluster/kuma { components = ["kuma-dp"]; pname = "kuma-dp"; }; kubernetes-helm = callPackage ../applications/networking/cluster/helm { }; wrapHelm = callPackage ../applications/networking/cluster/helm/wrapper.nix { }; kubernetes-helm-wrapped = wrapHelm kubernetes-helm { }; kubernetes-helmPlugins = recurseIntoAttrs (callPackage ../applications/networking/cluster/helm/plugins { }); kup = libsForQt5.callPackage ../applications/misc/kup { }; timoni = callPackage ../applications/networking/cluster/timoni { }; kvirc = libsForQt5.callPackage ../applications/networking/irc/kvirc { }; ladspaH = callPackage ../applications/audio/ladspa-sdk/ladspah.nix { }; ladspaPlugins = callPackage ../applications/audio/ladspa-plugins { fftw = fftwSinglePrec; }; ladspa-sdk = callPackage ../applications/audio/ladspa-sdk { }; ladybird = callPackage ../applications/networking/browsers/ladybird { stdenv = if stdenv.hostPlatform.isDarwin then overrideSDK stdenv "11.0" else stdenv; inherit (darwin.apple_sdk_11_0.frameworks) AppKit Cocoa Foundation OpenGL; }; lemonbar = callPackage ../applications/window-managers/lemonbar { }; lemonbar-xft = callPackage ../applications/window-managers/lemonbar/xft.nix { }; lenovo-legion = libsForQt5.callPackage ../os-specific/linux/lenovo-legion/app.nix { }; leo-editor = libsForQt5.callPackage ../applications/editors/leo-editor { }; libkiwix = callPackage ../applications/misc/kiwix/lib.nix { }; librecad = libsForQt5.callPackage ../applications/misc/librecad { }; libreoffice-bin = callPackage ../applications/office/libreoffice/darwin { }; libreoffice = hiPrio libreoffice-still; libreoffice-unwrapped = libreoffice.unwrapped; libreoffice-qt = hiPrio libreoffice-qt-still; libreoffice-qt-unwrapped = libreoffice-qt.unwrapped; libreoffice-qt-fresh = lowPrio (callPackage ../applications/office/libreoffice/wrapper.nix { unwrapped = libsForQt5.callPackage ../applications/office/libreoffice { kdeIntegration = true; variant = "fresh"; }; }); libreoffice-qt-fresh-unwrapped = libreoffice-qt-fresh.unwrapped; libreoffice-qt-still = lowPrio (callPackage ../applications/office/libreoffice/wrapper.nix { unwrapped = libsForQt5.callPackage ../applications/office/libreoffice { kdeIntegration = true; variant = "still"; }; }); libreoffice-qt-still-unwrapped = libreoffice-qt-still.unwrapped; libreoffice-qt6 = hiPrio libreoffice-qt6-still; libreoffice-qt6-unwrapped = libreoffice-qt6.unwrapped; libreoffice-qt6-fresh = lowPrio (callPackage ../applications/office/libreoffice/wrapper.nix { unwrapped = kdePackages.callPackage ../applications/office/libreoffice { kdeIntegration = true; variant = "fresh"; }; }); libreoffice-qt6-fresh-unwrapped = libreoffice-qt6-fresh.unwrapped; libreoffice-qt6-still = lowPrio (callPackage ../applications/office/libreoffice/wrapper.nix { unwrapped = kdePackages.callPackage ../applications/office/libreoffice { kdeIntegration = true; variant = "still"; }; }); libreoffice-qt6-still-unwrapped = libreoffice-qt-still.unwrapped; libreoffice-fresh = lowPrio (callPackage ../applications/office/libreoffice/wrapper.nix { unwrapped = callPackage ../applications/office/libreoffice { variant = "fresh"; }; }); libreoffice-fresh-unwrapped = libreoffice-fresh.unwrapped; libreoffice-still = lowPrio (callPackage ../applications/office/libreoffice/wrapper.nix { unwrapped = callPackage ../applications/office/libreoffice { variant = "still"; }; }); libreoffice-still-unwrapped = libreoffice-still.unwrapped; libreoffice-collabora = callPackage ../applications/office/libreoffice { variant = "collabora"; withFonts = true; }; libresprite = callPackage ../applications/editors/libresprite { inherit (darwin.apple_sdk.frameworks) AppKit Cocoa Foundation; }; libutp = callPackage ../applications/networking/p2p/libutp { }; libutp_3_4 = callPackage ../applications/networking/p2p/libutp/3.4.nix { }; littlegptracker = callPackage ../applications/audio/littlegptracker { inherit (darwin.apple_sdk.frameworks) Foundation; }; ledger-web = callPackage ../applications/office/ledger-web { }; lightburn = libsForQt5.callPackage ../applications/graphics/lightburn { }; lighthouse-steamvr = callPackage ../tools/misc/lighthouse-steamvr { inherit (darwin.apple_sdk.frameworks) AppKit; }; linphone = libsForQt5.callPackage ../applications/networking/instant-messengers/linphone { }; lmms = libsForQt5.callPackage ../applications/audio/lmms { lame = null; libsoundio = null; portaudio = null; }; lsp-plugins = callPackage ../applications/audio/lsp-plugins { php = php82; }; luminanceHDR = libsForQt5.callPackage ../applications/graphics/luminance-hdr { }; luddite = with python3Packages; toPythonApplication luddite; goobook = with python3Packages; toPythonApplication goobook; lumail = callPackage ../applications/networking/mailreaders/lumail { lua = lua5_1; }; lutris-unwrapped = python3.pkgs.callPackage ../applications/misc/lutris { }; lutris = callPackage ../applications/misc/lutris/fhsenv.nix { }; lutris-free = lutris.override { steamSupport = false; }; lv2lint = callPackage ../applications/audio/lv2lint/default.nix { }; lxi-tools = callPackage ../tools/networking/lxi-tools { }; lxi-tools-gui = callPackage ../tools/networking/lxi-tools { withGui = true; }; lyx = libsForQt5.callPackage ../applications/misc/lyx { }; magic-wormhole = with python3Packages; toPythonApplication magic-wormhole; magic-wormhole-rs = callPackage ../tools/networking/magic-wormhole-rs { inherit (darwin.apple_sdk.frameworks) Security AppKit; }; magnetophonDSP = lib.recurseIntoAttrs { CharacterCompressor = callPackage ../applications/audio/magnetophonDSP/CharacterCompressor { }; CompBus = callPackage ../applications/audio/magnetophonDSP/CompBus { }; ConstantDetuneChorus = callPackage ../applications/audio/magnetophonDSP/ConstantDetuneChorus { }; faustCompressors = callPackage ../applications/audio/magnetophonDSP/faustCompressors { }; LazyLimiter = callPackage ../applications/audio/magnetophonDSP/LazyLimiter { }; MBdistortion = callPackage ../applications/audio/magnetophonDSP/MBdistortion { }; pluginUtils = callPackage ../applications/audio/magnetophonDSP/pluginUtils { }; RhythmDelay = callPackage ../applications/audio/magnetophonDSP/RhythmDelay { }; VoiceOfFaust = callPackage ../applications/audio/magnetophonDSP/VoiceOfFaust { }; shelfMultiBand = callPackage ../applications/audio/magnetophonDSP/shelfMultiBand { }; }; mandelbulber = libsForQt5.callPackage ../applications/graphics/mandelbulber { }; mapmap = libsForQt5.callPackage ../applications/video/mapmap { }; mastodon-bot = nodePackages.mastodon-bot; matrix-commander = python3Packages.callPackage ../applications/networking/instant-messengers/matrix-commander { }; mbrola = callPackage ../applications/audio/mbrola { }; mbrola-voices = callPackage ../applications/audio/mbrola/voices.nix { }; mdzk = callPackage ../applications/misc/mdzk { inherit (darwin.apple_sdk.frameworks) CoreServices; }; mediaelch = mediaelch-qt5; mediaelch-qt5 = libsForQt5.callPackage ../applications/misc/mediaelch { }; mediaelch-qt6 = qt6Packages.callPackage ../applications/misc/mediaelch { }; melmatcheq.lv2 = callPackage ../applications/audio/melmatcheq.lv2 { }; mendeley = libsForQt5.callPackage ../applications/office/mendeley { gconf = gnome2.GConf; }; menyoki = callPackage ../applications/graphics/menyoki { inherit (darwin.apple_sdk.frameworks) AppKit; }; mercurial = callPackage ../applications/version-management/mercurial { inherit (darwin.apple_sdk.frameworks) ApplicationServices; }; sapling = callPackage ../applications/version-management/sapling { inherit (darwin.apple_sdk.frameworks) Cocoa CoreFoundation CoreGraphics CoreServices Security WebKit; }; mercurialFull = mercurial.override { fullBuild = true; }; meshcentral = callPackage ../tools/admin/meshcentral { }; meshlab = libsForQt5.callPackage ../applications/graphics/meshlab { }; michabo = libsForQt5.callPackage ../applications/misc/michabo { }; midori = wrapFirefox midori-unwrapped { }; miniaudicle = qt6Packages.callPackage ../applications/audio/miniaudicle { }; minidsp = callPackage ../applications/audio/minidsp { inherit (darwin.apple_sdk.frameworks) AppKit IOKit; }; minicom = callPackage ../tools/misc/minicom { inherit (darwin.apple_sdk.frameworks) IOKit; }; minikube = callPackage ../applications/networking/cluster/minikube { inherit (darwin.apple_sdk.frameworks) vmnet; }; minitube = libsForQt5.callPackage ../applications/video/minitube { }; mixxx = libsForQt5.callPackage ../applications/audio/mixxx { }; mldonkey = callPackage ../applications/networking/p2p/mldonkey { ocamlPackages = ocaml-ng.ocamlPackages_4_14_unsafe_string; }; mmex = callPackage ../applications/office/mmex { wxGTK32 = wxGTK32.override { withWebKit = true; }; }; mmlgui = callPackage ../applications/audio/mmlgui { inherit (darwin.apple_sdk.frameworks) Carbon Cocoa; libvgm = libvgm.override { withAllEmulators = false; emulators = [ "_PRESET_SMD" ]; enableLibplayer = false; }; }; moc = callPackage ../applications/audio/moc { inherit (darwin.apple_sdk.frameworks) CoreServices; }; xmrig = darwin.apple_sdk_11_0.callPackage ../applications/misc/xmrig { }; xmrig-mo = darwin.apple_sdk_11_0.callPackage ../applications/misc/xmrig/moneroocean.nix { }; xmrig-proxy = darwin.apple_sdk_11_0.callPackage ../applications/misc/xmrig/proxy.nix { }; monotone = callPackage ../applications/version-management/monotone { lua = lua5; }; monotoneViz = callPackage ../applications/version-management/monotone-viz { ocamlPackages = ocaml-ng.ocamlPackages_4_14_unsafe_string; }; monitor = callPackage ../applications/system/monitor { libXNVCtrl = linuxPackages.nvidia_x11.settings.libXNVCtrl; }; moolticute = libsForQt5.callPackage ../applications/misc/moolticute { }; mopidyPackages = (callPackages ../applications/audio/mopidy { python = python3; }) // { __attrsFailEvaluation = true; }; inherit (mopidyPackages) mopidy mopidy-bandcamp mopidy-iris mopidy-jellyfin mopidy-local mopidy-moped mopidy-mopify mopidy-mpd mopidy-mpris mopidy-muse mopidy-musicbox-webclient mopidy-notify mopidy-podcast mopidy-scrobbler mopidy-somafm mopidy-soundcloud mopidy-spotify mopidy-subidy mopidy-tidal mopidy-tunein mopidy-youtube mopidy-ytmusic; edgetx = libsForQt5.callPackage ../applications/misc/edgetx { }; mpg123 = callPackage ../applications/audio/mpg123 { inherit (darwin.apple_sdk.frameworks) AudioUnit AudioToolbox; jack = libjack2; }; libmpg123 = mpg123.override { libOnly = true; withConplay = false; }; nbstripout = callPackage ../applications/version-management/nbstripout { }; pragha = libsForQt5.callPackage ../applications/audio/pragha { }; rofi-emoji = (callPackage ../applications/misc/rofi-emoji { }).v3; rofi-emoji-wayland = ( callPackage ../applications/misc/rofi-emoji { rofi-unwrapped = rofi-wayland-unwrapped; } ).v4; rofi-rbw = python3Packages.callPackage ../applications/misc/rofi-rbw { waylandSupport = false; x11Support = false; }; rofi-rbw-wayland = python3Packages.callPackage ../applications/misc/rofi-rbw { waylandSupport = true; }; rofi-rbw-x11 = python3Packages.callPackage ../applications/misc/rofi-rbw { x11Support = true; }; seamly2d = libsForQt5.callPackage ../applications/graphics/seamly2d { }; # a somewhat more maintained fork of ympd memento = qt6Packages.callPackage ../applications/video/memento { }; mpc-qt = qt6Packages.callPackage ../applications/video/mpc-qt { }; mplayer = callPackage ../applications/video/mplayer ({ libdvdnav = libdvdnav_4_2_1; } // (config.mplayer or {})); mpv-unwrapped = callPackage ../applications/video/mpv { stdenv = if stdenv.hostPlatform.isDarwin then swiftPackages.stdenv else stdenv; }; # Wrap avoiding rebuild mpv = mpv-unwrapped.wrapper { mpv = mpv-unwrapped; }; mpvScripts = mpv-unwrapped.scripts; shaka-packager = callPackage ../by-name/sh/shaka-packager/package.nix { abseil-cpp = abseil-cpp_202401; }; mu-repo = python3Packages.callPackage ../applications/misc/mu-repo { }; murmur = (callPackages ../applications/networking/mumble { avahi = avahi-compat; pulseSupport = config.pulseaudio or false; iceSupport = config.murmur.iceSupport or true; }).murmur; mumble = (callPackages ../applications/networking/mumble { avahi = avahi-compat; jackSupport = config.mumble.jackSupport or false; speechdSupport = config.mumble.speechdSupport or false; }).mumble; mumble_overlay = callPackage ../applications/networking/mumble/overlay.nix { mumble_i686 = if stdenv.hostPlatform.system == "x86_64-linux" then pkgsi686Linux.mumble else null; }; mup = callPackage ../applications/audio/mup { autoreconfHook = buildPackages.autoreconfHook269; }; musescore = qt6.callPackage ../applications/audio/musescore { }; mwic = callPackage ../applications/misc/mwic { pythonPackages = python3Packages; }; neomutt = darwin.apple_sdk_11_0.callPackage ../applications/networking/mailreaders/neomutt { }; natron = libsForQt5.callPackage ../applications/video/natron { }; netmaker = callPackage ../applications/networking/netmaker {subPackages = ["."];}; netmaker-full = callPackage ../applications/networking/netmaker { }; ninja_1_11 = callPackage ../by-name/ni/ninja/package.nix { ninjaRelease = "1.11"; }; nootka = qt5.callPackage ../applications/audio/nootka { }; opcua-client-gui = libsForQt5.callPackage ../misc/opcua-client-gui { }; ostinato = libsForQt5.callPackage ../applications/networking/ostinato { protobuf = protobuf_21; }; p4 = callPackage ../applications/version-management/p4 { inherit (darwin.apple_sdk.frameworks) CoreServices Foundation Security; }; p4v = qt6Packages.callPackage ../applications/version-management/p4v { }; pc-ble-driver = callPackage ../development/libraries/pc-ble-driver { inherit (darwin.apple_sdk.frameworks) IOKit; }; pcmanfm-qt = lxqt.pcmanfm-qt; pdfmixtool = libsForQt5.callPackage ../applications/office/pdfmixtool { }; pijuice = with python3Packages; toPythonApplication pijuice; pinegrow6 = callPackage ../applications/editors/pinegrow { pinegrowVersion = "6"; }; pinegrow = callPackage ../applications/editors/pinegrow { }; pipe-viewer = perlPackages.callPackage ../applications/video/pipe-viewer { }; playonlinux = callPackage ../applications/misc/playonlinux { stdenv = stdenv_32bit; }; pleroma-bot = python3Packages.callPackage ../development/python-modules/pleroma-bot { }; pnglatex = with python3Packages; toPythonApplication pnglatex; polybarFull = polybar.override { alsaSupport = true; githubSupport = true; mpdSupport = true; pulseSupport = true; iwSupport = false; nlSupport = true; i3Support = true; }; polyphone = qt6.callPackage ../applications/audio/polyphone { }; roxctl = callPackage ../applications/networking/cluster/roxctl { }; rssguard = libsForQt5.callPackage ../applications/networking/feedreaders/rssguard { }; scx = recurseIntoAttrs (callPackage ../os-specific/linux/scx { }); shogun = callPackage ../applications/science/machine-learning/shogun { protobuf = protobuf_21; }; smtube = libsForQt5.callPackage ../applications/video/smtube { }; softmaker-office = callPackage ../applications/office/softmaker/softmaker_office.nix { }; synapse-bt = callPackage ../applications/networking/p2p/synapse-bt { inherit (darwin.apple_sdk.frameworks) CoreServices Security; }; taxi-cli = with python3Packages; toPythonApplication taxi; mpop = callPackage ../applications/networking/mpop { inherit (darwin.apple_sdk.frameworks) Security; }; msmtp = callPackage ../applications/networking/msmtp { inherit (darwin.apple_sdk.frameworks) Security; autoreconfHook = buildPackages.autoreconfHook269; }; imapfilter = callPackage ../applications/networking/mailreaders/imapfilter.nix { lua = lua5; }; pdfsam-basic = callPackage ../applications/misc/pdfsam-basic { jdk21 = openjdk21.override { enableJavaFX = true; }; }; mupdf-headless = mupdf.override { enableX11 = false; enableGL = false; }; muso = callPackage ../applications/audio/muso { inherit (darwin.apple_sdk.frameworks) CoreServices; }; diffpdf = libsForQt5.callPackage ../applications/misc/diffpdf { }; diff-pdf = callPackage ../applications/misc/diff-pdf { wxGTK = wxGTK32; inherit (darwin.apple_sdk.frameworks) Cocoa; }; mypaint-brushes1 = callPackage ../development/libraries/mypaint-brushes/1.0.nix { }; mypaint-brushes = callPackage ../development/libraries/mypaint-brushes { }; mythtv = libsForQt5.callPackage ../applications/video/mythtv { }; nano = callPackage ../applications/editors/nano { }; ncdu = callPackage ../tools/misc/ncdu { }; ncdu_1 = callPackage ../tools/misc/ncdu/1.nix { }; notepad-next = libsForQt5.callPackage ../applications/editors/notepad-next { }; notepadqq = libsForQt5.callPackage ../applications/editors/notepadqq { }; notmuch = callPackage ../applications/networking/mailreaders/notmuch { pythonPackages = python3Packages; }; notmuch-mutt = callPackage ../applications/networking/mailreaders/notmuch/mutt.nix { }; muchsync = callPackage ../applications/networking/mailreaders/notmuch/muchsync.nix { }; nufraw = callPackage ../applications/graphics/nufraw { }; nufraw-thumbnailer = callPackage ../applications/graphics/nufraw { addThumbnailer = true; }; gnome-obfuscate = callPackage ../applications/graphics/gnome-obfuscate { inherit (darwin.apple_sdk.frameworks) Foundation; }; obs-studio = qt6Packages.callPackage ../applications/video/obs-studio { ffmpeg = ffmpeg-full; }; obs-studio-plugins = recurseIntoAttrs (callPackage ../applications/video/obs-studio/plugins {}); wrapOBS = callPackage ../applications/video/obs-studio/wrapper.nix { }; omegat = callPackage ../applications/misc/omegat.nix { }; inherit (callPackage ../applications/networking/onionshare { }) onionshare onionshare-gui; openambit = qt5.callPackage ../applications/misc/openambit { }; openbox-menu = callPackage ../applications/misc/openbox-menu { stdenv = gccStdenv; }; openbrf = libsForQt5.callPackage ../applications/misc/openbrf { }; opencpn = callPackage ../applications/misc/opencpn { inherit (darwin) DarwinTools; inherit (darwin.apple_sdk.frameworks) AppKit; }; openimageio = darwin.apple_sdk_11_0.callPackage ../development/libraries/openimageio { openexr = openexr_3; }; open-music-kontrollers = lib.recurseIntoAttrs { eteroj = callPackage ../applications/audio/open-music-kontrollers/eteroj.nix { }; jit = callPackage ../applications/audio/open-music-kontrollers/jit.nix { }; mephisto = callPackage ../applications/audio/open-music-kontrollers/mephisto.nix { }; midi_matrix = callPackage ../applications/audio/open-music-kontrollers/midi_matrix.nix { }; moony = callPackage ../applications/audio/open-music-kontrollers/moony.nix { }; orbit = callPackage ../applications/audio/open-music-kontrollers/orbit.nix { }; patchmatrix = callPackage ../applications/audio/open-music-kontrollers/patchmatrix.nix { }; router = callPackage ../applications/audio/open-music-kontrollers/router.nix { }; sherlock = callPackage ../applications/audio/open-music-kontrollers/sherlock.nix { }; synthpod = callPackage ../applications/audio/open-music-kontrollers/synthpod.nix { }; vm = callPackage ../applications/audio/open-music-kontrollers/vm.nix { }; }; openrsync = darwin.apple_sdk_11_0.callPackage ../applications/networking/sync/openrsync { }; openscad = libsForQt5.callPackage ../applications/graphics/openscad { }; opentimestamps-client = python3Packages.callPackage ../tools/misc/opentimestamps-client { }; opentoonz = libsForQt5.callPackage ../applications/graphics/opentoonz { }; opentabletdriver = callPackage ../tools/X11/opentabletdriver { }; opentx = libsForQt5.callPackage ../applications/misc/opentx { }; organicmaps = qt6Packages.callPackage ../applications/misc/organicmaps { }; owofetch = callPackage ../tools/misc/owofetch { inherit (darwin.apple_sdk.frameworks) Foundation DiskArbitration; }; vivaldi = callPackage ../applications/networking/browsers/vivaldi { }; vivaldi-ffmpeg-codecs = callPackage ../applications/networking/browsers/vivaldi/ffmpeg-codecs.nix { }; libopenmpt = callPackage ../development/libraries/audio/libopenmpt { }; openrazer-daemon = python3Packages.toPythonApplication python3Packages.openrazer-daemon; orpie = callPackage ../applications/misc/orpie { ocamlPackages = ocaml-ng.ocamlPackages_4_14; }; osmscout-server = libsForQt5.callPackage ../applications/misc/osmscout-server { protobuf = protobuf_21.override { abseil-cpp = abseil-cpp_202103.override { cxxStandard = "17"; }; }; }; palemoon-bin = callPackage ../applications/networking/browsers/palemoon/bin.nix { }; pantalaimon = callPackage ../applications/networking/instant-messengers/pantalaimon { }; pantalaimon-headless = callPackage ../applications/networking/instant-messengers/pantalaimon { enableDbusUi = false; }; parsec-bin = callPackage ../applications/misc/parsec/bin.nix { }; paraview = libsForQt5.callPackage ../applications/graphics/paraview { }; pekwm = callPackage ../by-name/pe/pekwm/package.nix { awk = gawk; grep = gnugrep; sed = gnused; }; pencil = callPackage ../applications/graphics/pencil { }; petrifoo = callPackage ../applications/audio/petrifoo { inherit (gnome2) libgnomecanvas; }; pdfpc = callPackage ../applications/misc/pdfpc { inherit (gst_all_1) gstreamer gst-plugins-base gst-plugins-good gst-libav; }; peaclock = callPackage ../applications/misc/peaclock { stdenv = gccStdenv; }; peertube = callPackage ../servers/peertube { nodejs = nodejs_18; }; photoqt = callPackage ../by-name/ph/photoqt/package.nix { stdenv = if stdenv.hostPlatform.isDarwin then overrideSDK stdenv "11.0" else stdenv; }; photoflare = libsForQt5.callPackage ../applications/graphics/photoflare { }; phototonic = libsForQt5.callPackage ../applications/graphics/phototonic { }; pianobooster = qt5.callPackage ../applications/audio/pianobooster { }; pianoteq = callPackage ../applications/audio/pianoteq { }; pidginPackages = recurseIntoAttrs (callPackage ../applications/networking/instant-messengers/pidgin/pidgin-plugins { }); inherit (pidginPackages) pidgin; pithos = callPackage ../applications/audio/pithos { pythonPackages = python3Packages; }; pineapple-pictures = qt6Packages.callPackage ../applications/graphics/pineapple-pictures { }; plater = libsForQt5.callPackage ../applications/misc/plater { }; plexamp = callPackage ../applications/audio/plexamp { }; plex-media-player = libsForQt5.callPackage ../applications/video/plex-media-player { }; plex-mpv-shim = python3Packages.callPackage ../applications/video/plex-mpv-shim { }; plover = recurseIntoAttrs (libsForQt5.callPackage ../applications/misc/plover { }); pokefinder = qt6Packages.callPackage ../tools/games/pokefinder { }; pomodoro = callPackage ../applications/misc/pomodoro { inherit (darwin.apple_sdk.frameworks) Foundation; }; pothos = libsForQt5.callPackage ../applications/radio/pothos { }; qiv = callPackage ../applications/graphics/qiv { imlib2 = imlib2Full; }; processing = callPackage ../applications/graphics/processing { jdk = jdk17; }; # perhaps there are better apps for this task? It's how I had configured my preivous system. # And I don't want to rewrite all rules profanity = callPackage ../applications/networking/instant-messengers/profanity ({ } // (config.profanity or {})); protonvpn-cli = python3Packages.callPackage ../applications/networking/protonvpn-cli { }; protonvpn-cli_2 = python3Packages.callPackage ../applications/networking/protonvpn-cli/2.nix { }; protonvpn-gui = python3Packages.callPackage ../applications/networking/protonvpn-gui { }; psi = libsForQt5.callPackage ../applications/networking/instant-messengers/psi { }; psi-plus = libsForQt5.callPackage ../applications/networking/instant-messengers/psi-plus { }; pulseview = libsForQt5.callPackage ../applications/science/electronics/pulseview { }; puredata = callPackage ../applications/audio/puredata { }; puredata-with-plugins = plugins: callPackage ../applications/audio/puredata/wrapper.nix { inherit plugins; }; pure-maps = libsForQt5.callPackage ../applications/misc/pure-maps { }; qbittorrent = qt6Packages.callPackage ../applications/networking/p2p/qbittorrent { inherit (darwin.apple_sdk.frameworks) Cocoa; }; qbittorrent-nox = qbittorrent.override { guiSupport = false; }; qcad = libsForQt5.callPackage ../applications/misc/qcad { }; qcomicbook = libsForQt5.callPackage ../applications/graphics/qcomicbook { }; qctools = libsForQt5.callPackage ../applications/video/qctools { }; qelectrotech = libsForQt5.callPackage ../applications/misc/qelectrotech { }; eiskaltdcpp = libsForQt5.callPackage ../applications/networking/p2p/eiskaltdcpp { }; qemu = callPackage ../applications/virtualization/qemu { inherit (darwin.apple_sdk_12_3.frameworks) CoreServices Cocoa Hypervisor Kernel vmnet; inherit (darwin.stubs) rez setfile; inherit (darwin) sigtool; stdenv = if stdenv.hostPlatform.isDarwin then overrideSDK stdenv { darwinSdkVersion = "12.3"; darwinMinVersion = "12.0"; } else stdenv; }; qemu-python-utils = python3Packages.toPythonApplication ( python3Packages.qemu.override { fuseSupport = true; tuiSupport = true; } ); qemu-utils = qemu.override { toolsOnly = true; }; # variant of qemu building user space emulator only - intended to be used from pkgsStatic qemu-user = qemu.override { userOnly = true; }; canokey-qemu = callPackage ../applications/virtualization/qemu/canokey-qemu.nix { }; wrapQemuBinfmtP = callPackage ../applications/virtualization/qemu/binfmt-p-wrapper.nix { }; qjackctl = libsForQt5.callPackage ../applications/audio/qjackctl { }; qimgv = libsForQt5.callPackage ../applications/graphics/qimgv { }; qmediathekview = libsForQt5.callPackage ../applications/video/qmediathekview { }; qmplay2-qt5 = qmplay2.override { qtVersion = "5"; }; qmplay2-qt6 = qmplay2.override { qtVersion = "6"; }; qmidinet = libsForQt5.callPackage ../applications/audio/qmidinet { }; qmmp = qt6Packages.callPackage ../applications/audio/qmmp { }; qnotero = libsForQt5.callPackage ../applications/office/qnotero { }; qpwgraph = qt6Packages.callPackage ../applications/audio/qpwgraph { }; qsampler = libsForQt5.callPackage ../applications/audio/qsampler { }; qscreenshot = libsForQt5.callPackage ../applications/graphics/qscreenshot { }; qsstv = qt5.callPackage ../applications/radio/qsstv { }; qsyncthingtray = libsForQt5.callPackage ../applications/misc/qsyncthingtray { }; qstopmotion = libsForQt5.callPackage ../applications/video/qstopmotion { guvcview = guvcview.override { useQt = true; useGtk = false; }; }; qsudo = libsForQt5.callPackage ../applications/misc/qsudo { }; qsynth = libsForQt5.callPackage ../applications/audio/qsynth { }; qtbitcointrader = libsForQt5.callPackage ../applications/misc/qtbitcointrader { }; qtchan = libsForQt5.callPackage ../applications/networking/browsers/qtchan { }; qtemu = libsForQt5.callPackage ../applications/virtualization/qtemu { }; qtox = libsForQt5.callPackage ../applications/networking/instant-messengers/qtox { inherit (darwin.apple_sdk.frameworks) AVFoundation; }; qtpass = libsForQt5.callPackage ../applications/misc/qtpass { }; quassel = libsForQt5.callPackage ../applications/networking/irc/quassel { stdenv = if stdenv.hostPlatform.isDarwin then darwin.apple_sdk_11_0.stdenv else stdenv; }; quasselClient = quassel.override { monolithic = false; client = true; tag = "-client-kf5"; }; quasselDaemon = quassel.override { monolithic = false; enableDaemon = true; withKDE = false; tag = "-daemon-qt5"; }; quiterss = libsForQt5.callPackage ../applications/networking/newsreaders/quiterss { }; quodlibet = callPackage ../applications/audio/quodlibet { kakasi = null; keybinder3 = null; libappindicator-gtk3 = null; libmodplug = null; libsoup = libsoup_3; }; quodlibet-without-gst-plugins = quodlibet.override { libsoup = libsoup_3; tag = "-without-gst-plugins"; withGstPlugins = false; }; quodlibet-xine = quodlibet.override { libsoup = libsoup_3; tag = "-xine"; withGstreamerBackend = false; withXineBackend = true; }; quodlibet-full = quodlibet.override { inherit gtksourceview webkitgtk_4_0; kakasi = kakasi; keybinder3 = keybinder3; libappindicator-gtk3 = libappindicator-gtk3; libmodplug = libmodplug; libsoup = libsoup_3; tag = "-full"; withDbusPython = true; withMusicBrainzNgs = true; withPahoMqtt = true; withPypresence = true; withSoco = true; }; quodlibet-xine-full = quodlibet-full.override { libsoup = libsoup_3; tag = "-xine-full"; withGstreamerBackend = false; withXineBackend = true; }; qutebrowser = callPackage ../applications/networking/browsers/qutebrowser { inherit (__splicedPackages.qt6Packages) qtbase qtwebengine wrapQtAppsHook qtwayland; }; qutebrowser-qt5 = callPackage ../applications/networking/browsers/qutebrowser { inherit (__splicedPackages.libsForQt5) qtbase qtwebengine wrapQtAppsHook qtwayland; }; rakarrack = callPackage ../applications/audio/rakarrack { fltk = fltk13; }; radiotray-ng = callPackage ../applications/audio/radiotray-ng { wxGTK = wxGTK32; }; rapid-photo-downloader = libsForQt5.callPackage ../applications/graphics/rapid-photo-downloader { }; rawtherapee = callPackage ../applications/graphics/rawtherapee { fftw = fftwSinglePrec; }; rclone = callPackage ../applications/networking/sync/rclone { }; rclone-browser = libsForQt5.callPackage ../applications/networking/sync/rclone/browser.nix { }; rdedup = callPackage ../tools/backup/rdedup { inherit (darwin.apple_sdk.frameworks) Security; }; reaper = callPackage ../applications/audio/reaper { jackLibrary = libjack2; # Another option is "pipewire.jack". ffmpeg = ffmpeg_4-headless; }; reddsaver = callPackage ../applications/misc/reddsaver { inherit (darwin.apple_sdk.frameworks) Security; }; rednotebook = python3Packages.callPackage ../applications/editors/rednotebook { }; restique = libsForQt5.callPackage ../applications/backup/restique { }; retroshare = libsForQt5.callPackage ../applications/networking/p2p/retroshare { }; rgp = libsForQt5.callPackage ../development/tools/rgp { }; ripcord = if stdenv.hostPlatform.isLinux then qt5.callPackage ../applications/networking/instant-messengers/ripcord { } else callPackage ../applications/networking/instant-messengers/ripcord/darwin.nix { }; inherit (callPackage ../applications/networking/cluster/rke2 { }) rke2_stable rke2_latest rke2_testing; rke2 = rke2_stable; rofi-unwrapped = callPackage ../applications/misc/rofi { }; rofi = callPackage ../applications/misc/rofi/wrapper.nix { }; rofi-wayland-unwrapped = callPackage ../applications/misc/rofi/wayland.nix { }; rofi-wayland = callPackage ../applications/misc/rofi/wrapper.nix { rofi-unwrapped = rofi-wayland-unwrapped; }; rofi-pass = callPackage ../tools/security/pass/rofi-pass.nix { }; rofi-pass-wayland = callPackage ../tools/security/pass/rofi-pass.nix { backend = "wayland"; }; rstudio = libsForQt5.callPackage ../applications/editors/rstudio { jdk = jdk8; }; rstudio-server = rstudio.override { server = true; }; rsync = callPackage ../applications/networking/sync/rsync (config.rsync or {}); rrsync = callPackage ../applications/networking/sync/rsync/rrsync.nix { }; inherit (callPackages ../applications/radio/rtl-sdr { }) rtl-sdr-librtlsdr rtl-sdr-osmocom rtl-sdr-blog; rtl-sdr = rtl-sdr-blog; rucredstash = callPackage ../tools/security/rucredstash { inherit (darwin.apple_sdk.frameworks) Security; }; rusty-psn-gui = rusty-psn.override { withGui = true; }; rymdport = callPackage ../applications/networking/rymdport { inherit (darwin.apple_sdk.frameworks) Carbon Cocoa; }; savvycan = libsForQt5.callPackage ../applications/networking/sniffers/savvycan {}; sayonara = libsForQt5.callPackage ../applications/audio/sayonara { }; scantailor-advanced = libsForQt5.callPackage ../applications/graphics/scantailor/advanced.nix { }; scantailor-universal = libsForQt5.callPackage ../applications/graphics/scantailor/universal.nix { }; scribus_1_5 = libsForQt5.callPackage ../applications/office/scribus/default.nix { }; scribus = scribus_1_5; seafile-client = libsForQt5.callPackage ../applications/networking/seafile-client { }; seq66 = qt5.callPackage ../applications/audio/seq66 { }; sfxr-qt = libsForQt5.callPackage ../applications/audio/sfxr-qt { }; sommelier = callPackage ../applications/window-managers/sommelier { }; spotify-qt = libsForQt5.callPackage ../applications/audio/spotify-qt { }; squishyball = callPackage ../applications/audio/squishyball { ncurses = ncurses5; }; sonic-pi = libsForQt5.callPackage ../applications/audio/sonic-pi { }; stag = callPackage ../applications/misc/stag { curses = ncurses; }; sweethome3d = recurseIntoAttrs ( (callPackage ../applications/misc/sweethome3d { }) // (callPackage ../applications/misc/sweethome3d/editors.nix { sweethome3dApp = sweethome3d.application; }) ); sxiv = callPackage ../applications/graphics/sxiv { imlib2 = imlib2Full; }; nsxiv = callPackage ../by-name/ns/nsxiv/package.nix { imlib2 = imlib2Full; }; dropbox = callPackage ../applications/networking/dropbox { }; dropbox-cli = callPackage ../applications/networking/dropbox/cli.nix { }; maestral = with python3Packages; toPythonApplication maestral; maestral-gui = qt6Packages.callPackage ../applications/networking/maestral-qt { }; myfitnesspal = with python3Packages; toPythonApplication myfitnesspal; libstrangle = callPackage ../tools/X11/libstrangle { stdenv = stdenv_32bit; }; lightdm = libsForQt5.callPackage ../applications/display-managers/lightdm { }; lightdm_qt = lightdm.override { withQt5 = true; }; lightdm-gtk-greeter = callPackage ../applications/display-managers/lightdm/gtk-greeter.nix { inherit (xfce) xfce4-dev-tools; }; ly = callPackage ../applications/display-managers/ly { }; curaengine_stable = callPackage ../applications/misc/curaengine/stable.nix { }; curaengine = callPackage ../applications/misc/curaengine { inherit (python3.pkgs) libarcus; protobuf = protobuf_21; }; cura = libsForQt5.callPackage ../applications/misc/cura { }; curaPlugins = callPackage ../applications/misc/cura/plugins.nix { }; prusa-slicer = darwin.apple_sdk_11_0.callPackage ../applications/misc/prusa-slicer { # Build with clang even on Linux, because GCC uses absolutely obscene amounts of memory # on this particular code base (OOM with 32GB memory and --cores 16 on GCC, succeeds # with --cores 32 on clang). stdenv = if stdenv.hostPlatform.isDarwin then overrideSDK llvmPackages.stdenv "11.0" else llvmPackages.stdenv; }; super-slicer = darwin.apple_sdk_11_0.callPackage ../applications/misc/prusa-slicer/super-slicer.nix { }; super-slicer-beta = super-slicer.beta; super-slicer-latest = super-slicer.latest; bambu-studio = callPackage ../applications/misc/bambu-studio { }; orca-slicer = callPackage ../applications/misc/bambu-studio/orca-slicer.nix {}; skrooge = libsForQt5.callPackage ../applications/office/skrooge { }; smartdeblur = libsForQt5.callPackage ../applications/graphics/smartdeblur { }; snd = darwin.apple_sdk_11_0.callPackage ../applications/audio/snd { inherit (darwin.apple_sdk_11_0.frameworks) CoreServices CoreMIDI; }; soci = callPackage ../development/libraries/soci { }; socialscan = with python3.pkgs; toPythonApplication socialscan; sonic-lineup = libsForQt5.callPackage ../applications/audio/sonic-lineup { }; sonic-visualiser = libsForQt5.callPackage ../applications/audio/sonic-visualiser { }; soulseekqt = libsForQt5.callPackage ../applications/networking/p2p/soulseekqt { }; sox = callPackage ../applications/misc/audio/sox { inherit (darwin.apple_sdk.frameworks) CoreAudio; }; spek = callPackage ../applications/audio/spek { autoreconfHook = buildPackages.autoreconfHook269; }; psst = callPackage ../applications/audio/psst { }; squeezelite-pulse = callPackage ../by-name/sq/squeezelite/package.nix { audioBackend = "pulse"; }; inherit (ocaml-ng.ocamlPackages) stog; stumpwm = sbclPackages.stumpwm; stumpwm-unwrapped = sbclPackages.stumpwm-unwrapped; sublime3Packages = recurseIntoAttrs (callPackage ../applications/editors/sublime/3/packages.nix { }); sublime3 = sublime3Packages.sublime3; sublime3-dev = sublime3Packages.sublime3-dev; inherit (recurseIntoAttrs (callPackage ../applications/editors/sublime/4/packages.nix { })) sublime4 sublime4-dev; inherit (callPackage ../applications/version-management/sublime-merge {}) sublime-merge sublime-merge-dev; inherit (callPackages ../applications/version-management/subversion { sasl = cyrus_sasl; inherit (darwin.apple_sdk.frameworks) CoreServices Security; }) subversion; subversionClient = subversion.override { bdbSupport = false; perlBindings = true; pythonBindings = true; }; surf = callPackage ../applications/networking/browsers/surf { gtk = gtk2; }; surge = callPackage ../applications/audio/surge { git = gitMinimal; }; survex = callPackage ../applications/misc/survex { inherit (darwin.apple_sdk.frameworks) Carbon Cocoa; }; supersonic-wayland = supersonic.override { waylandSupport = true; }; sylpheed = callPackage ../applications/networking/mailreaders/sylpheed { inherit (darwin.apple_sdk.frameworks) Foundation; }; syncplay = python3.pkgs.callPackage ../applications/networking/syncplay { }; syncplay-nogui = syncplay.override { enableGUI = false; }; inherit (callPackages ../applications/networking/syncthing { inherit (darwin) autoSignDarwinBinariesHook; }) syncthing syncthing-discovery syncthing-relay; syncthingtray = kdePackages.callPackage ../applications/misc/syncthingtray { # renamed in KF5 -> KF6 plasma-framework = kdePackages.libplasma; }; syncthingtray-minimal = syncthingtray.override { webviewSupport = false; jsSupport = false; kioPluginSupport = false; plasmoidSupport = false; systemdSupport = true; }; synergy = libsForQt5.callPackage ../applications/misc/synergy { stdenv = if stdenv.hostPlatform.isDarwin then darwin.apple_sdk_11_0.stdenv else stdenv; inherit (darwin.apple_sdk_11_0.frameworks) ApplicationServices Carbon Cocoa CoreServices ScreenSaver UserNotifications; }; synergyWithoutGUI = synergy.override { withGUI = false; }; tabbed = callPackage ../applications/window-managers/tabbed { # if you prefer a custom config, write the config.h in tabbed.config.h # and enable # customConfig = builtins.readFile ./tabbed.config.h; }; taffybar = callPackage ../applications/window-managers/taffybar { inherit (haskellPackages) ghcWithPackages taffybar; }; tagainijisho = libsForQt5.callPackage ../applications/office/tagainijisho { }; tamgamp.lv2 = callPackage ../applications/audio/tamgamp.lv2 { }; teamspeak5_client = callPackage ../applications/networking/instant-messengers/teamspeak/client5.nix { }; teamspeak_server = callPackage ../applications/networking/instant-messengers/teamspeak/server.nix { }; taskjuggler = callPackage ../applications/misc/taskjuggler { }; telegram-desktop = kdePackages.callPackage ../applications/networking/instant-messengers/telegram/telegram-desktop { stdenv = if stdenv.hostPlatform.isDarwin then llvmPackages_19.stdenv else stdenv; }; tg = python3Packages.callPackage ../applications/networking/instant-messengers/telegram/tg { }; termdown = python3Packages.callPackage ../applications/misc/termdown { }; terminaltexteffects = with python3Packages; toPythonApplication terminaltexteffects ; inherit (callPackage ../applications/graphics/tesseract { inherit (darwin.apple_sdk.frameworks) Accelerate CoreGraphics CoreVideo; }) tesseract3 tesseract4 tesseract5; tesseract = tesseract5; thunderbirdPackages = recurseIntoAttrs (callPackage ../applications/networking/mailreaders/thunderbird/packages.nix { callPackage = newScope { inherit (rustPackages) cargo rustc; }; }); thunderbird-unwrapped = thunderbirdPackages.thunderbird; thunderbird = wrapThunderbird thunderbird-unwrapped { }; thunderbird-latest-unwrapped = thunderbirdPackages.thunderbird-latest; thunderbird-latest = wrapThunderbird thunderbird-latest-unwrapped { }; thunderbird-esr-unwrapped = thunderbirdPackages.thunderbird-esr; thunderbird-esr = wrapThunderbird thunderbird-esr-unwrapped { }; thunderbird-128-unwrapped = thunderbirdPackages.thunderbird-128; thunderbird-128 = wrapThunderbird thunderbirdPackages.thunderbird-128 { }; thunderbird-bin = wrapThunderbird thunderbird-bin-unwrapped { applicationName = "thunderbird"; pname = "thunderbird-bin"; desktopName = "Thunderbird"; }; thunderbird-bin-unwrapped = callPackage ../applications/networking/mailreaders/thunderbird-bin { generated = import ../applications/networking/mailreaders/thunderbird-bin/release_sources.nix; }; timbreid = callPackage ../applications/audio/pd-plugins/timbreid { fftw = fftwSinglePrec; }; inherit ({ timeshift-unwrapped = callPackage ../applications/backup/timeshift/unwrapped.nix { }; timeshift = callPackage ../applications/backup/timeshift { grubPackage = grub2; }; timeshift-minimal = callPackage ../applications/backup/timeshift/minimal.nix { }; }) timeshift-unwrapped timeshift timeshift-minimal ; timidity = callPackage ../tools/misc/timidity { inherit (darwin.apple_sdk.frameworks) CoreAudio; inherit (darwin) libobjc; }; tiny = callPackage ../applications/networking/irc/tiny { inherit (darwin.apple_sdk.frameworks) Foundation; }; tipp10 = qt6.callPackage ../applications/misc/tipp10 { }; tlp = callPackage ../tools/misc/tlp { inherit (linuxPackages) x86_energy_perf_policy; }; torrenttools = callPackage ../tools/misc/torrenttools { fmt = fmt_8; }; tony = libsForQt5.callPackage ../applications/audio/tony { }; trustedqsl = tqsl; # Alias added 2019-02-10 libtransmission_3 = transmission_3.override { installLib = true; enableDaemon = false; enableCli = false; }; transmission_3-gtk = transmission_3.override { enableGTK3 = true; }; transmission_3-qt = transmission_3.override { enableQt = true; }; transmission_3_noSystemd = transmission_3.override { enableSystemd = false; }; # Needs macOS >= 10.14.6 transmission_4 = darwin.apple_sdk_11_0.callPackage ../applications/networking/p2p/transmission/4.nix { inherit (darwin.apple_sdk_11_0.frameworks) Foundation; fmt = fmt_9; libutp = libutp_3_4; }; libtransmission_4 = transmission_4.override { installLib = true; enableDaemon = false; enableCli = false; }; transmission_4-gtk = transmission_4.override { enableGTK3 = true; }; transmission_4-qt5 = transmission_4.override { enableQt5 = true; }; transmission_4-qt6 = transmission_4.override { enableQt6 = true; }; transmission_4-qt = transmission_4-qt5; traverso = libsForQt5.callPackage ../applications/audio/traverso { }; tinywl = callPackage ../applications/window-managers/tinywl { wlroots = wlroots_0_18; }; treesheets = callPackage ../applications/office/treesheets { wxGTK = wxGTK32; inherit (darwin.apple_sdk.frameworks) Cocoa; }; trojita = libsForQt5.callPackage ../applications/networking/mailreaders/trojita { }; tunefish = callPackage ../applications/audio/tunefish { stdenv = clangStdenv; # https://github.com/jpcima/tunefish/issues/4 }; tuxclocker = libsForQt5.callPackage ../applications/misc/tuxclocker { tuxclocker-plugins = tuxclocker-plugins-with-unfree; }; tuxclocker-without-unfree = libsForQt5.callPackage ../applications/misc/tuxclocker { }; twmn = libsForQt5.callPackage ../applications/misc/twmn { }; tests-stdenv-gcc-stageCompare = callPackage ../test/stdenv/gcc-stageCompare.nix { }; t-rec = callPackage ../misc/t-rec { inherit (darwin.apple_sdk.frameworks) Foundation; }; twinkle = qt5.callPackage ../applications/networking/instant-messengers/twinkle { }; terminal-typeracer = callPackage ../applications/misc/terminal-typeracer { inherit (darwin.apple_sdk.frameworks) Security; }; ueberzug = with python3Packages; toPythonApplication ueberzug; ueberzugpp = callPackage ../by-name/ue/ueberzugpp/package.nix { stdenv = if stdenv.hostPlatform.isDarwin then overrideSDK stdenv "11.0" else stdenv; }; uefitoolPackages = recurseIntoAttrs (callPackage ../tools/system/uefitool/variants.nix {}); uefitool = uefitoolPackages.new-engine; ungoogled-chromium = callPackage ../applications/networking/browsers/chromium ((config.chromium or {}) // { ungoogled = true; channel = "ungoogled-chromium"; }); unigine-tropics = pkgsi686Linux.callPackage ../applications/graphics/unigine-tropics { }; unigine-sanctuary = pkgsi686Linux.callPackage ../applications/graphics/unigine-sanctuary { }; unigine-superposition = libsForQt5.callPackage ../applications/graphics/unigine-superposition { }; uuagc = haskell.lib.compose.justStaticExecutables haskellPackages.uuagc; valentina = libsForQt5.callPackage ../applications/misc/valentina { }; vcprompt = callPackage ../applications/version-management/vcprompt { autoconf = buildPackages.autoconf269; }; vdirsyncer = with python3Packages; toPythonApplication vdirsyncer; vengi-tools = darwin.apple_sdk_11_0.callPackage ../applications/graphics/vengi-tools { inherit (darwin.apple_sdk_11_0.frameworks) Carbon CoreServices OpenCL; }; veusz = libsForQt5.callPackage ../applications/graphics/veusz { }; vim = vimUtils.makeCustomizable (callPackage ../applications/editors/vim { inherit (darwin.apple_sdk.frameworks) Carbon Cocoa; }); macvim = let macvimUtils = callPackage ../applications/editors/vim/macvim-configurable.nix { }; in macvimUtils.makeCustomizable (callPackage ../applications/editors/vim/macvim.nix { stdenv = clangStdenv; }); vim-full = vimUtils.makeCustomizable (callPackage ../applications/editors/vim/full.nix { inherit (darwin.apple_sdk.frameworks) CoreServices Cocoa Foundation CoreData; inherit (darwin) libobjc; }); vim-darwin = (vim-full.override { config = { vim = { gui = "none"; darwin = true; }; }; }).overrideAttrs { pname = "vim-darwin"; meta = { platforms = lib.platforms.darwin; }; }; vimacs = callPackage ../applications/editors/vim/vimacs.nix { }; qpdfview = libsForQt5.callPackage ../applications/office/qpdfview { }; vimgolf = callPackage ../games/vimgolf { }; # this is a lower-level alternative to wrapNeovim conceived to handle # more usecases when wrapping neovim. The interface is being actively worked on # so expect breakage. use wrapNeovim instead if you want a stable alternative wrapNeovimUnstable = callPackage ../applications/editors/neovim/wrapper.nix { }; wrapNeovim = neovim-unwrapped: lib.makeOverridable (neovimUtils.legacyWrapper neovim-unwrapped); neovim-unwrapped = callPackage ../by-name/ne/neovim-unwrapped/package.nix { lua = if lib.meta.availableOn stdenv.hostPlatform luajit then luajit else lua5_1; }; neovimUtils = callPackage ../applications/editors/neovim/utils.nix { lua = lua5_1; }; neovim = wrapNeovim neovim-unwrapped { }; gnvim-unwrapped = callPackage ../applications/editors/neovim/gnvim { }; gnvim = callPackage ../applications/editors/neovim/gnvim/wrapper.nix { }; virt-top = callPackage ../applications/virtualization/virt-top { ocamlPackages = ocaml-ng.ocamlPackages_4_14; }; virt-manager = callPackage ../applications/virtualization/virt-manager { system-libvirt = libvirt; }; virt-manager-qt = libsForQt5.callPackage ../applications/virtualization/virt-manager/qt.nix { qtermwidget = lxqt.qtermwidget_1_4; }; virtualbox = libsForQt5.callPackage ../applications/virtualization/virtualbox { stdenv = stdenv_32bit; inherit (gnome2) libIDL; # VirtualBox uses wsimport, which was removed after JDK 8. jdk = jdk8; # Opt out of building the guest BIOS sources with the problematic Open Watcom # toolchain. People who need to build the BIOS from sources (for example to # apply patches) can override this. open-watcom-bin = null; }; virtualboxKvm = lowPrio (virtualbox.override { enableKvm = true; }); virtualboxHardened = lowPrio (virtualbox.override { enableHardening = true; }); virtualboxHeadless = lowPrio (virtualbox.override { enableHardening = true; headless = true; }); virtualboxExtpack = callPackage ../applications/virtualization/virtualbox/extpack.nix { }; virtualboxWithExtpack = lowPrio (virtualbox.override { extensionPack = virtualboxExtpack; }); virtualglLib = callPackage ../tools/X11/virtualgl/lib.nix { fltk = fltk13; }; virtualgl = callPackage ../tools/X11/virtualgl { virtualglLib_i686 = if stdenv.hostPlatform.system == "x86_64-linux" then pkgsi686Linux.virtualglLib else null; }; primusLib = callPackage ../tools/X11/primus/lib.nix { nvidia_x11 = linuxPackages.nvidia_x11.override { libsOnly = true; }; }; primus = callPackage ../tools/X11/primus { stdenv_i686 = pkgsi686Linux.stdenv; primusLib_i686 = if stdenv.hostPlatform.system == "x86_64-linux" then pkgsi686Linux.primusLib else null; }; bumblebee = callPackage ../tools/X11/bumblebee { nvidia_x11 = linuxPackages.nvidia_x11; nvidia_x11_i686 = if stdenv.hostPlatform.system == "x86_64-linux" then pkgsi686Linux.linuxPackages.nvidia_x11.override { libsOnly = true; } else null; libglvnd_i686 = if stdenv.hostPlatform.system == "x86_64-linux" then pkgsi686Linux.libglvnd else null; }; viper4linux-gui = libsForQt5.callPackage ../applications/audio/viper4linux-gui { }; vlc-bin-universal = vlc-bin.override { variant = "universal"; }; libvlc = vlc.override { withQt5 = false; onlyLibVLC = true; }; vmpk = libsForQt5.callPackage ../applications/audio/vmpk { }; vmware-horizon-client = callPackage ../applications/networking/remote/vmware-horizon-client { }; vorbis-tools = callPackage ../applications/audio/vorbis-tools { autoreconfHook = buildPackages.autoreconfHook269; }; vscode = callPackage ../applications/editors/vscode/vscode.nix { }; vscode-fhs = vscode.fhs; vscode-fhsWithPackages = vscode.fhsWithPackages; vscode-with-extensions = callPackage ../applications/editors/vscode/with-extensions.nix { }; vscode-utils = callPackage ../applications/editors/vscode/extensions/vscode-utils.nix { }; vscode-extensions = recurseIntoAttrs (callPackage ../applications/editors/vscode/extensions { }); vscode-js-debug = callPackage ../by-name/vs/vscode-js-debug/package.nix { inherit (darwin.apple_sdk.frameworks) AppKit Security; }; vscodium = callPackage ../applications/editors/vscode/vscodium.nix { }; vscodium-fhs = vscodium.fhs; vscodium-fhsWithPackages = vscodium.fhsWithPackages; openvscode-server = callPackage ../servers/openvscode-server { nodejs = nodejs_18; inherit (darwin.apple_sdk.frameworks) AppKit Cocoa Security; }; code-server = callPackage ../servers/code-server { nodejs = nodejs_20; inherit (darwin.apple_sdk.frameworks) AppKit Cocoa CoreServices Security; }; vuze = callPackage ../applications/networking/p2p/vuze { jre = jre8; # TODO: remove override https://github.com/NixOS/nixpkgs/pull/89731 jdk = jdk8; # TODO: remove override https://github.com/NixOS/nixpkgs/pull/89731 }; whispers = with python3Packages; toPythonApplication whispers; warp = callPackage ../applications/networking/warp { inherit (darwin.apple_sdk.frameworks) Security Foundation; }; warp-plus = callPackage ../by-name/wa/warp-plus/package.nix { buildGoModule = buildGo122Module; }; # Should always be the version with the most features w3m-full = w3m; # Version without X11 w3m-nox = w3m.override { x11Support = false; imlib2 = imlib2-nox; }; # Version without X11 or graphics w3m-nographics = w3m.override { x11Support = false; graphicsSupport = false; }; # Version for batch text processing, not a good browser w3m-batch = w3m.override { graphicsSupport = false; mouseSupport = false; x11Support = false; imlib2 = imlib2-nox; }; wayfire = callPackage ../applications/window-managers/wayfire/default.nix { wlroots = wlroots_0_17; }; wf-config = callPackage ../applications/window-managers/wayfire/wf-config.nix { }; wayfirePlugins = recurseIntoAttrs ( callPackage ../applications/window-managers/wayfire/plugins.nix { } ); wayfire-with-plugins = callPackage ../applications/window-managers/wayfire/wrapper.nix { plugins = with wayfirePlugins; [ wcm wf-shell ]; }; webcamoid = libsForQt5.callPackage ../applications/video/webcamoid { }; webcord = callPackage ../by-name/we/webcord/package.nix { electron = electron_32; }; webcord-vencord = callPackage ../by-name/we/webcord-vencord/package.nix { electron = electron_31; }; webmacs = libsForQt5.callPackage ../applications/networking/browsers/webmacs { stdenv = if stdenv.cc.isClang then gccStdenv else stdenv; }; webssh = with python3Packages; toPythonApplication webssh; wrapWeechat = callPackage ../applications/networking/irc/weechat/wrapper.nix { }; weechat-unwrapped = callPackage ../applications/networking/irc/weechat { inherit (darwin) libobjc; inherit (darwin) libresolv; guile = guile_3_0; }; weechat = wrapWeechat weechat-unwrapped { }; weechatScripts = recurseIntoAttrs (callPackage ../applications/networking/irc/weechat/scripts { }); westonLite = weston.override { demoSupport = false; jpegSupport = false; lcmsSupport = false; pangoSupport = false; pipewireSupport = false; rdpSupport = false; remotingSupport = false; vaapiSupport = false; vncSupport = false; webpSupport = false; xwaylandSupport = false; }; chatterino2 = callPackage ../applications/networking/instant-messengers/chatterino2 { stdenv = if stdenv.hostPlatform.isDarwin then darwin.apple_sdk_11_0.stdenv else stdenv; }; wgnord = callPackage ../applications/networking/wgnord/default.nix { }; whalebird = callPackage ../applications/misc/whalebird { electron = electron_27; }; inherit (windowmaker) dockapps; wofi-pass = callPackage ../../pkgs/tools/security/pass/wofi-pass.nix { }; wordnet = callPackage ../applications/misc/wordnet { inherit (darwin.apple_sdk.frameworks) Cocoa; }; workrave = callPackage ../applications/misc/workrave { inherit (python3Packages) jinja2; inherit (gst_all_1) gstreamer gst-plugins-base gst-plugins-good; }; worldengine-cli = python3Packages.worldengine; wpsoffice = libsForQt5.callPackage ../applications/office/wpsoffice { }; wpsoffice-cn = libsForQt5.callPackage ../applications/office/wpsoffice { useChineseVersion = true; }; wrapFirefox = callPackage ../applications/networking/browsers/firefox/wrapper.nix { }; wrapThunderbird = callPackage ../applications/networking/mailreaders/thunderbird/wrapper.nix { }; wsjtx = qt5.callPackage ../applications/radio/wsjtx { }; wxhexeditor = callPackage ../applications/editors/wxhexeditor { inherit (darwin.apple_sdk.frameworks) Cocoa; inherit (llvmPackages) openmp; wxGTK = wxGTK32; }; x11basic = callPackage ../development/compilers/x11basic { autoconf = buildPackages.autoconf269; }; x2goclient = libsForQt5.callPackage ../applications/networking/remote/x2goclient { }; x32edit = callPackage ../applications/audio/midas/x32edit.nix { }; xaos = libsForQt5.callPackage ../applications/graphics/xaos { }; xbindkeys-config = callPackage ../tools/X11/xbindkeys-config { gtk = gtk2; }; kodiPackages = recurseIntoAttrs (kodi.packages); kodi = callPackage ../applications/video/kodi { ffmpeg = ffmpeg_6; jre_headless = jdk11_headless; }; kodi-wayland = callPackage ../applications/video/kodi { ffmpeg = ffmpeg_6; jre_headless = jdk11_headless; waylandSupport = true; }; kodi-gbm = callPackage ../applications/video/kodi { ffmpeg = ffmpeg_6; jre_headless = jdk11_headless; gbmSupport = true; }; xca = qt6Packages.callPackage ../applications/misc/xca { }; inherit (xorg) xcompmgr; xdg-desktop-portal = callPackage ../development/libraries/xdg-desktop-portal { }; xdg-desktop-portal-hyprland = callPackage ../applications/window-managers/hyprwm/xdg-desktop-portal-hyprland { inherit (qt6) qtbase qttools qtwayland wrapQtAppsHook; }; buildXenPackage = callPackage ../build-support/xen { }; gxneur = callPackage ../applications/misc/gxneur { inherit (gnome2) libglade GConf; }; xournal = callPackage ../applications/graphics/xournal { inherit (gnome2) libgnomecanvas; }; xournalpp = darwin.apple_sdk_11_0.callPackage ../applications/graphics/xournalpp { lua = lua5_3; }; xpdf = libsForQt5.callPackage ../applications/misc/xpdf { stdenv = if stdenv.hostPlatform.isDarwin then darwin.apple_sdk_11_0.stdenv else stdenv; }; xmobar = haskellPackages.xmobar.bin; xmonad-with-packages = callPackage ../applications/window-managers/xmonad/wrapper.nix { inherit (haskellPackages) ghcWithPackages; packages = _: [ haskellPackages.xmonad-contrib ]; }; xmonadctl = callPackage ../applications/window-managers/xmonad/xmonadctl.nix { inherit (haskellPackages) ghcWithPackages; }; xmonad_log_applet = callPackage ../applications/window-managers/xmonad/log-applet { inherit (xfce) libxfce4util xfce4-panel; }; xmonad_log_applet_mate = xmonad_log_applet.override { desktopSupport = "mate"; }; xmonad_log_applet_xfce = xmonad_log_applet.override { desktopSupport = "xfce4"; }; libxpdf = callPackage ../applications/misc/xpdf/libxpdf.nix { }; xpra = callPackage ../tools/X11/xpra { }; xpraWithNvenc = callPackage ../tools/X11/xpra { withNvenc = true; nvidia_x11 = linuxPackages.nvidia_x11.override { libsOnly = true; }; }; libfakeXinerama = callPackage ../tools/X11/xpra/libfakeXinerama.nix { }; xsd = callPackage ../development/libraries/xsd { stdenv = gcc9Stdenv; }; xmp = callPackage ../applications/audio/xmp { inherit (darwin.apple_sdk.frameworks) AudioUnit CoreAudio; }; xygrib = libsForQt5.callPackage ../applications/misc/xygrib { }; yabar = callPackage ../applications/window-managers/yabar { }; yabar-unstable = callPackage ../applications/window-managers/yabar/unstable.nix { }; ydiff = with python3.pkgs; toPythonApplication ydiff; yokadi = python3Packages.callPackage ../applications/misc/yokadi { }; your-editor = callPackage ../applications/editors/your-editor { stdenv = gccStdenv; }; youtube-dl = with python3Packages; toPythonApplication youtube-dl; youtube-dl-light = with python3Packages; toPythonApplication youtube-dl-light; youtube-music = callPackage ../applications/audio/youtube-music { pnpm = pnpm_9; }; youtube-tui = callPackage ../applications/video/youtube-tui { inherit (darwin.apple_sdk.frameworks) CoreFoundation Security AppKit; }; yt-dlp-light = yt-dlp.override { atomicparsleySupport = false; ffmpegSupport = false; rtmpSupport = false; }; youtube-viewer = perlPackages.WWWYoutubeViewer; yuview = libsForQt5.yuview; zammad = callPackage ../applications/networking/misc/zammad { }; zathuraPkgs = callPackage ../applications/misc/zathura { }; zathura = zathuraPkgs.zathuraWrapper; zeroc-ice-cpp11 = zeroc-ice.override { cpp11 = true; }; zexy = callPackage ../applications/audio/pd-plugins/zexy { autoconf = buildPackages.autoconf269; }; zgv = callPackage ../applications/graphics/zgv { # Enable the below line for terminal display. Note # that it requires sixel graphics compatible terminals like mlterm # or xterm -ti 340 SDL = SDL_sixel; }; zotero_7 = pkgs.zotero-beta; zsteg = callPackage ../tools/security/zsteg { }; zynaddsubfx = callPackage ../applications/audio/zynaddsubfx { guiModule = "zest"; fftw = fftwSinglePrec; }; zynaddsubfx-fltk = zynaddsubfx.override { guiModule = "fltk"; }; zynaddsubfx-ntk = zynaddsubfx.override { guiModule = "ntk"; }; ### BLOCKCHAINS / CRYPTOCURRENCIES / WALLETS alfis = callPackage ../applications/blockchains/alfis { inherit (darwin.apple_sdk.frameworks) Cocoa Security WebKit; }; alfis-nogui = alfis.override { withGui = false; }; bitcoin = libsForQt5.callPackage ../applications/blockchains/bitcoin { stdenv = if stdenv.hostPlatform.isDarwin then darwin.apple_sdk_11_0.stdenv else stdenv; withGui = true; inherit (darwin) autoSignDarwinBinariesHook; }; bitcoind = callPackage ../applications/blockchains/bitcoin { withGui = false; inherit (darwin) autoSignDarwinBinariesHook; }; bitcoind-knots = callPackage ../applications/blockchains/bitcoin-knots { withGui = false; inherit (darwin) autoSignDarwinBinariesHook; }; bitcoin-abc = libsForQt5.callPackage ../applications/blockchains/bitcoin-abc { withGui = true; protobuf = protobuf_21; }; bitcoind-abc = callPackage ../applications/blockchains/bitcoin-abc { mkDerivation = stdenv.mkDerivation; protobuf = protobuf_21; withGui = false; }; btcpayserver = callPackage ../applications/blockchains/btcpayserver { }; btcpayserver-altcoins = callPackage ../applications/blockchains/btcpayserver { altcoinSupport = true; }; cryptop = python3.pkgs.callPackage ../applications/blockchains/cryptop { }; electrs = callPackage ../applications/blockchains/electrs { inherit (darwin.apple_sdk.frameworks) Security; }; elements = libsForQt5.callPackage ../applications/blockchains/elements { withGui = true; inherit (darwin) autoSignDarwinBinariesHook; }; elementsd = callPackage ../applications/blockchains/elements { withGui = false; inherit (darwin) autoSignDarwinBinariesHook; }; elementsd-simplicity = elementsd.overrideAttrs { version = "unstable-2023-04-18"; src = fetchFromGitHub { owner = "ElementsProject"; repo = "elements"; rev = "ea318a45094ab3d31dd017d7781a6f28f1ffaa33"; # simplicity branch latest hash = "sha256-ooe+If3HWaJWpr2ux7DpiCTqB9Hv+aXjquEjplDjvhM="; }; }; fulcrum = libsForQt5.callPackage ../applications/blockchains/fulcrum { }; go-ethereum = callPackage ../by-name/go/go-ethereum/package.nix { inherit (darwin) libobjc; inherit (darwin.apple_sdk.frameworks) IOKit; }; gridcoin-research = libsForQt5.callPackage ../applications/blockchains/gridcoin-research { boost = boost179; }; groestlcoin = libsForQt5.callPackage ../applications/blockchains/groestlcoin { stdenv = darwin.apple_sdk_11_0.stdenv; withGui = true; inherit (darwin) autoSignDarwinBinariesHook; }; groestlcoind = callPackage ../applications/blockchains/groestlcoin { inherit (darwin) autoSignDarwinBinariesHook; }; ledger-agent = with python3Packages; toPythonApplication ledger-agent; litecoin = libsForQt5.callPackage ../applications/blockchains/litecoin { inherit (darwin.apple_sdk.frameworks) AppKit; boost = pkgs.boost177; }; litecoind = litecoin.override { withGui = false; }; monero-cli = callPackage ../applications/blockchains/monero-cli { inherit (darwin.apple_sdk.frameworks) CoreData IOKit; }; haven-cli = callPackage ../applications/blockchains/haven-cli { inherit (darwin.apple_sdk.frameworks) CoreData IOKit PCSC; }; monero-gui = libsForQt5.callPackage ../applications/blockchains/monero-gui { }; napari = with python3Packages; toPythonApplication napari; nano-wallet = libsForQt5.callPackage ../applications/blockchains/nano-wallet { }; pycoin = with python3Packages; toPythonApplication pycoin; solana-validator = callPackage ../applications/blockchains/solana-validator { }; snarkos = callPackage ../applications/blockchains/snarkos { inherit (darwin.apple_sdk.frameworks) Security; }; inherit (callPackages ../applications/blockchains/teos { }) teos teos-watchtower-plugin; vertcoin = libsForQt5.callPackage ../applications/blockchains/vertcoin { withGui = true; }; vertcoind = callPackage ../applications/blockchains/vertcoin { withGui = false; }; zcash = callPackage ../applications/blockchains/zcash { inherit (darwin.apple_sdk.frameworks) Security; stdenv = llvmPackages_14.stdenv; }; polkadot = callPackage ../applications/blockchains/polkadot { inherit (darwin.apple_sdk.frameworks) Security SystemConfiguration; }; samplv1 = libsForQt5.callPackage ../applications/audio/samplv1 { }; beancount = with python3.pkgs; toPythonApplication beancount; beancount-black = with python3.pkgs; toPythonApplication beancount-black; beanhub-cli = with python3.pkgs; toPythonApplication beanhub-cli; bean-add = callPackage ../applications/office/beancount/bean-add.nix { }; bench = # TODO: Erroneous references to GHC on aarch64-darwin: https://github.com/NixOS/nixpkgs/issues/318013 (if stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64 then lib.id else haskell.lib.compose.justStaticExecutables) haskellPackages.bench; cri-o = callPackage ../applications/virtualization/cri-o/wrapper.nix { }; cri-o-unwrapped = callPackage ../applications/virtualization/cri-o { }; drumkv1 = libsForQt5.callPackage ../applications/audio/drumkv1 { }; eureka-ideas = callPackage ../applications/misc/eureka-ideas { inherit (darwin.apple_sdk.frameworks) Security; }; phonemizer = with python3Packages; toPythonApplication phonemizer; wyoming-faster-whisper = callPackage ../tools/audio/wyoming/faster-whisper.nix { }; wyoming-openwakeword = callPackage ../tools/audio/wyoming/openwakeword.nix { }; wyoming-piper = callPackage ../tools/audio/wyoming/piper.nix { }; ### GAMES _2048-cli = _2048-cli-terminal; _2048-cli-curses = callPackage ../games/2048-cli { ui = "curses"; }; _2048-cli-terminal = callPackage ../games/2048-cli { ui = "terminal"; }; _90secondportraits = callPackage ../games/90secondportraits { love = love_0_10; }; inherit (callPackages ../games/fteqw {}) fteqw fteqw-dedicated fteqcc; heroic-unwrapped = callPackage ../games/heroic { # Match the version used by the upstream package. electron = electron_31; }; heroic = callPackage ../games/heroic/fhsenv.nix { }; pmars-x11 = pmars.override { enableXwinGraphics = true; }; wipeout-rewrite = callPackage ../games/wipeout-rewrite { inherit (darwin.apple_sdk.frameworks) Foundation; }; ### GAMES/DOOM-PORTS doomseeker = qt5.callPackage ../games/doom-ports/doomseeker { }; doomrunner = qt5.callPackage ../games/doom-ports/doomrunner { }; enyo-launcher = libsForQt5.callPackage ../games/doom-ports/enyo-launcher { }; slade = callPackage ../games/doom-ports/slade { wxGTK = (wxGTK32.overrideAttrs { patches = [ (fetchpatch { # required to run slade 3.2.4 on wxGTK 3.2.4, see PR #266945 url = "https://github.com/wxWidgets/wxWidgets/commit/425d9455e8307c1267a79d47d77e3dafeb4d86de.patch"; excludes = [ "docs/changes.txt" ]; revert = true; hash = "sha256-6LOYLDLtVCHxNdHAWv3zhlCsljIpi//RJb9XVLGD5hM="; }) ]; }).override { withWebKit = true; }; }; sladeUnstable = callPackage ../games/doom-ports/slade/git.nix { wxGTK = (wxGTK32.overrideAttrs { patches = [ (fetchpatch { # required to run sladeUnstable unstable-2023-09-30 on wxGTK 3.2.4, see PR #266945 url = "https://github.com/wxWidgets/wxWidgets/commit/425d9455e8307c1267a79d47d77e3dafeb4d86de.patch"; excludes = [ "docs/changes.txt" ]; revert = true; hash = "sha256-6LOYLDLtVCHxNdHAWv3zhlCsljIpi//RJb9XVLGD5hM="; }) ]; }).override { withWebKit = true; }; }; zandronum = callPackage ../games/doom-ports/zandronum { }; zandronum-server = zandronum.override { serverOnly = true; }; zandronum-alpha = callPackage ../games/doom-ports/zandronum/alpha { }; zandronum-alpha-server = zandronum-alpha.override { serverOnly = true; }; fmodex = callPackage ../games/doom-ports/zandronum/fmod.nix { }; doom-bcc = callPackage ../games/doom-ports/zdoom/bcc-git.nix { }; zdbsp = callPackage ../games/doom-ports/zdoom/zdbsp.nix { }; zdoom = callPackage ../games/doom-ports/zdoom { }; pro-office-calculator = libsForQt5.callPackage ../games/pro-office-calculator { }; qgo = libsForQt5.callPackage ../games/qgo { }; sm64ex = callPackage ../games/sm64ex { branch = "sm64ex"; }; sm64ex-coop = callPackage ../games/sm64ex { branch = "sm64ex-coop"; }; amoeba = callPackage ../games/amoeba { }; amoeba-data = callPackage ../games/amoeba/data.nix { }; anki = callPackage ../games/anki { inherit (darwin.apple_sdk.frameworks) AVKit CoreAudio; }; anki-bin = callPackage ../games/anki/bin.nix { }; anki-sync-server = callPackage ../games/anki/sync-server.nix { }; armagetronad = callPackage ../games/armagetronad { }; armagetronad-dedicated = callPackage ../games/armagetronad { dedicatedServer = true; }; art = callPackage ../by-name/ar/art/package.nix { fftw = fftwSinglePrec; }; arx-libertatis = libsForQt5.callPackage ../games/arx-libertatis { }; asc = callPackage ../games/asc { lua = lua5_1; physfs = physfs_2; }; beancount-ing-diba = callPackage ../applications/office/beancount/beancount-ing-diba.nix { }; beancount-share = callPackage ../applications/office/beancount/beancount_share.nix { }; black-hole-solver = callPackage ../games/black-hole-solver { inherit (perlPackages) PathTiny; }; bugdom = callPackage ../games/bugdom { stdenv = if stdenv.hostPlatform.isDarwin then overrideSDK stdenv "11.0" else stdenv; inherit (darwin.apple_sdk_11_0.frameworks) IOKit Foundation OpenGL; }; bzflag = callPackage ../games/bzflag { inherit (darwin.apple_sdk.frameworks) Carbon CoreServices; }; cataclysmDDA = callPackage ../games/cataclysm-dda { }; cataclysm-dda = cataclysmDDA.stable.tiles; cataclysm-dda-git = cataclysmDDA.git.tiles; chessx = libsForQt5.callPackage ../games/chessx { }; chiaki = libsForQt5.callPackage ../games/chiaki { }; chiaki-ng = kdePackages.callPackage ../games/chiaki-ng { }; cockatrice = libsForQt5.callPackage ../games/cockatrice { protobuf = protobuf_21; }; construoBase = lowPrio (callPackage ../games/construo { libGL = null; libGLU = null; libglut = null; }); construo = construoBase.override { inherit libGL libGLU libglut; }; crawlTiles = callPackage ../games/crawl { tileMode = true; }; crawl = callPackage ../games/crawl { }; inherit (import ../games/crossfire pkgs) crossfire-server crossfire-arch crossfire-maps crossfire-client; curseofwar = callPackage ../games/curseofwar { SDL = null; }; curseofwar-sdl = callPackage ../games/curseofwar { ncurses = null; }; cutechess = qt5.callPackage ../games/cutechess { }; cutemaze = qt6Packages.callPackage ../games/cutemaze { }; deliantra-server = callPackage ../games/deliantra/server.nix { # perl538 defines 'struct object' in sv.h. many conflicts result perl = perl540; perlPackages = perl540Packages; }; deliantra-arch = callPackage ../games/deliantra/arch.nix { }; deliantra-maps = callPackage ../games/deliantra/maps.nix { }; deliantra-data = callPackage ../games/deliantra/data.nix { }; ddnet = callPackage ../games/ddnet {}; ddnet-server = ddnet.override { buildClient = false; }; devilutionx = callPackage ../games/devilutionx { fmt = fmt_9; SDL2 = SDL2.override { withStatic = true; }; }; duckmarines = callPackage ../games/duckmarines { love = love_0_10; }; dwarf-fortress-packages = recurseIntoAttrs (callPackage ../games/dwarf-fortress { }); dwarf-fortress = dwarf-fortress-packages.dwarf-fortress; dwarf-therapist = dwarf-fortress-packages.dwarf-therapist; dxx-rebirth = callPackage ../games/dxx-rebirth { }; inherit (callPackages ../games/dxx-rebirth/assets.nix { }) descent1-assets descent2-assets; inherit (callPackages ../games/dxx-rebirth/full.nix { }) d1x-rebirth-full d2x-rebirth-full; easyrpg-player = callPackage ../games/easyrpg-player { inherit (darwin.apple_sdk.frameworks) Foundation AudioUnit AudioToolbox; }; exult = callPackage ../games/exult { inherit (darwin.apple_sdk.frameworks) AudioUnit; }; fallout-ce = callPackage ../games/fallout-ce/fallout-ce.nix { }; fallout2-ce = callPackage ../games/fallout-ce/fallout2-ce.nix { }; flare = callPackage ../games/flare { inherit (darwin.apple_sdk.frameworks) Cocoa; }; fltrator = callPackage ../games/fltrator { fltk = fltk-minimal; }; factorio = callPackage ../by-name/fa/factorio/package.nix { releaseType = "alpha"; }; factorio-experimental = factorio.override { releaseType = "alpha"; experimental = true; }; factorio-headless = factorio.override { releaseType = "headless"; }; factorio-headless-experimental = factorio.override { releaseType = "headless"; experimental = true; }; factorio-demo = factorio.override { releaseType = "demo"; }; factorio-space-age = factorio.override { releaseType = "expansion"; }; factorio-space-age-experimental = factorio.override { releaseType = "expansion"; experimental = true; }; factorio-mods = callPackage ../by-name/fa/factorio/mods.nix { }; factorio-utils = callPackage ../by-name/fa/factorio/utils.nix { }; ferium = callPackage ../games/ferium { inherit (darwin.apple_sdk.frameworks) Security SystemConfiguration; }; flightgear = libsForQt5.callPackage ../games/flightgear { }; freecad-wayland = freecad.override { withWayland = true; }; freeciv = callPackage ../games/freeciv { sdl2Client = false; gtkClient = true; qtClient = false; }; freeciv_sdl2 = freeciv.override { sdl2Client = true; gtkClient = false; qtClient = false; }; freeciv_qt = freeciv.override { sdl2Client = false; gtkClient = false; qtClient = true; }; freeciv_gtk = freeciv; garden-of-coloured-lights = callPackage ../games/garden-of-coloured-lights { allegro = allegro4; }; gcompris = libsForQt5.callPackage ../games/gcompris { }; gl-gsync-demo = callPackage ../games/gl-gsync-demo { libXNVCtrl = linuxPackages.nvidia_x11.settings.libXNVCtrl; }; gogdl = python3Packages.callPackage ../games/gogdl { }; gscrabble = python3Packages.callPackage ../games/gscrabble { }; gshogi = python3Packages.callPackage ../games/gshogi { }; qtads = qt5.callPackage ../games/qtads { }; hedgewars = libsForQt5.callPackage ../games/hedgewars { }; ibmcloud-cli = callPackage ../tools/admin/ibmcloud-cli { stdenv = stdenvNoCC; }; instaloader = python3Packages.callPackage ../tools/misc/instaloader { }; iortcw = callPackage ../games/iortcw { }; # used as base package for iortcw forks iortcw_sp = callPackage ../games/iortcw/sp.nix { }; ja2-stracciatella = callPackage ../games/ja2-stracciatella { inherit (darwin.apple_sdk.frameworks) Carbon Cocoa; }; katagoWithCuda = katago.override { backend = "cuda"; cudaPackages = cudaPackages_12; }; katagoCPU = katago.override { backend = "eigen"; }; katagoTensorRT = katago.override { backend = "tensorrt"; cudaPackages = cudaPackages_12; }; koboredux = callPackage ../games/koboredux { }; koboredux-free = callPackage ../games/koboredux { useProprietaryAssets = false; }; ldmud = callPackage ../games/ldmud { }; ldmud-full = callPackage ../games/ldmud { ipv6Support = true; mccpSupport = true; mysqlSupport = true; postgresSupport = true; sqliteSupport = true; tlsSupport = true; pythonSupport = true; }; leela-zero = libsForQt5.callPackage ../games/leela-zero { }; legendary-gl = python3Packages.callPackage ../games/legendary-gl { }; lincity = callPackage ../games/lincity { }; lincity_ng = callPackage ../games/lincity/ng.nix { # https://github.com/lincity-ng/lincity-ng/issues/25 physfs = physfs_2; }; liquidwar = callPackage ../games/liquidwar { guile = guile_2_0; }; liquidwar5 = callPackage ../games/liquidwar/5.nix { }; macopix = callPackage ../games/macopix { gtk = gtk2; }; maptool = callPackage ../games/maptool { # MapTool is fussy about which JRE it uses; OpenJDK will leave it hanging # at launch in a class initialization deadlock. MapTool ships Temurin with # their pre-built releases so we might as well use it too. jre = temurin-bin-21; openjfx = openjfx21; }; manaplus = callPackage ../games/manaplus { stdenv = gcc11Stdenv; }; mindustry-wayland = callPackage ../by-name/mi/mindustry/package.nix { enableWayland = true; }; mindustry-server = callPackage ../by-name/mi/mindustry/package.nix { enableClient = false; enableServer = true; }; minecraft = callPackage ../games/minecraft { }; minecraftServers = import ../games/minecraft-servers { inherit callPackage lib javaPackages; }; minecraft-server = minecraftServers.vanilla; # backwards compatibility minetest = callPackage ../games/minetest { inherit (darwin.apple_sdk.frameworks) OpenGL OpenAL Carbon Cocoa Kernel; }; minetestclient = minetest.override { buildServer = false; }; minetestserver = minetest.override { buildClient = false; }; mnemosyne = callPackage ../games/mnemosyne { python = python3; }; mrrescue = callPackage ../games/mrrescue { love = love_0_10; }; mudlet = libsForQt5.callPackage ../games/mudlet { lua = lua5_1; stdenv = if stdenv.hostPlatform.isDarwin then darwin.apple_sdk_11_0.stdenv else stdenv; inherit (darwin.apple_sdk_11_0.frameworks) AppKit; }; blightmud = callPackage ../games/blightmud { }; blightmud-tts = callPackage ../games/blightmud { withTTS = true; }; nethack = callPackage ../games/nethack { }; nethack-qt = callPackage ../games/nethack { qtMode = true; stdenv = gccStdenv; }; nethack-x11 = callPackage ../games/nethack { x11Mode = true; }; nile = python3Packages.callPackage ../games/nile { }; npush = callPackage ../games/npush { }; run-npush = callPackage ../games/npush/run.nix { }; oilrush = callPackage ../games/oilrush { }; openloco = pkgsi686Linux.callPackage ../games/openloco { }; openmw = libsForQt5.callPackage ../games/openmw { inherit (darwin.apple_sdk.frameworks) CoreMedia VideoDecodeAcceleration VideoToolbox; }; openmw-tes3mp = libsForQt5.callPackage ../games/openmw/tes3mp.nix { }; openraPackages_2019 = import ../games/openra_2019 { inherit lib; pkgs = pkgs.__splicedPackages; }; openra_2019 = openraPackages_2019.engines.release; openraPackages = recurseIntoAttrs (callPackage ../games/openra {}); openra = openraPackages.engines.release; openrw = callPackage ../games/openrw { inherit (darwin.apple_sdk.frameworks) Cocoa OpenAL; }; openspades = callPackage ../games/openspades { inherit (darwin.apple_sdk.frameworks) Cocoa; }; openttd = callPackage ../games/openttd { zlib = zlib.override { static = true; }; }; openttd-jgrpp = callPackage ../games/openttd/jgrpp.nix { zlib = zlib.override { static = true; }; }; openttd-grfcodec = callPackage ../games/openttd/grfcodec.nix { }; openttd-nml = callPackage ../games/openttd/nml.nix { }; openxcom = callPackage ../games/openxcom { SDL = SDL_compat; }; openxray = callPackage ../games/openxray { # Builds with Clang, but hits an assertion failure unless GCC is used # https://github.com/OpenXRay/xray-16/issues/1224 stdenv = gccStdenv; }; orthorobot = callPackage ../games/orthorobot { love = love_0_10; }; papermcServers = callPackages ../games/papermc { }; papermc = papermcServers.papermc; path-of-building = qt6Packages.callPackage ../games/path-of-building {}; pentobi = libsForQt5.callPackage ../games/pentobi { }; pokerth = libsForQt5.callPackage ../games/pokerth { protobuf = protobuf_21; }; pokerth-server = libsForQt5.callPackage ../games/pokerth { target = "server"; protobuf = protobuf_21; }; pysolfc = python3Packages.callPackage ../games/pysolfc { }; quake3wrapper = callPackage ../games/quake3/wrapper { }; quake3demo = quake3wrapper { name = "quake3-demo-${lib.getVersion quake3demodata}"; description = "Demo of Quake 3 Arena, a classic first-person shooter"; paks = [ quake3pointrelease quake3demodata ]; }; quake3demodata = callPackage ../games/quake3/content/demo.nix { }; quake3pointrelease = callPackage ../games/quake3/content/pointrelease.nix { }; quake3hires = callPackage ../games/quake3/content/hires.nix { }; quakespasm = callPackage ../games/quakespasm { inherit (darwin.apple_sdk.frameworks) Cocoa CoreAudio CoreFoundation IOKit OpenGL; }; vkquake = callPackage ../games/quakespasm/vulkan.nix { }; rogue = callPackage ../games/rogue { ncurses = ncurses5; }; rott = callPackage ../games/rott { SDL = SDL_compat; }; rott-shareware = rott.override { buildShareware = true; }; starsector = callPackage ../games/starsector { openjdk = openjdk8; }; scummvm = callPackage ../games/scummvm { inherit (darwin.apple_sdk.frameworks) Cocoa AudioToolbox Carbon CoreMIDI AudioUnit; }; inherit (callPackage ../games/scummvm/games.nix { }) beneath-a-steel-sky broken-sword-25 drascula-the-vampire-strikes-back dreamweb flight-of-the-amazon-queen lure-of-the-temptress; sgt-puzzles = callPackage ../games/sgt-puzzles { }; sgt-puzzles-mobile = callPackage ../games/sgt-puzzles { isMobile = true; }; shattered-pixel-dungeon = callPackage ../games/shattered-pixel-dungeon { }; rkpd2 = callPackage ../games/shattered-pixel-dungeon/rkpd2 { }; rat-king-adventure = callPackage ../games/shattered-pixel-dungeon/rat-king-adventure { }; experienced-pixel-dungeon = callPackage ../games/shattered-pixel-dungeon/experienced-pixel-dungeon { }; summoning-pixel-dungeon = callPackage ../games/shattered-pixel-dungeon/summoning-pixel-dungeon { }; shorter-pixel-dungeon = callPackage ../games/shattered-pixel-dungeon/shorter-pixel-dungeon { }; # get binaries without data built by Hydra simutrans_binaries = lowPrio simutrans.binaries; soi = callPackage ../games/soi { lua = lua5_1; }; # solarus and solarus-quest-editor must use the same version of Qt. solarus = libsForQt5.callPackage ../games/solarus { }; solarus-quest-editor = libsForQt5.callPackage ../development/tools/solarus-quest-editor { }; # You still can override by passing more arguments. space-station-14-launcher = callPackage ../games/space-station-14-launcher { }; spring = callPackage ../games/spring { asciidoc = asciidoc-full; }; springLobby = callPackage ../games/spring/springlobby.nix { }; steam-run = steam.run; # This exists so Hydra tries to build all of Steam's dependencies. steam-fhsenv-without-steam = steam.override { steam-unwrapped = null; }; steam-run-free = steam-fhsenv-without-steam.run; steamback = python311.pkgs.callPackage ../tools/games/steamback { }; protontricks = python3Packages.callPackage ../tools/package-management/protontricks { steam-run = steam-run-free; inherit winetricks yad; }; protonup-ng = with python3Packages; toPythonApplication protonup-ng; stuntrally = callPackage ../games/stuntrally { }; superTuxKart = darwin.apple_sdk_11_0.callPackage ../games/super-tux-kart { inherit (darwin.apple_sdk_11_0.frameworks) Cocoa IOKit OpenAL IOBluetooth; }; synthv1 = libsForQt5.callPackage ../applications/audio/synthv1 { }; the-powder-toy = callPackage ../by-name/th/the-powder-toy/package.nix { lua = lua5_2; inherit (darwin.apple_sdk.frameworks) Cocoa; }; tbe = libsForQt5.callPackage ../games/the-butterfly-effect { }; teeworlds = callPackage ../games/teeworlds { inherit (darwin.apple_sdk.frameworks) Cocoa; }; teeworlds-server = teeworlds.override { buildClient = false; }; tengine = callPackage ../servers/http/tengine { modules = with nginxModules; [ rtmp dav moreheaders modsecurity ]; }; tibia = pkgsi686Linux.callPackage ../games/tibia { }; toppler = callPackage ../games/toppler { SDL2_image = SDL2_image_2_0; }; speed_dreams = callPackage ../games/speed-dreams { # Torcs wants to make shared libraries linked with plib libraries (it provides static). # i686 is the only platform I know than can do that linking without plib built with -fPIC libpng = libpng12; }; ultrastar-creator = libsForQt5.callPackage ../tools/misc/ultrastar-creator { }; ultrastar-manager = libsForQt5.callPackage ../tools/misc/ultrastar-manager { }; ue4demos = recurseIntoAttrs (callPackage ../games/ue4demos { }); ut2004Packages = dontRecurseIntoAttrs (callPackage ../games/ut2004 { }); ut2004demo = res.ut2004Packages.ut2004 [ res.ut2004Packages.ut2004-demo ]; # To ensure vdrift's code is built on hydra vdrift-bin = vdrift.bin; vessel = pkgsi686Linux.callPackage ../games/vessel { }; vvvvvv = callPackage ../by-name/vv/vvvvvv/package.nix { inherit (darwin.apple_sdk.frameworks) Foundation IOKit; }; warsow-engine = callPackage ../games/warsow/engine.nix { }; warsow = callPackage ../games/warsow { }; wesnoth = callPackage ../games/wesnoth { inherit (darwin.apple_sdk.frameworks) Cocoa Foundation; # wesnoth requires lua built with c++, see https://github.com/wesnoth/wesnoth/pull/8234 lua = lua5_4.override { postConfigure = '' makeFlagsArray+=("CC=$CXX") ''; }; }; wesnoth-dev = wesnoth; inherit (callPackage ../games/xonotic { }) xonotic-data xonotic; xonotic-glx = (callPackage ../games/xonotic { withSDL = false; withGLX = true; }).xonotic; xonotic-dedicated = (callPackage ../games/xonotic { withSDL = false; withDedicated = true; }).xonotic; xonotic-sdl = xonotic; xonotic-sdl-unwrapped = xonotic-sdl.xonotic-unwrapped; xonotic-glx-unwrapped = xonotic-glx.xonotic-unwrapped; xonotic-dedicated-unwrapped = xonotic-dedicated.xonotic-unwrapped; xpilot-ng = callPackage ../games/xpilot { }; bloodspilot-server = callPackage ../games/xpilot/bloodspilot-server.nix { }; bloodspilot-client = callPackage ../games/xpilot/bloodspilot-client.nix { }; inherit (callPackage ../games/quake2/yquake2 { inherit (darwin.apple_sdk.frameworks) Cocoa OpenAL; }) yquake2 yquake2-ctf yquake2-ground-zero yquake2-the-reckoning yquake2-all-games; zeroadPackages = recurseIntoAttrs (callPackage ../games/0ad { wxGTK = wxGTK32; fmt = fmt_9; }); zeroad = zeroadPackages.zeroad; ### DESKTOP ENVIRONMENTS arcan-wrapped = arcan.wrapper.override { }; arcan-all-wrapped = arcan.wrapper.override { name = "arcan-all-wrapped"; appls = [ cat9 durden pipeworld ]; }; cat9-wrapped = arcan.wrapper.override { name = "cat9-wrapped"; appls = [ cat9 ]; }; durden-wrapped = arcan.wrapper.override { name = "durden-wrapped"; appls = [ durden ]; }; pipeworld-wrapped = arcan.wrapper.override { name = "pipeworld-wrapped"; appls = [ pipeworld ]; }; prio-wrapped = arcan.wrapper.override { name = "prio-wrapped"; appls = [ prio ]; }; cinnamon = recurseIntoAttrs (callPackage ../desktops/cinnamon { }); deepin = recurseIntoAttrs (callPackage ../desktops/deepin { }); enlightenment = recurseIntoAttrs (callPackage ../desktops/enlightenment { }); expidus = recurseIntoAttrs (callPackages ../desktops/expidus { # Use the Nix built Flutter Engine for testing. # Also needed when we eventually package Genesis Shell. flutterPackages = flutterPackages-source; }); gnome2 = recurseIntoAttrs (callPackage ../desktops/gnome-2 { }); gnome = recurseIntoAttrs (callPackage ../desktops/gnome { }); inherit (callPackage ../desktops/gnome/extensions { }) gnomeExtensions gnome38Extensions gnome40Extensions gnome41Extensions gnome42Extensions gnome43Extensions gnome44Extensions gnome45Extensions gnome46Extensions gnome47Extensions ; gnome-extensions-cli = python3Packages.callPackage ../desktops/gnome/misc/gnome-extensions-cli { }; gnome-session-ctl = callPackage ../by-name/gn/gnome-session/ctl.nix { }; # Using 43 to match Mutter used in Pantheon gnustep = recurseIntoAttrs (callPackage ../desktops/gnustep { }); lomiri = recurseIntoAttrs (callPackage ../desktops/lomiri { }); lumina = recurseIntoAttrs (callPackage ../desktops/lumina { }); ### DESKTOPS/LXDE lxde = recurseIntoAttrs (callPackage ../desktops/lxde { }); # Backwards compatibility aliases inherit (lxde) lxappearance lxappearance-gtk2 lxmenu-data lxpanel lxrandr lxsession lxtask ; lxqt = recurseIntoAttrs (import ../desktops/lxqt { inherit pkgs; inherit (lib) makeScope; inherit kdePackages; }); mate = recurseIntoAttrs (callPackage ../desktops/mate { }); # Needed for elementary's gala, wingpanel and greeter until support for higher versions is provided pantheon = recurseIntoAttrs (callPackage ../desktops/pantheon { }); rox-filer = callPackage ../desktops/rox/rox-filer { gtk = gtk2; }; xfce = recurseIntoAttrs (callPackage ../desktops/xfce { }); plasma-applet-volumewin7mixer = libsForQt5.callPackage ../applications/misc/plasma-applet-volumewin7mixer { }; plasma-theme-switcher = libsForQt5.callPackage ../applications/misc/plasma-theme-switcher { }; plasma-pass = libsForQt5.callPackage ../tools/security/plasma-pass { }; inherit (callPackages ../applications/misc/redshift { inherit (python3Packages) python pygobject3 pyxdg wrapPython; inherit (darwin.apple_sdk.frameworks) CoreLocation ApplicationServices Foundation Cocoa; geoclue = geoclue2; }) redshift gammastep; redshift-plasma-applet = libsForQt5.callPackage ../applications/misc/redshift-plasma-applet { }; latte-dock = libsForQt5.callPackage ../applications/misc/latte-dock { }; ### SCIENCE/CHEMISTY avogadrolibs = libsForQt5.callPackage ../development/libraries/science/chemistry/avogadrolibs { }; molequeue = libsForQt5.callPackage ../development/libraries/science/chemistry/molequeue { }; avogadro2 = libsForQt5.callPackage ../applications/science/chemistry/avogadro2 { }; jmol = callPackage ../applications/science/chemistry/jmol { jre = jre8; # TODO: remove override https://github.com/NixOS/nixpkgs/pull/89731 }; marvin = callPackage ../applications/science/chemistry/marvin { }; molbar = with python3Packages; toPythonApplication molbar; nwchem = callPackage ../applications/science/chemistry/nwchem { blas = blas-ilp64; lapack = lapack-ilp64; }; autodock-vina = callPackage ../applications/science/chemistry/autodock-vina { }; pdb2pqr = with python3Packages; toPythonApplication pdb2pqr; pymol = callPackage ../applications/science/chemistry/pymol { python3Packages = python311Packages; }; quantum-espresso = callPackage ../applications/science/chemistry/quantum-espresso { hdf5 = hdf5-fortran; }; siesta = callPackage ../applications/science/chemistry/siesta { }; siesta-mpi = callPackage ../applications/science/chemistry/siesta { useMpi = true; }; ### SCIENCE/GEOMETRY tetgen = callPackage ../applications/science/geometry/tetgen { }; # AGPL3+ tetgen_1_4 = callPackage ../applications/science/geometry/tetgen/1.4.nix { }; # MIT ### SCIENCE/BENCHMARK ### SCIENCE/BIOLOGY ants = callPackage ../applications/science/biology/ants { inherit (darwin.apple_sdk.frameworks) Cocoa; }; blast = callPackage ../applications/science/biology/blast { inherit (darwin.apple_sdk.frameworks) ApplicationServices; }; blast-bin = callPackage ../applications/science/biology/blast/bin.nix { }; cd-hit = callPackage ../applications/science/biology/cd-hit { inherit (llvmPackages) openmp; }; deepdiff = with python3Packages; toPythonApplication deepdiff; deepsecrets = callPackage ../tools/security/deepsecrets { python3 = python311; }; deep-translator = with python3Packages; toPythonApplication deep-translator; hh-suite = callPackage ../applications/science/biology/hh-suite { inherit (llvmPackages) openmp; }; iv = callPackage ../applications/science/biology/iv { neuron-version = neuron.version; }; kallisto = callPackage ../applications/science/biology/kallisto { autoconf = buildPackages.autoconf269; }; mirtk = callPackage ../development/libraries/science/biology/mirtk { itk = itk_5_2; }; nest = callPackage ../applications/science/biology/nest { }; nest-mpi = callPackage ../applications/science/biology/nest { withMpi = true; }; neuron-mpi = neuron.override {useMpi = true; }; neuron-full = neuron-mpi.override { useCore = true; useRx3d = true; }; mrtrix = callPackage ../applications/science/biology/mrtrix { python = python3; }; minc_tools = callPackage ../applications/science/biology/minc-tools { inherit (perlPackages) perl TextFormat; }; mmseqs2 = callPackage ../applications/science/biology/mmseqs2 { inherit (llvmPackages) openmp; }; obitools3 = callPackage ../applications/science/biology/obitools/obitools3.nix { }; raxml-mpi = raxml.override { useMpi = true; }; samtools = callPackage ../applications/science/biology/samtools { }; samtools_0_1_19 = callPackage ../applications/science/biology/samtools/samtools_0_1_19.nix { stdenv = gccStdenv; }; inherit (callPackages ../applications/science/biology/sumatools {}) sumalibs sumaclust sumatra; trimmomatic = callPackage ../applications/science/biology/trimmomatic { jdk = pkgs.jdk11_headless; # Reduce closure size jre = pkgs.jre_minimal.override { modules = [ "java.base" "java.logging" ]; jdk = pkgs.jdk11_headless; }; }; truvari = callPackage ../applications/science/biology/truvari { }; ### SCIENCE/MACHINE LEARNING sc2-headless = callPackage ../applications/science/machine-learning/sc2-headless { }; streamlit = with python3Packages; toPythonApplication streamlit; ### SCIENCE/MATH blas-ilp64 = blas.override { isILP64 = true; }; cantor = libsForQt5.cantor; clblas = callPackage ../development/libraries/science/math/clblas { inherit (darwin.apple_sdk.frameworks) Accelerate CoreGraphics CoreVideo OpenCL; }; labplot = libsForQt5.callPackage ../applications/science/math/labplot { }; lapack-ilp64 = lapack.override { isILP64 = true; }; liblapack = lapack-reference; nota = haskellPackages.callPackage ../applications/science/math/nota { }; notus-scanner = with python3Packages; toPythonApplication notus-scanner; openblas = callPackage ../development/libraries/science/math/openblas { inherit (llvmPackages) openmp; }; # A version of OpenBLAS using 32-bit integers on all platforms for compatibility with # standard BLAS and LAPACK. openblasCompat = openblas.override { blas64 = false; }; inherit (callPackage ../development/libraries/science/math/magma { }) magma magma_2_7_2 magma_2_6_2; magma-cuda = magma.override { cudaSupport = true; rocmSupport = false; }; magma-cuda-static = magma-cuda.override { static = true; }; magma-hip = magma.override { cudaSupport = false; rocmSupport = true; }; mathematica = callPackage ../applications/science/math/mathematica { }; mathematica-webdoc = callPackage ../applications/science/math/mathematica { webdoc = true; }; mathematica-cuda = callPackage ../applications/science/math/mathematica { cudaSupport = true; }; mathematica-webdoc-cuda = callPackage ../applications/science/math/mathematica { webdoc = true; cudaSupport = true; }; or-tools = callPackage ../development/libraries/science/math/or-tools { inherit (darwin) DarwinTools; stdenv = if stdenv.hostPlatform.isDarwin then overrideSDK stdenv "11.0" else stdenv; python = python3; protobuf = protobuf_23; # or-tools builds with -std=c++20, so abseil-cpp must # also be built that way abseil-cpp = abseil-cpp_202301.override { static = true; cxxStandard = "20"; }; }; p4est-sc = callPackage ../development/libraries/science/math/p4est-sc { p4est-sc-debugEnable = false; }; p4est-sc-dbg = callPackage ../development/libraries/science/math/p4est-sc { }; p4est = callPackage ../development/libraries/science/math/p4est { }; p4est-dbg = callPackage ../development/libraries/science/math/p4est { p4est-sc = p4est-sc-dbg; }; sageWithDoc = sage.override { withDoc = true; }; suitesparse_4_2 = callPackage ../development/libraries/science/math/suitesparse/4.2.nix { }; suitesparse_4_4 = callPackage ../development/libraries/science/math/suitesparse/4.4.nix { }; suitesparse_5_3 = callPackage ../development/libraries/science/math/suitesparse { inherit (llvmPackages) openmp; }; suitesparse = suitesparse_5_3; trilinos = callPackage ../development/libraries/science/math/trilinos { }; trilinos-mpi = callPackage ../development/libraries/science/math/trilinos { withMPI = true; }; wolfram-engine = libsForQt5.callPackage ../applications/science/math/wolfram-engine { }; wolfram-for-jupyter-kernel = callPackage ../applications/editors/jupyter-kernels/wolfram { }; wolfram-notebook = callPackage ../applications/science/math/wolfram-engine/notebook.nix { }; ### SCIENCE/MOLECULAR-DYNAMICS gromacs = callPackage ../applications/science/molecular-dynamics/gromacs { singlePrec = true; fftw = fftwSinglePrec; }; gromacsPlumed = lowPrio (gromacs.override { singlePrec = true; enablePlumed = true; fftw = fftwSinglePrec; }); gromacsMpi = lowPrio (gromacs.override { singlePrec = true; enableMpi = true; fftw = fftwSinglePrec; }); gromacsDouble = lowPrio (gromacs.override { singlePrec = false; fftw = fftw; }); gromacsDoubleMpi = lowPrio (gromacs.override { singlePrec = false; enableMpi = true; fftw = fftw; }); gromacsCudaMpi = lowPrio (gromacs.override { singlePrec = true; enableMpi = true; enableCuda = true; fftw = fftwSinglePrec; }); ### SCIENCE/MEDICINE ### SCIENCE/PHYSICS mcfm = callPackage ../applications/science/physics/MCFM { stdenv = gccStdenv; lhapdf = lhapdf.override { stdenv = gccStdenv; python = null; }; }; xflr5 = libsForQt5.callPackage ../applications/science/physics/xflr5 { }; ### SCIENCE/PROGRAMMING ### SCIENCE/LOGIC abella = callPackage ../applications/science/logic/abella { ocamlPackages = ocaml-ng.ocamlPackages_4_12; }; inherit (callPackage ./coq-packages.nix { inherit (ocaml-ng) ocamlPackages_4_05 ocamlPackages_4_09 ocamlPackages_4_10 ocamlPackages_4_12 ocamlPackages_4_14 ; }) mkCoqPackages coqPackages_8_5 coq_8_5 coqPackages_8_6 coq_8_6 coqPackages_8_7 coq_8_7 coqPackages_8_8 coq_8_8 coqPackages_8_9 coq_8_9 coqPackages_8_10 coq_8_10 coqPackages_8_11 coq_8_11 coqPackages_8_12 coq_8_12 coqPackages_8_13 coq_8_13 coqPackages_8_14 coq_8_14 coqPackages_8_15 coq_8_15 coqPackages_8_16 coq_8_16 coqPackages_8_17 coq_8_17 coqPackages_8_18 coq_8_18 coqPackages_8_19 coq_8_19 coqPackages_8_20 coq_8_20 coqPackages coq ; coq-kernel = callPackage ../applications/editors/jupyter-kernels/coq { }; cubicle = callPackage ../applications/science/logic/cubicle { ocamlPackages = ocaml-ng.ocamlPackages_4_14; }; cvc3 = callPackage ../applications/science/logic/cvc3 { gmp = lib.overrideDerivation gmp (_: { dontDisableStatic = true; }); stdenv = gccStdenv; }; cvc5 = callPackage ../applications/science/logic/cvc5 { cadical = pkgs.cadical.override { version = "2.0.0"; }; }; ekrhyper = callPackage ../applications/science/logic/ekrhyper { ocaml = ocaml-ng.ocamlPackages_4_14_unsafe_string.ocaml; }; eprover = callPackage ../applications/science/logic/eprover { }; eprover-ho = callPackage ../applications/science/logic/eprover { enableHO = true; }; giac-with-xcas = giac.override { enableGUI = true; }; glucose = callPackage ../applications/science/logic/glucose { }; glucose-syrup = callPackage ../applications/science/logic/glucose { enableUnfree = true; }; inherit (ocamlPackages) hol_light; isabelle = callPackage ../by-name/is/isabelle/package.nix { polyml = polyml.overrideAttrs { pname = "polyml-for-isabelle"; version = "2024"; configureFlags = [ "--enable-intinf-as-int" "--with-gmp" "--disable-shared" ]; buildFlags = [ "compiler" ]; src = fetchFromGitHub { owner = "polyml"; repo = "polyml"; rev = "v5.9.1"; hash = "sha256-72wm8dt+Id59A5058mVE5P9TkXW5/LZRthZoxUustVA="; }; }; java = openjdk21; }; isabelle-components = recurseIntoAttrs (callPackage ../by-name/is/isabelle/components { }); killport = darwin.apple_sdk_11_0.callPackage ../tools/misc/killport { }; lean3 = lean; mathlibtools = with python3Packages; toPythonApplication mathlibtools; leo2 = callPackage ../applications/science/logic/leo2 { inherit (ocaml-ng.ocamlPackages_4_14_unsafe_string) ocaml camlp4; }; leo3-bin = callPackage ../applications/science/logic/leo3/binary.nix { }; prooftree = callPackage ../applications/science/logic/prooftree { ocamlPackages = ocaml-ng.ocamlPackages_4_12; }; satallax = callPackage ../applications/science/logic/satallax { inherit (ocaml-ng.ocamlPackages_4_14) ocaml; }; spass = callPackage ../applications/science/logic/spass { stdenv = gccStdenv; }; statverif = callPackage ../applications/science/logic/statverif { ocaml = ocaml-ng.ocamlPackages_4_14_unsafe_string.ocaml; }; veriT = callPackage ../applications/science/logic/verit { stdenv = gccStdenv; }; why3 = callPackage ../applications/science/logic/why3 { coqPackages = coqPackages_8_18; }; yices = callPackage ../applications/science/logic/yices { gmp-static = gmp.override { withStatic = true; }; }; inherit (callPackages ../applications/science/logic/z3 { python = python3; }) z3_4_12 z3_4_11 z3_4_8; inherit (callPackages ../applications/science/logic/z3 { python = python311; }) z3_4_8_5; z3 = z3_4_8; z3-tptp = callPackage ../applications/science/logic/z3/tptp.nix { }; tlaplus = callPackage ../applications/science/logic/tlaplus { jre = jre8; # TODO: remove override https://github.com/NixOS/nixpkgs/pull/89731 }; tlaplus18 = callPackage ../applications/science/logic/tlaplus/tlaplus18.nix {}; tlaps = callPackage ../applications/science/logic/tlaplus/tlaps.nix { inherit (ocaml-ng.ocamlPackages_4_14_unsafe_string) ocaml; }; tlaplusToolbox = callPackage ../applications/science/logic/tlaplus/toolbox.nix { }; avy = callPackage ../applications/science/logic/avy { }; ### SCIENCE / ENGINEERING ### SCIENCE / ELECTRONICS appcsxcad = libsForQt5.callPackage ../applications/science/electronics/appcsxcad { }; inherit (libsForQt5.callPackage ../applications/science/electronics/simulide { }) simulide_0_4_15 simulide_1_0_0 simulide_1_1_0; simulide = simulide_1_0_0; eagle = libsForQt5.callPackage ../applications/science/electronics/eagle/eagle.nix { }; caneda = libsForQt5.callPackage ../applications/science/electronics/caneda { }; degate = libsForQt5.callPackage ../applications/science/electronics/degate { }; flatcam = python39.pkgs.callPackage ../applications/science/electronics/flatcam { }; geda = callPackage ../applications/science/electronics/geda { guile = guile_2_2; }; gerbv = callPackage ../applications/science/electronics/gerbv { cairo = cairo.override { x11Support = true; }; }; # this is a wrapper for kicad.base and kicad.libraries kicad = callPackage ../applications/science/electronics/kicad { }; # this is the same but without the (sizable) 3D models library kicad-small = kicad.override { pname = "kicad-small"; with3d = false; }; # this is the stable branch at whatever point update.sh last updated versions.nix kicad-testing = kicad.override { pname = "kicad-testing"; testing = true; }; # and a small version of that kicad-testing-small = kicad.override { pname = "kicad-testing-small"; testing = true; with3d = false; }; # this is the master branch at whatever point update.sh last updated versions.nix kicad-unstable = kicad.override { pname = "kicad-unstable"; stable = false; }; # and a small version of that kicad-unstable-small = kicad.override { pname = "kicad-unstable-small"; stable = false; with3d = false; }; kicadAddons = recurseIntoAttrs (callPackage ../applications/science/electronics/kicad/addons {}); librepcb = libsForQt5.callPackage ../applications/science/electronics/librepcb { }; ngspice = libngspice.override { withNgshared = false; }; nvc = darwin.apple_sdk_11_0.callPackage ../applications/science/electronics/nvc { }; openems = callPackage ../applications/science/electronics/openems { qcsxcad = libsForQt5.qcsxcad; }; openroad = libsForQt5.callPackage ../applications/science/electronics/openroad { }; qucs-s = qt6Packages.callPackage ../applications/science/electronics/qucs-s { }; xyce = callPackage ../applications/science/electronics/xyce { }; xyce-parallel = callPackage ../applications/science/electronics/xyce { withMPI = true; trilinos = trilinos-mpi; }; ### SCIENCE / MATH caffe = callPackage ../applications/science/math/caffe ({ inherit (config) cudaSupport; cudaPackages = cudaPackages_10_1; opencv4 = opencv4WithoutCuda; # Used only for image loading. blas = openblas; inherit (darwin.apple_sdk.frameworks) Accelerate CoreGraphics CoreVideo; } // (config.caffe or {})); caffeWithCuda = caffe.override { cudaSupport = true; }; gap-minimal = lowPrio (gap.override { packageSet = "minimal"; }); gap-full = lowPrio (gap.override { packageSet = "full"; }); geogebra = callPackage ../applications/science/math/geogebra { }; geogebra6 = callPackage ../applications/science/math/geogebra/geogebra6.nix { }; maxima = callPackage ../applications/science/math/maxima { lisp-compiler = sbcl; }; maxima-ecl = maxima.override { lisp-compiler = ecl; }; mxnet = callPackage ../applications/science/math/mxnet { inherit (linuxPackages) nvidia_x11; }; wxmaxima = callPackage ../applications/science/math/wxmaxima { wxGTK = wxGTK32.override { withWebKit = true; }; }; pari = callPackage ../applications/science/math/pari { }; gp2c = callPackage ../applications/science/math/pari/gp2c.nix { }; raspa = callPackage ../applications/science/molecular-dynamics/raspa { }; raspa-data = callPackage ../applications/science/molecular-dynamics/raspa/data.nix { }; weka = callPackage ../applications/science/math/weka { jre = openjdk11; }; yacas = libsForQt5.callPackage ../applications/science/math/yacas { }; yacas-gui = yacas.override { enableGui = true; enableJupyter = false; }; speedcrunch = libsForQt5.callPackage ../applications/science/math/speedcrunch { }; ### SCIENCE / MISC boinc = callPackage ../applications/science/misc/boinc { }; boinc-headless = callPackage ../applications/science/misc/boinc { headless = true; }; celestia = callPackage ../applications/science/astronomy/celestia { autoreconfHook = buildPackages.autoreconfHook269; inherit (gnome2) gtkglext; }; convertall = qt5.callPackage ../applications/science/misc/convertall { }; cytoscape = callPackage ../applications/science/misc/cytoscape { jre = openjdk17; }; faiss = callPackage ../development/libraries/science/math/faiss { pythonPackages = python3Packages; }; faissWithCuda = faiss.override { cudaSupport = true; }; gplates = libsForQt5.callPackage ../applications/science/misc/gplates { }; golly = callPackage ../applications/science/misc/golly { wxGTK = wxGTK32.overrideAttrs (x: { configureFlags = x.configureFlags ++ [ "--enable-webrequest" ]; buildInputs = x.buildInputs ++ [ curl ]; }); }; megam = callPackage ../applications/science/misc/megam { inherit (ocaml-ng.ocamlPackages_4_14) ocaml; }; nextinspace = python3Packages.callPackage ../applications/science/misc/nextinspace { }; ns-3 = callPackage ../development/libraries/science/networking/ns-3 { python = python3; }; rink = callPackage ../applications/science/misc/rink { inherit (darwin.apple_sdk.frameworks) Security; }; spyder = with python3.pkgs; toPythonApplication spyder; stellarium = qt6Packages.callPackage ../applications/science/astronomy/stellarium { }; stellarsolver = libsForQt5.callPackage ../development/libraries/science/astronomy/stellarsolver { }; tulip = libsForQt5.callPackage ../applications/science/misc/tulip { }; vite = libsForQt5.callPackage ../applications/science/misc/vite { }; ### SCIENCE / PHYSICS applgrid = callPackage ../development/libraries/physics/applgrid { inherit (darwin.apple_sdk.frameworks) Cocoa; }; geant4 = libsForQt5.callPackage ../development/libraries/physics/geant4 { }; hepmc3 = callPackage ../development/libraries/physics/hepmc3 { python = null; }; lhapdf = callPackage ../development/libraries/physics/lhapdf { python = python3; }; pythia = callPackage ../development/libraries/physics/pythia { hepmc = hepmc2; }; rivet = callPackage ../development/libraries/physics/rivet { imagemagick = graphicsmagick-imagemagick-compat; }; yoda = callPackage ../development/libraries/physics/yoda { python = python3; }; yoda-with-root = lowPrio (yoda.override { withRootSupport = true; }); ### SCIENCE/ROBOTICS apmplanner2 = libsForQt5.callPackage ../applications/science/robotics/apmplanner2 { }; ### MISC android-file-transfer = libsForQt5.callPackage ../tools/filesystems/android-file-transfer { }; antimicrox = libsForQt5.callPackage ../tools/misc/antimicrox { }; autotiling = python3Packages.callPackage ../misc/autotiling { }; avell-unofficial-control-center = python3Packages.callPackage ../applications/misc/avell-unofficial-control-center { }; brgenml1lpr = pkgsi686Linux.callPackage ../misc/cups/drivers/brgenml1lpr { }; calaos_installer = libsForQt5.callPackage ../misc/calaos/installer { }; clinfo = callPackage ../tools/system/clinfo { inherit (darwin.apple_sdk.frameworks) OpenCL; }; cups = callPackage ../misc/cups { }; cups-filters = callPackage ../misc/cups/filters.nix { }; cups-pk-helper = callPackage ../misc/cups/cups-pk-helper.nix { }; epsonscan2 = pkgs.libsForQt5.callPackage ../misc/drivers/epsonscan2 { }; foomatic-db-ppds-withNonfreeDb = callPackage ../by-name/fo/foomatic-db-ppds/package.nix { withNonfreeDb = true; }; gutenprint = callPackage ../misc/drivers/gutenprint { }; gutenprintBin = callPackage ../misc/drivers/gutenprint/bin.nix { }; dcp375cwlpr = (pkgsi686Linux.callPackage ../misc/cups/drivers/brother/dcp375cw { }).driver; dcp375cw-cupswrapper = (callPackage ../misc/cups/drivers/brother/dcp375cw { }).cupswrapper; dcp9020cdwlpr = (pkgsi686Linux.callPackage ../misc/cups/drivers/brother/dcp9020cdw { }).driver; dcp9020cdw-cupswrapper = (callPackage ../misc/cups/drivers/brother/dcp9020cdw { }).cupswrapper; cups-brother-hl1110 = pkgsi686Linux.callPackage ../misc/cups/drivers/hl1110 { }; cups-brother-hl1210w = pkgsi686Linux.callPackage ../misc/cups/drivers/hl1210w { }; cups-brother-hl2260d = pkgsi686Linux.callPackage ../misc/cups/drivers/hl2260d { }; cups-brother-hl3140cw = pkgsi686Linux.callPackage ../misc/cups/drivers/hl3140cw { }; cups-brother-hll2340dw = pkgsi686Linux.callPackage ../misc/cups/drivers/hll2340dw { }; cups-brother-hll3230cdw = pkgsi686Linux.callPackage ../misc/cups/drivers/hll3230cdw { }; # this driver ships with pre-compiled 32-bit binary libraries cnijfilter_2_80 = pkgsi686Linux.callPackage ../misc/cups/drivers/cnijfilter_2_80 { }; depotdownloader = callPackage ../tools/misc/depotdownloader { }; faust = res.faust2; faust2 = callPackage ../applications/audio/faust/faust2.nix { }; faust2alqt = libsForQt5.callPackage ../applications/audio/faust/faust2alqt.nix { }; faust2alsa = callPackage ../applications/audio/faust/faust2alsa.nix { }; faust2csound = callPackage ../applications/audio/faust/faust2csound.nix { }; faust2sc = callPackage ../applications/audio/faust/faust2sc.nix { }; faust2firefox = callPackage ../applications/audio/faust/faust2firefox.nix { }; faust2jack = callPackage ../applications/audio/faust/faust2jack.nix { }; faust2jackrust = callPackage ../applications/audio/faust/faust2jackrust.nix { }; faust2jaqt = libsForQt5.callPackage ../applications/audio/faust/faust2jaqt.nix { }; faust2ladspa = callPackage ../applications/audio/faust/faust2ladspa.nix { }; faust2lv2 = libsForQt5.callPackage ../applications/audio/faust/faust2lv2.nix { }; faustlive = callPackage ../applications/audio/faust/faustlive.nix { }; flashprint = libsForQt5.callPackage ../applications/misc/flashprint { }; fahclient = callPackage ../applications/science/misc/foldingathome/client.nix { }; gajim = callPackage ../applications/networking/instant-messengers/gajim { inherit (gst_all_1) gstreamer gst-plugins-base gst-libav; gst-plugins-good = gst_all_1.gst-plugins-good.override { gtkSupport = true; }; }; ghostscriptX = ghostscript.override { cupsSupport = true; x11Support = true; }; ghostscript_headless = ghostscript.override { cupsSupport = false; x11Support = false; }; gnuk = callPackage ../misc/gnuk { gcc-arm-embedded = pkgsCross.arm-embedded.buildPackages.gcc; binutils-arm-embedded = pkgsCross.arm-embedded.buildPackages.binutils; }; gotestwaf = callPackage ../tools/security/gotestwaf { buildGoModule = buildGo123Module; }; gotrue = callPackage ../tools/security/gotrue { }; gotrue-supabase = callPackage ../tools/security/gotrue/supabase.nix { }; gowitness = callPackage ../tools/security/gowitness { buildGoModule = buildGo123Module; }; helmfile = callPackage ../applications/networking/cluster/helmfile { }; helmfile-wrapped = callPackage ../applications/networking/cluster/helmfile { inherit (kubernetes-helm-wrapped.passthru) pluginsDir; }; hplipWithPlugin = hplip.override { withPlugin = true; }; hyperfine = callPackage ../tools/misc/hyperfine { inherit (darwin.apple_sdk.frameworks) Security; }; websocat = callPackage ../tools/misc/websocat { inherit (darwin.apple_sdk.frameworks) Security; }; vector = callPackage ../tools/misc/vector { inherit (darwin.apple_sdk.frameworks) Security CoreServices SystemConfiguration; }; hjson = with python3Packages; toPythonApplication hjson; epkowa = callPackage ../misc/drivers/epkowa { }; utsushi = callPackage ../misc/drivers/utsushi { }; utsushi-networkscan = callPackage ../misc/drivers/utsushi/networkscan.nix { }; lima = callPackage ../applications/virtualization/lima { inherit (darwin) sigtool; }; lima-bin = callPackage ../applications/virtualization/lima/bin.nix { }; image_optim = callPackage ../applications/graphics/image_optim { inherit (nodePackages) svgo; }; itamae = callPackage ../tools/admin/itamae { }; # using the new configuration style proposal which is unstable jack1 = callPackage ../misc/jackaudio/jack1.nix { }; jack2 = callPackage ../misc/jackaudio { libopus = libopus.override { withCustomModes = true; }; inherit (darwin.apple_sdk.frameworks) AudioUnit CoreAudio Accelerate; inherit (darwin) libobjc; }; libjack2 = jack2.override { prefix = "lib"; }; jack-example-tools = callPackage ../misc/jackaudio/tools.nix { libopus = libopus.override { withCustomModes = true; }; jack = jack2; }; jack-autoconnect = libsForQt5.callPackage ../applications/audio/jack-autoconnect { }; jack_autoconnect = jack-autoconnect; j2cli = with python311Packages; toPythonApplication j2cli; kmonad = haskellPackages.kmonad.bin; kompute = callPackage ../development/libraries/kompute { fmt = fmt_8; }; # In general we only want keep the last three minor versions around that # correspond to the last three supported kubernetes versions: # https://kubernetes.io/docs/setup/release/version-skew-policy/#supported-versions # Exceptions are versions that we need to keep to allow upgrades from older NixOS releases inherit (callPackage ../applications/networking/cluster/kops {}) mkKops kops_1_27 kops_1_28 kops_1_29 kops_1_30 ; kops = kops_1_29; lighthouse = darwin.apple_sdk_11_0.callPackage ../applications/blockchains/lighthouse { inherit (darwin.apple_sdk_11_0.frameworks) CoreFoundation Security SystemConfiguration; }; lilypond = callPackage ../misc/lilypond { }; lilypond-unstable = callPackage ../misc/lilypond/unstable.nix { }; lilypond-unstable-with-fonts = callPackage ../misc/lilypond/with-fonts.nix { lilypond = lilypond-unstable; openlilylib-fonts = openlilylib-fonts.override { lilypond = lilypond-unstable; }; }; lilypond-with-fonts = callPackage ../misc/lilypond/with-fonts.nix { }; openlilylib-fonts = callPackage ../misc/lilypond/fonts.nix { }; mailcore2 = callPackage ../development/libraries/mailcore2 { icu = icu71; }; mongoc = darwin.apple_sdk_11_0.callPackage ../development/libraries/mongoc { }; mongocxx = callPackage ../development/libraries/mongocxx/default.nix { }; muse = libsForQt5.callPackage ../applications/audio/muse { }; nixVersions = recurseIntoAttrs (callPackage ../tools/package-management/nix { storeDir = config.nix.storeDir or "/nix/store"; stateDir = config.nix.stateDir or "/nix/var"; inherit (darwin.apple_sdk.frameworks) Security; }); nix = nixVersions.stable; nixStatic = pkgsStatic.nix; lixVersions = recurseIntoAttrs (callPackage ../tools/package-management/lix { storeDir = config.nix.storeDir or "/nix/store"; stateDir = config.nix.stateDir or "/nix/var"; inherit (darwin.apple_sdk.frameworks) Security; }); lix = lixVersions.stable; lixStatic = pkgsStatic.lix; inherit (callPackages ../applications/networking/cluster/nixops { }) nixops_unstable_minimal # Not recommended; too fragile nixops_unstable_full; # Useful with ofborg, e.g. commit prefix `nixops_unstablePlugins.nixops-digitalocean: ...` to trigger automatically. nixops_unstablePlugins = recurseIntoAttrs nixops_unstable_minimal.availablePlugins; /* Evaluate a NixOS configuration using this evaluation of Nixpkgs. With this function you can write, for example, a package that depends on a custom virtual machine image. Parameter: A module, path or list of those that represent the configuration of the NixOS system to be constructed. Result: An attribute set containing packages produced by this evaluation of NixOS, such as toplevel, kernel and initialRamdisk. The result can be extended in the modules by defining extra attributes in system.build. Alternatively, you may use the result's config and options attributes to query any option. Example: let myOS = pkgs.nixos ({ lib, pkgs, config, ... }: { config.services.nginx = { enable = true; # ... }; # Use config.system.build to exports relevant parts of a # configuration. The runner attribute should not be # considered a fully general replacement for systemd # functionality. config.system.build.run-nginx = config.systemd.services.nginx.runner; }); in myOS.run-nginx Unlike in plain NixOS, the nixpkgs.config and nixpkgs.system options will be ignored by default. Instead, nixpkgs.pkgs will have the default value of pkgs as it was constructed right after invoking the nixpkgs function (e.g. the value of import { overlays = [./my-overlay.nix]; } but not the value of (import {} // { extra = ...; }). If you do want to use the config.nixpkgs options, you are probably better off by calling nixos/lib/eval-config.nix directly, even though it is possible to set config.nixpkgs.pkgs. For more information about writing NixOS modules, see https://nixos.org/nixos/manual/index.html#sec-writing-modules Note that you will need to have called Nixpkgs with the system parameter set to the right value for your deployment target. */ nixos = configuration: let c = import (path + "/nixos/lib/eval-config.nix") { modules = [( { lib, ... }: { config.nixpkgs.pkgs = lib.mkDefault pkgs; config.nixpkgs.localSystem = lib.mkDefault stdenv.hostPlatform; } )] ++ ( if builtins.isList configuration then configuration else [configuration] ); # The system is inherited from the current pkgs above. # Set it to null, to remove the "legacy" entrypoint's non-hermetic default. system = null; }; in c.config.system.build // c; /* A NixOS/home-manager/arion/... module that sets the `pkgs` module argument. */ pkgsModule = { options, ... }: { config = if options?nixpkgs.pkgs then { # legacy / nixpkgs.nix style nixpkgs.pkgs = pkgs; } else { # minimal _module.args.pkgs = pkgs; }; }; nixosOptionsDoc = attrs: (import ../../nixos/lib/make-options-doc) ({ inherit pkgs lib; } // attrs); nix-eval-jobs = callPackage ../tools/package-management/nix-eval-jobs { nix = nixVersions.nix_2_24; }; nix-delegate = haskell.lib.compose.justStaticExecutables haskellPackages.nix-delegate; nix-deploy = haskell.lib.compose.justStaticExecutables haskellPackages.nix-deploy; nix-derivation = haskell.lib.compose.justStaticExecutables haskellPackages.nix-derivation; nix-diff = haskell.lib.compose.justStaticExecutables haskellPackages.nix-diff; nix-du = callPackage ../tools/package-management/nix-du { inherit (darwin.apple_sdk.frameworks) Security; }; nix-info = callPackage ../tools/nix/info { }; nix-info-tested = nix-info.override { doCheck = true; }; nix-index-unwrapped = callPackage ../tools/package-management/nix-index { inherit (darwin.apple_sdk.frameworks) Security; }; nix-index = callPackage ../tools/package-management/nix-index/wrapper.nix { }; nix-linter = haskell.lib.compose.justStaticExecutables (haskellPackages.nix-linter); nixos-option = callPackage ../tools/nix/nixos-option { }; nix-pin = callPackage ../tools/package-management/nix-pin { }; nix-prefetch-github = with python3Packages; toPythonApplication nix-prefetch-github; inherit (callPackages ../tools/package-management/nix-prefetch-scripts { }) nix-prefetch-bzr nix-prefetch-cvs nix-prefetch-git nix-prefetch-hg nix-prefetch-svn nix-prefetch-scripts; nix-update-source = callPackage ../tools/package-management/nix-update-source { }; nix-tree = haskell.lib.compose.justStaticExecutables (haskellPackages.nix-tree); nix-serve-ng = haskell.lib.compose.justStaticExecutables haskellPackages.nix-serve-ng; nix-visualize = python3.pkgs.callPackage ../tools/package-management/nix-visualize { }; nixci = callPackage ../tools/nix/nixci { inherit (darwin.apple_sdk.frameworks) Security SystemConfiguration IOKit; }; nixfmt-classic = haskellPackages.nixfmt.bin; nixpkgs-manual = callPackage ../../doc/doc-support/package.nix { }; nixos-artwork = callPackage ../data/misc/nixos-artwork { }; nixos-icons = callPackage ../data/misc/nixos-artwork/icons.nix { }; nixos-grub2-theme = callPackage ../data/misc/nixos-artwork/grub2-theme.nix { }; nixos-rebuild = callPackage ../os-specific/linux/nixos-rebuild { }; disnix = callPackage ../tools/package-management/disnix { }; dysnomia = callPackage ../tools/package-management/disnix/dysnomia (config.disnix or { inherit (python3Packages) supervisor; }); DisnixWebService = callPackage ../tools/package-management/disnix/DisnixWebService { jdk = jdk8; }; lice = python3Packages.callPackage ../tools/misc/lice { }; mysql-workbench = callPackage ../applications/misc/mysql-workbench (let mysql = mysql80; in { gdal = gdal.override { libmysqlclient = mysql; }; mysql = mysql; pcre = pcre-cpp; }); resp-app = libsForQt5.callPackage ../applications/misc/resp-app { }; stork = darwin.apple_sdk_11_0.callPackage ../applications/misc/stork { inherit (darwin.apple_sdk_11_0.frameworks) Security; }; pgadmin4 = callPackage ../tools/admin/pgadmin { }; pgadmin4-desktopmode = callPackage ../tools/admin/pgadmin { server-mode = false; }; pgmodeler = qt6Packages.callPackage ../applications/misc/pgmodeler { }; pjsip = darwin.apple_sdk_11_0.callPackage ../applications/networking/pjsip { inherit (darwin.apple_sdk_11_0.frameworks) AppKit CoreFoundation Security; }; pt = callPackage ../applications/misc/pt { }; pyupgrade = with python3Packages; toPythonApplication pyupgrade; pwntools = with python3Packages; toPythonApplication pwntools; putty = callPackage ../applications/networking/remote/putty { gtk3 = if stdenv.hostPlatform.isDarwin then gtk3-x11 else gtk3; }; qMasterPassword = qt6Packages.callPackage ../applications/misc/qMasterPassword { }; qMasterPassword-wayland = qt6Packages.callPackage ../applications/misc/qMasterPassword { x11Support = false; waylandSupport = true; }; qmake2cmake = python3Packages.callPackage ../tools/misc/qmake2cmake { }; qtrvsim = libsForQt5.callPackage ../applications/science/computer-architecture/qtrvsim { }; qzdl = libsForQt5.callPackage ../games/qzdl { }; rates = callPackage ../tools/misc/rates { inherit (darwin.apple_sdk.frameworks) Security; }; rbspy = darwin.apple_sdk_11_0.callPackage ../development/tools/rbspy { }; pick-colour-picker = python3Packages.callPackage ../applications/graphics/pick-colour-picker { inherit glib gtk3 gobject-introspection wrapGAppsHook3; }; romdirfs = callPackage ../tools/filesystems/romdirfs { stdenv = gccStdenv; }; xdragon = lowPrio (callPackage ../tools/X11/xdragon { }); sail-riscv-rv32 = callPackage ../applications/virtualization/sail-riscv { arch = "RV32"; }; sail-riscv-rv64 = callPackage ../applications/virtualization/sail-riscv { arch = "RV64"; }; timeloop = pkgs.darwin.apple_sdk_11_0.callPackage ../applications/science/computer-architecture/timeloop { }; mfcj470dwlpr = pkgsi686Linux.callPackage ../misc/cups/drivers/mfcj470dwlpr { }; mfcj6510dwlpr = pkgsi686Linux.callPackage ../misc/cups/drivers/mfcj6510dwlpr { }; mfcl2700dnlpr = pkgsi686Linux.callPackage ../misc/cups/drivers/mfcl2700dnlpr { }; # This driver is only available as a 32 bit proprietary binary driver mfcl3770cdwlpr = (callPackage ../misc/cups/drivers/brother/mfcl3770cdw { }).driver; mfcl3770cdwcupswrapper = (callPackage ../misc/cups/drivers/brother/mfcl3770cdw { }).cupswrapper; samsung-unified-linux-driver_1_00_37 = callPackage ../misc/cups/drivers/samsung/1.00.37.nix { }; samsung-unified-linux-driver_4_01_17 = callPackage ../misc/cups/drivers/samsung/4.01.17.nix { }; samsung-unified-linux-driver = res.samsung-unified-linux-driver_4_01_17; sane-backends = callPackage ../applications/graphics/sane/backends (config.sane or {}); sane-drivers = callPackage ../applications/graphics/sane/drivers.nix { }; mkSaneConfig = callPackage ../applications/graphics/sane/config.nix { }; sane-frontends = callPackage ../applications/graphics/sane/frontends.nix { }; satysfi = callPackage ../tools/typesetting/satysfi { ocamlPackages = ocaml-ng.ocamlPackages_4_14; }; sc-controller = python3Packages.callPackage ../misc/drivers/sc-controller { inherit libusb1; # Shadow python.pkgs.libusb1. }; slock = callPackage ../misc/screensavers/slock { conf = config.slock.conf or null; }; snscrape = with python3Packages; toPythonApplication snscrape; sourceAndTags = callPackage ../misc/source-and-tags { hasktags = haskellPackages.hasktags; }; spacenavd = callPackage ../misc/drivers/spacenavd { inherit (darwin.apple_sdk.frameworks) IOKit; }; tellico = libsForQt5.callPackage ../applications/misc/tellico { }; termpdfpy = python3Packages.callPackage ../applications/misc/termpdf.py { }; inherit (callPackage ../applications/networking/cluster/terraform { }) mkTerraform terraform_1 terraform_plugins_test ; terraform = terraform_1; terraform-providers = recurseIntoAttrs ( callPackage ../applications/networking/cluster/terraform-providers { } ); terraforming = callPackage ../applications/networking/cluster/terraforming { }; terraform-landscape = callPackage ../applications/networking/cluster/terraform-landscape { }; terraspace = callPackage ../applications/networking/cluster/terraspace { }; tftui = python3Packages.callPackage ../applications/networking/cluster/tftui { }; touchosc = callPackage ../applications/audio/touchosc { }; trufflehog = callPackage ../tools/security/trufflehog { buildGoModule = buildGo123Module; }; unityhub = callPackage ../development/tools/unityhub { }; urbit = callPackage ../misc/urbit { }; unixcw = libsForQt5.callPackage ../applications/radio/unixcw { }; vaultenv = haskell.lib.justStaticExecutables haskellPackages.vaultenv; vaultwarden = callPackage ../tools/security/vaultwarden { inherit (darwin.apple_sdk.frameworks) Security CoreServices SystemConfiguration; }; vaultwarden-sqlite = vaultwarden; vaultwarden-mysql = vaultwarden.override { dbBackend = "mysql"; }; vaultwarden-postgresql = vaultwarden.override { dbBackend = "postgresql"; }; veilid = darwin.apple_sdk_11_0.callPackage ../tools/networking/veilid { inherit (darwin.apple_sdk.frameworks) AppKit Security; }; vimUtils = callPackage ../applications/editors/vim/plugins/vim-utils.nix { }; vimPlugins = recurseIntoAttrs (callPackage ../applications/editors/vim/plugins { }); vimb = wrapFirefox vimb-unwrapped { }; vips = callPackage ../by-name/vi/vips/package.nix { inherit (darwin.apple_sdk.frameworks) ApplicationServices Foundation; }; vivisect = with python3Packages; toPythonApplication (vivisect.override { withGui = true; }); vokoscreen = libsForQt5.callPackage ../applications/video/vokoscreen { ffmpeg = ffmpeg-full; }; vokoscreen-ng = libsForQt5.callPackage ../applications/video/vokoscreen-ng { inherit (gst_all_1) gstreamer gst-plugins-base gst-plugins-good gst-plugins-bad gst-plugins-ugly; }; wacomtablet = libsForQt5.callPackage ../tools/misc/wacomtablet { }; wamr = darwin.apple_sdk_11_0.callPackage ../development/interpreters/wamr { }; wasmer = callPackage ../development/interpreters/wasmer { llvmPackages = llvmPackages_18; }; wavm = callPackage ../development/interpreters/wavm { llvmPackages = llvmPackages_12; }; webkit2-sharp = callPackage ../development/libraries/webkit2-sharp { webkitgtk = webkitgtk_4_0; }; wibo = pkgsi686Linux.callPackage ../applications/emulators/wibo { }; wikicurses = callPackage ../applications/misc/wikicurses { pythonPackages = python3Packages; }; wiki-js = callPackage ../servers/web-apps/wiki-js { }; wiki-tui = callPackage ../misc/wiki-tui { inherit (darwin.apple_sdk.frameworks) Security; }; winePackagesFor = wineBuild: lib.makeExtensible (self: with self; { callPackage = newScope self; inherit wineBuild; inherit (callPackage ./wine-packages.nix {}) minimal base full stable stableFull unstable unstableFull staging stagingFull wayland waylandFull fonts; }); winePackages = recurseIntoAttrs (winePackagesFor (config.wine.build or "wine32")); wine64Packages = recurseIntoAttrs (winePackagesFor "wine64"); wineWowPackages = recurseIntoAttrs (winePackagesFor "wineWow"); wineWow64Packages = recurseIntoAttrs (winePackagesFor "wineWow64"); wine = winePackages.full; wine64 = wine64Packages.full; wine-staging = lowPrio (winePackages.full.override { wineRelease = "staging"; }); wine-wayland = lowPrio (winePackages.full.override { wineRelease = "wayland"; }); inherit (callPackage ../servers/web-apps/wordpress {}) wordpress wordpress_6_6; wordpressPackages = ( callPackage ../servers/web-apps/wordpress/packages { plugins = lib.importJSON ../servers/web-apps/wordpress/packages/plugins.json; themes = lib.importJSON ../servers/web-apps/wordpress/packages/themes.json; languages = lib.importJSON ../servers/web-apps/wordpress/packages/languages.json; }); wraith = callPackage ../applications/networking/irc/wraith { openssl = openssl_1_1; }; wxsqlite3 = callPackage ../development/libraries/wxsqlite3 { wxGTK = wxGTK32; inherit (darwin.apple_sdk.frameworks) Cocoa; inherit (darwin.stubs) setfile rez derez; }; wxsqliteplus = callPackage ../development/libraries/wxsqliteplus { wxGTK = wxGTK32; inherit (darwin.apple_sdk.frameworks) Cocoa; inherit (darwin.stubs) setfile; }; xhyve = callPackage ../applications/virtualization/xhyve { inherit (darwin.apple_sdk.frameworks) Hypervisor vmnet; inherit (darwin.apple_sdk.libs) xpc; inherit (darwin) libobjc; }; xsane = callPackage ../applications/graphics/sane/xsane.nix { }; xsw = callPackage ../applications/misc/xsw { # Enable the next line to use this in terminal. # Note that it requires sixel capable terminals such as mlterm # or xterm -ti 340 SDL = SDL_sixel; }; yacreader = libsForQt5.callPackage ../applications/graphics/yacreader { }; yamale = with python3Packages; toPythonApplication yamale; yandex-browser-beta = yandex-browser.override { edition = "beta"; }; yandex-browser-corporate = yandex-browser.override { edition = "corporate"; }; zap-chip-gui = zap-chip.override { withGui = true; }; myEnvFun = callPackage ../misc/my-env { inherit (stdenv) mkDerivation; }; znc = callPackage ../applications/networking/znc { }; zncModules = recurseIntoAttrs ( callPackage ../applications/networking/znc/modules.nix { } ); zrok = callPackage ../tools/networking/zrok { }; bullet = callPackage ../development/libraries/bullet { inherit (darwin.apple_sdk.frameworks) Cocoa OpenGL; }; bullet-roboschool = callPackage ../development/libraries/bullet/roboschool-fork.nix { inherit (darwin.apple_sdk.frameworks) Cocoa OpenGL; }; dart = callPackage ../development/compilers/dart { }; pub2nix = recurseIntoAttrs (callPackage ../build-support/dart/pub2nix { }); buildDartApplication = callPackage ../build-support/dart/build-dart-application { }; dartHooks = callPackage ../build-support/dart/build-dart-application/hooks { }; httrack = callPackage ../tools/backup/httrack { }; httraqt = libsForQt5.callPackage ../tools/backup/httrack/qt.nix { }; # Overriding does not work when using callPackage on discord using import instead. (https://github.com/NixOS/nixpkgs/pull/179906) discord = import ../applications/networking/instant-messengers/discord { inherit lib stdenv; inherit (pkgs) callPackage fetchurl; branch = "stable"; }; discord-ptb = import ../applications/networking/instant-messengers/discord { inherit lib stdenv; inherit (pkgs) callPackage fetchurl; branch = "ptb"; }; discord-canary = import ../applications/networking/instant-messengers/discord { inherit lib stdenv; inherit (pkgs) callPackage fetchurl; branch = "canary"; }; discord-development = import ../applications/networking/instant-messengers/discord { inherit lib stdenv; inherit (pkgs) callPackage fetchurl; branch = "development"; }; discord-screenaudio = qt6Packages.callPackage ../applications/networking/instant-messengers/discord-screenaudio { }; discordo = callPackage ../applications/networking/discordo/default.nix { }; golden-cheetah = libsForQt5.callPackage ../applications/misc/golden-cheetah { }; tomb = callPackage ../by-name/to/tomb/package.nix { pinentry = pinentry-curses; }; serial-studio = libsForQt5.callPackage ../applications/misc/serial-studio { }; maphosts = callPackage ../tools/networking/maphosts { }; tora = libsForQt5.callPackage ../development/tools/tora { }; nitrokey-app = libsForQt5.callPackage ../tools/security/nitrokey-app { }; nitrokey-app2 = qt6Packages.callPackage ../tools/security/nitrokey-app2 { }; hy = with python3Packages; toPythonApplication hy; ghc-standalone-archive = callPackage ../os-specific/darwin/ghc-standalone-archive { }; vdr = callPackage ../applications/video/vdr { }; vdrPlugins = recurseIntoAttrs (callPackage ../applications/video/vdr/plugins.nix { }); wrapVdr = callPackage ../applications/video/vdr/wrapper.nix { }; chrome-token-signing = libsForQt5.callPackage ../tools/security/chrome-token-signing { }; linode-cli = python3Packages.callPackage ../tools/virtualization/linode-cli { }; phonetisaurus = callPackage ../development/libraries/phonetisaurus { # https://github.com/AdolfVonKleist/Phonetisaurus/issues/70 openfst = openfst.overrideAttrs rec { version = "1.7.9"; src = fetchurl { url = "http://www.openfst.org/twiki/pub/FST/FstDownload/openfst-${version}.tar.gz"; hash = "sha256-kxmusx0eKVCuJUSYhOJVzCvJ36+Yf2AVkHY+YaEPvd4="; }; }; }; compressDrv = callPackage ../build-support/compress-drv { }; compressDrvWeb = callPackage ../build-support/compress-drv/web.nix { }; duti = callPackage ../os-specific/darwin/duti { inherit (darwin.apple_sdk.frameworks) ApplicationServices; }; dnstracer = callPackage ../tools/networking/dnstracer { inherit (darwin) libresolv; }; diceware = with python3Packages; toPythonApplication diceware; xml2rfc = with python3Packages; toPythonApplication xml2rfc; ape = callPackage ../applications/misc/ape { }; attemptoClex = callPackage ../applications/misc/ape/clex.nix { }; apeClex = callPackage ../applications/misc/ape/apeclex.nix { }; # Unix tools unixtools = recurseIntoAttrs (callPackages ./unixtools.nix { }); inherit (unixtools) hexdump ps logger eject umount mount wall hostname more sysctl getconf getent locale killall xxd watch; fts = if stdenv.hostPlatform.isMusl then musl-fts else null; bsdSetupHook = makeSetupHook { name = "bsd-setup-hook"; } ../os-specific/bsd/setup-hook.sh; freebsd = callPackage ../os-specific/bsd/freebsd { }; netbsd = callPackage ../os-specific/bsd/netbsd { }; openbsd = callPackage ../os-specific/bsd/openbsd { }; doing = callPackage ../applications/misc/doing { }; alibuild = callPackage ../development/tools/build-managers/alibuild { python = python3; }; bcompare = libsForQt5.callPackage ../applications/version-management/bcompare { }; xp-pen-deco-01-v2-driver = libsForQt5.xp-pen-deco-01-v2-driver; xp-pen-g430-driver = libsForQt5.xp-pen-g430-driver; newlib = callPackage ../development/misc/newlib { stdenv = stdenvNoLibc; }; newlib-nano = callPackage ../development/misc/newlib { stdenv = stdenvNoLibc; nanoizeNewlib = true; }; wasmtime = callPackage ../development/interpreters/wasmtime { inherit (darwin.apple_sdk.frameworks) Security; }; wfuzz = with python3Packages; toPythonApplication wfuzz; zfs-replicate = python3Packages.callPackage ../tools/backup/zfs-replicate { }; kodelife = callPackage ../applications/graphics/kodelife { inherit (gst_all_1) gstreamer gst-plugins-base; }; weasis = callPackage ../by-name/we/weasis/package.nix { jre = jdk21; }; sieveshell = with python3.pkgs; toPythonApplication managesieve; sunshine = callPackage ../servers/sunshine { }; jami = qt6Packages.callPackage ../applications/networking/instant-messengers/jami { # TODO: remove once `udev` is `systemdMinimal` everywhere. udev = systemdMinimal; jack = libjack2; }; gpio-utils = callPackage ../os-specific/linux/kernel/gpio-utils.nix { }; inherit (callPackage ../applications/misc/zettlr { }) zettlr; fac-build = callPackage ../development/tools/build-managers/fac { inherit (darwin.apple_sdk.frameworks) CoreServices; }; bottom = darwin.apple_sdk_11_0.callPackage ../tools/system/bottom { }; cagebreak = callPackage ../applications/window-managers/cagebreak { wlroots = wlroots_0_17; }; ldid = callPackage ../development/tools/ldid { inherit (darwin.apple_sdk.frameworks) CoreFoundation Security; }; zram-generator = callPackage ../tools/system/zram-generator { }; zrythm = callPackage ../applications/audio/zrythm { inherit (plasma5Packages) breeze-icons; }; honeymarker = callPackage ../servers/tracing/honeycomb/honeymarker { }; honeytail = callPackage ../servers/tracing/honeycomb/honeytail { }; honeyvent = callPackage ../servers/tracing/honeycomb/honeyvent { }; swift-corelibs-libdispatch = swiftPackages.Dispatch; aitrack = libsForQt5.callPackage ../applications/misc/aitrack { }; widevine-cdm = callPackage ../applications/networking/browsers/misc/widevine-cdm.nix { }; tidal-dl = python3Packages.callPackage ../tools/audio/tidal-dl { }; tubekit = callPackage ../applications/networking/cluster/tubekit/wrapper.nix { }; tubekit-unwrapped = callPackage ../applications/networking/cluster/tubekit { }; duden = python3Packages.toPythonApplication python3Packages.duden; tremotesf = libsForQt5.callPackage ../applications/networking/p2p/tremotesf { }; yazi-unwrapped = callPackage ../by-name/ya/yazi-unwrapped/package.nix { inherit (darwin.apple_sdk.frameworks) Foundation; }; animdl = python3Packages.callPackage ../applications/video/animdl { }; dillo = callPackage ../by-name/di/dillo/package.nix { fltk = fltk13; }; cantata = callPackage ../by-name/ca/cantata/package.nix { ffmpeg = ffmpeg_6; }; tree-from-tags = callPackage ../by-name/tr/tree-from-tags/package.nix { ruby = ruby_3_1; }; }