diff --git a/doc/languages-frameworks/hare.section.md b/doc/languages-frameworks/hare.section.md new file mode 100644 index 000000000000..0ae8abeba45c --- /dev/null +++ b/doc/languages-frameworks/hare.section.md @@ -0,0 +1,53 @@ +# Hare {#sec-language-hare} + +## Building Hare programs with `hareHook` {#ssec-language-hare} + +The `hareHook` package sets up the environment for building Hare programs by +doing the following: + +1. Setting the `HARECACHE`, `HAREPATH` and `NIX_HAREFLAGS` environment variables; +1. Propagating `harec`, `qbe` and two wrapper scripts for the hare binary. + +It is not a function as is the case for some other languages --- *e. g.*, Go or +Rust ---, but a package to be added to `nativeBuildInputs`. + +## Attributes of `hareHook` {#hareHook-attributes} + +The following attributes are accepted by `hareHook`: + +1. `hareBuildType`: Either `release` (default) or `debug`. It controls if the + `-R` flag is added to `NIX_HAREFLAGS`. + +## Example for `hareHook` {#ex-hareHook} + +```nix +{ + hareHook, + lib, + stdenv, +}: stdenv.mkDerivation { + pname = ""; + version = ""; + src = ""; + + nativeBuildInputs = [ hareHook ]; + + meta = { + description = ""; + inherit (hareHook) badPlatforms platforms; + }; +} +``` + +## Cross Compilation {#hareHook-cross-compilation} + +`hareHook` should handle cross compilation out of the box. This is the main +purpose of `NIX_HAREFLAGS`: In it, the `-a` flag is passed with the architecture +of the `hostPlatform`. + +However, manual intervention may be needed when a binary compiled by the build +process must be run for the build to complete --- *e. g.*, when using Hare's +`hare` module for code generation. + +In those cases, `hareHook` provides the `hare-native` script, which is a wrapper +around the hare binary for using the native (`buildPlatform`) toolchain. diff --git a/doc/languages-frameworks/index.md b/doc/languages-frameworks/index.md index 920e5e7bd431..e8fee9c45216 100644 --- a/doc/languages-frameworks/index.md +++ b/doc/languages-frameworks/index.md @@ -19,6 +19,7 @@ dotnet.section.md emscripten.section.md gnome.section.md go.section.md +hare.section.md haskell.section.md hy.section.md idris.section.md diff --git a/doc/stdenv/stdenv.chapter.md b/doc/stdenv/stdenv.chapter.md index f3cdb1f2dc0c..f2bc7f71de38 100644 --- a/doc/stdenv/stdenv.chapter.md +++ b/doc/stdenv/stdenv.chapter.md @@ -1558,6 +1558,8 @@ Both parameters take a list of flags as strings. The special `"all"` flag can be For more in-depth information on these hardening flags and hardening in general, refer to the [Debian Wiki](https://wiki.debian.org/Hardening), [Ubuntu Wiki](https://wiki.ubuntu.com/Security/Features), [Gentoo Wiki](https://wiki.gentoo.org/wiki/Project:Hardened), and the [Arch Wiki](https://wiki.archlinux.org/title/Security). +Note that support for some hardening flags varies by compiler, CPU architecture, target OS and libc. Combinations of these that don't support a particular hardening flag will silently ignore attempts to enable it. To see exactly which hardening flags are being employed in any invocation, the `NIX_DEBUG` environment variable can be used. + ### Hardening flags enabled by default {#sec-hardening-flags-enabled-by-default} The following flags are enabled by default and might require disabling with `hardeningDisable` if the program to package is incompatible. @@ -1607,6 +1609,16 @@ installwatch.c:3751:5: error: conflicting types for '__open_2' fcntl2.h:50:4: error: call to '__open_missing_mode' declared with attribute error: open with O_CREAT or O_TMPFILE in second argument needs 3 arguments ``` +Disabling `fortify` implies disablement of `fortify3` + +#### `fortify3` {#fortify3} + +Adds the `-O2 -D_FORTIFY_SOURCE=3` compiler options. This expands the cases that can be protected by fortify-checks to include some situations with dynamic-length buffers whose length can be inferred at runtime using compiler hints. + +Enabling this flag implies enablement of `fortify`. Disabling this flag does not imply disablement of `fortify`. + +This flag can sometimes conflict with a build-system's own attempts at enabling fortify support and result in errors complaining about `redefinition of _FORTIFY_SOURCE`. + #### `pic` {#pic} Adds the `-fPIC` compiler options. This options adds support for position independent code in shared libraries and thus making ASLR possible. @@ -1655,6 +1667,16 @@ Adds the `-fPIE` compiler and `-pie` linker options. Position Independent Execut Static libraries need to be compiled with `-fPIE` so that executables can link them in with the `-pie` linker option. If the libraries lack `-fPIE`, you will get the error `recompile with -fPIE`. +#### `zerocallusedregs` {#zerocallusedregs} + +Adds the `-fzero-call-used-regs=used-gpr` compiler option. This causes the general-purpose registers that an architecture's calling convention considers "call-used" to be zeroed on return from the function. This can make it harder for attackers to construct useful ROP gadgets and also reduces the chance of data leakage from a function call. + +#### `trivialautovarinit` {#trivialautovarinit} + +Adds the `-ftrivial-auto-var-init=pattern` compiler option. This causes "trivially-initializable" uninitialized stack variables to be forcibly initialized with a nonzero value that is likely to cause a crash (and therefore be noticed). Uninitialized variables generally take on their values based on fragments of previous program state, and attackers can carefully manipulate that state to craft malicious initial values for these variables. + +Use of this flag is controversial as it can prevent tools that detect uninitialized variable use (such as valgrind) from operating correctly. + [^footnote-stdenv-ignored-build-platform]: The build platform is ignored because it is a mere implementation detail of the package satisfying the dependency: As a general programming principle, dependencies are always *specified* as interfaces, not concrete implementation. [^footnote-stdenv-native-dependencies-in-path]: Currently, this means for native builds all dependencies are put on the `PATH`. But in the future that may not be the case for sake of matching cross: the platforms would be assumed to be unique for native and cross builds alike, so only the `depsBuild*` and `nativeBuildInputs` would be added to the `PATH`. [^footnote-stdenv-propagated-dependencies]: Nix itself already takes a package’s transitive dependencies into account, but this propagation ensures nixpkgs-specific infrastructure like [setup hooks](#ssec-setup-hooks) also are run as if it were a propagated dependency. diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index 93330c1434f4..f7204627ada3 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -1310,6 +1310,13 @@ githubId = 29887; name = "Andrew Smith"; }; + Andy3153 = { + name = "Andrei Dobrete"; + email = "andy3153@protonmail.com"; + matrix = "@andy3153:matrix.org"; + github = "Andy3153"; + githubId = 53472302; + }; andys8 = { github = "andys8"; githubId = 13085980; @@ -7412,6 +7419,16 @@ fingerprint = "386E D1BF 848A BB4A 6B4A 3C45 FC83 907C 125B C2BC"; }]; }; + geoffreyfrogeye = { + name = "Geoffrey Frogeye"; + email = "geoffrey@frogeye.fr"; + matrix = "@geoffrey:frogeye.fr"; + github = "GeoffreyFrogeye"; + githubId = 1685403; + keys = [{ + fingerprint = "4FBA 930D 314A 0321 5E2C DB0A 8312 C8CA C1BA C289"; + }]; + }; georgesalkhouri = { name = "Georges Alkhouri"; email = "incense.stitch_0w@icloud.com"; diff --git a/maintainers/team-list.nix b/maintainers/team-list.nix index 7030ee6e6e1f..2bc124d6066a 100644 --- a/maintainers/team-list.nix +++ b/maintainers/team-list.nix @@ -962,6 +962,12 @@ with lib.maintainers; { shortName = "SageMath"; }; + sdl = { + members = [ ]; + scope = "Maintain SDL libraries."; + shortName = "SDL"; + }; + sphinx = { members = [ ]; scope = "Maintain Sphinx related packages."; diff --git a/nixos/doc/manual/release-notes/rl-2411.section.md b/nixos/doc/manual/release-notes/rl-2411.section.md index 6a53efcff449..eb05abdacb6e 100644 --- a/nixos/doc/manual/release-notes/rl-2411.section.md +++ b/nixos/doc/manual/release-notes/rl-2411.section.md @@ -60,6 +60,10 @@ - The `zerocallusedregs` hardening flag is enabled by default on compilers that support it. +- `hareHook` has been added as the language framework for Hare. From now on, it, + not the `hare` package, should be added to `nativeBuildInputs` when building + Hare programs. + - To facilitate dependency injection, the `imgui` package now builds a static archive using vcpkg' CMake rules. The derivation now installs "impl" headers selectively instead of by a wildcard. Use `imgui.src` if you just want to access the unpacked sources. diff --git a/nixos/modules/services/networking/netbird/coturn.nix b/nixos/modules/services/networking/netbird/coturn.nix index 746d70a07250..29ff1e8fc15e 100644 --- a/nixos/modules/services/networking/netbird/coturn.nix +++ b/nixos/modules/services/networking/netbird/coturn.nix @@ -60,6 +60,7 @@ in default = null; description = '' The password of the user used by netbird to connect to the coturn server. + Be advised this will be world readable in the nix store. ''; }; @@ -142,7 +143,11 @@ in ]; }); - security.acme.certs.${cfg.domain}.postRun = optionalString cfg.useAcmeCertificates "systemctl restart coturn.service"; + security.acme.certs = mkIf cfg.useAcmeCertificates { + ${cfg.domain}.postRun = '' + systemctl restart coturn.service + ''; + }; networking.firewall = { allowedUDPPorts = cfg.openPorts; diff --git a/nixos/modules/services/networking/netbird/server.nix b/nixos/modules/services/networking/netbird/server.nix index a4de0fda6a13..2b6ad696646e 100644 --- a/nixos/modules/services/networking/netbird/server.nix +++ b/nixos/modules/services/networking/netbird/server.nix @@ -2,6 +2,7 @@ let inherit (lib) + mkDefault mkEnableOption mkIf mkOption @@ -15,7 +16,7 @@ in { meta = { - maintainers = with lib.maintainers; [ thubrecht ]; + maintainers = with lib.maintainers; [thubrecht patrickdag]; doc = ./server.md; }; @@ -41,26 +42,46 @@ in config = mkIf cfg.enable { services.netbird.server = { dashboard = { - inherit (cfg) enable domain enableNginx; + domain = mkDefault cfg.domain; + enable = mkDefault cfg.enable; + enableNginx = mkDefault cfg.enableNginx; managementServer = "https://${cfg.domain}"; }; management = { - inherit (cfg) enable domain enableNginx; + domain = mkDefault cfg.domain; + enable = mkDefault cfg.enable; + enableNginx = mkDefault cfg.enableNginx; } - // (optionalAttrs cfg.coturn.enable { + // (optionalAttrs cfg.coturn.enable rec { turnDomain = cfg.domain; turnPort = config.services.coturn.tls-listening-port; + # We cannot merge a list of attrsets so we have to redefine the whole list + settings = { + TURNConfig.Turns = mkDefault [ + { + Proto = "udp"; + URI = "turn:${turnDomain}:${builtins.toString turnPort}"; + Username = "netbird"; + Password = + if (cfg.coturn.password != null) + then cfg.coturn.password + else {_secret = cfg.coturn.passwordFile;}; + } + ]; + }; }); signal = { - inherit (cfg) enable domain enableNginx; + domain = mkDefault cfg.domain; + enable = mkDefault cfg.enable; + enableNginx = mkDefault cfg.enableNginx; }; coturn = { - inherit (cfg) domain; + domain = mkDefault cfg.domain; }; }; }; diff --git a/nixos/modules/system/boot/systemd/coredump.nix b/nixos/modules/system/boot/systemd/coredump.nix index 1f29f6686d0d..ccf5d449b94a 100644 --- a/nixos/modules/system/boot/systemd/coredump.nix +++ b/nixos/modules/system/boot/systemd/coredump.nix @@ -53,7 +53,7 @@ in { pkgs.substitute { src = "${systemd}/example/sysctl.d/50-coredump.conf"; substitutions = [ - "--replace" + "--replace-fail" "${systemd}" "${pkgs.symlinkJoin { name = "systemd"; paths = [ systemd ]; }}" ]; diff --git a/nixos/tests/lvm2/systemd-stage-1.nix b/nixos/tests/lvm2/systemd-stage-1.nix index 7f106e1b0dd6..fe57a615a955 100644 --- a/nixos/tests/lvm2/systemd-stage-1.nix +++ b/nixos/tests/lvm2/systemd-stage-1.nix @@ -81,7 +81,17 @@ in import ../make-test-python.nix ({ pkgs, lib, ... }: { kernelPackages = lib.mkIf (kernelPackages != null) kernelPackages; }; - specialisation.boot-lvm.configuration.virtualisation.rootDevice = "/dev/test_vg/test_lv"; + specialisation.boot-lvm.configuration.virtualisation = { + useDefaultFilesystems = false; + fileSystems = { + "/" = { + device = "/dev/test_vg/test_lv"; + fsType = "xfs"; + }; + }; + + rootDevice = "/dev/test_vg/test_lv"; + }; }; testScript = '' @@ -99,7 +109,7 @@ in import ../make-test-python.nix ({ pkgs, lib, ... }: { # Ensure we have successfully booted from LVM assert "(initrd)" in machine.succeed("systemd-analyze") # booted with systemd in stage 1 - assert "/dev/mapper/test_vg-test_lv on / type ext4" in machine.succeed("mount") + assert "/dev/mapper/test_vg-test_lv on / type xfs" in machine.succeed("mount") assert "hello" in machine.succeed("cat /test") ${extraCheck} ''; diff --git a/pkgs/applications/audio/whipper/default.nix b/pkgs/applications/audio/whipper/default.nix index 53d7262d78df..3af08cce73d0 100644 --- a/pkgs/applications/audio/whipper/default.nix +++ b/pkgs/applications/audio/whipper/default.nix @@ -3,9 +3,12 @@ , fetchFromGitHub , fetchpatch , installShellFiles +, wrapGAppsNoGuiHook +, gobject-introspection , libcdio-paranoia , cdrdao , libsndfile +, glib , flac , sox , util-linux @@ -37,6 +40,8 @@ in python3.pkgs.buildPythonApplication rec { nativeBuildInputs = with python3.pkgs; [ installShellFiles + wrapGAppsNoGuiHook + gobject-introspection setuptools-scm docutils @@ -54,7 +59,7 @@ in python3.pkgs.buildPythonApplication rec { setuptools ]; - buildInputs = [ libsndfile ]; + buildInputs = [ libsndfile glib ]; nativeCheckInputs = with python3.pkgs; [ twisted @@ -62,8 +67,11 @@ in python3.pkgs.buildPythonApplication rec { makeWrapperArgs = [ "--prefix" "PATH" ":" (lib.makeBinPath bins) + "\${gappsWrapperArgs[@]}" ]; + dontWrapGApps = true; + outputs = [ "out" "man" ]; postBuild = '' make -C man diff --git a/pkgs/applications/blockchains/go-ethereum/default.nix b/pkgs/applications/blockchains/go-ethereum/default.nix index 028232f6cc70..b9c47e499569 100644 --- a/pkgs/applications/blockchains/go-ethereum/default.nix +++ b/pkgs/applications/blockchains/go-ethereum/default.nix @@ -9,17 +9,17 @@ let in buildGoModule rec { pname = "go-ethereum"; - version = "1.14.3"; + version = "1.14.4"; src = fetchFromGitHub { owner = "ethereum"; repo = pname; rev = "v${version}"; - sha256 = "sha256-h2i/q4gfvqO8SgFxjoIhm4y0icpt+qe0Tq+3W6Ld8KM="; + sha256 = "sha256-qjzwIyzuZxmz/72TylHsnofLIF3Jr7qjC1gy7NcP+KI="; }; proxyVendor = true; - vendorHash = "sha256-ugoRsxzJjPOS5yPhwqXhMPuThvyqCWvZD7PBnrkm0sQ="; + vendorHash = "sha256-vzxtoLlD1RjmKBpMPqcH/AAzk2l/NifpRl4Sp4qBYLg="; doCheck = false; diff --git a/pkgs/applications/misc/vp/default.nix b/pkgs/applications/misc/vp/default.nix deleted file mode 100644 index 07dbfef2f5f5..000000000000 --- a/pkgs/applications/misc/vp/default.nix +++ /dev/null @@ -1,28 +0,0 @@ -{ lib, stdenv, fetchFromGitHub, autoreconfHook, SDL, SDL_image }: - -stdenv.mkDerivation rec { - pname = "vp"; - version = "1.8"; - - src = fetchFromGitHub { - owner = "erikg"; - repo = "vp"; - rev = "v${version}"; - sha256 = "08q6xrxsyj6vj0sz59nix9isqz84gw3x9hym63lz6v8fpacvykdq"; - }; - - nativeBuildInputs = [ autoreconfHook ]; - - buildInputs = [ SDL SDL_image ]; - - env.NIX_CFLAGS_COMPILE = "-I${SDL}/include/SDL -I${SDL_image}/include/SDL"; - - meta = with lib; { - homepage = "https://brlcad.org/~erik/"; - description = "SDL based picture viewer/slideshow"; - platforms = platforms.unix; - license = licenses.gpl3; - maintainers = [ maintainers.vrthra ]; - mainProgram = "vp"; - }; -} diff --git a/pkgs/applications/networking/cluster/cilium/default.nix b/pkgs/applications/networking/cluster/cilium/default.nix index a9bbc5a73d6a..6ae9b8eef5a1 100644 --- a/pkgs/applications/networking/cluster/cilium/default.nix +++ b/pkgs/applications/networking/cluster/cilium/default.nix @@ -2,13 +2,13 @@ buildGoModule rec { pname = "cilium-cli"; - version = "0.16.8"; + version = "0.16.9"; src = fetchFromGitHub { owner = "cilium"; repo = pname; rev = "v${version}"; - hash = "sha256-SJWLWyjTdBilba+wsdpVS6i/OlQNlxZ5vjJTLheybSU="; + hash = "sha256-aER0VLYkHV0mPM4uBaKLPVmQ+Re5KUm8/01l87wMnF8="; }; vendorHash = null; diff --git a/pkgs/applications/virtualization/virt-manager/qt.nix b/pkgs/applications/virtualization/virt-manager/qt.nix index 840ada805d75..103d0a3f4fbb 100644 --- a/pkgs/applications/virtualization/virt-manager/qt.nix +++ b/pkgs/applications/virtualization/virt-manager/qt.nix @@ -1,4 +1,4 @@ -{ mkDerivation, lib, fetchFromGitHub, fetchpatch, cmake, pkg-config +{ mkDerivation, lib, fetchFromGitHub, cmake, pkg-config , qtbase, qtmultimedia, qtsvg, qttools, krdc , libvncserver, libvirt, pcre, pixman, qtermwidget, spice-gtk, spice-protocol , libselinux, libsepol, util-linux @@ -6,13 +6,13 @@ mkDerivation rec { pname = "virt-manager-qt"; - version = "0.72.97"; + version = "0.72.99"; src = fetchFromGitHub { owner = "F1ash"; repo = "qt-virt-manager"; rev = version; - sha256 = "0b2bx7ah35glcsiv186sc9cqdrkhg1vs9jz036k9byk61np0cb1i"; + hash = "sha256-1aXlGlK+YPOe2X51xycWvSu8YC9uCywyL6ItiScFA04="; }; cmakeFlags = [ @@ -20,14 +20,6 @@ mkDerivation rec { "-DQTERMWIDGET_INCLUDE_DIRS=${qtermwidget}/include/qtermwidget5" ]; - patches = [ - (fetchpatch { - # drop with next update - url = "https://github.com/F1ash/qt-virt-manager/commit/0d338b037ef58c376d468c1cd4521a34ea181edd.patch"; - sha256 = "1wjqyc5wsnxfwwjzgqjr9hcqhd867amwhjd712qyvpvz8x7p2s24"; - }) - ]; - buildInputs = [ qtbase qtmultimedia qtsvg krdc libvirt libvncserver pcre pixman qtermwidget spice-gtk spice-protocol diff --git a/pkgs/build-support/deterministic-uname/default.nix b/pkgs/build-support/deterministic-uname/default.nix index a39ff4c206c7..9efaa2558bfb 100644 --- a/pkgs/build-support/deterministic-uname/default.nix +++ b/pkgs/build-support/deterministic-uname/default.nix @@ -5,6 +5,7 @@ , coreutils , getopt , modDirVersion ? "" +, forPlatform ? stdenv.buildPlatform }: substituteAll { @@ -17,8 +18,8 @@ substituteAll { inherit coreutils getopt; - uSystem = if stdenv.buildPlatform.uname.system != null then stdenv.buildPlatform.uname.system else "unknown"; - inherit (stdenv.buildPlatform.uname) processor; + uSystem = if forPlatform.uname.system != null then forPlatform.uname.system else "unknown"; + inherit (forPlatform.uname) processor; # uname -o # maybe add to lib/systems/default.nix uname attrset @@ -26,9 +27,9 @@ substituteAll { # https://stackoverflow.com/questions/61711186/where-does-host-operating-system-in-uname-c-comes-from # https://github.com/coreutils/gnulib/blob/master/m4/host-os.m4 operatingSystem = - if stdenv.buildPlatform.isLinux + if forPlatform.isLinux then "GNU/Linux" - else if stdenv.buildPlatform.isDarwin + else if forPlatform.isDarwin then "Darwin" # darwin isn't in host-os.m4 so where does this come from? else if stdenv.buildPlatform.isFreeBSD then "FreeBSD" @@ -44,11 +45,12 @@ substituteAll { mainProgram = "uname"; longDescription = '' This package provides a replacement for `uname` whose output depends only - on `stdenv.buildPlatform`. It is meant to be used from within derivations. - Many packages' build processes run `uname` at compile time and embed its - output into the result of the build. Since `uname` calls into the kernel, - and the Nix sandbox currently does not intercept these calls, builds made - on different kernels will produce different results. + on `stdenv.buildPlatform`, or a configurable `forPlatform`. It is meant + to be used from within derivations. Many packages' build processes run + `uname` at compile time and embed its output into the result of the build. + Since `uname` calls into the kernel, and the Nix sandbox currently does + not intercept these calls, builds made on different kernels will produce + different results. ''; license = [ licenses.mit ]; maintainers = with maintainers; [ artturin ]; diff --git a/pkgs/by-name/bo/bonsai/package.nix b/pkgs/by-name/bo/bonsai/package.nix index 6c5d9adb78b5..98b19be7e6fc 100644 --- a/pkgs/by-name/bo/bonsai/package.nix +++ b/pkgs/by-name/bo/bonsai/package.nix @@ -1,9 +1,10 @@ -{ stdenv -, lib -, fetchFromSourcehut -, gitUpdater -, hare -, hareThirdParty +{ + stdenv, + lib, + fetchFromSourcehut, + gitUpdater, + hareHook, + hareThirdParty, }: stdenv.mkDerivation (finalAttrs: { @@ -18,30 +19,18 @@ stdenv.mkDerivation (finalAttrs: { }; nativeBuildInputs = [ - hare + hareHook hareThirdParty.hare-ev hareThirdParty.hare-json ]; - makeFlags = [ - "PREFIX=${builtins.placeholder "out"}" - "HARECACHE=.harecache" - "HAREFLAGS=-qa${stdenv.hostPlatform.uname.processor}" - ]; + makeFlags = [ "PREFIX=${builtins.placeholder "out"}" ]; enableParallelBuilding = true; doCheck = true; - postPatch = '' - substituteInPlace Makefile \ - --replace 'hare build' 'hare build $(HAREFLAGS)' \ - --replace 'hare test' 'hare test $(HAREFLAGS)' - ''; - - passthru.updateScript = gitUpdater { - rev-prefix = "v"; - }; + passthru.updateScript = gitUpdater { rev-prefix = "v"; }; meta = with lib; { description = "Finite State Machine structured as a tree"; diff --git a/pkgs/games/btanks/default.nix b/pkgs/by-name/bt/btanks/package.nix similarity index 62% rename from pkgs/games/btanks/default.nix rename to pkgs/by-name/bt/btanks/package.nix index f1f2e84a614d..c055e64e664d 100644 --- a/pkgs/games/btanks/default.nix +++ b/pkgs/by-name/bt/btanks/package.nix @@ -1,23 +1,30 @@ -{ lib, stdenv, fetchurl, fetchpatch, scons, pkg-config, SDL, libGL, zlib, smpeg -, SDL_image, libvorbis, expat, zip, lua }: +{ + lib, + SDL, + SDL_image, + expat, + fetchpatch, + fetchurl, + libGL, + libvorbis, + lua, + pkg-config, + scons, + smpeg, + stdenv, + zip, + zlib, +}: -stdenv.mkDerivation rec { +stdenv.mkDerivation (finalAttrs: { pname = "btanks"; version = "0.9.8083"; src = fetchurl { - url = "mirror://sourceforge/${pname}/${pname}-${version}.tar.bz2"; + url = "mirror://sourceforge/btanks/btanks-${finalAttrs.version}.tar.bz2"; hash = "sha256-P9LOaitF96YMOxFPqa/xPLPdn7tqZc3JeYt2xPosQ0E="; }; - nativeBuildInputs = [ scons pkg-config ]; - - buildInputs = [ SDL libGL zlib smpeg SDL_image libvorbis expat zip lua ]; - - enableParallelBuilding = true; - - env.NIX_CFLAGS_COMPILE = "-I${SDL_image}/include/SDL"; - patches = [ (fetchpatch { name = "lua52.patch"; @@ -42,10 +49,37 @@ stdenv.mkDerivation rec { }) ]; - meta = with lib; { - description = "Fast 2d tank arcade game"; + nativeBuildInputs = [ + SDL + pkg-config + scons + smpeg + zip + ]; + + buildInputs = [ + SDL + SDL_image + expat + libGL + libvorbis + lua + smpeg + zlib + ]; + + env.NIX_CFLAGS_COMPILE = "-I${lib.getDev SDL_image}/include/SDL"; + + enableParallelBuilding = true; + + strictDeps = true; + + meta = { homepage = "https://sourceforge.net/projects/btanks/"; - license = licenses.gpl2Plus; - platforms = platforms.linux; + description = "Fast 2d tank arcade game with multiplayer and split-screen modes"; + license = lib.licenses.gpl2Plus; + mainProgram = "btanks"; + maintainers = with lib.maintainers; [ AndersonTorres ]; + inherit (SDL.meta) platforms; }; -} +}) diff --git a/pkgs/by-name/bu/buffer/package.nix b/pkgs/by-name/bu/buffer/package.nix new file mode 100644 index 000000000000..54b017d1baad --- /dev/null +++ b/pkgs/by-name/bu/buffer/package.nix @@ -0,0 +1,62 @@ +{ lib +, desktop-file-utils +, fetchFromGitLab +, gobject-introspection +, gtk4 +, gtksourceview5 +, libadwaita +, libspelling +, meson +, ninja +, pkg-config +, python3 +, stdenv +, wrapGAppsHook4 +}: + +stdenv.mkDerivation (finalAttrs: { + pname = "buffer"; + version = "0.9.2"; + + src = fetchFromGitLab { + domain = "gitlab.gnome.org"; + owner = "cheywood"; + repo = "buffer"; + rev = finalAttrs.version; + hash = "sha256-EIyaFL2AEez8FIErL8+x7QNHnCYxj4mOuz7E+Svvh5I="; + }; + + nativeBuildInputs = [ + desktop-file-utils + gobject-introspection + meson + ninja + pkg-config + wrapGAppsHook4 + ]; + + buildInputs = [ + gtk4 + gtksourceview5 + libadwaita + libspelling + (python3.withPackages (ps: with ps; [ + pygobject3 + ])) + ]; + + preFixup = '' + gappsWrapperArgs+=( + --prefix PYTHONPATH : "$out/${python3.sitePackages}" + ) + ''; + + meta = with lib; { + description = "Minimal editing space for all those things that don't need keeping"; + homepage = "https://gitlab.gnome.org/cheywood/buffer"; + license = licenses.gpl3Plus; + mainProgram = "buffer"; + maintainers = with maintainers; [ michaelgrahamevans ]; + platforms = platforms.linux; + }; +}) diff --git a/pkgs/by-name/co/comet-gog/package.nix b/pkgs/by-name/co/comet-gog/package.nix new file mode 100644 index 000000000000..61552a8d5b00 --- /dev/null +++ b/pkgs/by-name/co/comet-gog/package.nix @@ -0,0 +1,46 @@ +{ + lib, + stdenv, + rustPlatform, + fetchFromGitHub, + protobuf, + darwin, +}: + +let + inherit (darwin.apple_sdk.frameworks) CoreFoundation SystemConfiguration; +in +rustPlatform.buildRustPackage { + pname = "comet-gog"; + version = "0-unstable-2024-05-25"; + + src = fetchFromGitHub { + owner = "imLinguin"; + repo = "comet"; + rev = "378ec2abdc2498e7c0c12aa50b71f6d94c3e8e3c"; + hash = "sha256-r7ZPpJLy2fZsyNijl0+uYWQN941TCbv+Guv3wzD83IQ="; + fetchSubmodules = true; + }; + + cargoHash = "sha256-dXNAGMVayzgT96ETrph9eCbQv28EK/OOxIRV8ewpVvs="; + + # error: linker `aarch64-linux-gnu-gcc` not found + postPatch = '' + rm .cargo/config.toml + ''; + + env.PROTOC = lib.getExe' protobuf "protoc"; + + buildInputs = lib.optionals stdenv.isDarwin [ + CoreFoundation + SystemConfiguration + ]; + + meta = { + description = "Open Source implementation of GOG Galaxy's Communication Service"; + homepage = "https://github.com/imLinguin/comet"; + license = lib.licenses.gpl3Plus; + mainProgram = "comet"; + maintainers = with lib.maintainers; [ tomasajt ]; + }; +} diff --git a/pkgs/development/guile-modules/guile-sdl/default.nix b/pkgs/by-name/gu/guile-sdl/package.nix similarity index 50% rename from pkgs/development/guile-modules/guile-sdl/default.nix rename to pkgs/by-name/gu/guile-sdl/package.nix index 75ca3d8e4aa4..83879b26f7db 100644 --- a/pkgs/development/guile-modules/guile-sdl/default.nix +++ b/pkgs/by-name/gu/guile-sdl/package.nix @@ -1,60 +1,60 @@ -{ lib -, stdenv -, fetchurl -, guile -, lzip -, pkg-config -, SDL -, SDL_image -, SDL_mixer -, SDL_ttf -, buildEnv +{ + lib, + SDL, + SDL_image, + SDL_mixer, + SDL_ttf, + buildEnv, + fetchurl, + guile, + lzip, + pkg-config, + stdenv, }: -stdenv.mkDerivation rec { +stdenv.mkDerivation (finalAttrs: { pname = "guile-sdl"; version = "0.6.1"; src = fetchurl { - url = "mirror://gnu/${pname}/${pname}-${version}.tar.lz"; + url = "mirror://gnu/guile-sdl/guile-sdl-${finalAttrs.version}.tar.lz"; hash = "sha256-/9sTTvntkRXck3FoRalROjqUQC8hkePtLTnHNZotKOE="; }; - strictDeps = true; - nativeBuildInputs = [ + SDL guile lzip pkg-config - SDL ]; buildInputs = [ - guile (lib.getDev SDL) - SDL_image - SDL_mixer - SDL_ttf + (lib.getDev SDL_image) + (lib.getDev SDL_mixer) + (lib.getDev SDL_ttf) + guile ]; makeFlags = let sdl-env = buildEnv { name = "sdl-env"; - paths = buildInputs; + paths = finalAttrs.buildInputs; }; in [ "SDLMINUSI=-I${sdl-env}/include/SDL" ]; - meta = with lib; { + strictDeps = true; + + meta = { homepage = "https://www.gnu.org/software/guile-sdl/"; description = "Guile bindings for SDL"; - license = licenses.gpl3Plus; - maintainers = with maintainers; [ vyp ]; - platforms = guile.meta.platforms; - # configure: error: *** SDL version not found! - broken = stdenv.isDarwin; + license = lib.licenses.gpl3Plus; + maintainers = lib.teams.sdl.members + ++ (with lib.maintainers; [ ]); + inherit (guile.meta) platforms; }; -} +}) diff --git a/pkgs/by-name/ha/hare/hook.nix b/pkgs/by-name/ha/hare/hook.nix new file mode 100644 index 000000000000..e5a9bad131aa --- /dev/null +++ b/pkgs/by-name/ha/hare/hook.nix @@ -0,0 +1,56 @@ +{ + hare, + lib, + makeSetupHook, + makeWrapper, + runCommand, + stdenv, + writeShellApplication, +}: +let + arch = stdenv.targetPlatform.uname.processor; + harePropagationInputs = builtins.attrValues { inherit (hare) harec qbe; }; + hareWrappedScript = writeShellApplication { + # `name` MUST be `hare`, since its role is to replace the hare binary. + name = "hare"; + runtimeInputs = [ hare ]; + excludeShellChecks = [ "SC2086" ]; + # ''${cmd:+"$cmd"} is used on the default case to keep the same behavior as + # the hare binary: If "$cmd" is passed directly and it's empty, the hare + # binary will treat it as an unrecognized command. + text = '' + readonly cmd="$1" + shift + case "$cmd" in + "test"|"run"|"build") exec hare "$cmd" $NIX_HAREFLAGS "$@" ;; + *) exec hare ''${cmd:+"$cmd"} "$@" + esac + ''; + }; + hareWrapper = runCommand "hare-wrapper" { nativeBuildInputs = [ makeWrapper ]; } '' + mkdir -p $out/bin + install ${lib.getExe hareWrappedScript} $out/bin/hare + makeWrapper ${lib.getExe hare} $out/bin/hare-native \ + --inherit-argv0 \ + --unset AR \ + --unset LD \ + --unset CC + ''; +in +makeSetupHook { + name = "hare-hook"; + # The propagation of `qbe` and `harec` (harePropagationInputs) is needed for + # build frameworks like `haredo`, which set the HAREC and QBE env vars to + # `harec` and `qbe` respectively. We use the derivations from the `hare` + # package to assure that there's no different behavior between the `hareHook` + # and `hare` packages. + propagatedBuildInputs = [ hareWrapper ] ++ harePropagationInputs; + substitutions = { + hare_unconditional_flags = "-q -a${arch}"; + hare_stdlib = "${hare}/src/hare/stdlib"; + }; + meta = { + description = "A setup hook for the Hare compiler"; + inherit (hare.meta) badPlatforms platforms; + }; +} ./setup-hook.sh diff --git a/pkgs/by-name/ha/hare/package.nix b/pkgs/by-name/ha/hare/package.nix index 5c8a80520937..80c30e89a2b6 100644 --- a/pkgs/by-name/ha/hare/package.nix +++ b/pkgs/by-name/ha/hare/package.nix @@ -3,7 +3,6 @@ stdenv, fetchFromSourcehut, harec, - qbe, gitUpdater, scdoc, tzdata, @@ -33,6 +32,7 @@ assert ''; let + inherit (harec) qbe; buildArch = stdenv.buildPlatform.uname.processor; arch = stdenv.hostPlatform.uname.processor; platform = lib.toLower stdenv.hostPlatform.uname.system; @@ -130,13 +130,6 @@ stdenv.mkDerivation (finalAttrs: { scdoc ]; - # Needed for build frameworks like `haredo`, which set the HAREC and QBE env vars to `harec` and - # `qbe` respectively. - propagatedBuildInputs = [ - harec - qbe - ]; - buildInputs = [ harec qbe @@ -171,8 +164,6 @@ stdenv.mkDerivation (finalAttrs: { ln -s configs/${platform}.mk config.mk ''; - setupHook = ./setup-hook.sh; - passthru = { updateScript = gitUpdater { }; tests = @@ -182,6 +173,8 @@ stdenv.mkDerivation (finalAttrs: { // lib.optionalAttrs (stdenv.buildPlatform.canExecute stdenv.hostPlatform) { mimeModule = callPackage ./mime-module-test.nix { hare = finalAttrs.finalPackage; }; }; + # To be propagated by `hareHook`. + inherit harec qbe; }; meta = { diff --git a/pkgs/by-name/ha/hare/setup-hook.sh b/pkgs/by-name/ha/hare/setup-hook.sh index d2d2c34354d6..3a427fd70328 100644 --- a/pkgs/by-name/ha/hare/setup-hook.sh +++ b/pkgs/by-name/ha/hare/setup-hook.sh @@ -1,9 +1,36 @@ -addHarepath () { - for haredir in third-party stdlib; do - if [[ -d "$1/src/hare/$haredir" ]]; then - addToSearchPath HAREPATH "$1/src/hare/$haredir" - fi - done +# shellcheck disable=SC2154,SC2034,SC2016 + +addHarepath() { + local -r thirdparty="${1-}/src/hare/third-party" + if [[ -d "$thirdparty" ]]; then + addToSearchPath HAREPATH "$thirdparty" + fi } +# Hare's stdlib should come after its third party libs, since the latter may +# expand or shadow the former. +readonly hareSetStdlibPhase=' +addToSearchPath HAREPATH "@hare_stdlib@" +' +readonly hareInfoPhase=' +echoCmd "HARECACHE" "$HARECACHE" +echoCmd "HAREPATH" "$HAREPATH" +echoCmd "hare" "$(command -v hare)" +echoCmd "hare-native" "$(command -v hare-native)" +' +prePhases+=("hareSetStdlibPhase" "hareInfoPhase") + +readonly hare_unconditional_flags="@hare_unconditional_flags@" +case "${hareBuildType:-"release"}" in +"release") export NIX_HAREFLAGS="-R $hare_unconditional_flags" ;; +"debug") export NIX_HAREFLAGS="$hare_unconditional_flags" ;; +*) + printf -- 'Invalid hareBuildType: "%s"\n' "${hareBuildType-}" + exit 1 + ;; +esac + +HARECACHE="$(mktemp -d)" +export HARECACHE + addEnvHooks "$hostOffset" addHarepath diff --git a/pkgs/by-name/ha/harec/package.nix b/pkgs/by-name/ha/harec/package.nix index e95ad7ed7095..f0534064be3c 100644 --- a/pkgs/by-name/ha/harec/package.nix +++ b/pkgs/by-name/ha/harec/package.nix @@ -1,17 +1,20 @@ -{ lib -, stdenv -, fetchFromSourcehut -, qbe -, gitUpdater +{ + fetchFromSourcehut, + gitUpdater, + lib, + qbe, + stdenv, }: let platform = lib.toLower stdenv.hostPlatform.uname.system; arch = stdenv.hostPlatform.uname.processor; - qbePlatform = { - x86_64 = "amd64_sysv"; - aarch64 = "arm64"; - riscv64 = "rv64"; - }.${arch}; + qbePlatform = + { + x86_64 = "amd64_sysv"; + aarch64 = "arm64"; + riscv64 = "rv64"; + } + .${arch}; in stdenv.mkDerivation (finalAttrs: { pname = "harec"; @@ -24,13 +27,9 @@ stdenv.mkDerivation (finalAttrs: { hash = "sha256-NOfoCT/wKZ3CXYzXZq7plXcun+MXQicfzBOmetXN7Qs="; }; - nativeBuildInputs = [ - qbe - ]; + nativeBuildInputs = [ qbe ]; - buildInputs = [ - qbe - ]; + buildInputs = [ qbe ]; makeFlags = [ "PREFIX=${builtins.placeholder "out"}" @@ -54,6 +53,8 @@ stdenv.mkDerivation (finalAttrs: { passthru = { updateScript = gitUpdater { }; + # To be kept in sync with the hare package. + inherit qbe; }; meta = { @@ -65,7 +66,8 @@ stdenv.mkDerivation (finalAttrs: { # The upstream developers do not like proprietary operating systems; see # https://harelang.org/platforms/ # UPDATE: https://github.com/hshq/harelang provides a MacOS port - platforms = with lib.platforms; + platforms = + with lib.platforms; lib.intersectLists (freebsd ++ openbsd ++ linux) (aarch64 ++ x86_64 ++ riscv64); badPlatforms = lib.platforms.darwin; }; diff --git a/pkgs/by-name/ha/haredo/package.nix b/pkgs/by-name/ha/haredo/package.nix index e722d11eafd5..08592c674395 100644 --- a/pkgs/by-name/ha/haredo/package.nix +++ b/pkgs/by-name/ha/haredo/package.nix @@ -2,16 +2,13 @@ stdenv, lib, fetchFromSourcehut, - hare, + hareHook, scdoc, nix-update-script, makeWrapper, bash, substituteAll, }: -let - arch = stdenv.hostPlatform.uname.processor; -in stdenv.mkDerivation (finalAttrs: { pname = "haredo"; version = "1.0.5"; @@ -37,27 +34,23 @@ stdenv.mkDerivation (finalAttrs: { ]; nativeBuildInputs = [ - hare + hareHook makeWrapper scdoc ]; enableParallelChecking = true; + env.PREFIX = builtins.placeholder "out"; + doCheck = stdenv.buildPlatform.canExecute stdenv.hostPlatform; dontConfigure = true; - preBuild = '' - HARECACHE="$(mktemp -d)" - export HARECACHE - export PREFIX=${builtins.placeholder "out"} - ''; - buildPhase = '' runHook preBuild - hare build -o bin/haredo -qRa${arch} ./src + hare build -o bin/haredo ./src scdoc doc/haredo.1 runHook postBuild @@ -92,6 +85,6 @@ stdenv.mkDerivation (finalAttrs: { license = lib.licenses.wtfpl; maintainers = with lib.maintainers; [ onemoresuza ]; mainProgram = "haredo"; - inherit (hare.meta) platforms badPlatforms; + inherit (hareHook.meta) platforms badPlatforms; }; }) diff --git a/pkgs/by-name/ha/haredoc/package.nix b/pkgs/by-name/ha/haredoc/package.nix index 2476e7d937c5..773b226316ae 100644 --- a/pkgs/by-name/ha/haredoc/package.nix +++ b/pkgs/by-name/ha/haredoc/package.nix @@ -1,33 +1,31 @@ -{ lib -, stdenv -, scdoc -, hare +{ + lib, + stdenv, + scdoc, + hare, + hareHook, }: -let - arch = stdenv.hostPlatform.uname.processor; -in stdenv.mkDerivation { pname = "haredoc"; - outputs = [ "out" "man" ]; + outputs = [ + "out" + "man" + ]; inherit (hare) version src; - strictDeps = true; - enableParallelBuilding = true; - nativeBuildInputs = [ scdoc - hare + hareHook ]; - preBuild = '' - HARECACHE="$(mktemp -d)" - export HARECACHE - ''; + strictDeps = true; + + enableParallelBuilding = true; buildPhase = '' runHook preBuild - hare build -qR -a ${arch} -o haredoc ./cmd/haredoc + hare build -o haredoc ./cmd/haredoc scdoc haredoc.1 scdoc haredoc.5 @@ -50,6 +48,6 @@ stdenv.mkDerivation { license = lib.licenses.gpl3Only; maintainers = with lib.maintainers; [ onemoresuza ]; mainProgram = "haredoc"; - inherit (hare.meta) platforms badPlatforms; + inherit (hareHook.meta) platforms badPlatforms; }; } diff --git a/pkgs/by-name/ma/marwaita-x/package.nix b/pkgs/by-name/ma/marwaita-x/package.nix index c370771153ff..e46e382bcd8e 100644 --- a/pkgs/by-name/ma/marwaita-x/package.nix +++ b/pkgs/by-name/ma/marwaita-x/package.nix @@ -10,13 +10,13 @@ stdenvNoCC.mkDerivation (finalAttrs: { pname = "marwaita-x"; - version = "1.1"; + version = "1.2"; src = fetchFromGitHub { owner = "darkomarko42"; repo = "marwaita-x"; rev = finalAttrs.version; - sha256 = "sha256-BygdRRS+d8iP6f2NQ0RmZh14/goP9NoNzg6tpcpOz8c="; + sha256 = "sha256-HQsIF9CNFROaxl5hnmat2VWEXFT8gW4UWSi/A1dFi6Y="; }; buildInputs = [ diff --git a/pkgs/by-name/ma/massdns/package.nix b/pkgs/by-name/ma/massdns/package.nix new file mode 100644 index 000000000000..9b90c674adb7 --- /dev/null +++ b/pkgs/by-name/ma/massdns/package.nix @@ -0,0 +1,36 @@ +{ stdenv +, lib +, fetchFromGitHub +, nix-update-script +}: +stdenv.mkDerivation rec { + pname = "massdns"; + version = "1.1.0"; + + src = fetchFromGitHub { + owner = "blechschmidt"; + repo = "massdns"; + rev = "v${version}"; + hash = "sha256-hrnAg5ErPt93RV4zobRGVtcKt4aM2tC52r08T7+vRGc="; + }; + + makeFlags = [ + "PREFIX=$(out)" + "PROJECT_FLAGS=-DMASSDNS_REVISION='\"v${version}\"'" + ]; + buildFlags = if stdenv.isLinux then "all" else "nolinux"; + + passthru.updateScript = nix-update-script { }; + + meta = with lib; { + description = "Resolve large amounts of domain names"; + homepage = "https://github.com/blechschmidt/massdns"; + changelog = "https://github.com/blechschmidt/massdns/releases/tag/v${version}"; + license = licenses.gpl3Only; + maintainers = with maintainers; [ geoffreyfrogeye ]; + mainProgram = "massdns"; + platforms = platforms.all; + # error: use of undeclared identifier 'MSG_NOSIGNAL' + badPlatforms = platforms.darwin; + }; +} diff --git a/pkgs/by-name/on/onscripter-en/package.nix b/pkgs/by-name/on/onscripter-en/package.nix new file mode 100644 index 000000000000..74b440b42773 --- /dev/null +++ b/pkgs/by-name/on/onscripter-en/package.nix @@ -0,0 +1,67 @@ +{ + lib, + SDL, + SDL_image, + SDL_mixer, + SDL_ttf, + fetchFromGitHub, + freetype, + libjpeg, + libogg, + libpng, + libvorbis, + pkg-config, + smpeg, + stdenv, +}: + + +stdenv.mkDerivation (finalAttrs: { + pname = "onscripter-en"; + version = "20110930"; + + # The website is not available now. Let's use a Museoa backup + src = fetchFromGitHub { + owner = "museoa"; + repo = "onscripter-en"; + rev = finalAttrs.version; + hash = "sha256-Lc5ZlH2C4ER02NmQ6icfiqpzVQdVUnOmdywGjjjSYSg="; + }; + + nativeBuildInputs = [ + SDL + pkg-config + smpeg + ]; + + buildInputs = [ + SDL + SDL_image + SDL_mixer + SDL_ttf + freetype + libjpeg + libogg + libpng + libvorbis + smpeg + ]; + + configureFlags = [ "--no-werror" ]; + + strictDeps = true; + + preBuild = '' + sed -i 's/.dll//g' Makefile + ''; + + meta = { + homepage = "http://github.com/museoa/onscripter-en"; + description = "Japanese visual novel scripting engine"; + license = lib.licenses.gpl2Plus; + mainProgram = "onscripter-en"; + maintainers = with lib.maintainers; [ AndersonTorres ]; + platforms = lib.platforms.unix; + broken = stdenv.isDarwin; + }; +}) diff --git a/pkgs/tools/networking/pgrok/default.nix b/pkgs/by-name/pg/pgrok/package.nix similarity index 71% rename from pkgs/tools/networking/pgrok/default.nix rename to pkgs/by-name/pg/pgrok/package.nix index e5c9610521ce..0aed3b49f807 100644 --- a/pkgs/tools/networking/pgrok/default.nix +++ b/pkgs/by-name/pg/pgrok/package.nix @@ -1,24 +1,38 @@ { lib , buildGoModule -, callPackage , fetchFromGitHub +, nix-update-script +, nodejs +, pnpm }: -buildGoModule rec { + +let pname = "pgrok"; version = "1.4.1"; - src = fetchFromGitHub { owner = "pgrok"; repo = "pgrok"; rev = "v${version}"; hash = "sha256-P36rpFi5J+dF6FrVaPhqupG00h4kwr0qumt4ehL/7vU="; }; +in - vendorHash = "sha256-X5FjzliIJdfJnNaUXBjv1uq5tyjMVjBbnLCBH/P0LFM="; +buildGoModule { + inherit pname version src; outputs = [ "out" "server" ]; - web = callPackage ./web.nix { inherit src version; }; + nativeBuildInputs = [ + nodejs + pnpm.configHook + ]; + + pnpmDeps = pnpm.fetchDeps { + inherit pname version src; + hash = "sha256-1PUcISW1pC9+5HZyI9SIDRyhos5f/6aW1wa2z0OKams="; + }; + + vendorHash = "sha256-X5FjzliIJdfJnNaUXBjv1uq5tyjMVjBbnLCBH/P0LFM="; ldflags = [ "-s" @@ -33,18 +47,23 @@ buildGoModule rec { "pgrokd/pgrokd" ]; - postPatch = '' + preBuild = '' + pushd pgrokd/web + + pnpm run build + + popd + # rename packages due to naming conflict mv pgrok/cli/ pgrok/pgrok/ mv pgrokd/cli/ pgrokd/pgrokd/ - cp -r ${web} pgrokd/pgrokd/dist ''; postInstall = '' moveToOutput bin/pgrokd $server ''; - passthru.updateScript = ./update.sh; + passthru.updateScript = nix-update-script { }; meta = { description = "Selfhosted TCP/HTTP tunnel, ngrok alternative, written in Go"; diff --git a/pkgs/by-name/sd/SDL2_Pango/package.nix b/pkgs/by-name/sd/SDL2_Pango/package.nix index e81d392ca6d6..de418804851e 100644 --- a/pkgs/by-name/sd/SDL2_Pango/package.nix +++ b/pkgs/by-name/sd/SDL2_Pango/package.nix @@ -1,48 +1,50 @@ -{ lib -, stdenv -, fetchFromGitHub -, autoreconfHook -, pkg-config -, freetype -, pango -, SDL2 -, darwin +{ + lib, + SDL2, + autoreconfHook, + darwin, + fetchFromGitHub, + freetype, + pango, + pkg-config, + stdenv, }: -stdenv.mkDerivation rec { +stdenv.mkDerivation (finalAttrs: { pname = "sdl2-pango"; version = "2.1.5"; src = fetchFromGitHub { owner = "markuskimius"; repo = "SDL2_Pango"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-8SL5ylxi87TuKreC8m2kxlLr8rcmwYYvwkp4vQZ9dkc="; }; + nativeBuildInputs = [ + SDL2 + autoreconfHook + pkg-config + ]; + + buildInputs = [ + SDL2 + freetype + pango + ] ++ lib.optionals stdenv.isDarwin [ + darwin.libobjc + ]; + outputs = [ "out" "dev" ]; strictDeps = true; - nativeBuildInputs = [ - autoreconfHook - pkg-config - SDL2 - ]; - - buildInputs = [ - freetype - pango - SDL2 - ] ++ lib.optionals stdenv.isDarwin [ - darwin.libobjc - ]; - - meta = with lib; { - description = "A library for graphically rendering internationalized and tagged text in SDL2 using TrueType fonts"; + meta = { homepage = "https://github.com/markuskimius/SDL2_Pango"; - license = licenses.lgpl21Plus; - maintainers = with maintainers; [ rardiol ]; - platforms = platforms.all; + description = "A library for graphically rendering internationalized and tagged text in SDL2 using TrueType fonts"; + license = lib.licenses.lgpl21Plus; + maintainers = lib.teams.sdl.members + ++ (with lib.maintainers; [ rardiol ]); + inherit (SDL2.meta) platforms; }; -} +}) diff --git a/pkgs/by-name/sd/SDL2_gfx/package.nix b/pkgs/by-name/sd/SDL2_gfx/package.nix new file mode 100644 index 000000000000..d74d859fefcb --- /dev/null +++ b/pkgs/by-name/sd/SDL2_gfx/package.nix @@ -0,0 +1,75 @@ +{ lib, + SDL2, + darwin, + fetchurl, + pkg-config, + stdenv, + testers, + # Boolean flags + enableMmx ? stdenv.hostPlatform.isx86, + enableSdltest ? (!stdenv.isDarwin), +}: + +stdenv.mkDerivation (finalAttrs: { + pname = "SDL2_gfx"; + version = "1.0.4"; + + src = fetchurl { + url = "http://www.ferzkopp.net/Software/SDL2_gfx/SDL2_gfx-${finalAttrs.version}.tar.gz"; + hash = "sha256-Y+DgGt3tyd8vhbk6JI8G6KBK/6AUqDXC6jS/405XYmI="; + }; + + nativeBuildInputs = [ + SDL2 + pkg-config + ]; + + buildInputs = [ + SDL2 + ] + ++ lib.optionals stdenv.isDarwin [ + darwin.libobjc + ]; + + outputs = [ "out" "dev" ]; + + configureFlags = [ + (lib.enableFeature enableMmx "mmx") + (lib.enableFeature enableSdltest "sdltest") + ]; + + strictDeps = true; + + passthru = { + tests.pkg-config = testers.hasPkgConfigModules { + package = finalAttrs.finalPackage; + }; + }; + + meta = { + homepage = "http://www.ferzkopp.net/wordpress/2016/01/02/sdl_gfx-sdl2_gfx/"; + description = "SDL graphics drawing primitives and support functions"; + longDescription = '' + The SDL_gfx library evolved out of the SDL_gfxPrimitives code which + provided basic drawing routines such as lines, circles or polygons and + SDL_rotozoom which implemented a interpolating rotozoomer for SDL + surfaces. + + The current components of the SDL_gfx library are: + + - Graphic Primitives (SDL_gfxPrimitves.h) + - Rotozoomer (SDL_rotozoom.h) + - Framerate control (SDL_framerate.h) + - MMX image filters (SDL_imageFilter.h) + - Custom Blit functions (SDL_gfxBlitFunc.h) + + The library is backwards compatible to the above mentioned code. Its is + written in plain C and can be used in C++ code. + ''; + license = lib.licenses.zlib; + maintainers = lib.teams.sdl.members + ++ (with lib.maintainers; [ ]); + pkgConfigModules = [ "SDL2_gfx" ]; + inherit (SDL2.meta) platforms; + }; +}) diff --git a/pkgs/by-name/sd/SDL2_mixer/package.nix b/pkgs/by-name/sd/SDL2_mixer/package.nix index c271614d8f5f..976dc2f5fa92 100644 --- a/pkgs/by-name/sd/SDL2_mixer/package.nix +++ b/pkgs/by-name/sd/SDL2_mixer/package.nix @@ -14,6 +14,9 @@ smpeg2, stdenv, timidity, + # Boolean flags + enableSdltest ? (!stdenv.isDarwin), + enableSmpegtest ? (!stdenv.isDarwin), }: let @@ -66,8 +69,8 @@ stdenv.mkDerivation (finalAttrs: { (lib.enableFeature false "music-mp3-mpg123-shared") (lib.enableFeature false "music-opus-shared") (lib.enableFeature false "music-midi-fluidsynth-shared") - (lib.enableFeature (!stdenv.isDarwin) "sdltest") - (lib.enableFeature (!stdenv.isDarwin) "smpegtest") + (lib.enableFeature enableSdltest "sdltest") + (lib.enableFeature enableSmpegtest "smpegtest") # override default path to allow MIDI files to be played (lib.withFeatureAs true "timidity-cfg" "${timidity}/share/timidity/timidity.cfg") ]; @@ -76,7 +79,8 @@ stdenv.mkDerivation (finalAttrs: { homepage = "https://github.com/libsdl-org/SDL_mixer"; description = "SDL multi-channel audio mixer library"; license = lib.licenses.zlib; - maintainers = with lib.maintainers; [ AndersonTorres ]; + maintainers = lib.teams.sdl.members + ++ (with lib.maintainers; [ AndersonTorres ]); platforms = lib.platforms.unix; }; }) diff --git a/pkgs/by-name/sd/SDL2_net/package.nix b/pkgs/by-name/sd/SDL2_net/package.nix index 79e0e0098623..0214e2cd5b4b 100644 --- a/pkgs/by-name/sd/SDL2_net/package.nix +++ b/pkgs/by-name/sd/SDL2_net/package.nix @@ -44,7 +44,8 @@ stdenv.mkDerivation (finalAttrs: { homepage = "https://github.com/libsdl-org/SDL_net"; description = "SDL multiplatform networking library"; license = lib.licenses.zlib; - maintainers = with lib.maintainers; [ AndersonTorres ]; + maintainers = lib.teams.sdl.members + ++ (with lib.maintainers; [ ]); inherit (SDL2.meta) platforms; }; }) diff --git a/pkgs/development/libraries/SDL2_sound/default.nix b/pkgs/by-name/sd/SDL2_sound/package.nix similarity index 92% rename from pkgs/development/libraries/SDL2_sound/default.nix rename to pkgs/by-name/sd/SDL2_sound/package.nix index 056991c9aca4..14f57cb49eab 100644 --- a/pkgs/development/libraries/SDL2_sound/default.nix +++ b/pkgs/by-name/sd/SDL2_sound/package.nix @@ -8,10 +8,15 @@ , libmikmod , libvorbis , timidity -, AudioToolbox -, CoreAudio +, darwin }: +let + inherit (darwin.apple_sdk.frameworks) + AudioToolbox + CoreAudio + ; +in stdenv.mkDerivation rec { pname = "SDL2_sound"; version = "2.0.1"; diff --git a/pkgs/by-name/sd/SDL2_ttf/package.nix b/pkgs/by-name/sd/SDL2_ttf/package.nix new file mode 100644 index 000000000000..b4cda2440237 --- /dev/null +++ b/pkgs/by-name/sd/SDL2_ttf/package.nix @@ -0,0 +1,65 @@ +{ + lib, + SDL2, + darwin, + fetchurl, + freetype, + harfbuzz, + libGL, + pkg-config, + stdenv, + testers, + # Boolean flags + enableSdltest ? (!stdenv.isDarwin), +}: + +stdenv.mkDerivation (finalAttrs: { + pname = "SDL2_ttf"; + version = "2.22.0"; + + src = fetchurl { + url = "https://www.libsdl.org/projects/SDL_ttf/release/SDL2_ttf-${finalAttrs.version}.tar.gz"; + sha256 = "sha256-1Iy9HOR1ueF4IGvzty1Wtm2E1E9krAWAMyg5YjTWdyM="; + }; + + nativeBuildInputs = [ + SDL2 + pkg-config + ]; + + buildInputs = [ + SDL2 + freetype + harfbuzz + ] + ++ lib.optionals (!stdenv.isDarwin) [ + libGL + ] + ++ lib.optionals stdenv.isDarwin [ + darwin.libobjc + ]; + + configureFlags = [ + (lib.enableFeature false "harfbuzz-builtin") + (lib.enableFeature false "freetype-builtin") + (lib.enableFeature enableSdltest "sdltest") + ]; + + strictDeps = true; + + passthru = { + tests.pkg-config = testers.hasPkgConfigModules { + package = finalAttrs.finalPackage; + }; + }; + + meta = { + homepage = "https://github.com/libsdl-org/SDL_ttf"; + description = "Support for TrueType (.ttf) font files with Simple Directmedia Layer"; + license = lib.licenses.zlib; + maintainers = lib.teams.sdl.members + ++ (with lib.maintainers; [ ]); + inherit (SDL2.meta) platforms; + pkgConfigModules = [ "SDL2_ttf" ]; + }; +}) diff --git a/pkgs/development/libraries/SDL_Pango/fixes.patch b/pkgs/by-name/sd/SDL_Pango/0001-fixes.patch similarity index 100% rename from pkgs/development/libraries/SDL_Pango/fixes.patch rename to pkgs/by-name/sd/SDL_Pango/0001-fixes.patch diff --git a/pkgs/by-name/sd/SDL_Pango/package.nix b/pkgs/by-name/sd/SDL_Pango/package.nix new file mode 100644 index 000000000000..8c4160d98684 --- /dev/null +++ b/pkgs/by-name/sd/SDL_Pango/package.nix @@ -0,0 +1,57 @@ +{ + lib, + SDL, + autoreconfHook, + fetchpatch, + fetchurl, + pango, + pkg-config, + stdenv, + # Boolean flags + enableSdltest ? (!stdenv.isDarwin), +}: + +stdenv.mkDerivation (finalAttrs: { + pname = "SDL_Pango"; + version = "0.1.2"; + + src = fetchurl { + url = "mirror://sourceforge/sdlpango/SDL_Pango-${finalAttrs.version}.tar.gz"; + hash = "sha256-f3XTuXrPcHxpbqEmQkkGIE6/oHZgFi3pJRc83QJX66Q="; + }; + + patches = [ + (fetchpatch { + name = "0000-api_additions.patch"; + url = "https://sources.debian.org/data/main/s/sdlpango/0.1.2-6/debian/patches/api_additions.patch"; + hash = "sha256-jfr+R4tIVZfYoaY4i+aNSGLwJGEipnuKqD2O9orP5QI="; + }) + ./0001-fixes.patch + ]; + + nativeBuildInputs = [ + SDL + autoreconfHook + pkg-config + ]; + + buildInputs = [ + SDL + pango + ]; + + configureFlags = [ + (lib.enableFeature enableSdltest "sdltest") + ]; + + strictDeps = true; + + meta = { + homepage = "https://sdlpango.sourceforge.net/"; + description = "Connects the Pango rendering engine to SDL"; + license = lib.licenses.lgpl21Plus; + maintainers = lib.teams.sdl.members + ++ (with lib.maintainers; [ puckipedia ]); + inherit (SDL.meta) platforms; + }; +}) diff --git a/pkgs/by-name/sd/SDL_audiolib/package.nix b/pkgs/by-name/sd/SDL_audiolib/package.nix new file mode 100644 index 000000000000..af84b5c0d0dc --- /dev/null +++ b/pkgs/by-name/sd/SDL_audiolib/package.nix @@ -0,0 +1,59 @@ +{ + lib, + SDL2, + cmake, + fetchFromGitHub, + pkg-config, + stdenv, +}: + +stdenv.mkDerivation (finalAttrs: { + pname = "SDL_audiolib"; + version = "0-unstable-2022-04-17"; + + src = fetchFromGitHub { + owner = "realnc"; + repo = "SDL_audiolib"; + rev = "908214606387ef8e49aeacf89ce848fb36f694fc"; + hash = "sha256-11KkwIhG1rX7yDFSj92NJRO9L2e7XZGq2gOJ54+sN/A="; + }; + + nativeBuildInputs = [ + SDL2 + cmake + pkg-config + ]; + + buildInputs = [ + SDL2 + ]; + + strictDeps = true; + + cmakeFlags = [ + (lib.cmakeBool "USE_DEC_ADLMIDI" false) + (lib.cmakeBool "USE_DEC_BASSMIDI" false) + (lib.cmakeBool "USE_DEC_DRFLAC" false) + (lib.cmakeBool "USE_DEC_FLUIDSYNTH" false) + (lib.cmakeBool "USE_DEC_LIBOPUSFILE" false) + (lib.cmakeBool "USE_DEC_LIBVORBIS" false) + (lib.cmakeBool "USE_DEC_MODPLUG" false) + (lib.cmakeBool "USE_DEC_MPG123" false) + (lib.cmakeBool "USE_DEC_MUSEPACK" false) + (lib.cmakeBool "USE_DEC_OPENMPT" false) + (lib.cmakeBool "USE_DEC_SNDFILE" false) + (lib.cmakeBool "USE_DEC_WILDMIDI" false) + (lib.cmakeBool "USE_DEC_XMP" false) + (lib.cmakeBool "USE_RESAMP_SOXR" false) + (lib.cmakeBool "USE_RESAMP_SRC" false) + ]; + + meta = { + description = "Audio decoding, resampling and mixing library for SDL"; + homepage = "https://github.com/realnc/SDL_audiolib"; + license = lib.licenses.lgpl3Plus; + maintainers = lib.teams.sdl.members + ++ (with lib.maintainers; [ ]); + inherit (SDL2.meta) platforms; + }; +}) diff --git a/pkgs/by-name/sd/SDL_gfx/package.nix b/pkgs/by-name/sd/SDL_gfx/package.nix new file mode 100644 index 000000000000..558e1943a14b --- /dev/null +++ b/pkgs/by-name/sd/SDL_gfx/package.nix @@ -0,0 +1,58 @@ +{ + lib, + SDL, + fetchurl, + stdenv, + # Boolean flags + enableSdltest ? (!stdenv.isDarwin), +}: + +stdenv.mkDerivation (finalAttrs: { + pname = "SDL_gfx"; + version = "2.0.27"; + + src = fetchurl { + url = "https://www.ferzkopp.net/Software/SDL_gfx-2.0/SDL_gfx-${finalAttrs.version}.tar.gz"; + hash = "sha256-37FaxfjOeklS3BLSrtl0dRjF5rM1wOMWNtI/k8Yw9Bk="; + }; + + nativeBuildInputs = [ SDL ]; + + buildInputs = [ SDL ]; + + # SDL_gfx.pc refers to sdl.pc and some SDL_gfx headers import SDL.h + propagatedBuildInputs = [ SDL ]; + + configureFlags = [ + (lib.enableFeature false "mmx") + (lib.enableFeature enableSdltest "sdltest") + ]; + + strictDeps = true; + + meta = { + homepage = "https://sourceforge.net/projects/sdlgfx/"; + description = "SDL graphics drawing primitives and support functions"; + longDescription = '' + The SDL_gfx library evolved out of the SDL_gfxPrimitives code which + provided basic drawing routines such as lines, circles or polygons and + SDL_rotozoom which implemented a interpolating rotozoomer for SDL + surfaces. + + The current components of the SDL_gfx library are: + + - Graphic Primitives (SDL_gfxPrimitves.h) + - Rotozoomer (SDL_rotozoom.h) + - Framerate control (SDL_framerate.h) + - MMX image filters (SDL_imageFilter.h) + - Custom Blit functions (SDL_gfxBlitFunc.h) + + The library is backwards compatible to the above mentioned code. Its is + written in plain C and can be used in C++ code. + ''; + license = lib.licenses.zlib; + maintainers = lib.teams.sdl.members + ++ (with lib.maintainers; [ ]); + inherit (SDL.meta) platforms; + }; +}) diff --git a/pkgs/by-name/sd/SDL_gpu/package.nix b/pkgs/by-name/sd/SDL_gpu/package.nix new file mode 100644 index 000000000000..d2fb9d98d26e --- /dev/null +++ b/pkgs/by-name/sd/SDL_gpu/package.nix @@ -0,0 +1,52 @@ +{ + lib, + SDL2, + cmake, + fetchFromGitHub, + libGLU, + pkg-config, + stdenv, +}: + +stdenv.mkDerivation (finalAttrs: { + pname = "SDL_gpu"; + version = "0-unstable-2022-06-24"; + + src = fetchFromGitHub { + owner = "grimfang4"; + repo = "sdl-gpu"; + rev = "e8ee3522ba0dbe72ca387d978e5f49a9f31e7ba0"; + hash = "sha256-z1ZuHh9hvno2h+kCKfe+uWa/S6/OLZWWgLZ0zs9HetQ="; + }; + + nativeBuildInputs = [ + SDL2 + cmake + pkg-config + ]; + + buildInputs = [ + SDL2 + libGLU + ]; + + cmakeFlags = [ + (lib.cmakeBool "SDL_gpu_BUILD_DEMOS" false) + (lib.cmakeBool "SDL_gpu_BUILD_TOOLS" false) + (lib.cmakeBool "SDL_gpu_BUILD_VIDEO_TEST" false) + (lib.cmakeBool "SDL_gpu_BUILD_TESTS" false) + ]; + + outputs = [ "out" "dev" ]; + + strictDeps = true; + + meta = { + description = "A library for high-performance, modern 2D graphics with SDL written in C"; + homepage = "https://grimfang4.github.io/sdl-gpu"; + license = lib.licenses.mit; + maintainers = lib.teams.sdl.members + ++ (with lib.maintainers; [ ]); + inherit (SDL2.meta) platforms; + }; +}) diff --git a/pkgs/by-name/sd/SDL_image/package.nix b/pkgs/by-name/sd/SDL_image/package.nix new file mode 100644 index 000000000000..c49e195f970f --- /dev/null +++ b/pkgs/by-name/sd/SDL_image/package.nix @@ -0,0 +1,69 @@ +{ + lib, + SDL, + fetchpatch, + fetchurl, + giflib, + libXpm, + libjpeg, + libpng, + libtiff, + pkg-config, + stdenv, +}: + +stdenv.mkDerivation (finalAttrs: { + pname = "SDL_image"; + version = "1.2.12"; + + src = fetchurl { + url = "https://www.libsdl.org/projects/SDL_image/release/SDL_image-${finalAttrs.version}.tar.gz"; + hash = "sha256-C5ByKYRWEATehIR3RNVmgJ27na9zKp5QO5GhtahOVpk="; + }; + + patches = [ + # Fixed security vulnerability in XCF image loader + (fetchpatch { + name = "CVE-2017-2887"; + url = "https://github.com/libsdl-org/SDL_image/commit/e7723676825cd2b2ffef3316ec1879d7726618f2.patch"; + includes = [ "IMG_xcf.c" ]; + hash = "sha256-Z0nyEtE1LNGsGsN9SFG8ZyPDdunmvg81tUnEkrJQk5w="; + }) + ]; + + configureFlags = [ + # Disable dynamic loading or else dlopen will fail because of no proper + # rpath + (lib.enableFeature false "jpg-shared") + (lib.enableFeature false "png-shared") + (lib.enableFeature false "tif-shared") + (lib.enableFeature (!stdenv.isDarwin) "sdltest") + ]; + + nativeBuildInputs = [ + SDL + pkg-config + ]; + + buildInputs = [ + SDL + giflib + libXpm + libjpeg + libpng + libtiff + ]; + + outputs = [ "out" "dev" ]; + + strictDeps = true; + + meta = { + homepage = "http://www.libsdl.org/projects/SDL_image/"; + description = "SDL image library"; + license = lib.licenses.zlib; + maintainers = lib.teams.sdl.members + ++ (with lib.maintainers; [ ]); + inherit (SDL.meta) platforms; + }; +}) diff --git a/pkgs/development/libraries/SDL_mixer/default.nix b/pkgs/by-name/sd/SDL_mixer/package.nix similarity index 63% rename from pkgs/development/libraries/SDL_mixer/default.nix rename to pkgs/by-name/sd/SDL_mixer/package.nix index 12b50cd476ba..470bd5559d7c 100644 --- a/pkgs/development/libraries/SDL_mixer/default.nix +++ b/pkgs/by-name/sd/SDL_mixer/package.nix @@ -1,16 +1,28 @@ -{ stdenv, lib, fetchurl, fetchpatch -, SDL, libogg, libvorbis, smpeg, libmikmod -, fluidsynth, pkg-config -, enableNativeMidi ? false +{ + lib, + SDL, + fetchpatch, + fetchurl, + fluidsynth, + libmikmod, + libogg, + libvorbis, + pkg-config, + smpeg, + stdenv, + # Boolean flags + enableNativeMidi ? false, + enableSdltest ? (!stdenv.isDarwin), + enableSmpegtest ? (!stdenv.isDarwin), }: -stdenv.mkDerivation rec { - pname = "SDL_mixer"; +stdenv.mkDerivation (finalAttrs: { + pname = "SDL_mixer"; version = "1.2.12"; src = fetchurl { - url = "http://www.libsdl.org/projects/${pname}/release/${pname}-${version}.tar.gz"; - sha256 = "0alrhqgm40p4c92s26mimg9cm1y7rzr6m0p49687jxd9g6130i0n"; + url = "http://www.libsdl.org/projects/SDL_mixer/release/SDL_mixer-${finalAttrs.version}.tar.gz"; + hash = "sha256-FkQwgnmpdXmQSeSCavLPx4fK0quxGqFFYuQCUh+GmSo="; }; patches = [ @@ -31,7 +43,7 @@ stdenv.mkDerivation rec { (fetchpatch { name = "mikmod-fixes.patch"; url = "https://github.com/libsdl-org/SDL_mixer/commit/a3e5ff8142cf3530cddcb27b58f871f387796ab6.patch"; - hash = "sha256-dqD8hxx6U2HaelUx0WsGPiWuso++LjwasaAeTTGqdbk"; + hash = "sha256-dqD8hxx6U2HaelUx0WsGPiWuso++LjwasaAeTTGqdbk="; }) # More incompatible function pointer conversion fixes (this time in Vorbis-decoding code). (fetchpatch { @@ -51,18 +63,39 @@ stdenv.mkDerivation rec { }) ]; - nativeBuildInputs = [ pkg-config ]; - buildInputs = [ SDL libogg libvorbis fluidsynth smpeg libmikmod ]; + nativeBuildInputs = [ + SDL + pkg-config + smpeg + ]; - configureFlags = [ "--disable-music-ogg-shared" "--disable-music-mod-shared" ] - ++ lib.optional enableNativeMidi " --enable-music-native-midi-gpl" - ++ lib.optionals stdenv.isDarwin [ "--disable-sdltest" "--disable-smpegtest" ]; + buildInputs = [ + SDL + fluidsynth + libmikmod + libogg + libvorbis + smpeg + ]; - meta = with lib; { + configureFlags = [ + (lib.enableFeature false "music-ogg-shared") + (lib.enableFeature false "music-mod-shared") + (lib.enableFeature enableNativeMidi "music-native-midi-gpl") + (lib.enableFeature enableSdltest "sdltest") + (lib.enableFeature enableSmpegtest "smpegtest") + ]; + + outputs = [ "out" "dev" ]; + + strictDeps = true; + + meta = { description = "SDL multi-channel audio mixer library"; - homepage = "http://www.libsdl.org/projects/SDL_mixer/"; - maintainers = with maintainers; [ lovek323 ]; - platforms = platforms.unix; - license = licenses.zlib; + homepage = "http://www.libsdl.org/projects/SDL_mixer/"; + maintainers = lib.teams.sdl.members + ++ (with lib.maintainers; [ ]); + license = lib.licenses.zlib; + inherit (SDL.meta) platforms; }; -} +}) diff --git a/pkgs/by-name/sd/SDL_net/package.nix b/pkgs/by-name/sd/SDL_net/package.nix new file mode 100644 index 000000000000..4d45ff624e8f --- /dev/null +++ b/pkgs/by-name/sd/SDL_net/package.nix @@ -0,0 +1,43 @@ +{ + lib, + SDL, + fetchurl, + pkg-config, + stdenv, + # Boolean flags + enableSdltest ? (!stdenv.isDarwin) +}: + +stdenv.mkDerivation (finalAttrs: { + pname = "SDL_net"; + version = "1.2.8"; + + src = fetchurl { + url = "http://www.libsdl.org/projects/SDL_net/release/SDL_net-${finalAttrs.version}.tar.gz"; + hash = "sha256-X0p6i7iE95PCeKw/NxO+QZgMXu3M7P8CYEETR3FPrLQ="; + }; + + nativeBuildInputs = [ + SDL + pkg-config + ]; + + propagatedBuildInputs = [ + SDL + ]; + + configureFlags = [ + (lib.enableFeature enableSdltest "sdltest") + ]; + + strictDeps = true; + + meta = { + homepage = "https://github.com/libsdl-org/SDL_net"; + description = "SDL networking library"; + license = lib.licenses.zlib; + maintainers = lib.teams.sdl.members + ++ (with lib.maintainers; [ ]); + inherit (SDL.meta) platforms; + }; +}) diff --git a/pkgs/by-name/sd/SDL_sixel/package.nix b/pkgs/by-name/sd/SDL_sixel/package.nix new file mode 100644 index 000000000000..7acd03b19f6c --- /dev/null +++ b/pkgs/by-name/sd/SDL_sixel/package.nix @@ -0,0 +1,39 @@ +{ + lib, + fetchFromGitHub, + libsixel, + pkg-config, + stdenv, +}: + +stdenv.mkDerivation { + pname = "SDL_sixel"; + version = "0-unstable-2016-02-06"; + + src = fetchFromGitHub { + owner = "saitoha"; + repo = "SDL1.2-SIXEL"; + rev = "ab3fccac6e34260a617be511bd8c2b2beae41952"; + hash = "sha256-l5eLnfV2ozAlfiTo2pr0a2BXv/pwfpX4pycw1Z7doj4="; + }; + + nativeBuildInputs = [ pkg-config ]; + + buildInputs = [ libsixel ]; + + configureFlags = [ + (lib.enableFeature true "video-sixel") + ]; + + strictDeps = true; + + meta = { + homepage = "https://github.com/saitoha/SDL1.2-SIXEL"; + description = "A SDL 1.2 patched with libsixel support"; + license = lib.licenses.lgpl21; + mainProgram = "sdl-config"; + maintainers = lib.teams.sdl.members + ++ (with lib.maintainers; [ vrthra ]); + platforms = lib.platforms.linux; + }; +} diff --git a/pkgs/by-name/sd/SDL_sound/package.nix b/pkgs/by-name/sd/SDL_sound/package.nix new file mode 100644 index 000000000000..b5e93b3efdf2 --- /dev/null +++ b/pkgs/by-name/sd/SDL_sound/package.nix @@ -0,0 +1,48 @@ +{ + lib, + SDL, + fetchurl, + flac, + libmikmod, + libvorbis, + stdenv, + # Boolean flags + enableSdltest ? (!stdenv.isDarwin) +}: + +stdenv.mkDerivation (finalAttrs: { + pname = "SDL_sound"; + version = "1.0.3"; + + src = fetchurl { + url = "https://icculus.org/SDL_sound/downloads/SDL_sound-${finalAttrs.version}.tar.gz"; + hash = "sha256-OZn9C7tIUomlK+FLL2i1ccuE44DMQzh+rfd49kx55t8="; + }; + + nativeBuildInputs = [ + SDL + ]; + + buildInputs = [ + SDL + flac + libmikmod + libvorbis + ]; + + configureFlags = [ + (lib.enableFeature enableSdltest "--disable-sdltest") + ]; + + strictDeps = true; + + meta = { + homepage = "https://www.icculus.org/SDL_sound/"; + description = "SDL sound library"; + license = lib.licenses.lgpl21Plus; + maintainers = lib.teams.sdl.members + ++ (with lib.maintainers; [ ]); + mainProgram = "playsound"; + inherit (SDL.meta) platforms; + }; +}) diff --git a/pkgs/by-name/sd/SDL_stretch/package.nix b/pkgs/by-name/sd/SDL_stretch/package.nix new file mode 100644 index 000000000000..f7267b86fd6d --- /dev/null +++ b/pkgs/by-name/sd/SDL_stretch/package.nix @@ -0,0 +1,31 @@ +{ + lib, + SDL, + fetchurl, + stdenv, +}: + +stdenv.mkDerivation (finalAttrs: { + pname = "SDL_stretch"; + version = "0.3.1"; + + src = fetchurl { + url = "mirror://sourceforge/sdl-stretch/${finalAttrs.version}/SDL_stretch-${finalAttrs.version}.tar.bz2"; + hash = "sha256-fL8L+rAMPt1uceGH0qLEgncEh4DiySQIuqt7YjUy/Nc="; + }; + + nativeBuildInputs = [ SDL ]; + + buildInputs = [ SDL ]; + + strictDeps = true; + + meta = { + homepage = "https://sdl-stretch.sourceforge.net/"; + description = "Stretch Functions For SDL"; + license = lib.licenses.lgpl2; + maintainers = lib.teams.sdl.members + ++ (with lib.maintainers; [ ]); + inherit (SDL.meta) platforms; + }; +}) diff --git a/pkgs/by-name/sd/SDL_ttf/package.nix b/pkgs/by-name/sd/SDL_ttf/package.nix new file mode 100644 index 000000000000..a44aeaa7f05b --- /dev/null +++ b/pkgs/by-name/sd/SDL_ttf/package.nix @@ -0,0 +1,55 @@ +{ + lib, + SDL, + fetchpatch, + fetchurl, + freetype, + stdenv, + # Boolean flags + enableSdltest ? (!stdenv.isDarwin), +}: + +stdenv.mkDerivation (finalAttrs: { + pname = "SDL_ttf"; + version = "2.0.11"; + + src = fetchurl { + url = "https://www.libsdl.org/projects/SDL_ttf/release/SDL_ttf-${finalAttrs.version}.tar.gz"; + hash = "sha256-ckzYlez02jGaPvFkiStyB4vZJjKl2BIREmHN4kjrzbc="; + }; + + patches = [ + # Bug #830: TTF_RenderGlyph_Shaded is broken + (fetchpatch { + url = "https://bugzilla-attachments.libsdl.org/attachments/830/renderglyph_shaded.patch.txt"; + hash = "sha256-TZzlZe7gCRA8wZDHQZsqESAOGbLpJzIoB0HD8L6z3zE="; + }) + ]; + + patchFlags = [ "-p0" ]; + + buildInputs = [ + SDL + freetype + ]; + + nativeBuildInputs = [ + SDL + freetype + ]; + + configureFlags = [ + (lib.enableFeature enableSdltest "-sdltest") + ]; + + strictDeps = true; + + meta = { + homepage = "https://github.com/libsdl-org/SDL_ttf"; + description = "SDL TrueType library"; + license = lib.licenses.zlib; + maintainers = lib.teams.sdl.members + ++ (with lib.maintainers; [ ]); + inherit (SDL.meta) platforms; + }; +}) diff --git a/pkgs/by-name/sh/shopware-cli/package.nix b/pkgs/by-name/sh/shopware-cli/package.nix index 0362ee92ed06..577288bb127e 100644 --- a/pkgs/by-name/sh/shopware-cli/package.nix +++ b/pkgs/by-name/sh/shopware-cli/package.nix @@ -9,18 +9,18 @@ buildGoModule rec { pname = "shopware-cli"; - version = "0.4.44"; + version = "0.4.47"; src = fetchFromGitHub { repo = "shopware-cli"; owner = "FriendsOfShopware"; rev = version; - hash = "sha256-i9FRt86kd2bUW5fyn/qRRSzXRSqUHTGlxOnzehEfnxU="; + hash = "sha256-9XCKrT+fOkC7Ft1/pGEgHjv3suXOf5NKYWqS702DtOA="; }; nativeBuildInputs = [ installShellFiles makeWrapper ]; nativeCheckInputs = [ git dart-sass ]; - vendorHash = "sha256-j1zKugueG4QaCetwfZXnWqo5SciX2N/dr0VD4d0ITS4="; + vendorHash = "sha256-W/lIPcbCcHs+xRzAO8R49AE6oFLTLc6Ca5UlIdMLO5A="; postInstall = '' export HOME="$(mktemp -d)" diff --git a/pkgs/by-name/su/surrealdb/package.nix b/pkgs/by-name/su/surrealdb/package.nix index 0e598094c57c..b2042b70c833 100644 --- a/pkgs/by-name/su/surrealdb/package.nix +++ b/pkgs/by-name/su/surrealdb/package.nix @@ -16,16 +16,16 @@ let in rustPlatform.buildRustPackage rec { pname = "surrealdb"; - version = "1.5.1"; + version = "1.5.2"; src = fetchFromGitHub { owner = "surrealdb"; repo = "surrealdb"; rev = "v${version}"; - hash = "sha256-piLanhc59jfsXHoaY217nqPahuyV2xtvlT4aqFNjaxM="; + hash = "sha256-yXC1qlZTR5qWcbyfQ2jR2QlEnaxlNn0U3VGHdh2har0="; }; - cargoHash = "sha256-dqbq7irajpDWsxCt1B8W6G+ulPJowpu2ykXMqQoT1Sw="; + cargoHash = "sha256-npo/tlqnq8vzFeOfpVryzwJkFaDJ9WG1iwMgcv3tRCQ="; # error: linker `aarch64-linux-gnu-gcc` not found postPatch = '' diff --git a/pkgs/by-name/tr/treecat/package.nix b/pkgs/by-name/tr/treecat/package.nix index df184b9d1062..338e27af67d7 100644 --- a/pkgs/by-name/tr/treecat/package.nix +++ b/pkgs/by-name/tr/treecat/package.nix @@ -1,15 +1,19 @@ -{ stdenv -, fetchFromSourcehut -, hare -, haredo -, lib -, scdoc +{ + stdenv, + fetchFromSourcehut, + hareHook, + haredo, + lib, + scdoc, }: stdenv.mkDerivation (finalAttrs: { pname = "treecat"; version = "1.0.2-unstable-2023-11-28"; - outputs = [ "out" "man" ]; + outputs = [ + "out" + "man" + ]; src = fetchFromSourcehut { owner = "~autumnull"; @@ -19,18 +23,14 @@ stdenv.mkDerivation (finalAttrs: { }; nativeBuildInputs = [ - hare + hareHook haredo scdoc ]; - dontConfigure = true; + env.PREFIX = builtins.placeholder "out"; - preBuild = '' - HARECACHE="$(mktemp -d)" - export HARECACHE - export PREFIX="${builtins.placeholder "out"}" - ''; + dontConfigure = true; meta = { description = "Serialize a directory to a tree diagram, and vice versa"; @@ -42,6 +42,6 @@ stdenv.mkDerivation (finalAttrs: { license = lib.licenses.wtfpl; maintainers = with lib.maintainers; [ onemoresuza ]; mainProgram = "treecat"; - inherit (hare.meta) platforms badPlatforms; + inherit (hareHook.meta) platforms badPlatforms; }; }) diff --git a/pkgs/by-name/vp/vp/package.nix b/pkgs/by-name/vp/vp/package.nix new file mode 100644 index 000000000000..0676ef14f2aa --- /dev/null +++ b/pkgs/by-name/vp/vp/package.nix @@ -0,0 +1,48 @@ +{ + lib, + SDL, + SDL_image, + autoreconfHook, + fetchFromGitHub, + stdenv, +}: + +stdenv.mkDerivation (finalAttrs: { + pname = "vp"; + version = "1.8-unstable-2017-03-22"; + + src = fetchFromGitHub { + owner = "erikg"; + repo = "vp"; + rev = "52bae15955dbd7270cc906af59bb0fe821a01f27"; + hash = "sha256-AWRJ//0z97EwvQ00qWDjVeZrPrKnRMOXn4RagdVrcFc="; + }; + + nativeBuildInputs = [ + autoreconfHook + SDL + ]; + + buildInputs = [ + SDL + SDL_image + ]; + + outputs = [ "out" "man" ]; + + strictDeps = true; + + env.NIX_CFLAGS_COMPILE = toString [ + "-I${lib.getDev SDL}/include/SDL" + "-I${lib.getDev SDL_image}/include/SDL" + ]; + + meta = { + homepage = "https://github.com/erikg/vp"; + description = "SDL based picture viewer/slideshow"; + license = lib.licenses.gpl3Plus; + mainProgram = "vp"; + maintainers = with lib.maintainers; [ AndersonTorres ]; + inherit (SDL.meta) platforms; + }; +}) diff --git a/pkgs/by-name/xm/xmltoman/package.nix b/pkgs/by-name/xm/xmltoman/package.nix new file mode 100644 index 000000000000..d62238c71780 --- /dev/null +++ b/pkgs/by-name/xm/xmltoman/package.nix @@ -0,0 +1,54 @@ +{ lib +, stdenvNoCC +, fetchFromGitHub +, perlPackages +, perl +, installShellFiles +}: + +stdenvNoCC.mkDerivation rec { + pname = "xmltoman"; + version = "0.6"; + + src = fetchFromGitHub { + owner = "atsb"; + repo = "xmltoman"; + rev = version; + hash = "sha256-EmFdGIeBEcTY0Pqp7BJded9WB/DaXWcMNWh6aTsZlLg="; + }; + + nativeBuildInputs = [ + perl + installShellFiles + ]; + + buildInputs = [ + perlPackages.XMLTokeParser + ]; + + dontBuild = true; + + # File installation and setup similar to Makefile commands below. + installPhase = '' + runHook preInstall + + mkdir -p $out + perl xmltoman xml/xmltoman.1.xml > xmltoman.1 + perl xmltoman xml/xmlmantohtml.1.xml > xmlmantohtml.1 + install -d $out/bin $out/share/xmltoman + install -m 0755 xmltoman xmlmantohtml $out/bin + install -m 0644 xmltoman.dtd xmltoman.css xmltoman.xsl $out/share/xmltoman + installManPage *.1 + + runHook postInstall + ''; + + meta = with lib; { + description = "Two very simple scripts for converting xml to groff or html"; + homepage = "https://github.com/atsb/xmltoman"; + license = licenses.gpl2Only; + maintainers = with maintainers; [ tochiaha ]; + mainProgram = "xmltoman"; + platforms = platforms.all; + }; +} diff --git a/pkgs/desktops/lxqt/default.nix b/pkgs/desktops/lxqt/default.nix index 8418652dbc38..3efd526cb6bd 100644 --- a/pkgs/desktops/lxqt/default.nix +++ b/pkgs/desktops/lxqt/default.nix @@ -75,6 +75,11 @@ let libfm-qt = libfm-qt_1_4; inherit (pkgs.libsForQt5) qtbase qtsvg qttools libdbusmenu; }; + qtermwidget_1_4 = callPackage ./qtermwidget { + version = "1.4.0"; + lxqt-build-tools = lxqt-build-tools_0_13; + inherit (pkgs.libsForQt5) qtbase qttools; + }; preRequisitePackages = [ kdePackages.kwindowsystem # provides some QT plugins needed by lxqt-panel diff --git a/pkgs/desktops/lxqt/qtermwidget/default.nix b/pkgs/desktops/lxqt/qtermwidget/default.nix index 35c5b2c3f641..fb0c63460df1 100644 --- a/pkgs/desktops/lxqt/qtermwidget/default.nix +++ b/pkgs/desktops/lxqt/qtermwidget/default.nix @@ -7,17 +7,21 @@ , lxqt-build-tools , wrapQtAppsHook , gitUpdater +, version ? "2.0.0" }: stdenv.mkDerivation rec { pname = "qtermwidget"; - version = "2.0.0"; + inherit version; src = fetchFromGitHub { owner = "lxqt"; repo = pname; rev = version; - hash = "sha256-kZS6D/wSJFRt/+Afq0zCCmNnJPpFT+1hd4zVPc+rJsE="; + hash = { + "1.4.0" = "sha256-wYUOqAiBjnupX1ITbFMw7sAk42V37yDz9SrjVhE4FgU="; + "2.0.0" = "sha256-kZS6D/wSJFRt/+Afq0zCCmNnJPpFT+1hd4zVPc+rJsE="; + }."${version}"; }; nativeBuildInputs = [ diff --git a/pkgs/development/hare-third-party/hare-compress/default.nix b/pkgs/development/hare-third-party/hare-compress/default.nix index cc52e3e47eab..d9065f3bcd2c 100644 --- a/pkgs/development/hare-third-party/hare-compress/default.nix +++ b/pkgs/development/hare-third-party/hare-compress/default.nix @@ -1,8 +1,14 @@ -{ lib, stdenv, hare, harec, fetchFromSourcehut }: +{ + lib, + stdenv, + hareHook, + harec, + fetchFromSourcehut, +}: stdenv.mkDerivation (finalAttrs: { pname = "hare-compress"; - version = "unstable-2023-11-01"; + version = "0-unstable-2023-11-01"; src = fetchFromSourcehut { owner = "~sircmpwn"; @@ -11,12 +17,9 @@ stdenv.mkDerivation (finalAttrs: { hash = "sha256-sz8xPBZaUFye3HH4lkRnH52ye451e6seZXN/qvg87jE="; }; - nativeBuildInputs = [ hare ]; + nativeBuildInputs = [ hareHook ]; - makeFlags = [ - "HARECACHE=.harecache" - "PREFIX=${builtins.placeholder "out"}" - ]; + makeFlags = [ "PREFIX=${builtins.placeholder "out"}" ]; doCheck = true; @@ -25,7 +28,6 @@ stdenv.mkDerivation (finalAttrs: { description = "Compression algorithms for Hare"; license = with licenses; [ mpl20 ]; maintainers = with maintainers; [ starzation ]; - inherit (harec.meta) platforms badPlatforms; }; }) diff --git a/pkgs/development/hare-third-party/hare-ev/default.nix b/pkgs/development/hare-third-party/hare-ev/default.nix index ecde53882347..cb44606b2940 100644 --- a/pkgs/development/hare-third-party/hare-ev/default.nix +++ b/pkgs/development/hare-third-party/hare-ev/default.nix @@ -1,8 +1,9 @@ -{ stdenv -, lib -, fetchFromSourcehut -, hare -, unstableGitUpdater +{ + fetchFromSourcehut, + hareHook, + lib, + stdenv, + unstableGitUpdater, }: stdenv.mkDerivation { @@ -16,14 +17,9 @@ stdenv.mkDerivation { hash = "sha256-SXExwDZKlW/2XYzmJUhkLWj6NF/znrv3vY9V0mD5iFQ="; }; - nativeCheckInputs = [ - hare - ]; + nativeCheckInputs = [ hareHook ]; - makeFlags = [ - "HARECACHE=.harecache" - "PREFIX=${builtins.placeholder "out"}" - ]; + makeFlags = [ "PREFIX=${builtins.placeholder "out"}" ]; doCheck = true; @@ -34,6 +30,6 @@ stdenv.mkDerivation { homepage = "https://sr.ht/~sircmpwn/hare-ev"; license = licenses.mpl20; maintainers = with maintainers; [ colinsane ]; - inherit (hare.meta) platforms badPlatforms; + inherit (hareHook.meta) platforms badPlatforms; }; } diff --git a/pkgs/development/hare-third-party/hare-json/default.nix b/pkgs/development/hare-third-party/hare-json/default.nix index c7a71f342967..d78b384cb94b 100644 --- a/pkgs/development/hare-third-party/hare-json/default.nix +++ b/pkgs/development/hare-third-party/hare-json/default.nix @@ -1,8 +1,14 @@ -{ lib, stdenv, hare, harec, fetchFromSourcehut }: +{ + fetchFromSourcehut, + hareHook, + harec, + lib, + stdenv, +}: stdenv.mkDerivation (finalAttrs: { pname = "hare-json"; - version = "unstable-2023-03-13"; + version = "0-unstable-2023-03-13"; src = fetchFromSourcehut { owner = "~sircmpwn"; @@ -11,12 +17,9 @@ stdenv.mkDerivation (finalAttrs: { hash = "sha256-Sx+RBiLhR3ftP89AwinVlBg0u0HX4GVP7TLmuofgC9s="; }; - nativeBuildInputs = [ hare ]; + nativeBuildInputs = [ hareHook ]; - makeFlags = [ - "HARECACHE=.harecache" - "PREFIX=${builtins.placeholder "out"}" - ]; + makeFlags = [ "PREFIX=${builtins.placeholder "out"}" ]; doCheck = true; @@ -25,7 +28,6 @@ stdenv.mkDerivation (finalAttrs: { description = "This package provides JSON support for Hare"; license = with licenses; [ mpl20 ]; maintainers = with maintainers; [ starzation ]; - inherit (harec.meta) platforms badPlatforms; }; }) diff --git a/pkgs/development/hare-third-party/hare-png/default.nix b/pkgs/development/hare-third-party/hare-png/default.nix index 1218398f72b7..fba410eb8ffd 100644 --- a/pkgs/development/hare-third-party/hare-png/default.nix +++ b/pkgs/development/hare-third-party/hare-png/default.nix @@ -1,8 +1,14 @@ -{ lib, stdenv, hare, hareThirdParty, fetchFromSourcehut }: +{ + lib, + stdenv, + hareHook, + hareThirdParty, + fetchFromSourcehut, +}: stdenv.mkDerivation (finalAttrs: { pname = "hare-png"; - version = "unstable-2023-09-09"; + version = "0-unstable-2023-09-09"; src = fetchFromSourcehut { owner = "~sircmpwn"; @@ -11,13 +17,10 @@ stdenv.mkDerivation (finalAttrs: { hash = "sha256-Q7xylsLVd/sp57kv6WzC7QHGN1xOsm7YEsYCbY/zi1Q="; }; - nativeBuildInputs = [ hare ]; + nativeBuildInputs = [ hareHook ]; propagatedBuildInputs = [ hareThirdParty.hare-compress ]; - makeFlags = [ - "PREFIX=${builtins.placeholder "out"}" - "HARECACHE=.harecache" - ]; + makeFlags = [ "PREFIX=${builtins.placeholder "out"}" ]; doCheck = true; @@ -26,7 +29,6 @@ stdenv.mkDerivation (finalAttrs: { description = "PNG implementation for Hare"; license = with licenses; [ mpl20 ]; maintainers = with maintainers; [ starzation ]; - - inherit (hare.meta) platforms badPlatforms; + inherit (hareHook.meta) platforms badPlatforms; }; }) diff --git a/pkgs/development/hare-third-party/hare-ssh/default.nix b/pkgs/development/hare-third-party/hare-ssh/default.nix index d25669f36643..bf6e043fb977 100644 --- a/pkgs/development/hare-third-party/hare-ssh/default.nix +++ b/pkgs/development/hare-third-party/hare-ssh/default.nix @@ -1,8 +1,13 @@ -{ lib, stdenv, hare, hareThirdParty, fetchFromSourcehut }: +{ + fetchFromSourcehut, + hareHook, + lib, + stdenv, +}: stdenv.mkDerivation (finalAttrs: { pname = "hare-ssh"; - version = "unstable-2023-11-16"; + version = "0-unstable-2023-11-16"; src = fetchFromSourcehut { owner = "~sircmpwn"; @@ -11,12 +16,9 @@ stdenv.mkDerivation (finalAttrs: { hash = "sha256-I43TLPoImBsvkgV3hDy9dw0pXVt4ezINnxFtEV9P2/M="; }; - nativeBuildInputs = [ hare ]; + nativeBuildInputs = [ hareHook ]; - makeFlags = [ - "PREFIX=${builtins.placeholder "out"}" - "HARECACHE=.harecache" - ]; + makeFlags = [ "PREFIX=${builtins.placeholder "out"}" ]; doCheck = true; @@ -26,6 +28,6 @@ stdenv.mkDerivation (finalAttrs: { license = with licenses; [ mpl20 ]; maintainers = with maintainers; [ patwid ]; - inherit (hare.meta) platforms badPlatforms; + inherit (hareHook.meta) platforms badPlatforms; }; }) diff --git a/pkgs/development/hare-third-party/hare-toml/default.nix b/pkgs/development/hare-third-party/hare-toml/default.nix index ab760eb5fd24..963158a6fbf8 100644 --- a/pkgs/development/hare-third-party/hare-toml/default.nix +++ b/pkgs/development/hare-third-party/hare-toml/default.nix @@ -1,9 +1,10 @@ -{ stdenv -, hare -, scdoc -, lib -, fetchFromGitea -, nix-update-script +{ + fetchFromGitea, + hareHook, + lib, + nix-update-script, + scdoc, + stdenv, }: stdenv.mkDerivation (finalAttrs: { pname = "hare-toml"; @@ -19,13 +20,10 @@ stdenv.mkDerivation (finalAttrs: { nativeBuildInputs = [ scdoc - hare + hareHook ]; - makeFlags = [ - "HARECACHE=.harecache" - "PREFIX=${builtins.placeholder "out"}" - ]; + makeFlags = [ "PREFIX=${builtins.placeholder "out"}" ]; checkTarget = "check_local"; @@ -40,6 +38,6 @@ stdenv.mkDerivation (finalAttrs: { homepage = "https://codeberg.org/lunacb/hare-toml"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ onemoresuza ]; - inherit (hare.meta) platforms badPlatforms; + inherit (hareHook.meta) platforms badPlatforms; }; }) diff --git a/pkgs/development/libraries/SDL2_gfx/default.nix b/pkgs/development/libraries/SDL2_gfx/default.nix deleted file mode 100644 index 83b57b42c7cd..000000000000 --- a/pkgs/development/libraries/SDL2_gfx/default.nix +++ /dev/null @@ -1,51 +0,0 @@ -{ lib, stdenv, darwin, fetchurl, pkg-config, SDL2, testers }: - -stdenv.mkDerivation (finalAttrs: { - pname = "SDL2_gfx"; - version = "1.0.4"; - - src = fetchurl { - url = "http://www.ferzkopp.net/Software/${finalAttrs.pname}/${finalAttrs.pname}-${finalAttrs.version}.tar.gz"; - sha256 = "0qk2ax7f7grlxb13ba0ll3zlm8780s7j8fmrhlpxzjgdvldf1q33"; - }; - - nativeBuildInputs = [ pkg-config ]; - - buildInputs = [ SDL2 ] - ++ lib.optional stdenv.isDarwin darwin.libobjc; - - configureFlags = [(if stdenv.hostPlatform.isx86 then "--enable-mmx" else "--disable-mmx")] - ++ lib.optional stdenv.isDarwin "--disable-sdltest"; - - passthru.tests.pkg-config = testers.hasPkgConfigModules { - package = finalAttrs.finalPackage; - }; - - meta = with lib; { - description = "SDL graphics drawing primitives and support functions"; - - longDescription = '' - The SDL_gfx library evolved out of the SDL_gfxPrimitives code - which provided basic drawing routines such as lines, circles or - polygons and SDL_rotozoom which implemented a interpolating - rotozoomer for SDL surfaces. - - The current components of the SDL_gfx library are: - - * Graphic Primitives (SDL_gfxPrimitves.h) - * Rotozoomer (SDL_rotozoom.h) - * Framerate control (SDL_framerate.h) - * MMX image filters (SDL_imageFilter.h) - * Custom Blit functions (SDL_gfxBlitFunc.h) - - The library is backwards compatible to the above mentioned - code. Its is written in plain C and can be used in C++ code. - ''; - - homepage = "http://www.ferzkopp.net/wordpress/2016/01/02/sdl_gfx-sdl2_gfx/"; - license = licenses.zlib; - maintainers = with maintainers; [ cpages ]; - platforms = platforms.unix; - pkgConfigModules = [ "SDL2_gfx" ]; - }; -}) diff --git a/pkgs/development/libraries/SDL2_ttf/default.nix b/pkgs/development/libraries/SDL2_ttf/default.nix deleted file mode 100644 index 3407478b39b1..000000000000 --- a/pkgs/development/libraries/SDL2_ttf/default.nix +++ /dev/null @@ -1,32 +0,0 @@ -{ lib, stdenv, pkg-config, darwin, fetchurl, SDL2, freetype, harfbuzz, libGL, testers }: - -stdenv.mkDerivation (finalAttrs: { - pname = "SDL2_ttf"; - version = "2.22.0"; - - src = fetchurl { - url = "https://www.libsdl.org/projects/SDL_ttf/release/${finalAttrs.pname}-${finalAttrs.version}.tar.gz"; - sha256 = "sha256-1Iy9HOR1ueF4IGvzty1Wtm2E1E9krAWAMyg5YjTWdyM="; - }; - - configureFlags = [ "--disable-harfbuzz-builtin" ] - ++ lib.optionals stdenv.isDarwin [ "--disable-sdltest" ]; - - nativeBuildInputs = [ pkg-config ]; - - buildInputs = [ SDL2 freetype harfbuzz ] - ++ lib.optional (!stdenv.isDarwin) libGL - ++ lib.optional stdenv.isDarwin darwin.libobjc; - - passthru.tests.pkg-config = testers.hasPkgConfigModules { - package = finalAttrs.finalPackage; - }; - - meta = with lib; { - description = "Support for TrueType (.ttf) font files with Simple Directmedia Layer"; - platforms = platforms.unix; - license = licenses.zlib; - homepage = "https://github.com/libsdl-org/SDL_ttf"; - pkgConfigModules = [ "SDL2_ttf" ]; - }; -}) diff --git a/pkgs/development/libraries/SDL_Pango/default.nix b/pkgs/development/libraries/SDL_Pango/default.nix deleted file mode 100644 index e24af838c65e..000000000000 --- a/pkgs/development/libraries/SDL_Pango/default.nix +++ /dev/null @@ -1,33 +0,0 @@ -{ lib, stdenv, fetchpatch, fetchurl, SDL, autoreconfHook, pango, pkg-config }: - -stdenv.mkDerivation rec { - pname = "SDL_Pango"; - version = "0.1.2"; - - src = fetchurl { - url = "mirror://sourceforge/sdlpango/${pname}-${version}.tar.gz"; - sha256 = "197baw1dsg0p4pljs5k0fshbyki00r4l49m1drlpqw6ggawx6xbz"; - }; - - patches = [ - (fetchpatch { - url = "https://sources.debian.org/data/main/s/sdlpango/0.1.2-6/debian/patches/api_additions.patch"; - sha256 = "00p5ry5gd3ixm257p9i2c4jg0qj8ipk8nf56l7c9fma8id3zxyld"; - }) - ./fixes.patch - ]; - - preConfigure = "autoreconf -i -f"; - configureFlags = lib.optional stdenv.isDarwin "--disable-sdltest"; - - nativeBuildInputs = [ pkg-config autoreconfHook ]; - buildInputs = [ SDL pango ]; - - meta = with lib; { - description = "Connects the Pango rendering engine to SDL"; - license = licenses.lgpl21Plus; - platforms = platforms.all; - homepage = "https://sdlpango.sourceforge.net/"; - maintainers = with maintainers; [ puckipedia ]; - }; -} diff --git a/pkgs/development/libraries/SDL_audiolib/default.nix b/pkgs/development/libraries/SDL_audiolib/default.nix deleted file mode 100644 index 9b8a163b206c..000000000000 --- a/pkgs/development/libraries/SDL_audiolib/default.nix +++ /dev/null @@ -1,53 +0,0 @@ -{ lib -, stdenv -, fetchFromGitHub -, cmake -, SDL2 -, pkg-config -}: - -stdenv.mkDerivation rec { - pname = "SDL_audiolib"; - version = "unstable-2022-04-17"; - - src = fetchFromGitHub { - owner = "realnc"; - repo = "SDL_audiolib"; - rev = "908214606387ef8e49aeacf89ce848fb36f694fc"; - sha256 = "sha256-11KkwIhG1rX7yDFSj92NJRO9L2e7XZGq2gOJ54+sN/A="; - }; - - nativeBuildInputs = [ - cmake - pkg-config - ]; - - buildInputs = [ - SDL2 - ]; - - cmakeFlags = [ - "-DUSE_RESAMP_SRC=OFF" - "-DUSE_RESAMP_SOXR=OFF" - "-DUSE_DEC_DRFLAC=OFF" - "-DUSE_DEC_OPENMPT=OFF" - "-DUSE_DEC_XMP=OFF" - "-DUSE_DEC_MODPLUG=OFF" - "-DUSE_DEC_MPG123=OFF" - "-DUSE_DEC_SNDFILE=OFF" - "-DUSE_DEC_LIBVORBIS=OFF" - "-DUSE_DEC_LIBOPUSFILE=OFF" - "-DUSE_DEC_MUSEPACK=OFF" - "-DUSE_DEC_FLUIDSYNTH=OFF" - "-DUSE_DEC_BASSMIDI=OFF" - "-DUSE_DEC_WILDMIDI=OFF" - "-DUSE_DEC_ADLMIDI=OFF" - ]; - - meta = with lib; { - description = "Audio decoding, resampling and mixing library for SDL"; - homepage = "https://github.com/realnc/SDL_audiolib"; - license = licenses.lgpl3Plus; - maintainers = with maintainers; [ ]; - }; -} diff --git a/pkgs/development/libraries/SDL_gfx/default.nix b/pkgs/development/libraries/SDL_gfx/default.nix deleted file mode 100644 index bccc11f43d41..000000000000 --- a/pkgs/development/libraries/SDL_gfx/default.nix +++ /dev/null @@ -1,46 +0,0 @@ -{ lib, stdenv, fetchurl, SDL }: - -stdenv.mkDerivation rec { - pname = "SDL_gfx"; - version = "2.0.27"; - - src = fetchurl { - url = "https://www.ferzkopp.net/Software/SDL_gfx-2.0/${pname}-${version}.tar.gz"; - sha256 = "sha256-37FaxfjOeklS3BLSrtl0dRjF5rM1wOMWNtI/k8Yw9Bk="; - }; - - # SDL_gfx.pc refers to sdl.pc and some SDL_gfx headers import SDL.h - propagatedBuildInputs = [ SDL ]; - buildInputs = [ SDL ] ; - - configureFlags = [ "--disable-mmx" ] - ++ lib.optional stdenv.isDarwin "--disable-sdltest"; - - meta = with lib; { - description = "SDL graphics drawing primitives and support functions"; - - longDescription = '' - The SDL_gfx library evolved out of the SDL_gfxPrimitives code - which provided basic drawing routines such as lines, circles or - polygons and SDL_rotozoom which implemented a interpolating - rotozoomer for SDL surfaces. - - The current components of the SDL_gfx library are: - - * Graphic Primitives (SDL_gfxPrimitves.h) - * Rotozoomer (SDL_rotozoom.h) - * Framerate control (SDL_framerate.h) - * MMX image filters (SDL_imageFilter.h) - * Custom Blit functions (SDL_gfxBlitFunc.h) - - The library is backwards compatible to the above mentioned - code. Its is written in plain C and can be used in C++ code. - ''; - - homepage = "https://sourceforge.net/projects/sdlgfx/"; - license = licenses.zlib; - - maintainers = with maintainers; [ ]; - platforms = platforms.unix; - }; -} diff --git a/pkgs/development/libraries/SDL_gpu/default.nix b/pkgs/development/libraries/SDL_gpu/default.nix deleted file mode 100644 index dc52e6afeea7..000000000000 --- a/pkgs/development/libraries/SDL_gpu/default.nix +++ /dev/null @@ -1,36 +0,0 @@ -{ lib, stdenv, fetchFromGitHub, cmake, SDL2, libGLU }: - -stdenv.mkDerivation { - pname = "SDL_gpu-unstable"; - version = "2019-01-24"; - - src = fetchFromGitHub { - owner = "grimfang4"; - repo = "sdl-gpu"; - rev = "e3d350b325a0e0d0b3007f69ede62313df46c6ef"; - sha256 = "0kibcaim01inb6xxn4mr6affn4hm50vz9kahb5k9iz8dmdsrhxy1"; - }; - - nativeBuildInputs = [ cmake ]; - buildInputs = [ SDL2 libGLU ]; - - cmakeFlags = [ - "-DSDL_gpu_BUILD_DEMOS=OFF" - "-DSDL_gpu_BUILD_TOOLS=OFF" - "-DSDL_gpu_BUILD_VIDEO_TEST=OFF" - "-DSDL_gpu_BUILD_TESTS=OFF" - ]; - - patchPhase = '' - sed -ie '210s#''${OUTPUT_DIR}/lib#''${CMAKE_INSTALL_LIBDIR}#' src/CMakeLists.txt - sed -ie '213s#''${OUTPUT_DIR}/lib#''${CMAKE_INSTALL_LIBDIR}#' src/CMakeLists.txt - ''; - - meta = with lib; { - description = "A library for high-performance, modern 2D graphics with SDL written in C"; - homepage = "https://github.com/grimfang4/sdl-gpu"; - license = licenses.mit; - maintainers = with maintainers; [ pmiddend ]; - platforms = platforms.linux; - }; -} diff --git a/pkgs/development/libraries/SDL_image/default.nix b/pkgs/development/libraries/SDL_image/default.nix deleted file mode 100644 index 30f71bd3e520..000000000000 --- a/pkgs/development/libraries/SDL_image/default.nix +++ /dev/null @@ -1,38 +0,0 @@ -{ lib, stdenv, fetchurl, fetchpatch, SDL, libpng, libjpeg, libtiff, giflib, libXpm, pkg-config }: - -stdenv.mkDerivation rec { - pname = "SDL_image"; - version = "1.2.12"; - - src = fetchurl { - url = "https://www.libsdl.org/projects/SDL_image/release/${pname}-${version}.tar.gz"; - sha256 = "16an9slbb8ci7d89wakkmyfvp7c0cval8xw4hkg0842nhhlp540b"; - }; - - patches = [ - (fetchpatch { - name = "CVE-2017-2887"; - url = "https://github.com/libsdl-org/SDL_image/commit/e7723676825cd2b2ffef3316ec1879d7726618f2.patch"; - includes = [ "IMG_xcf.c" ]; - sha256 = "174ka2r95i29nlshzgp6x5vc68v7pi8lhzf33and2b1ms49g4jb7"; - }) - ]; - - configureFlags = [ - # Disable its dynamic loading or dlopen will fail because of no proper rpath - "--disable-jpg-shared" - "--disable-png-shared" - "--disable-tif-shared" - ] ++ lib.optional stdenv.isDarwin "--disable-sdltest"; - - nativeBuildInputs = [ pkg-config ]; - buildInputs = [ SDL libpng libjpeg libtiff giflib libXpm ]; - - meta = with lib; { - description = "SDL image library"; - homepage = "http://www.libsdl.org/projects/SDL_image/"; - maintainers = with maintainers; [ lovek323 ]; - platforms = platforms.unix; - license = licenses.zlib; - }; -} diff --git a/pkgs/development/libraries/SDL_net/default.nix b/pkgs/development/libraries/SDL_net/default.nix deleted file mode 100644 index e902213c9710..000000000000 --- a/pkgs/development/libraries/SDL_net/default.nix +++ /dev/null @@ -1,23 +0,0 @@ -{ lib, stdenv, fetchurl, SDL, pkg-config }: - -stdenv.mkDerivation rec { - pname = "SDL_net"; - version = "1.2.8"; - - src = fetchurl { - url = "http://www.libsdl.org/projects/SDL_net/release/${pname}-${version}.tar.gz"; - sha256 = "1d5c9xqlf4s1c01gzv6cxmg0r621pq9kfgxcg3197xw4p25pljjz"; - }; - - configureFlags = lib.optional stdenv.isDarwin "--disable-sdltest"; - - nativeBuildInputs = [ pkg-config ]; - propagatedBuildInputs = [ SDL ]; - - meta = with lib; { - description = "SDL networking library"; - platforms = platforms.unix; - license = licenses.zlib; - homepage = "https://www.libsdl.org/projects/SDL_net/release-1.2.html"; - }; -} diff --git a/pkgs/development/libraries/SDL_sixel/default.nix b/pkgs/development/libraries/SDL_sixel/default.nix deleted file mode 100644 index 189fdee05b26..000000000000 --- a/pkgs/development/libraries/SDL_sixel/default.nix +++ /dev/null @@ -1,27 +0,0 @@ -{ lib, stdenv, fetchFromGitHub, pkg-config, libsixel }: - -stdenv.mkDerivation { - pname = "SDL_sixel"; - version = "1.2-nightly"; - - src = fetchFromGitHub { - owner = "saitoha"; - repo = "SDL1.2-SIXEL"; - rev = "ab3fccac6e34260a617be511bd8c2b2beae41952"; - sha256 = "0gm2vngdac17lzw9azkhzazmfq3byjddms14gqjk18vnynfqp5wp"; - }; - - configureFlags = [ "--enable-video-sixel" ]; - - nativeBuildInputs = [ pkg-config ]; - buildInputs = [ libsixel ]; - - meta = with lib; { - description = "A cross-platform multimedia library, that supports sixel graphics on consoles"; - mainProgram = "sdl-config"; - homepage = "https://github.com/saitoha/SDL1.2-SIXEL"; - maintainers = with maintainers; [ vrthra ]; - platforms = platforms.linux; - license = licenses.lgpl21; - }; -} diff --git a/pkgs/development/libraries/SDL_sound/default.nix b/pkgs/development/libraries/SDL_sound/default.nix deleted file mode 100644 index bdc97e98f341..000000000000 --- a/pkgs/development/libraries/SDL_sound/default.nix +++ /dev/null @@ -1,22 +0,0 @@ -{ stdenv, lib, fetchurl, SDL, libvorbis, flac, libmikmod }: - -stdenv.mkDerivation rec { - pname = "SDL_sound"; - version = "1.0.3"; - - src = fetchurl { - url = "https://icculus.org/SDL_sound/downloads/${pname}-${version}.tar.gz"; - sha256 = "1pz6g56gcy7pmmz3hhych3iq9jvinml2yjz15fjqjlj8pc5zv69r"; - }; - - buildInputs = [ SDL libvorbis flac libmikmod ]; - - configureFlags = lib.optional stdenv.isDarwin "--disable-sdltest"; - - meta = with lib; { - description = "SDL sound library"; - platforms = platforms.unix; - license = licenses.lgpl21; - homepage = "https://www.icculus.org/SDL_sound/"; - }; -} diff --git a/pkgs/development/libraries/SDL_stretch/default.nix b/pkgs/development/libraries/SDL_stretch/default.nix deleted file mode 100644 index 99f86dd258b3..000000000000 --- a/pkgs/development/libraries/SDL_stretch/default.nix +++ /dev/null @@ -1,20 +0,0 @@ -{ lib, stdenv, fetchurl, SDL }: - -stdenv.mkDerivation rec { - pname = "SDL_stretch"; - version = "0.3.1"; - - src = fetchurl { - url = "mirror://sourceforge/sdl-stretch/${version}/${pname}-${version}.tar.bz2"; - sha256 = "1mzw68sn4yxbp8429jg2h23h8xw2qjid51z1f5pdsghcn3x0pgvw"; - }; - - buildInputs = [ SDL ]; - - meta = with lib; { - description = "Stretch Functions For SDL"; - homepage = "https://sdl-stretch.sourceforge.net/"; - license = licenses.lgpl2; - platforms = platforms.linux; - }; -} diff --git a/pkgs/development/libraries/SDL_ttf/default.nix b/pkgs/development/libraries/SDL_ttf/default.nix deleted file mode 100644 index 5d353e3a6c0d..000000000000 --- a/pkgs/development/libraries/SDL_ttf/default.nix +++ /dev/null @@ -1,33 +0,0 @@ -{ lib, stdenv, fetchurl, fetchpatch, SDL, freetype }: - -stdenv.mkDerivation rec { - pname = "SDL_ttf"; - version = "2.0.11"; - - src = fetchurl { - url = "https://www.libsdl.org/projects/SDL_ttf/release/${pname}-${version}.tar.gz"; - sha256 = "1dydxd4f5kb1288i5n5568kdk2q7f8mqjr7i7sd33nplxjaxhk3j"; - }; - - patches = [ - # Bug #830: TTF_RenderGlyph_Shaded is broken - (fetchpatch { - url = "https://bugzilla-attachments.libsdl.org/attachment.cgi?id=830"; - sha256 = "0cfznfzg1hs10wl349z9n8chw80i5adl3iwhq4y102g0xrjyb72d"; - }) - ]; - - patchFlags = [ "-p0" ]; - - buildInputs = [ SDL freetype ]; - - configureFlags = lib.optional stdenv.isDarwin "--disable-sdltest"; - - meta = with lib; { - description = "SDL TrueType library"; - license = licenses.zlib; - platforms = platforms.all; - homepage = "https://www.libsdl.org/projects/SDL_ttf/release-1.2.html"; - maintainers = with maintainers; [ abbradar ]; - }; -} diff --git a/pkgs/development/libraries/hunspell/dictionaries.nix b/pkgs/development/libraries/hunspell/dictionaries.nix index 7bdc1980e672..6b6640ddfb71 100644 --- a/pkgs/development/libraries/hunspell/dictionaries.nix +++ b/pkgs/development/libraries/hunspell/dictionaries.nix @@ -968,6 +968,35 @@ rec { }; }; + /* ROMANIAN */ + ro_RO = ro-ro; + ro-ro = mkDict rec { + pname = "hunspell-dict-ro-ro"; + version = "3.3.10"; + shortName = "ro-ro"; + dictFileName = "ro_RO"; + fileName = "${dictFileName}.${version}.zip"; + shortDescription = "Romanian (Romania)"; + readmeFile = "README"; + + src = fetchurl { + url = "https://downloads.sourceforge.net/rospell/${fileName}"; + hash = "sha256-fxKNZOoGyeZxHDCxGMCv7vsBTY8zyS2szfRVq6LQRRk="; + }; + + nativeBuildInputs = [ unzip ]; + unpackCmd = '' + unzip $src ${dictFileName}.aff ${dictFileName}.dic ${readmeFile} -d ${dictFileName} + ''; + + meta = { + description = "Hunspell dictionary for ${shortDescription} from rospell"; + homepage = "https://sourceforge.net/projects/rospell/"; + license = with lib.licenses; [ gpl2Only ]; + maintainers = with lib.maintainers; [ Andy3153 ]; + }; + }; + /* Turkish */ tr_TR = tr-tr; tr-tr = mkDict rec { diff --git a/pkgs/development/node-packages/node-packages.json b/pkgs/development/node-packages/node-packages.json index 112add22d446..95c447b357f5 100644 --- a/pkgs/development/node-packages/node-packages.json +++ b/pkgs/development/node-packages/node-packages.json @@ -184,7 +184,6 @@ , "patch-package" , "peerflix" , "peerflix-server" -, {"pgrok-build-deps": "../../tools/networking/pgrok/build-deps"} , "pnpm" , "poor-mans-t-sql-formatter-cli" , "postcss" diff --git a/pkgs/development/node-packages/node-packages.nix b/pkgs/development/node-packages/node-packages.nix index a86e92020788..fb70d6ab2ebf 100644 --- a/pkgs/development/node-packages/node-packages.nix +++ b/pkgs/development/node-packages/node-packages.nix @@ -87158,716 +87158,7 @@ in bypassCache = true; reconstructLock = true; }; - "pgrok-build-deps-../../tools/networking/pgrok/build-deps" = nodeEnv.buildNodePackage { - name = "pgrokd"; - packageName = "pgrokd"; - version = "1.4.1"; - src = ../../tools/networking/pgrok/build-deps; - dependencies = [ - sources."@adobe/css-tools-4.3.3" - sources."@alloc/quick-lru-5.2.0" - sources."@ampproject/remapping-2.3.0" - sources."@babel/code-frame-7.24.6" - sources."@babel/compat-data-7.24.6" - (sources."@babel/core-7.24.6" // { - dependencies = [ - sources."@babel/generator-7.24.6" - sources."@babel/traverse-7.24.6" - sources."@babel/types-7.24.6" - sources."semver-6.3.1" - ]; - }) - sources."@babel/generator-7.17.7" - (sources."@babel/helper-compilation-targets-7.24.6" // { - dependencies = [ - sources."semver-6.3.1" - ]; - }) - sources."@babel/helper-environment-visitor-7.24.6" - (sources."@babel/helper-function-name-7.24.6" // { - dependencies = [ - sources."@babel/types-7.24.6" - ]; - }) - (sources."@babel/helper-hoist-variables-7.24.6" // { - dependencies = [ - sources."@babel/types-7.24.6" - ]; - }) - (sources."@babel/helper-module-imports-7.24.6" // { - dependencies = [ - sources."@babel/types-7.24.6" - ]; - }) - sources."@babel/helper-module-transforms-7.24.6" - sources."@babel/helper-plugin-utils-7.24.6" - (sources."@babel/helper-simple-access-7.24.6" // { - dependencies = [ - sources."@babel/types-7.24.6" - ]; - }) - (sources."@babel/helper-split-export-declaration-7.24.6" // { - dependencies = [ - sources."@babel/types-7.24.6" - ]; - }) - sources."@babel/helper-string-parser-7.24.6" - sources."@babel/helper-validator-identifier-7.24.6" - sources."@babel/helper-validator-option-7.24.6" - (sources."@babel/helpers-7.24.6" // { - dependencies = [ - sources."@babel/types-7.24.6" - ]; - }) - sources."@babel/highlight-7.24.6" - sources."@babel/parser-7.24.6" - sources."@babel/plugin-transform-react-jsx-self-7.24.6" - sources."@babel/plugin-transform-react-jsx-source-7.24.6" - (sources."@babel/template-7.24.6" // { - dependencies = [ - sources."@babel/types-7.24.6" - ]; - }) - (sources."@babel/traverse-7.23.2" // { - dependencies = [ - sources."@babel/generator-7.24.6" - sources."@babel/types-7.24.6" - ]; - }) - sources."@babel/types-7.17.0" - (sources."@cspotcode/source-map-support-0.8.1" // { - dependencies = [ - sources."@jridgewell/trace-mapping-0.3.9" - ]; - }) - sources."@esbuild/android-arm-0.18.20" - sources."@esbuild/android-arm64-0.18.20" - sources."@esbuild/android-x64-0.18.20" - sources."@esbuild/darwin-arm64-0.18.20" - sources."@esbuild/darwin-x64-0.18.20" - sources."@esbuild/freebsd-arm64-0.18.20" - sources."@esbuild/freebsd-x64-0.18.20" - sources."@esbuild/linux-arm-0.18.20" - sources."@esbuild/linux-arm64-0.18.20" - sources."@esbuild/linux-ia32-0.18.20" - sources."@esbuild/linux-loong64-0.18.20" - sources."@esbuild/linux-mips64el-0.18.20" - sources."@esbuild/linux-ppc64-0.18.20" - sources."@esbuild/linux-riscv64-0.18.20" - sources."@esbuild/linux-s390x-0.18.20" - sources."@esbuild/linux-x64-0.18.20" - sources."@esbuild/netbsd-x64-0.18.20" - sources."@esbuild/openbsd-x64-0.18.20" - sources."@esbuild/sunos-x64-0.18.20" - sources."@esbuild/win32-arm64-0.18.20" - sources."@esbuild/win32-ia32-0.18.20" - sources."@esbuild/win32-x64-0.18.20" - sources."@eslint-community/eslint-utils-4.4.0" - sources."@eslint-community/regexpp-4.10.1" - (sources."@eslint/eslintrc-2.1.4" // { - dependencies = [ - sources."globals-13.24.0" - ]; - }) - sources."@eslint/js-8.44.0" - sources."@headlessui/react-1.7.19" - sources."@heroicons/react-2.0.18" - sources."@humanwhocodes/config-array-0.11.14" - sources."@humanwhocodes/module-importer-1.0.1" - sources."@humanwhocodes/object-schema-2.0.3" - (sources."@isaacs/cliui-8.0.2" // { - dependencies = [ - sources."ansi-regex-6.0.1" - sources."strip-ansi-7.1.0" - ]; - }) - sources."@jridgewell/gen-mapping-0.3.5" - sources."@jridgewell/resolve-uri-3.1.2" - sources."@jridgewell/set-array-1.2.1" - sources."@jridgewell/source-map-0.3.6" - sources."@jridgewell/sourcemap-codec-1.4.15" - sources."@jridgewell/trace-mapping-0.3.25" - sources."@nodelib/fs.scandir-2.1.5" - sources."@nodelib/fs.stat-2.0.5" - sources."@nodelib/fs.walk-1.2.8" - sources."@remix-run/router-1.8.0" - sources."@swc/core-1.5.24" - sources."@swc/counter-0.1.3" - sources."@swc/helpers-0.5.11" - sources."@swc/types-0.1.7" - sources."@swc/wasm-1.5.24" - sources."@tailwindcss/forms-0.5.7" - sources."@tanstack/react-virtual-3.5.0" - sources."@tanstack/virtual-core-3.5.0" - sources."@trivago/prettier-plugin-sort-imports-4.2.1" - sources."@tsconfig/node10-1.0.11" - sources."@tsconfig/node12-1.0.11" - sources."@tsconfig/node14-1.0.3" - sources."@tsconfig/node16-1.0.4" - sources."@types/json-schema-7.0.15" - sources."@types/json5-0.0.29" - sources."@types/node-20.5.9" - sources."@types/normalize-package-data-2.4.4" - sources."@types/prop-types-15.7.12" - sources."@types/react-18.2.79" - sources."@types/react-dom-18.2.25" - sources."@types/semver-7.5.8" - sources."@typescript-eslint/eslint-plugin-6.0.0" - sources."@typescript-eslint/parser-6.0.0" - sources."@typescript-eslint/scope-manager-6.0.0" - sources."@typescript-eslint/type-utils-6.0.0" - sources."@typescript-eslint/types-6.0.0" - sources."@typescript-eslint/typescript-estree-6.0.0" - sources."@typescript-eslint/utils-6.0.0" - sources."@typescript-eslint/visitor-keys-6.0.0" - sources."@vitejs/plugin-react-4.0.4" - sources."@vue/compiler-core-3.4.27" - sources."@vue/compiler-dom-3.4.27" - sources."@vue/compiler-sfc-3.4.27" - sources."@vue/compiler-ssr-3.4.27" - sources."@vue/shared-3.4.27" - sources."acorn-8.11.3" - sources."acorn-jsx-5.3.2" - sources."acorn-walk-8.3.2" - sources."ajv-6.12.6" - sources."ansi-regex-5.0.1" - sources."ansi-styles-3.2.1" - sources."any-promise-1.3.0" - sources."anymatch-3.1.3" - sources."arg-5.0.2" - sources."argparse-2.0.1" - sources."array-buffer-byte-length-1.0.1" - sources."array-includes-3.1.8" - sources."array-union-2.1.0" - sources."array.prototype.findlastindex-1.2.5" - sources."array.prototype.flat-1.3.2" - sources."array.prototype.flatmap-1.3.2" - sources."array.prototype.tosorted-1.1.4" - sources."arraybuffer.prototype.slice-1.0.3" - sources."async-2.6.4" - sources."asynckit-0.4.0" - sources."autoprefixer-10.4.19" - sources."available-typed-arrays-1.0.7" - sources."axios-1.4.0" - sources."balanced-match-1.0.2" - sources."binary-extensions-2.3.0" - sources."brace-expansion-1.1.11" - sources."braces-3.0.3" - sources."browserslist-4.23.0" - sources."buffer-from-1.1.2" - sources."builtin-modules-3.3.0" - sources."call-bind-1.0.7" - sources."callsites-3.1.0" - sources."camelcase-css-2.0.1" - sources."caniuse-lite-1.0.30001627" - sources."chalk-2.4.2" - sources."chokidar-3.6.0" - sources."ci-info-3.9.0" - sources."clean-regexp-1.0.0" - sources."client-only-0.0.1" - (sources."code-inspector-core-0.1.9" // { - dependencies = [ - sources."ansi-styles-4.3.0" - sources."chalk-4.1.2" - sources."color-convert-2.0.1" - sources."color-name-1.1.4" - sources."has-flag-4.0.0" - sources."supports-color-7.2.0" - ]; - }) - (sources."code-inspector-plugin-0.1.9" // { - dependencies = [ - sources."ansi-styles-4.3.0" - sources."chalk-4.1.1" - sources."color-convert-2.0.1" - sources."color-name-1.1.4" - sources."has-flag-4.0.0" - sources."supports-color-7.2.0" - ]; - }) - sources."color-convert-1.9.3" - sources."color-name-1.1.3" - sources."combined-stream-1.0.8" - sources."commander-4.1.1" - sources."concat-map-0.0.1" - sources."convert-source-map-2.0.0" - sources."copy-anything-2.0.6" - sources."create-require-1.1.1" - sources."cross-spawn-7.0.3" - sources."cssesc-3.0.0" - sources."csstype-3.1.3" - sources."data-view-buffer-1.0.1" - sources."data-view-byte-length-1.0.1" - sources."data-view-byte-offset-1.0.0" - sources."debug-4.3.5" - sources."deep-is-0.1.4" - sources."define-data-property-1.1.4" - sources."define-properties-1.2.1" - sources."delayed-stream-1.0.0" - sources."detect-libc-1.0.3" - sources."didyoumean-1.2.2" - sources."diff-4.0.2" - sources."dir-glob-3.0.1" - sources."dlv-1.1.3" - sources."doctrine-3.0.0" - sources."eastasianwidth-0.2.0" - sources."electron-to-chromium-1.4.789" - sources."emoji-regex-9.2.2" - sources."entities-4.5.0" - sources."errno-0.1.8" - sources."error-ex-1.3.2" - sources."es-abstract-1.23.3" - sources."es-define-property-1.0.0" - sources."es-errors-1.3.0" - sources."es-iterator-helpers-1.0.19" - sources."es-object-atoms-1.0.0" - sources."es-set-tostringtag-2.0.3" - sources."es-shim-unscopables-1.0.2" - sources."es-to-primitive-1.2.1" - sources."esbuild-0.18.20" - sources."escalade-3.1.2" - sources."escape-string-regexp-1.0.5" - (sources."eslint-8.45.0" // { - dependencies = [ - sources."ansi-styles-4.3.0" - sources."chalk-4.1.2" - sources."color-convert-2.0.1" - sources."color-name-1.1.4" - sources."escape-string-regexp-4.0.0" - sources."eslint-scope-7.2.2" - sources."estraverse-5.3.0" - sources."glob-parent-6.0.2" - sources."globals-13.24.0" - sources."has-flag-4.0.0" - sources."supports-color-7.2.0" - ]; - }) - (sources."eslint-import-resolver-node-0.3.9" // { - dependencies = [ - sources."debug-3.2.7" - ]; - }) - (sources."eslint-module-utils-2.8.1" // { - dependencies = [ - sources."debug-3.2.7" - ]; - }) - (sources."eslint-plugin-import-2.28.1" // { - dependencies = [ - sources."debug-3.2.7" - sources."doctrine-2.1.0" - sources."semver-6.3.1" - ]; - }) - (sources."eslint-plugin-react-7.33.2" // { - dependencies = [ - sources."doctrine-2.1.0" - sources."estraverse-5.3.0" - sources."resolve-2.0.0-next.5" - sources."semver-6.3.1" - ]; - }) - sources."eslint-plugin-react-hooks-4.6.2" - sources."eslint-plugin-react-refresh-0.4.7" - (sources."eslint-plugin-unicorn-48.0.1" // { - dependencies = [ - sources."jsesc-3.0.2" - ]; - }) - sources."eslint-scope-5.1.1" - sources."eslint-visitor-keys-3.4.3" - sources."espree-9.6.1" - (sources."esquery-1.5.0" // { - dependencies = [ - sources."estraverse-5.3.0" - ]; - }) - (sources."esrecurse-4.3.0" // { - dependencies = [ - sources."estraverse-5.3.0" - ]; - }) - sources."estraverse-4.3.0" - sources."estree-walker-2.0.2" - sources."esutils-2.0.3" - sources."fast-deep-equal-3.1.3" - sources."fast-glob-3.3.2" - sources."fast-json-stable-stringify-2.1.0" - sources."fast-levenshtein-2.0.6" - sources."fastq-1.17.1" - sources."file-entry-cache-6.0.1" - sources."fill-range-7.1.1" - sources."find-up-5.0.0" - sources."flat-cache-3.2.0" - sources."flatted-3.3.1" - sources."follow-redirects-1.15.6" - sources."for-each-0.3.3" - sources."foreground-child-3.1.1" - sources."form-data-4.0.0" - sources."fraction.js-4.3.7" - sources."fs.realpath-1.0.0" - sources."fsevents-2.3.3" - sources."function-bind-1.1.2" - sources."function.prototype.name-1.1.6" - sources."functions-have-names-1.2.3" - sources."gensync-1.0.0-beta.2" - sources."get-intrinsic-1.2.4" - sources."get-symbol-description-1.0.2" - sources."glob-7.2.3" - sources."glob-parent-5.1.2" - sources."globals-11.12.0" - sources."globalthis-1.0.4" - sources."globby-11.1.0" - sources."gopd-1.0.1" - sources."graceful-fs-4.2.11" - sources."grapheme-splitter-1.0.4" - sources."graphemer-1.4.0" - sources."has-1.0.4" - sources."has-bigints-1.0.2" - sources."has-flag-3.0.0" - sources."has-property-descriptors-1.0.2" - sources."has-proto-1.0.3" - sources."has-symbols-1.0.3" - sources."has-tostringtag-1.0.2" - sources."hasown-2.0.2" - sources."hosted-git-info-2.8.9" - sources."iconv-lite-0.6.3" - sources."ignore-5.3.1" - sources."image-size-0.5.5" - sources."immutable-4.3.6" - sources."import-fresh-3.3.0" - sources."imurmurhash-0.1.4" - sources."indent-string-4.0.0" - sources."inflight-1.0.6" - sources."inherits-2.0.4" - sources."internal-slot-1.0.7" - sources."is-array-buffer-3.0.4" - sources."is-arrayish-0.2.1" - sources."is-async-function-2.0.0" - sources."is-bigint-1.0.4" - sources."is-binary-path-2.1.0" - sources."is-boolean-object-1.1.2" - sources."is-builtin-module-3.2.1" - sources."is-callable-1.2.7" - sources."is-core-module-2.13.1" - sources."is-data-view-1.0.1" - sources."is-date-object-1.0.5" - sources."is-extglob-2.1.1" - sources."is-finalizationregistry-1.0.2" - sources."is-fullwidth-code-point-3.0.0" - sources."is-generator-function-1.0.10" - sources."is-glob-4.0.3" - sources."is-map-2.0.3" - sources."is-negative-zero-2.0.3" - sources."is-number-7.0.0" - sources."is-number-object-1.0.7" - sources."is-path-inside-3.0.3" - sources."is-regex-1.1.4" - sources."is-set-2.0.3" - sources."is-shared-array-buffer-1.0.3" - sources."is-string-1.0.7" - sources."is-symbol-1.0.4" - sources."is-typed-array-1.1.13" - sources."is-weakmap-2.0.2" - sources."is-weakref-1.0.2" - sources."is-weakset-2.0.3" - sources."is-what-3.14.1" - sources."isarray-2.0.5" - sources."isexe-2.0.0" - sources."iterator.prototype-1.1.2" - sources."jackspeak-3.2.3" - sources."javascript-natural-sort-0.7.1" - sources."jiti-1.21.0" - sources."js-tokens-4.0.0" - sources."js-yaml-4.1.0" - sources."jsesc-2.5.2" - sources."json-buffer-3.0.1" - sources."json-parse-even-better-errors-2.3.1" - sources."json-schema-traverse-0.4.1" - sources."json-stable-stringify-without-jsonify-1.0.1" - sources."json5-2.2.3" - sources."jsx-ast-utils-3.3.5" - sources."keyv-4.5.4" - (sources."less-4.2.0" // { - dependencies = [ - sources."source-map-0.6.1" - ]; - }) - sources."levn-0.4.1" - sources."lightningcss-1.25.1" - sources."lilconfig-2.1.0" - sources."lines-and-columns-1.2.4" - sources."locate-path-6.0.0" - sources."lodash-4.17.21" - sources."lodash.merge-4.6.2" - sources."loose-envify-1.4.0" - sources."lru-cache-5.1.1" - sources."magic-string-0.30.10" - (sources."make-dir-2.1.0" // { - dependencies = [ - sources."pify-4.0.1" - sources."semver-5.7.2" - ]; - }) - sources."make-error-1.3.6" - sources."merge2-1.4.1" - sources."micromatch-4.0.7" - sources."mime-1.6.0" - sources."mime-db-1.52.0" - sources."mime-types-2.1.35" - sources."min-indent-1.0.1" - sources."mini-svg-data-uri-1.4.4" - sources."minimatch-3.1.2" - sources."minimist-1.2.8" - sources."minipass-7.1.2" - sources."mkdirp-0.5.6" - sources."ms-2.1.2" - sources."mz-2.7.0" - sources."nanoid-3.3.7" - sources."natural-compare-1.4.0" - sources."natural-compare-lite-1.4.0" - sources."needle-3.3.1" - sources."node-releases-2.0.14" - (sources."normalize-package-data-2.5.0" // { - dependencies = [ - sources."semver-5.7.2" - ]; - }) - sources."normalize-path-3.0.0" - sources."normalize-range-0.1.2" - sources."object-assign-4.1.1" - sources."object-hash-3.0.0" - sources."object-inspect-1.13.1" - sources."object-keys-1.1.1" - sources."object.assign-4.1.5" - sources."object.entries-1.1.8" - sources."object.fromentries-2.0.8" - sources."object.groupby-1.0.3" - sources."object.hasown-1.1.4" - sources."object.values-1.2.0" - sources."once-1.4.0" - sources."optionator-0.9.4" - sources."p-limit-3.1.0" - sources."p-locate-5.0.0" - sources."p-try-2.2.0" - sources."parent-module-1.0.1" - sources."parse-json-5.2.0" - sources."parse-node-version-1.0.1" - sources."path-exists-4.0.0" - sources."path-is-absolute-1.0.1" - sources."path-key-3.1.1" - sources."path-parse-1.0.7" - (sources."path-scurry-1.11.1" // { - dependencies = [ - sources."lru-cache-10.2.2" - ]; - }) - sources."path-type-4.0.0" - sources."picocolors-1.0.1" - sources."picomatch-2.3.1" - sources."pify-2.3.0" - sources."pirates-4.0.6" - sources."pluralize-8.0.0" - (sources."portfinder-1.0.32" // { - dependencies = [ - sources."debug-3.2.7" - ]; - }) - sources."possible-typed-array-names-1.0.0" - sources."postcss-8.4.38" - sources."postcss-import-15.1.0" - sources."postcss-js-4.0.1" - (sources."postcss-load-config-4.0.2" // { - dependencies = [ - sources."lilconfig-3.1.1" - ]; - }) - sources."postcss-nested-6.0.1" - sources."postcss-selector-parser-6.1.0" - sources."postcss-value-parser-4.2.0" - sources."prelude-ls-1.2.1" - sources."prettier-3.0.3" - sources."prop-types-15.8.1" - sources."proxy-from-env-1.1.0" - sources."prr-1.0.1" - sources."punycode-2.3.1" - sources."queue-microtask-1.2.3" - sources."react-18.2.0" - sources."react-dom-18.2.0" - sources."react-is-16.13.1" - sources."react-refresh-0.14.2" - sources."react-router-6.15.0" - sources."react-router-dom-6.15.0" - sources."read-cache-1.0.0" - (sources."read-pkg-5.2.0" // { - dependencies = [ - sources."type-fest-0.6.0" - ]; - }) - (sources."read-pkg-up-7.0.1" // { - dependencies = [ - sources."find-up-4.1.0" - sources."locate-path-5.0.0" - sources."p-limit-2.3.0" - sources."p-locate-4.1.0" - sources."type-fest-0.8.1" - ]; - }) - sources."readdirp-3.6.0" - sources."reflect.getprototypeof-1.0.6" - sources."regexp-tree-0.1.27" - sources."regexp.prototype.flags-1.5.2" - (sources."regjsparser-0.10.0" // { - dependencies = [ - sources."jsesc-0.5.0" - ]; - }) - sources."resolve-1.22.8" - sources."resolve-from-4.0.0" - sources."reusify-1.0.4" - sources."rimraf-3.0.2" - sources."rollup-3.29.4" - sources."run-parallel-1.2.0" - sources."safe-array-concat-1.1.2" - sources."safe-regex-test-1.0.3" - sources."safer-buffer-2.1.2" - sources."sass-1.77.4" - sources."sax-1.4.1" - sources."scheduler-0.23.2" - sources."semver-7.6.2" - sources."set-function-length-1.2.2" - sources."set-function-name-2.0.2" - sources."shebang-command-2.0.0" - sources."shebang-regex-3.0.0" - sources."side-channel-1.0.6" - sources."signal-exit-4.1.0" - sources."slash-3.0.0" - sources."source-map-0.5.7" - sources."source-map-js-1.2.0" - (sources."source-map-support-0.5.21" // { - dependencies = [ - sources."source-map-0.6.1" - ]; - }) - sources."spdx-correct-3.2.0" - sources."spdx-exceptions-2.5.0" - sources."spdx-expression-parse-3.0.1" - sources."spdx-license-ids-3.0.18" - (sources."string-width-5.1.2" // { - dependencies = [ - sources."ansi-regex-6.0.1" - sources."strip-ansi-7.1.0" - ]; - }) - (sources."string-width-cjs-4.2.3" // { - dependencies = [ - sources."emoji-regex-8.0.0" - ]; - }) - sources."string.prototype.matchall-4.0.11" - sources."string.prototype.trim-1.2.9" - sources."string.prototype.trimend-1.0.8" - sources."string.prototype.trimstart-1.0.8" - sources."strip-ansi-6.0.1" - sources."strip-ansi-cjs-6.0.1" - sources."strip-bom-3.0.0" - sources."strip-indent-3.0.0" - sources."strip-json-comments-3.1.1" - (sources."stylus-0.63.0" // { - dependencies = [ - sources."sax-1.3.0" - sources."source-map-0.7.4" - ]; - }) - (sources."sucrase-3.35.0" // { - dependencies = [ - sources."brace-expansion-2.0.1" - sources."glob-10.4.1" - sources."minimatch-9.0.4" - ]; - }) - sources."sugarss-4.0.1" - sources."supports-color-5.5.0" - sources."supports-preserve-symlinks-flag-1.0.0" - (sources."tailwindcss-3.3.7" // { - dependencies = [ - sources."glob-parent-6.0.2" - ]; - }) - (sources."terser-5.31.0" // { - dependencies = [ - sources."commander-2.20.3" - ]; - }) - sources."text-table-0.2.0" - sources."thenify-3.3.1" - sources."thenify-all-1.6.0" - sources."to-fast-properties-2.0.0" - sources."to-regex-range-5.0.1" - sources."ts-api-utils-1.3.0" - sources."ts-interface-checker-0.1.13" - (sources."ts-node-10.9.2" // { - dependencies = [ - sources."arg-4.1.3" - ]; - }) - (sources."tsconfig-paths-3.15.0" // { - dependencies = [ - sources."json5-1.0.2" - ]; - }) - sources."tslib-2.6.2" - sources."type-check-0.4.0" - sources."type-fest-0.20.2" - sources."typed-array-buffer-1.0.2" - sources."typed-array-byte-length-1.0.1" - sources."typed-array-byte-offset-1.0.2" - sources."typed-array-length-1.0.6" - sources."typescript-5.0.4" - sources."unbox-primitive-1.0.2" - sources."update-browserslist-db-1.0.16" - sources."uri-js-4.4.1" - sources."util-deprecate-1.0.2" - sources."v8-compile-cache-lib-3.0.1" - sources."validate-npm-package-license-3.0.4" - sources."vite-4.4.12" - sources."vite-code-inspector-plugin-0.1.9" - sources."webpack-code-inspector-plugin-0.1.9" - sources."which-2.0.2" - sources."which-boxed-primitive-1.0.2" - sources."which-builtin-type-1.1.3" - sources."which-collection-1.0.2" - sources."which-typed-array-1.1.15" - sources."word-wrap-1.2.5" - (sources."wrap-ansi-8.1.0" // { - dependencies = [ - sources."ansi-regex-6.0.1" - sources."ansi-styles-6.2.1" - sources."strip-ansi-7.1.0" - ]; - }) - (sources."wrap-ansi-cjs-7.0.0" // { - dependencies = [ - sources."ansi-styles-4.3.0" - sources."color-convert-2.0.1" - sources."color-name-1.1.4" - sources."emoji-regex-8.0.0" - sources."string-width-4.2.3" - ]; - }) - sources."wrappy-1.0.2" - sources."yallist-3.1.1" - sources."yaml-2.4.3" - sources."yn-3.1.1" - sources."yocto-queue-0.1.0" - ]; - buildInputs = globalBuildInputs; - meta = { - }; - production = true; - bypassCache = true; - reconstructLock = true; - }; + pnpm = nodeEnv.buildNodePackage { name = "pnpm"; packageName = "pnpm"; diff --git a/pkgs/development/python-modules/ase/default.nix b/pkgs/development/python-modules/ase/default.nix index 6bd5f58b4203..b6b020c07121 100644 --- a/pkgs/development/python-modules/ase/default.nix +++ b/pkgs/development/python-modules/ase/default.nix @@ -1,5 +1,6 @@ { lib, + stdenv, fetchPypi, buildPythonPackage, isPy27, @@ -11,6 +12,7 @@ flask, pillow, psycopg2, + tkinter, pytestCheckHook, pytest-mock, pytest-xdist, @@ -37,6 +39,8 @@ buildPythonPackage rec { flask pillow psycopg2 + ] ++ lib.optionals stdenv.isDarwin [ + tkinter ]; nativeCheckInputs = [ diff --git a/pkgs/development/python-modules/crossandra/default.nix b/pkgs/development/python-modules/crossandra/default.nix new file mode 100644 index 000000000000..f9e2967ff40c --- /dev/null +++ b/pkgs/development/python-modules/crossandra/default.nix @@ -0,0 +1,39 @@ +{ + lib, + buildPythonPackage, + fetchFromGitHub, + setuptools, + result, + mypy +}: + +buildPythonPackage rec { + pname = "crossandra"; + version = "2.2.1"; + pyproject = true; + + src = fetchFromGitHub { + owner = "trag1c"; + repo = "crossandra"; + rev = "refs/tags/${version}"; + hash = "sha256-/JhrjXRH7Rs2bUil9HRneBC9wlVYEyfwivjzb+eyRv8="; + }; + + build-system = [ setuptools mypy ]; + dependencies = [ result ]; + + pythonImportsCheck = [ "crossandra" ]; + prePatch = '' + # pythonRelaxDepsHook did not work + substituteInPlace pyproject.toml \ + --replace-fail "result ~= 0.9.0" "result >= 0.9.0" + ''; + + meta = with lib; { + changelog = "https://github.com/trag1c/crossandra/blob/${src.rev}/CHANGELOG.md"; + description = "A fast and simple enum/regex-based tokenizer with decent configurability"; + license = licenses.mit; + homepage = "https://trag1c.github.io/crossandra"; + maintainers = with maintainers; [ sigmanificient ]; + }; +} diff --git a/pkgs/development/python-modules/jupyter-nbextensions-configurator/default.nix b/pkgs/development/python-modules/jupyter-nbextensions-configurator/default.nix index 5b1bed18d96e..b824fd000970 100644 --- a/pkgs/development/python-modules/jupyter-nbextensions-configurator/default.nix +++ b/pkgs/development/python-modules/jupyter-nbextensions-configurator/default.nix @@ -2,7 +2,6 @@ lib, buildPythonPackage, fetchFromGitHub, - fetchpatch, jupyter-contrib-core, jupyter-core, jupyter-server, @@ -16,26 +15,17 @@ buildPythonPackage rec { pname = "jupyter-nbextensions-configurator"; - version = "0.6.3"; - format = "setuptools"; + version = "0.6.4"; + pyproject = true; src = fetchFromGitHub { owner = "jupyter-contrib"; repo = "jupyter_nbextensions_configurator"; rev = "refs/tags/${version}"; - hash = "sha256-ovKYHATRAC5a5qTMv32ohU2gJd15/fRKXa5HI0zGp/0="; + hash = "sha256-U4M6pGV/DdE+DOVMVaoBXOhfRERt+yUa+gADgqRRLn4="; }; - patches = [ - # https://github.com/Jupyter-contrib/jupyter_nbextensions_configurator/pull/166 - (fetchpatch { - name = "notebook-v7-compat.patch"; - url = "https://github.com/Jupyter-contrib/jupyter_nbextensions_configurator/commit/a600cef9222ca0c61a6912eb29d8fa0323409705.patch"; - hash = "sha256-Rt9r5ZOgnhBcs18+ET5+k0/t980I2DiVN8oHkGLp0iw="; - }) - ]; - - propagatedBuildInputs = [ + dependencies = [ jupyter-contrib-core jupyter-core jupyter-server @@ -59,11 +49,12 @@ buildPythonPackage rec { pythonImportsCheck = [ "jupyter_nbextensions_configurator" ]; - meta = with lib; { + meta = { description = "A jupyter notebook serverextension providing config interfaces for nbextensions"; mainProgram = "jupyter-nbextensions_configurator"; homepage = "https://github.com/jupyter-contrib/jupyter_nbextensions_configurator"; - license = licenses.bsd3; - maintainers = with maintainers; [ GaetanLepage ]; + changelog = "https://github.com/Jupyter-contrib/jupyter_nbextensions_configurator/releases/tag/${version}"; + license = lib.licenses.bsd3; + maintainers = with lib.maintainers; [ GaetanLepage ]; }; } diff --git a/pkgs/development/python-modules/latex2pydata/default.nix b/pkgs/development/python-modules/latex2pydata/default.nix index 535978bad8aa..80005a173af0 100644 --- a/pkgs/development/python-modules/latex2pydata/default.nix +++ b/pkgs/development/python-modules/latex2pydata/default.nix @@ -7,12 +7,12 @@ buildPythonPackage rec { pname = "latex2pydata"; - version = "0.3.0"; + version = "0.4.0"; pyproject = true; src = fetchPypi { inherit pname version; - hash = "sha256-XMGmTK1H6f66pI/wDLA3+Pytl4A7spbMMpfa77xr2M4="; + hash = "sha256-Ega1cHSP187njyelb0yiCdpk08QZyObelRa2S79AE1E="; }; build-system = [ diff --git a/pkgs/development/python-modules/libtmux/default.nix b/pkgs/development/python-modules/libtmux/default.nix index abd82ba2f25e..0bb5cb5cda28 100644 --- a/pkgs/development/python-modules/libtmux/default.nix +++ b/pkgs/development/python-modules/libtmux/default.nix @@ -1,33 +1,34 @@ { lib, stdenv, - fetchFromGitHub, buildPythonPackage, + fetchFromGitHub, + ncurses, poetry-core, + procps, pytest-rerunfailures, pytestCheckHook, - procps, tmux, - ncurses, }: buildPythonPackage rec { pname = "libtmux"; - version = "0.36.0"; + version = "0.37.0"; pyproject = true; src = fetchFromGitHub { owner = "tmux-python"; - repo = pname; + repo = "libtmux"; rev = "refs/tags/v${version}"; - hash = "sha256-oJ2IGaPFMKA/amUEPZi1UO9vZtjPNQg3SIFjQWzUeSE="; + hash = "sha256-I0E6zkfQ6mx2svCaXEgKPhrrog3iLgXZ4E3CMMxPkIA="; }; postPatch = '' - sed -i '/addopts/d' pyproject.toml + substituteInPlace pyproject.toml \ + --replace-fail '"--doctest-docutils-modules",' "" ''; - nativeBuildInputs = [ poetry-core ]; + build-system = [ poetry-core ]; nativeCheckInputs = [ procps @@ -53,7 +54,6 @@ buildPythonPackage rec { disabledTestPaths = lib.optionals stdenv.isDarwin [ "tests/test_test.py" - "tests/legacy_api/test_test.py" ]; pythonImportsCheck = [ "libtmux" ]; diff --git a/pkgs/development/python-modules/openrazer/daemon.nix b/pkgs/development/python-modules/openrazer/daemon.nix index 6fafcec4a38b..e2fd6cae9e71 100644 --- a/pkgs/development/python-modules/openrazer/daemon.nix +++ b/pkgs/development/python-modules/openrazer/daemon.nix @@ -12,6 +12,7 @@ setuptools, wrapGAppsNoGuiHook, notify2, + glib }: let @@ -32,13 +33,16 @@ buildPythonPackage (common // { --replace-fail "plugdev" "openrazer" ''; - nativeBuildInputs = [ setuptools wrapGAppsNoGuiHook ]; + nativeBuildInputs = [ setuptools wrapGAppsNoGuiHook gobject-introspection ]; + + buildInputs = [ + glib + gtk3 + ]; propagatedBuildInputs = [ daemonize dbus-python - gobject-introspection - gtk3 pygobject3 pyudev setproctitle diff --git a/pkgs/development/python-modules/tinygrad/default.nix b/pkgs/development/python-modules/tinygrad/default.nix index 82a57f7d7f08..760b29c1adfc 100644 --- a/pkgs/development/python-modules/tinygrad/default.nix +++ b/pkgs/development/python-modules/tinygrad/default.nix @@ -1,12 +1,25 @@ { lib, + config, buildPythonPackage, fetchFromGitHub, + substituteAll, + addDriverRunpath, + cudaSupport ? config.cudaSupport, + rocmSupport ? config.rocmSupport, + cudaPackages, + ocl-icd, + stdenv, + rocmPackages, + # build-system setuptools, wheel, - gpuctypes, + # dependencies numpy, tqdm, + # nativeCheckInputs + clang, + hexdump, hypothesis, librosa, onnx, @@ -22,30 +35,67 @@ buildPythonPackage rec { pname = "tinygrad"; - version = "0.8.0"; + version = "0.9.0"; pyproject = true; src = fetchFromGitHub { owner = "tinygrad"; repo = "tinygrad"; rev = "refs/tags/v${version}"; - hash = "sha256-QAccZ79qUbe27yUykIf22WdkxYUlOffnMlShakKfp60="; + hash = "sha256-opBxciETZruZjHqz/3vO7rogzjvVJKItulIiok/Zs2Y="; }; - nativeBuildInputs = [ + patches = [ + (substituteAll { + src = ./fix-dlopen-cuda.patch; + inherit (addDriverRunpath) driverLink; + libnvrtc = + if cudaSupport then + "${lib.getLib cudaPackages.cuda_nvrtc}/lib/libnvrtc.so" + else + "Please import nixpkgs with `config.cudaSupport = true`"; + }) + ]; + + postPatch = + '' + substituteInPlace tinygrad/runtime/autogen/opencl.py \ + --replace-fail "ctypes.util.find_library('OpenCL')" "'${ocl-icd}/lib/libOpenCL.so'" + '' + # hipGetDevicePropertiesR0600 is a symbol from rocm-6. We are currently at rocm-5. + # We are not sure that this works. Remove when rocm gets updated to version 6. + + lib.optionalString rocmSupport '' + substituteInPlace extra/hip_gpu_driver/hip_ioctl.py \ + --replace-fail "processor = platform.processor()" "processor = ${stdenv.hostPlatform.linuxArch}" + substituteInPlace tinygrad/runtime/autogen/hip.py \ + --replace-fail "/opt/rocm/lib/libamdhip64.so" "${rocmPackages.clr}/lib/libamdhip64.so" \ + --replace-fail "/opt/rocm/lib/libhiprtc.so" "${rocmPackages.clr}/lib/libhiprtc.so" \ + --replace-fail "hipGetDevicePropertiesR0600" "hipGetDeviceProperties" + + substituteInPlace tinygrad/runtime/autogen/comgr.py \ + --replace-fail "/opt/rocm/lib/libamd_comgr.so" "${rocmPackages.rocm-comgr}/lib/libamd_comgr.so" + ''; + + build-system = [ setuptools wheel ]; - propagatedBuildInputs = [ - gpuctypes - numpy - tqdm - ]; + dependencies = + [ + numpy + tqdm + ] + ++ lib.optionals stdenv.isDarwin [ + # pyobjc-framework-libdispatch + # pyobjc-framework-metal + ]; pythonImportsCheck = [ "tinygrad" ]; nativeCheckInputs = [ + clang + hexdump hypothesis librosa onnx @@ -63,44 +113,60 @@ buildPythonPackage rec { export HOME=$(mktemp -d) ''; - disabledTests = [ - # Require internet access - "test_benchmark_openpilot_model" - "test_bn_alone" - "test_bn_linear" - "test_bn_mnist" - "test_car" - "test_chicken" - "test_chicken_bigbatch" - "test_conv_mnist" - "testCopySHMtoDefault" - "test_data_parallel_resnet" - "test_e2e_big" - "test_fetch_small" - "test_huggingface_enet_safetensors" - "test_linear_mnist" - "test_load_convnext" - "test_load_enet" - "test_load_enet_alt" - "test_load_llama2bfloat" - "test_load_resnet" - "test_openpilot_model" - "test_resnet" - "test_shufflenet" - "test_transcribe_batch12" - "test_transcribe_batch21" - "test_transcribe_file1" - "test_transcribe_file2" - "test_transcribe_long" - "test_transcribe_long_no_batch" - "test_vgg7" - ]; + disabledTests = + [ + # Require internet access + "test_benchmark_openpilot_model" + "test_bn_alone" + "test_bn_linear" + "test_bn_mnist" + "test_car" + "test_chicken" + "test_chicken_bigbatch" + "test_conv_mnist" + "testCopySHMtoDefault" + "test_data_parallel_resnet" + "test_e2e_big" + "test_fetch_small" + "test_huggingface_enet_safetensors" + "test_linear_mnist" + "test_load_convnext" + "test_load_enet" + "test_load_enet_alt" + "test_load_llama2bfloat" + "test_load_resnet" + "test_openpilot_model" + "test_resnet" + "test_shufflenet" + "test_transcribe_batch12" + "test_transcribe_batch21" + "test_transcribe_file1" + "test_transcribe_file2" + "test_transcribe_long" + "test_transcribe_long_no_batch" + "test_vgg7" + ] + # Fail on aarch64-linux with AssertionError + ++ lib.optionals (stdenv.hostPlatform.system == "aarch64-linux") [ + "test_casts_to" + "test_casts_to" + "test_int8_to_uint16_negative" + "test_casts_to" + "test_casts_to" + "test_casts_from" + "test_casts_to" + "test_int8" + "test_casts_to" + ]; - disabledTestPaths = [ - "test/extra/test_lr_scheduler.py" - "test/models/test_mnist.py" - "test/models/test_real_world.py" - ]; + disabledTestPaths = + [ + # Require internet access + "test/models/test_mnist.py" + "test/models/test_real_world.py" + "test/testextra/test_lr_scheduler.py" + ] + ++ lib.optionals (!rocmSupport) [ "extra/hip_gpu_driver/" ]; meta = with lib; { description = "A simple and powerful neural network framework"; @@ -108,5 +174,7 @@ buildPythonPackage rec { changelog = "https://github.com/tinygrad/tinygrad/releases/tag/v${version}"; license = licenses.mit; maintainers = with maintainers; [ GaetanLepage ]; + # Requires unpackaged pyobjc-framework-libdispatch and pyobjc-framework-metal + broken = stdenv.isDarwin; }; } diff --git a/pkgs/development/python-modules/gpuctypes/fix-dlopen-cuda.patch b/pkgs/development/python-modules/tinygrad/fix-dlopen-cuda.patch similarity index 67% rename from pkgs/development/python-modules/gpuctypes/fix-dlopen-cuda.patch rename to pkgs/development/python-modules/tinygrad/fix-dlopen-cuda.patch index 8d3b69e35e11..6b77173b4ecc 100644 --- a/pkgs/development/python-modules/gpuctypes/fix-dlopen-cuda.patch +++ b/pkgs/development/python-modules/tinygrad/fix-dlopen-cuda.patch @@ -1,9 +1,9 @@ -diff --git a/gpuctypes/cuda.py b/gpuctypes/cuda.py -index acba81c..aac5fc7 100644 ---- a/gpuctypes/cuda.py -+++ b/gpuctypes/cuda.py -@@ -143,9 +143,25 @@ def char_pointer_cast(string, encoding='utf-8'): - +diff --git a/tinygrad/runtime/autogen/cuda.py b/tinygrad/runtime/autogen/cuda.py +index 359083a9..3cd5f7be 100644 +--- a/tinygrad/runtime/autogen/cuda.py ++++ b/tinygrad/runtime/autogen/cuda.py +@@ -143,10 +143,25 @@ def char_pointer_cast(string, encoding='utf-8'): + return ctypes.cast(string, ctypes.POINTER(ctypes.c_char)) +NAME_TO_PATHS = { @@ -19,9 +19,9 @@ index acba81c..aac5fc7 100644 + try: + return ctypes.CDLL(candidate) + except OSError: -+ pass ++ pass + raise RuntimeError(f"{name} not found") -+ + _libraries = {} -_libraries['libcuda.so'] = ctypes.CDLL(ctypes.util.find_library('cuda')) -_libraries['libnvrtc.so'] = ctypes.CDLL(ctypes.util.find_library('nvrtc')) diff --git a/pkgs/games/onscripter-en/default.nix b/pkgs/games/onscripter-en/default.nix deleted file mode 100644 index edc9e20235ff..000000000000 --- a/pkgs/games/onscripter-en/default.nix +++ /dev/null @@ -1,38 +0,0 @@ -{ lib, stdenv, fetchurl -, libpng, libjpeg, libogg, libvorbis, freetype, smpeg -, SDL, SDL_image, SDL_mixer, SDL_ttf }: - - -stdenv.mkDerivation { - pname = "onscripter-en"; - version = "20111009"; - - src = fetchurl { - # The website is not available now. - url = "https://www.dropbox.com/s/ag21owy9poyr2oy/onscripter-en-20111009-src.tar.bz2"; - sha256 = "sha256-pir3ExhehJ9zNygDN83S4GOs5ugDNMjngxEwklAz9c8="; - }; - - buildInputs = [ libpng libjpeg libogg libvorbis freetype smpeg - SDL SDL_image SDL_mixer SDL_ttf - ]; - - configureFlags = [ "--no-werror" ]; - - # Without this libvorbisfile.so is not getting linked properly for some reason. - NIX_CFLAGS_LINK = "-lvorbisfile"; - - preBuild = '' - sed -i 's/.dll//g' Makefile - ''; - - meta = with lib; { - broken = stdenv.isDarwin; - description = "Japanese visual novel scripting engine"; - mainProgram = "onscripter-en"; - homepage = "http://unclemion.com/onscripter/"; - license = licenses.gpl2; - platforms = platforms.unix; - maintainers = with maintainers; [ abbradar ]; - }; -} diff --git a/pkgs/os-specific/linux/hid-t150/default.nix b/pkgs/os-specific/linux/hid-t150/default.nix new file mode 100644 index 000000000000..27237bafbb01 --- /dev/null +++ b/pkgs/os-specific/linux/hid-t150/default.nix @@ -0,0 +1,40 @@ +{ + stdenv, + lib, + fetchFromGitHub, + kernel, +}: + +stdenv.mkDerivation { + pname = "hid-t150"; + #https://github.com/scarburato/t150_driver/blob/165d0601e11576186c9416c40144927549ef804d/install.sh#L3 + version = "0.8a"; + + src = fetchFromGitHub { + owner = "scarburato"; + repo = "t150_driver"; + rev = "580b79b7b479076ba470fcc21fbd8484f5328546"; + hash = "sha256-6xqm8500+yMXA/WonMv1JAOS/oIeSNDp9HFuYkEd03U="; + }; + + nativeBuildInputs = kernel.moduleBuildDependencies; + + sourceRoot = "source/hid-t150"; + + makeFlags = kernel.makeFlags ++ [ + "KDIR=${kernel.dev}/lib/modules/${kernel.modDirVersion}/build" + "INSTALL_MOD_PATH=${placeholder "out"}" + ]; + + installPhase = '' + make -C ${kernel.dev}/lib/modules/${kernel.modDirVersion}/build M=$(pwd) modules_install $makeFlags + ''; + + meta = with lib; { + description = "A linux kernel driver for Thrustmaster T150 and TMX Force Feedback wheel"; + homepage = "https://github.com/scarburato/t150_driver"; + license = licenses.gpl2; + maintainers = [ maintainers.dbalan ]; + platforms = platforms.linux; + }; +} diff --git a/pkgs/os-specific/linux/libratbag/default.nix b/pkgs/os-specific/linux/libratbag/default.nix index a35ab1dcc01c..3a13c53cf586 100644 --- a/pkgs/os-specific/linux/libratbag/default.nix +++ b/pkgs/os-specific/linux/libratbag/default.nix @@ -1,4 +1,4 @@ -{ lib, stdenv, fetchFromGitHub, meson, ninja, pkg-config +{ lib, stdenv, fetchFromGitHub, meson, ninja, pkg-config, wrapGAppsNoGuiHook, gobject-introspection , glib, systemd, udev, libevdev, gitMinimal, check, valgrind, swig, python3 , json-glib, libunistring }: @@ -14,7 +14,7 @@ stdenv.mkDerivation rec { }; nativeBuildInputs = [ - meson ninja pkg-config gitMinimal swig check valgrind + meson ninja pkg-config gitMinimal swig check valgrind wrapGAppsNoGuiHook gobject-introspection ]; buildInputs = [ diff --git a/pkgs/os-specific/linux/targetcli/default.nix b/pkgs/os-specific/linux/targetcli/default.nix index 6058b3509772..c30f64589bb8 100644 --- a/pkgs/os-specific/linux/targetcli/default.nix +++ b/pkgs/os-specific/linux/targetcli/default.nix @@ -1,4 +1,4 @@ -{ lib, python3, fetchFromGitHub, nixosTests }: +{ lib, python3, fetchFromGitHub, nixosTests, wrapGAppsNoGuiHook, gobject-introspection, glib }: python3.pkgs.buildPythonApplication rec { pname = "targetcli"; @@ -11,7 +11,10 @@ python3.pkgs.buildPythonApplication rec { hash = "sha256-9QYo7jGk9iWr26j0qPQCqYsJ+vLXAsO4Xs7+7VT9/yc="; }; - propagatedBuildInputs = with python3.pkgs; [ configshell rtslib ]; + nativeBuildInputs = [ wrapGAppsNoGuiHook gobject-introspection ]; + buildInputs = [ glib ]; + + propagatedBuildInputs = with python3.pkgs; [ configshell rtslib pygobject3 ]; postInstall = '' install -D targetcli.8 -t $out/share/man/man8/ diff --git a/pkgs/servers/nextcloud/default.nix b/pkgs/servers/nextcloud/default.nix index aa09ec90f78e..7e853eed71de 100644 --- a/pkgs/servers/nextcloud/default.nix +++ b/pkgs/servers/nextcloud/default.nix @@ -55,8 +55,8 @@ in { }; nextcloud29 = generic { - version = "29.0.1"; - hash = "sha256-dZVG2uz3nKeH7WcFUDaTxttVOqvx165N+neccwmyrak="; + version = "29.0.2"; + hash = "sha256-LUnSl9w0AJICEFeCPo54oxK8APVt59hneseQWQkYqxc="; packages = nextcloud29Packages; }; diff --git a/pkgs/servers/nextcloud/packages/27.json b/pkgs/servers/nextcloud/packages/27.json index 1ce37d20fddb..dbab86fde27c 100644 --- a/pkgs/servers/nextcloud/packages/27.json +++ b/pkgs/servers/nextcloud/packages/27.json @@ -10,9 +10,9 @@ ] }, "calendar": { - "sha256": "0zm2a63f99q7n1qw2n3p4pk50j5v4q24vpgndk4nnvaz6c792rzg", - "url": "https://github.com/nextcloud-releases/calendar/releases/download/v4.7.4/calendar-v4.7.4.tar.gz", - "version": "4.7.4", + "sha256": "09rsp5anpaqzwmrixza5qh12vmq9hd3an045064vm3rnynz537qc", + "url": "https://github.com/nextcloud-releases/calendar/releases/download/v4.7.6/calendar-v4.7.6.tar.gz", + "version": "4.7.6", "description": "The Calendar app is a user interface for Nextcloud's CalDAV server. Easily sync events from various devices with your Nextcloud and edit them online.\n\n* πŸš€ **Integration with other Nextcloud apps!** Currently Contacts - more to come.\n* 🌐 **WebCal Support!** Want to see your favorite team’s matchdays in your calendar? No problem!\n* πŸ™‹ **Attendees!** Invite people to your events\n* ⌚️ **Free/Busy!** See when your attendees are available to meet\n* ⏰ **Reminders!** Get alarms for events inside your browser and via email\n* πŸ” Search! Find your events at ease\n* β˜‘οΈ Tasks! See tasks with a due date directly in the calendar\n* πŸ™ˆ **We’re not reinventing the wheel!** Based on the great [c-dav library](https://github.com/nextcloud/cdav-library), [ical.js](https://github.com/mozilla-comm/ical.js) and [fullcalendar](https://github.com/fullcalendar/fullcalendar) libraries.", "homepage": "https://github.com/nextcloud/calendar/", "licenses": [ @@ -140,9 +140,9 @@ ] }, "mail": { - "sha256": "1w6bww8wc42biz1zjf4fxgf60ryh1cdsm8b6ji3fhsqjlmkvs4ly", - "url": "https://github.com/nextcloud-releases/mail/releases/download/v3.6.1/mail-v3.6.1.tar.gz", - "version": "3.6.1", + "sha256": "1q0ihgrb6sk0rizs45clqhjpmai2m2zislw6s1694j1zssz4jpqg", + "url": "https://github.com/nextcloud-releases/mail/releases/download/v3.7.1/mail-v3.7.1.tar.gz", + "version": "3.7.1", "description": "**πŸ’Œ A mail app for Nextcloud**\n\n- **πŸš€ Integration with other Nextcloud apps!** Currently Contacts, Calendar & Files – more to come.\n- **πŸ“₯ Multiple mail accounts!** Personal and company account? No problem, and a nice unified inbox. Connect any IMAP account.\n- **πŸ”’ Send & receive encrypted mails!** Using the great [Mailvelope](https://mailvelope.com) browser extension.\n- **πŸ™ˆ We’re not reinventing the wheel!** Based on the great [Horde](https://horde.org) libraries.\n- **πŸ“¬ Want to host your own mail server?** We do not have to reimplement this as you could set up [Mail-in-a-Box](https://mailinabox.email)!\n\n## Ethical AI Rating\n\n### Priority Inbox\n\nPositive:\n* The software for training and inferencing of this model is open source.\n* The model is created and trained on-premises based on the user's own data.\n* The training data is accessible to the user, making it possible to check or correct for bias or optimise the performance and CO2 usage.\n\n### Thread Summaries (opt-in)\n\n**Rating:** 🟒/🟑/🟠/πŸ”΄\n\nThe rating depends on the installed text processing backend. See [the rating overview](https://docs.nextcloud.com/server/latest/admin_manual/ai/index.html) for details.\n\nLearn more about the Nextcloud Ethical AI Rating [in our blog](https://nextcloud.com/blog/nextcloud-ethical-ai-rating/).", "homepage": "https://github.com/nextcloud/mail#readme", "licenses": [ @@ -230,9 +230,9 @@ ] }, "polls": { - "sha256": "0zsklab2sjz5b37b1dn0fpc21yvxrp7fvacppv1v6x5yppnmm6kh", - "url": "https://github.com/nextcloud/polls/releases/download/v6.4.0/polls.tar.gz", - "version": "6.4.0", + "sha256": "0wijb8dkszyzs3108qylcjnvd3kdhlciqndhgc993ybwqxqxfsxn", + "url": "https://github.com/nextcloud/polls/releases/download/v6.4.1/polls.tar.gz", + "version": "6.4.1", "description": "A polls app, similar to Doodle/Dudle with the possibility to restrict access (members, certain groups/users, hidden and public).", "homepage": "https://github.com/nextcloud/polls", "licenses": [ diff --git a/pkgs/servers/nextcloud/packages/28.json b/pkgs/servers/nextcloud/packages/28.json index 7b8d3615bab7..0a5c405e3611 100644 --- a/pkgs/servers/nextcloud/packages/28.json +++ b/pkgs/servers/nextcloud/packages/28.json @@ -1,8 +1,8 @@ { "bookmarks": { - "sha256": "1i003cp6x4hw3zkaf49a0srkgr257fbv3p612whd1nsbm2mfd2mf", - "url": "https://github.com/nextcloud/bookmarks/releases/download/v14.1.1/bookmarks-14.1.1.tar.gz", - "version": "14.1.1", + "sha256": "01m78jfnqgvqj94v13bi6rj52sgwrp18zs4svgbdrci3lc7xqyp2", + "url": "https://github.com/nextcloud/bookmarks/releases/download/v14.1.2/bookmarks-14.1.2.tar.gz", + "version": "14.1.2", "description": "- πŸ“‚ Sort bookmarks into folders\n- 🏷 Add tags and personal notes\n- πŸ” Full-text search\n- πŸ“² Synchronize with all your browsers and devices\n- πŸ‘ͺ Share bookmarks with other users and publicly\n- ☠ Find broken links\n- βš› Generate RSS feeds of your collections\n- πŸ“” Read archived versions of your links in case they are depublished\n- πŸ’¬ Create new bookmarks directly from within Nextcloud Talk\n- πŸ’Ό Built-in Dashboard widgets for frequent and recent links\n\nRequirements:\n - PHP extensions:\n - intl: *\n - mbstring: *\n - when using MySQL, use at least v8.0", "homepage": "https://github.com/nextcloud/bookmarks", "licenses": [ @@ -10,9 +10,9 @@ ] }, "calendar": { - "sha256": "0zm2a63f99q7n1qw2n3p4pk50j5v4q24vpgndk4nnvaz6c792rzg", - "url": "https://github.com/nextcloud-releases/calendar/releases/download/v4.7.4/calendar-v4.7.4.tar.gz", - "version": "4.7.4", + "sha256": "09rsp5anpaqzwmrixza5qh12vmq9hd3an045064vm3rnynz537qc", + "url": "https://github.com/nextcloud-releases/calendar/releases/download/v4.7.6/calendar-v4.7.6.tar.gz", + "version": "4.7.6", "description": "The Calendar app is a user interface for Nextcloud's CalDAV server. Easily sync events from various devices with your Nextcloud and edit them online.\n\n* πŸš€ **Integration with other Nextcloud apps!** Currently Contacts - more to come.\n* 🌐 **WebCal Support!** Want to see your favorite team’s matchdays in your calendar? No problem!\n* πŸ™‹ **Attendees!** Invite people to your events\n* ⌚️ **Free/Busy!** See when your attendees are available to meet\n* ⏰ **Reminders!** Get alarms for events inside your browser and via email\n* πŸ” Search! Find your events at ease\n* β˜‘οΈ Tasks! See tasks with a due date directly in the calendar\n* πŸ™ˆ **We’re not reinventing the wheel!** Based on the great [c-dav library](https://github.com/nextcloud/cdav-library), [ical.js](https://github.com/mozilla-comm/ical.js) and [fullcalendar](https://github.com/fullcalendar/fullcalendar) libraries.", "homepage": "https://github.com/nextcloud/calendar/", "licenses": [ @@ -120,9 +120,9 @@ ] }, "mail": { - "sha256": "1w6bww8wc42biz1zjf4fxgf60ryh1cdsm8b6ji3fhsqjlmkvs4ly", - "url": "https://github.com/nextcloud-releases/mail/releases/download/v3.6.1/mail-v3.6.1.tar.gz", - "version": "3.6.1", + "sha256": "1q0ihgrb6sk0rizs45clqhjpmai2m2zislw6s1694j1zssz4jpqg", + "url": "https://github.com/nextcloud-releases/mail/releases/download/v3.7.1/mail-v3.7.1.tar.gz", + "version": "3.7.1", "description": "**πŸ’Œ A mail app for Nextcloud**\n\n- **πŸš€ Integration with other Nextcloud apps!** Currently Contacts, Calendar & Files – more to come.\n- **πŸ“₯ Multiple mail accounts!** Personal and company account? No problem, and a nice unified inbox. Connect any IMAP account.\n- **πŸ”’ Send & receive encrypted mails!** Using the great [Mailvelope](https://mailvelope.com) browser extension.\n- **πŸ™ˆ We’re not reinventing the wheel!** Based on the great [Horde](https://horde.org) libraries.\n- **πŸ“¬ Want to host your own mail server?** We do not have to reimplement this as you could set up [Mail-in-a-Box](https://mailinabox.email)!\n\n## Ethical AI Rating\n\n### Priority Inbox\n\nPositive:\n* The software for training and inferencing of this model is open source.\n* The model is created and trained on-premises based on the user's own data.\n* The training data is accessible to the user, making it possible to check or correct for bias or optimise the performance and CO2 usage.\n\n### Thread Summaries (opt-in)\n\n**Rating:** 🟒/🟑/🟠/πŸ”΄\n\nThe rating depends on the installed text processing backend. See [the rating overview](https://docs.nextcloud.com/server/latest/admin_manual/ai/index.html) for details.\n\nLearn more about the Nextcloud Ethical AI Rating [in our blog](https://nextcloud.com/blog/nextcloud-ethical-ai-rating/).", "homepage": "https://github.com/nextcloud/mail#readme", "licenses": [ diff --git a/pkgs/servers/nextcloud/packages/29.json b/pkgs/servers/nextcloud/packages/29.json index c49903cd3994..7f7e7d91e9f3 100644 --- a/pkgs/servers/nextcloud/packages/29.json +++ b/pkgs/servers/nextcloud/packages/29.json @@ -1,8 +1,8 @@ { "bookmarks": { - "sha256": "1i003cp6x4hw3zkaf49a0srkgr257fbv3p612whd1nsbm2mfd2mf", - "url": "https://github.com/nextcloud/bookmarks/releases/download/v14.1.1/bookmarks-14.1.1.tar.gz", - "version": "14.1.1", + "sha256": "01m78jfnqgvqj94v13bi6rj52sgwrp18zs4svgbdrci3lc7xqyp2", + "url": "https://github.com/nextcloud/bookmarks/releases/download/v14.1.2/bookmarks-14.1.2.tar.gz", + "version": "14.1.2", "description": "- πŸ“‚ Sort bookmarks into folders\n- 🏷 Add tags and personal notes\n- πŸ” Full-text search\n- πŸ“² Synchronize with all your browsers and devices\n- πŸ‘ͺ Share bookmarks with other users and publicly\n- ☠ Find broken links\n- βš› Generate RSS feeds of your collections\n- πŸ“” Read archived versions of your links in case they are depublished\n- πŸ’¬ Create new bookmarks directly from within Nextcloud Talk\n- πŸ’Ό Built-in Dashboard widgets for frequent and recent links\n\nRequirements:\n - PHP extensions:\n - intl: *\n - mbstring: *\n - when using MySQL, use at least v8.0", "homepage": "https://github.com/nextcloud/bookmarks", "licenses": [ @@ -10,9 +10,9 @@ ] }, "calendar": { - "sha256": "0zm2a63f99q7n1qw2n3p4pk50j5v4q24vpgndk4nnvaz6c792rzg", - "url": "https://github.com/nextcloud-releases/calendar/releases/download/v4.7.4/calendar-v4.7.4.tar.gz", - "version": "4.7.4", + "sha256": "09rsp5anpaqzwmrixza5qh12vmq9hd3an045064vm3rnynz537qc", + "url": "https://github.com/nextcloud-releases/calendar/releases/download/v4.7.6/calendar-v4.7.6.tar.gz", + "version": "4.7.6", "description": "The Calendar app is a user interface for Nextcloud's CalDAV server. Easily sync events from various devices with your Nextcloud and edit them online.\n\n* πŸš€ **Integration with other Nextcloud apps!** Currently Contacts - more to come.\n* 🌐 **WebCal Support!** Want to see your favorite team’s matchdays in your calendar? No problem!\n* πŸ™‹ **Attendees!** Invite people to your events\n* ⌚️ **Free/Busy!** See when your attendees are available to meet\n* ⏰ **Reminders!** Get alarms for events inside your browser and via email\n* πŸ” Search! Find your events at ease\n* β˜‘οΈ Tasks! See tasks with a due date directly in the calendar\n* πŸ™ˆ **We’re not reinventing the wheel!** Based on the great [c-dav library](https://github.com/nextcloud/cdav-library), [ical.js](https://github.com/mozilla-comm/ical.js) and [fullcalendar](https://github.com/fullcalendar/fullcalendar) libraries.", "homepage": "https://github.com/nextcloud/calendar/", "licenses": [ @@ -120,9 +120,9 @@ ] }, "mail": { - "sha256": "1w6bww8wc42biz1zjf4fxgf60ryh1cdsm8b6ji3fhsqjlmkvs4ly", - "url": "https://github.com/nextcloud-releases/mail/releases/download/v3.6.1/mail-v3.6.1.tar.gz", - "version": "3.6.1", + "sha256": "1q0ihgrb6sk0rizs45clqhjpmai2m2zislw6s1694j1zssz4jpqg", + "url": "https://github.com/nextcloud-releases/mail/releases/download/v3.7.1/mail-v3.7.1.tar.gz", + "version": "3.7.1", "description": "**πŸ’Œ A mail app for Nextcloud**\n\n- **πŸš€ Integration with other Nextcloud apps!** Currently Contacts, Calendar & Files – more to come.\n- **πŸ“₯ Multiple mail accounts!** Personal and company account? No problem, and a nice unified inbox. Connect any IMAP account.\n- **πŸ”’ Send & receive encrypted mails!** Using the great [Mailvelope](https://mailvelope.com) browser extension.\n- **πŸ™ˆ We’re not reinventing the wheel!** Based on the great [Horde](https://horde.org) libraries.\n- **πŸ“¬ Want to host your own mail server?** We do not have to reimplement this as you could set up [Mail-in-a-Box](https://mailinabox.email)!\n\n## Ethical AI Rating\n\n### Priority Inbox\n\nPositive:\n* The software for training and inferencing of this model is open source.\n* The model is created and trained on-premises based on the user's own data.\n* The training data is accessible to the user, making it possible to check or correct for bias or optimise the performance and CO2 usage.\n\n### Thread Summaries (opt-in)\n\n**Rating:** 🟒/🟑/🟠/πŸ”΄\n\nThe rating depends on the installed text processing backend. See [the rating overview](https://docs.nextcloud.com/server/latest/admin_manual/ai/index.html) for details.\n\nLearn more about the Nextcloud Ethical AI Rating [in our blog](https://nextcloud.com/blog/nextcloud-ethical-ai-rating/).", "homepage": "https://github.com/nextcloud/mail#readme", "licenses": [ diff --git a/pkgs/servers/web-apps/bookstack/default.nix b/pkgs/servers/web-apps/bookstack/default.nix index c9ef56c67582..26953d5f3788 100644 --- a/pkgs/servers/web-apps/bookstack/default.nix +++ b/pkgs/servers/web-apps/bookstack/default.nix @@ -16,13 +16,13 @@ let in package.override rec { pname = "bookstack"; - version = "24.02.3"; + version = "24.05.1"; src = fetchFromGitHub { owner = "bookstackapp"; repo = pname; rev = "v${version}"; - sha256 = "sha256-+8J7dB666KZSJbvnmJl/PivtMQ6Hlz3AAy6E1xpRRmU="; + sha256 = "1m20435sp4n3dg7am4lh73yw1wdmnsf15wdl554lrklhg7f21s0w"; }; meta = with lib; { diff --git a/pkgs/servers/web-apps/bookstack/php-packages.nix b/pkgs/servers/web-apps/bookstack/php-packages.nix index 7c343011726c..a154144fc16d 100644 --- a/pkgs/servers/web-apps/bookstack/php-packages.nix +++ b/pkgs/servers/web-apps/bookstack/php-packages.nix @@ -5,20 +5,20 @@ let "aws/aws-crt-php" = { targetDir = ""; src = composerEnv.buildZipPackage { - name = "aws-aws-crt-php-eb0c6e4e142224a10b08f49ebf87f32611d162b2"; + name = "aws-aws-crt-php-0ea1f04ec5aa9f049f97e012d1ed63b76834a31b"; src = fetchurl { - url = "https://api.github.com/repos/awslabs/aws-crt-php/zipball/eb0c6e4e142224a10b08f49ebf87f32611d162b2"; - sha256 = "10fnazz3gv51i6dngrc6hbcmzwrvl6mmd2z44rrdbzz3ry8v3vc9"; + url = "https://api.github.com/repos/awslabs/aws-crt-php/zipball/0ea1f04ec5aa9f049f97e012d1ed63b76834a31b"; + sha256 = "1xx5yhq99z752pagij5djja4812p4s711188j8qk8wi0dl7331zm"; }; }; }; "aws/aws-sdk-php" = { targetDir = ""; src = composerEnv.buildZipPackage { - name = "aws-aws-sdk-php-957ccef631684d612d01ced2fa3b0506f2ec78c3"; + name = "aws-aws-sdk-php-cc79f16e1a1bd3feee421401ba2f21915abfdf91"; src = fetchurl { - url = "https://api.github.com/repos/aws/aws-sdk-php/zipball/957ccef631684d612d01ced2fa3b0506f2ec78c3"; - sha256 = "1chckiccr061c063wwf502d545wji4p5g6ak6z6dl36jjkrip7v4"; + url = "https://api.github.com/repos/aws/aws-sdk-php/zipball/cc79f16e1a1bd3feee421401ba2f21915abfdf91"; + sha256 = "1dg6g31hwn8b0drsvg077im9bnp5x0zhqsdwck6qq02kzyimjsy2"; }; }; }; @@ -32,33 +32,13 @@ let }; }; }; - "barryvdh/laravel-dompdf" = { - targetDir = ""; - src = composerEnv.buildZipPackage { - name = "barryvdh-laravel-dompdf-9843d2be423670fb434f4c978b3c0f4dd92c87a6"; - src = fetchurl { - url = "https://api.github.com/repos/barryvdh/laravel-dompdf/zipball/9843d2be423670fb434f4c978b3c0f4dd92c87a6"; - sha256 = "1b7j7rnba50ibsnjzxz3bcnpcii51qrin5p0ivi0bzm57xhvns9s"; - }; - }; - }; - "barryvdh/laravel-snappy" = { - targetDir = ""; - src = composerEnv.buildZipPackage { - name = "barryvdh-laravel-snappy-940eec2d99b89cbc9bea2f493cf068382962a485"; - src = fetchurl { - url = "https://api.github.com/repos/barryvdh/laravel-snappy/zipball/940eec2d99b89cbc9bea2f493cf068382962a485"; - sha256 = "0i168sq1sah83xw3xfrilnpja789q79zvhjfgfcszd10g7y444gc"; - }; - }; - }; "brick/math" = { targetDir = ""; src = composerEnv.buildZipPackage { - name = "brick-math-0ad82ce168c82ba30d1c01ec86116ab52f589478"; + name = "brick-math-f510c0a40911935b77b86859eb5223d58d660df1"; src = fetchurl { - url = "https://api.github.com/repos/brick/math/zipball/0ad82ce168c82ba30d1c01ec86116ab52f589478"; - sha256 = "04kqy1hqvp4634njjjmhrc2g828d69sk6q3c55bpqnnmsqf154yb"; + url = "https://api.github.com/repos/brick/math/zipball/f510c0a40911935b77b86859eb5223d58d660df1"; + sha256 = "1cgj6qfjjl76jyjxxkdmnzl0sc8y3pkvcw91lpjdlp4jnqlq31by"; }; }; }; @@ -105,10 +85,10 @@ let "doctrine/dbal" = { targetDir = ""; src = composerEnv.buildZipPackage { - name = "doctrine-dbal-a19a1d05ca211f41089dffcc387733a6875196cb"; + name = "doctrine-dbal-b05e48a745f722801f55408d0dbd8003b403dbbd"; src = fetchurl { - url = "https://api.github.com/repos/doctrine/dbal/zipball/a19a1d05ca211f41089dffcc387733a6875196cb"; - sha256 = "11lcmw8pmgfp7wmn4miainyl2c060s4igq4g94azxl1v5bqaypis"; + url = "https://api.github.com/repos/doctrine/dbal/zipball/b05e48a745f722801f55408d0dbd8003b403dbbd"; + sha256 = "0bca75y1wadpab0ns31s3wbvvxsq108i8jfyrh4xnifl56wb8pvh"; }; }; }; @@ -125,10 +105,10 @@ let "doctrine/event-manager" = { targetDir = ""; src = composerEnv.buildZipPackage { - name = "doctrine-event-manager-95aa4cb529f1e96576f3fda9f5705ada4056a520"; + name = "doctrine-event-manager-750671534e0241a7c50ea5b43f67e23eb5c96f32"; src = fetchurl { - url = "https://api.github.com/repos/doctrine/event-manager/zipball/95aa4cb529f1e96576f3fda9f5705ada4056a520"; - sha256 = "0xi2s28jmmvrndg1yd0r5s10d9a0q6j2dxdbazvcbws9waf0yrvj"; + url = "https://api.github.com/repos/doctrine/event-manager/zipball/750671534e0241a7c50ea5b43f67e23eb5c96f32"; + sha256 = "1inhh3k8ai8d6rhx5xsbdx0ifc3yjjfrahi0cy1npz9nx3383cfh"; }; }; }; @@ -145,20 +125,20 @@ let "doctrine/lexer" = { targetDir = ""; src = composerEnv.buildZipPackage { - name = "doctrine-lexer-861c870e8b75f7c8f69c146c7f89cc1c0f1b49b6"; + name = "doctrine-lexer-31ad66abc0fc9e1a1f2d9bc6a42668d2fbbcd6dd"; src = fetchurl { - url = "https://api.github.com/repos/doctrine/lexer/zipball/861c870e8b75f7c8f69c146c7f89cc1c0f1b49b6"; - sha256 = "0q25i1d6nqkrj4yc35my6b51kn2nksddhddm13vkc7ilkkn20pg7"; + url = "https://api.github.com/repos/doctrine/lexer/zipball/31ad66abc0fc9e1a1f2d9bc6a42668d2fbbcd6dd"; + sha256 = "1yaznxpd1d8h3ij262hx946nqvhzsgjmafdgnxbaiarc6nslww25"; }; }; }; "dompdf/dompdf" = { targetDir = ""; src = composerEnv.buildZipPackage { - name = "dompdf-dompdf-093f2d9739cec57428e39ddadedfd4f3ae862c0f"; + name = "dompdf-dompdf-c20247574601700e1f7c8dab39310fca1964dc52"; src = fetchurl { - url = "https://api.github.com/repos/dompdf/dompdf/zipball/093f2d9739cec57428e39ddadedfd4f3ae862c0f"; - sha256 = "0852xp3qfg40byhv7z4bma9bpiyrc3yral3p9xhk8g62jjddvayn"; + url = "https://api.github.com/repos/dompdf/dompdf/zipball/c20247574601700e1f7c8dab39310fca1964dc52"; + sha256 = "01r93dlglgvd1dnpq0jpjajr0vwkv56zyi9xafw423lyg2ghn3n0"; }; }; }; @@ -175,10 +155,20 @@ let "egulias/email-validator" = { targetDir = ""; src = composerEnv.buildZipPackage { - name = "egulias-email-validator-e5997fa97e8790cdae03a9cbd5e78e45e3c7bda7"; + name = "egulias-email-validator-ebaaf5be6c0286928352e054f2d5125608e5405e"; src = fetchurl { - url = "https://api.github.com/repos/egulias/EmailValidator/zipball/e5997fa97e8790cdae03a9cbd5e78e45e3c7bda7"; - sha256 = "16s7k5ck8bzk83xfy46fikjyj4jywalriqba8jvd5ngd177s2mw5"; + url = "https://api.github.com/repos/egulias/EmailValidator/zipball/ebaaf5be6c0286928352e054f2d5125608e5405e"; + sha256 = "02n4sh0gywqzsl46n9q8hqqgiyva2gj4lxdz9fw4pvhkm1s27wd6"; + }; + }; + }; + "firebase/php-jwt" = { + targetDir = ""; + src = composerEnv.buildZipPackage { + name = "firebase-php-jwt-500501c2ce893c824c801da135d02661199f60c5"; + src = fetchurl { + url = "https://api.github.com/repos/firebase/php-jwt/zipball/500501c2ce893c824c801da135d02661199f60c5"; + sha256 = "1dnn4r2yrckai5f88riix9ws615007x6x9i6j7621kmy5a05xaiq"; }; }; }; @@ -242,33 +232,53 @@ let }; }; }; + "intervention/gif" = { + targetDir = ""; + src = composerEnv.buildZipPackage { + name = "intervention-gif-3a2b5f8a8856e8877cdab5c47e51aab2d4cb23a3"; + src = fetchurl { + url = "https://api.github.com/repos/Intervention/gif/zipball/3a2b5f8a8856e8877cdab5c47e51aab2d4cb23a3"; + sha256 = "1b2ljm2pi03p0jzkvl2da2bqv60xniyasgz0wv3xi9qjxv7abbx6"; + }; + }; + }; "intervention/image" = { targetDir = ""; src = composerEnv.buildZipPackage { - name = "intervention-image-04be355f8d6734c826045d02a1079ad658322dad"; + name = "intervention-image-193324ec88bc5ad4039e57ce9b926ae28dfde813"; src = fetchurl { - url = "https://api.github.com/repos/Intervention/image/zipball/04be355f8d6734c826045d02a1079ad658322dad"; - sha256 = "1cbg43hm2jgwb7gm1r9xcr4cpx8ng1zr93zx6shk9xhjlssnv0bx"; + url = "https://api.github.com/repos/Intervention/image/zipball/193324ec88bc5ad4039e57ce9b926ae28dfde813"; + sha256 = "18p2xgbvdzyx9wjid5iviyfx81k7za73b729ar3fyjd646x8niwi"; }; }; }; "knplabs/knp-snappy" = { targetDir = ""; src = composerEnv.buildZipPackage { - name = "knplabs-knp-snappy-3db13fe45d12a7bccb2b83f622e5a90f7e40b111"; + name = "knplabs-knp-snappy-98468898b50c09f26d56d905b79b0f52a2215da6"; src = fetchurl { - url = "https://api.github.com/repos/KnpLabs/snappy/zipball/3db13fe45d12a7bccb2b83f622e5a90f7e40b111"; - sha256 = "1l4nln4cg01ywv9lzi5srnm7jq4q1v0210j9sshq34vx8slll9di"; + url = "https://api.github.com/repos/KnpLabs/snappy/zipball/98468898b50c09f26d56d905b79b0f52a2215da6"; + sha256 = "158fsqrnqw0my381f8cfvy5savcvlmpazfbn8j5ds26mldv59csa"; }; }; }; "laravel/framework" = { targetDir = ""; src = composerEnv.buildZipPackage { - name = "laravel-framework-082345d76fc6a55b649572efe10b11b03e279d24"; + name = "laravel-framework-91e2b9e218afa4e5c377510faa11957042831ba3"; src = fetchurl { - url = "https://api.github.com/repos/laravel/framework/zipball/082345d76fc6a55b649572efe10b11b03e279d24"; - sha256 = "0gzpj0cgnqncxd4h196k5mvv169xzmy8c6bdwm5pkdy0f2hnb6lq"; + url = "https://api.github.com/repos/laravel/framework/zipball/91e2b9e218afa4e5c377510faa11957042831ba3"; + sha256 = "05rzgsvqlyjbpwx69vq5vlk4fqwi7vxs5qacizyqnrihck9laahs"; + }; + }; + }; + "laravel/prompts" = { + targetDir = ""; + src = composerEnv.buildZipPackage { + name = "laravel-prompts-23ea808e8a145653e0ab29e30d4385e49f40a920"; + src = fetchurl { + url = "https://api.github.com/repos/laravel/prompts/zipball/23ea808e8a145653e0ab29e30d4385e49f40a920"; + sha256 = "0ysyqn1xivinv4lrqd1vifk50ccrxfjyv7ndsh433hb2961n3r52"; }; }; }; @@ -285,10 +295,10 @@ let "laravel/socialite" = { targetDir = ""; src = composerEnv.buildZipPackage { - name = "laravel-socialite-7dae1b072573809f32ab6dcf4aebb57c8b3e8acf"; + name = "laravel-socialite-c7b0193a3753a29aff8ce80aa2f511917e6ed68a"; src = fetchurl { - url = "https://api.github.com/repos/laravel/socialite/zipball/7dae1b072573809f32ab6dcf4aebb57c8b3e8acf"; - sha256 = "1jd65mk5hww4iq6xkky1dkmz8c06czlb466s4svg4vf1xhb9dxqj"; + url = "https://api.github.com/repos/laravel/socialite/zipball/c7b0193a3753a29aff8ce80aa2f511917e6ed68a"; + sha256 = "0aym6n2ljqwfxrm5s3h7q98xggnblhk5q4whn46wyyvclqysj2bs"; }; }; }; @@ -325,30 +335,30 @@ let "league/flysystem" = { targetDir = ""; src = composerEnv.buildZipPackage { - name = "league-flysystem-b25a361508c407563b34fac6f64a8a17a8819675"; + name = "league-flysystem-4729745b1ab737908c7d055148c9a6b3e959832f"; src = fetchurl { - url = "https://api.github.com/repos/thephpleague/flysystem/zipball/b25a361508c407563b34fac6f64a8a17a8819675"; - sha256 = "07fd3nqvs9wnl7wwlii3aaalpdldgf6agk2l1ihl3w253qyg8ynn"; + url = "https://api.github.com/repos/thephpleague/flysystem/zipball/4729745b1ab737908c7d055148c9a6b3e959832f"; + sha256 = "13kf4l7mp4mifm09av0w7vfcwnmpvjpsic836xh8a8rlfczgjym2"; }; }; }; "league/flysystem-aws-s3-v3" = { targetDir = ""; src = composerEnv.buildZipPackage { - name = "league-flysystem-aws-s3-v3-809474e37b7fb1d1f8bcc0f8a98bc1cae99aa513"; + name = "league-flysystem-aws-s3-v3-3e6ce2f972f1470db779f04d29c289dcd2c32837"; src = fetchurl { - url = "https://api.github.com/repos/thephpleague/flysystem-aws-s3-v3/zipball/809474e37b7fb1d1f8bcc0f8a98bc1cae99aa513"; - sha256 = "0iv1n4y6w4pa2051wxvnkcap08jb86qgfx1hb6w8z5rngg67nz4d"; + url = "https://api.github.com/repos/thephpleague/flysystem-aws-s3-v3/zipball/3e6ce2f972f1470db779f04d29c289dcd2c32837"; + sha256 = "01l7nbdmrh1vb59m7xhc1kjfz6xrp5871ghrb6c1anwcsh20l9r3"; }; }; }; "league/flysystem-local" = { targetDir = ""; src = composerEnv.buildZipPackage { - name = "league-flysystem-local-b884d2bf9b53bb4804a56d2df4902bb51e253f00"; + name = "league-flysystem-local-61a6a90d6e999e4ddd9ce5adb356de0939060b92"; src = fetchurl { - url = "https://api.github.com/repos/thephpleague/flysystem-local/zipball/b884d2bf9b53bb4804a56d2df4902bb51e253f00"; - sha256 = "1ggpc08rdaqk2wxkvklfi6l7nqzd6ch2dgf9icr1shfiv09l0mp6"; + url = "https://api.github.com/repos/thephpleague/flysystem-local/zipball/61a6a90d6e999e4ddd9ce5adb356de0939060b92"; + sha256 = "0mkcqhmxgq5pwbfzqc26z06384v7plva5s71pqyqdaayb1hlyg1f"; }; }; }; @@ -395,20 +405,20 @@ let "masterminds/html5" = { targetDir = ""; src = composerEnv.buildZipPackage { - name = "masterminds-html5-f47dcf3c70c584de14f21143c55d9939631bc6cf"; + name = "masterminds-html5-f5ac2c0b0a2eefca70b2ce32a5809992227e75a6"; src = fetchurl { - url = "https://api.github.com/repos/Masterminds/html5-php/zipball/f47dcf3c70c584de14f21143c55d9939631bc6cf"; - sha256 = "1n2xiyxqmxk9g34wn1lg2yyivwg2ry8iqk8m7g2432gm97rmyb20"; + url = "https://api.github.com/repos/Masterminds/html5-php/zipball/f5ac2c0b0a2eefca70b2ce32a5809992227e75a6"; + sha256 = "1fbicmaw79rycpywbbxm2fs3lnmb1a7jvfx6d9sb6nvfhsy924fx"; }; }; }; "monolog/monolog" = { targetDir = ""; src = composerEnv.buildZipPackage { - name = "monolog-monolog-437cb3628f4cf6042cc10ae97fc2b8472e48ca1f"; + name = "monolog-monolog-4b18b21a5527a3d5ffdac2fd35d3ab25a9597654"; src = fetchurl { - url = "https://api.github.com/repos/Seldaek/monolog/zipball/437cb3628f4cf6042cc10ae97fc2b8472e48ca1f"; - sha256 = "02xaa057fj2bjf6g6zx80rb6ikcgn601ns50ml51b8yp48pjdla3"; + url = "https://api.github.com/repos/Seldaek/monolog/zipball/4b18b21a5527a3d5ffdac2fd35d3ab25a9597654"; + sha256 = "1k7ggaygbcm3ls9pkwm5qmf3a1b5i1bd953jy839km0lh4gz637s"; }; }; }; @@ -435,10 +445,10 @@ let "nette/schema" = { targetDir = ""; src = composerEnv.buildZipPackage { - name = "nette-schema-0462f0166e823aad657c9224d0f849ecac1ba10a"; + name = "nette-schema-a6d3a6d1f545f01ef38e60f375d1cf1f4de98188"; src = fetchurl { - url = "https://api.github.com/repos/nette/schema/zipball/0462f0166e823aad657c9224d0f849ecac1ba10a"; - sha256 = "0x2pz3mjnx78ndxm5532ld3kwzs9p43l4snk4vjbwnqiqgcpqwn7"; + url = "https://api.github.com/repos/nette/schema/zipball/a6d3a6d1f545f01ef38e60f375d1cf1f4de98188"; + sha256 = "0byhgs7jv0kybv0x3xycvi0x2gh7009a3dfgs02yqzzjbbwvrzgz"; }; }; }; @@ -455,10 +465,10 @@ let "nikic/php-parser" = { targetDir = ""; src = composerEnv.buildZipPackage { - name = "nikic-php-parser-2218c2252c874a4624ab2f613d86ac32d227bc69"; + name = "nikic-php-parser-139676794dc1e9231bf7bcd123cfc0c99182cb13"; src = fetchurl { - url = "https://api.github.com/repos/nikic/PHP-Parser/zipball/2218c2252c874a4624ab2f613d86ac32d227bc69"; - sha256 = "1dkil9kcp1abwa4nhpmy8my6srj70994mjh7wnhyw8yy084nf11z"; + url = "https://api.github.com/repos/nikic/PHP-Parser/zipball/139676794dc1e9231bf7bcd123cfc0c99182cb13"; + sha256 = "1z4bvxvxs09099i3khiydmzy8lqjvk8kdani2qipmkq9vzf9pq56"; }; }; }; @@ -485,10 +495,10 @@ let "paragonie/constant_time_encoding" = { targetDir = ""; src = composerEnv.buildZipPackage { - name = "paragonie-constant_time_encoding-58c3f47f650c94ec05a151692652a868995d2938"; + name = "paragonie-constant_time_encoding-52a0d99e69f56b9ec27ace92ba56897fe6993105"; src = fetchurl { - url = "https://api.github.com/repos/paragonie/constant_time_encoding/zipball/58c3f47f650c94ec05a151692652a868995d2938"; - sha256 = "0i9km0lzvc7df9758fm1p3y0679pzvr5m9x3mrz0d2hxlppsm764"; + url = "https://api.github.com/repos/paragonie/constant_time_encoding/zipball/52a0d99e69f56b9ec27ace92ba56897fe6993105"; + sha256 = "1ja5b3fm5v665igrd37vs28zdipbh1xgh57lil2iaggvh1b8kh4x"; }; }; }; @@ -515,10 +525,10 @@ let "phenx/php-svg-lib" = { targetDir = ""; src = composerEnv.buildZipPackage { - name = "phenx-php-svg-lib-732faa9fb4309221e2bd9b2fda5de44f947133aa"; + name = "phenx-php-svg-lib-46b25da81613a9cf43c83b2a8c2c1bdab27df691"; src = fetchurl { - url = "https://api.github.com/repos/dompdf/php-svg-lib/zipball/732faa9fb4309221e2bd9b2fda5de44f947133aa"; - sha256 = "0hjf562cm8mvb36c2s63bh5104j6m5c27lwd4pgj3lwmq6mpzns6"; + url = "https://api.github.com/repos/dompdf/php-svg-lib/zipball/46b25da81613a9cf43c83b2a8c2c1bdab27df691"; + sha256 = "1bpkank11plq1xwxv5psn8ip4pk9qxffmgf71k0bzq26xa2b2v8b"; }; }; }; @@ -535,10 +545,10 @@ let "phpseclib/phpseclib" = { targetDir = ""; src = composerEnv.buildZipPackage { - name = "phpseclib-phpseclib-c2fb5136162d4be18fdd4da9980696f3aee96d7b"; + name = "phpseclib-phpseclib-cfa2013d0f68c062055180dd4328cc8b9d1f30b8"; src = fetchurl { - url = "https://api.github.com/repos/phpseclib/phpseclib/zipball/c2fb5136162d4be18fdd4da9980696f3aee96d7b"; - sha256 = "1n13c34w27vkrjz87vq7dxzz1xi0vj7xzj5slibdm1wfpvbsbg2m"; + url = "https://api.github.com/repos/phpseclib/phpseclib/zipball/cfa2013d0f68c062055180dd4328cc8b9d1f30b8"; + sha256 = "1wgzy4fbj565czpn9xasr8lnd9ilh1x3bsalrpx5bskvqr4zspgj"; }; }; }; @@ -615,10 +625,10 @@ let "psr/http-factory" = { targetDir = ""; src = composerEnv.buildZipPackage { - name = "psr-http-factory-e616d01114759c4c489f93b099585439f795fe35"; + name = "psr-http-factory-2b4765fddfe3b508ac62f829e852b1501d3f6e8a"; src = fetchurl { - url = "https://api.github.com/repos/php-fig/http-factory/zipball/e616d01114759c4c489f93b099585439f795fe35"; - sha256 = "1vzimn3h01lfz0jx0lh3cy9whr3kdh103m1fw07qric4pnnz5kx8"; + url = "https://api.github.com/repos/php-fig/http-factory/zipball/2b4765fddfe3b508ac62f829e852b1501d3f6e8a"; + sha256 = "1ll0pzm0vd5kn45hhwrlkw2z9nqysqkykynn1bk1a73c5cjrghx3"; }; }; }; @@ -655,10 +665,10 @@ let "psy/psysh" = { targetDir = ""; src = composerEnv.buildZipPackage { - name = "psy-psysh-750bf031a48fd07c673dbe3f11f72362ea306d0d"; + name = "psy-psysh-b6b6cce7d3ee8fbf31843edce5e8f5a72eff4a73"; src = fetchurl { - url = "https://api.github.com/repos/bobthecow/psysh/zipball/750bf031a48fd07c673dbe3f11f72362ea306d0d"; - sha256 = "0kcs6g31v6k760dwapdbx34vqliispf8dhwrjjgrv34ysfbwrgvc"; + url = "https://api.github.com/repos/bobthecow/psysh/zipball/b6b6cce7d3ee8fbf31843edce5e8f5a72eff4a73"; + sha256 = "0k3fz94cafw7r8wrs5ybb15wmxiv65yqkyhj2l3m185659iym2p3"; }; }; }; @@ -675,20 +685,20 @@ let "ramsey/collection" = { targetDir = ""; src = composerEnv.buildZipPackage { - name = "ramsey-collection-ad7475d1c9e70b190ecffc58f2d989416af339b4"; + name = "ramsey-collection-a4b48764bfbb8f3a6a4d1aeb1a35bb5e9ecac4a5"; src = fetchurl { - url = "https://api.github.com/repos/ramsey/collection/zipball/ad7475d1c9e70b190ecffc58f2d989416af339b4"; - sha256 = "1a1wqdwdrbzkf2hias2kw9crr31265pn027vm69pr7alyq2qrzfw"; + url = "https://api.github.com/repos/ramsey/collection/zipball/a4b48764bfbb8f3a6a4d1aeb1a35bb5e9ecac4a5"; + sha256 = "0y5s9rbs023sw94yzvxr8fn9rr7xw03f08zmc9n9jl49zlr5s52p"; }; }; }; "ramsey/uuid" = { targetDir = ""; src = composerEnv.buildZipPackage { - name = "ramsey-uuid-5f0df49ae5ad6efb7afa69e6bfab4e5b1e080d8e"; + name = "ramsey-uuid-91039bc1faa45ba123c4328958e620d382ec7088"; src = fetchurl { - url = "https://api.github.com/repos/ramsey/uuid/zipball/5f0df49ae5ad6efb7afa69e6bfab4e5b1e080d8e"; - sha256 = "0gnpj6jsmwr5azxq8ymp0zpscgxcwld7ps2q9rbkbndr9f9cpkkg"; + url = "https://api.github.com/repos/ramsey/uuid/zipball/91039bc1faa45ba123c4328958e620d382ec7088"; + sha256 = "0n6rj0b042fq319gfnp2c4aawawfz8vb2allw30jjfaf8497hh9j"; }; }; }; @@ -735,20 +745,20 @@ let "socialiteproviders/manager" = { targetDir = ""; src = composerEnv.buildZipPackage { - name = "socialiteproviders-manager-a67f194f0f4c4c7616c549afc697b78df9658d44"; + name = "socialiteproviders-manager-dea5190981c31b89e52259da9ab1ca4e2b258b21"; src = fetchurl { - url = "https://api.github.com/repos/SocialiteProviders/Manager/zipball/a67f194f0f4c4c7616c549afc697b78df9658d44"; - sha256 = "0r5c6q7dm02hnk574br5mrm1z8amrxjxcbf4n94l02vq9din2c0m"; + url = "https://api.github.com/repos/SocialiteProviders/Manager/zipball/dea5190981c31b89e52259da9ab1ca4e2b258b21"; + sha256 = "11lvz1lckglh5nz0nvv0ifw9a2yfcgzlf30h09ci0d6cklkqf3la"; }; }; }; "socialiteproviders/microsoft-azure" = { targetDir = ""; src = composerEnv.buildZipPackage { - name = "socialiteproviders-microsoft-azure-7522b27cd8518706b50e03b40a396fb0a6891feb"; + name = "socialiteproviders-microsoft-azure-453d62c9d7e3b3b76e94c913fb46e68a33347b16"; src = fetchurl { - url = "https://api.github.com/repos/SocialiteProviders/Microsoft-Azure/zipball/7522b27cd8518706b50e03b40a396fb0a6891feb"; - sha256 = "0nlxyvcn3vc273rq9cp2yhm72mqfj31csnla5bqsaqdshzfk8pna"; + url = "https://api.github.com/repos/SocialiteProviders/Microsoft-Azure/zipball/453d62c9d7e3b3b76e94c913fb46e68a33347b16"; + sha256 = "0wcqwpj2x3llnisixz8id8ww0vr1cab7mh19mvf33dymxzydv11h"; }; }; }; @@ -765,130 +775,130 @@ let "socialiteproviders/twitch" = { targetDir = ""; src = composerEnv.buildZipPackage { - name = "socialiteproviders-twitch-7accf30ae7a3139b757b4ca8f34989c09a3dbee7"; + name = "socialiteproviders-twitch-c8791b9d208195b5f02bea432de89d0e612b955d"; src = fetchurl { - url = "https://api.github.com/repos/SocialiteProviders/Twitch/zipball/7accf30ae7a3139b757b4ca8f34989c09a3dbee7"; - sha256 = "089i4fwxb32zmbxib0544jfs48wzjyp7bsqss2bf2xx89dsrx4ah"; + url = "https://api.github.com/repos/SocialiteProviders/Twitch/zipball/c8791b9d208195b5f02bea432de89d0e612b955d"; + sha256 = "1abdn0ykx7rirmm64wi2zbw8fj9jr7a7p88p2mnfxd87l2qcc4rc"; }; }; }; "ssddanbrown/htmldiff" = { targetDir = ""; src = composerEnv.buildZipPackage { - name = "ssddanbrown-htmldiff-58f81857c02b50b199273edb4cc339876b5a4038"; + name = "ssddanbrown-htmldiff-92da405f8138066834b71ac7bedebbda6327761b"; src = fetchurl { - url = "https://api.github.com/repos/ssddanbrown/HtmlDiff/zipball/58f81857c02b50b199273edb4cc339876b5a4038"; - sha256 = "0ixsi2s1igvciwnal1v2w654n4idbfs8ipyiixch7k5nzxl4g7wm"; + url = "https://api.github.com/repos/ssddanbrown/HtmlDiff/zipball/92da405f8138066834b71ac7bedebbda6327761b"; + sha256 = "1l1s8fdpd7k39l7mslk7pqgg6bwk2c3644ifj58y6515sik6m142"; }; }; }; "ssddanbrown/symfony-mailer" = { targetDir = ""; src = composerEnv.buildZipPackage { - name = "ssddanbrown-symfony-mailer-2219dcdc5f58e4f382ce8f1e6942d16982aa3012"; + name = "ssddanbrown-symfony-mailer-0497d6eb2734fe22b9550f88ae6526611c9df7ae"; src = fetchurl { - url = "https://api.github.com/repos/ssddanbrown/symfony-mailer/zipball/2219dcdc5f58e4f382ce8f1e6942d16982aa3012"; - sha256 = "14j99gr09mvgjf6jjxbw50zay8n9mg6c0w429hz3vrfaijc2ih8c"; + url = "https://api.github.com/repos/ssddanbrown/symfony-mailer/zipball/0497d6eb2734fe22b9550f88ae6526611c9df7ae"; + sha256 = "0zs2hhcyv7f5lmz4xn9gp5dixcixgm3gfj4l8chzmqg6x640l59r"; }; }; }; "symfony/console" = { targetDir = ""; src = composerEnv.buildZipPackage { - name = "symfony-console-c3ebc83d031b71c39da318ca8b7a07ecc67507ed"; + name = "symfony-console-a170e64ae10d00ba89e2acbb590dc2e54da8ad8f"; src = fetchurl { - url = "https://api.github.com/repos/symfony/console/zipball/c3ebc83d031b71c39da318ca8b7a07ecc67507ed"; - sha256 = "1vvdw2fg08x9788m50isspi06n0lhw6c6nif3di1snxfq0sgb1np"; + url = "https://api.github.com/repos/symfony/console/zipball/a170e64ae10d00ba89e2acbb590dc2e54da8ad8f"; + sha256 = "16fnydlalcv3ihj2z7b0nyp6cc260k5apxpx7q1vb0hdx8b7wl6a"; }; }; }; "symfony/css-selector" = { targetDir = ""; src = composerEnv.buildZipPackage { - name = "symfony-css-selector-f1d00bddb83a4cb2138564b2150001cb6ce272b1"; + name = "symfony-css-selector-1c5d5c2103c3762aff27a27e1e2409e30a79083b"; src = fetchurl { - url = "https://api.github.com/repos/symfony/css-selector/zipball/f1d00bddb83a4cb2138564b2150001cb6ce272b1"; - sha256 = "0nl94wjr5sm4yrx9y0vwk4dzh1hm17f1n3d71hmj7biyzds0474i"; + url = "https://api.github.com/repos/symfony/css-selector/zipball/1c5d5c2103c3762aff27a27e1e2409e30a79083b"; + sha256 = "0glngr70w1kx1gqliv1w0zk23pblc993i3apdlmb68gp04b8gd3f"; }; }; }; "symfony/deprecation-contracts" = { targetDir = ""; src = composerEnv.buildZipPackage { - name = "symfony-deprecation-contracts-26954b3d62a6c5fd0ea8a2a00c0353a14978d05c"; + name = "symfony-deprecation-contracts-0e0d29ce1f20deffb4ab1b016a7257c4f1e789a1"; src = fetchurl { - url = "https://api.github.com/repos/symfony/deprecation-contracts/zipball/26954b3d62a6c5fd0ea8a2a00c0353a14978d05c"; - sha256 = "1wlaj9ngbyjmgr92gjyf7lsmjfswyh8vpbzq5rdzaxjb6bcsj3dp"; + url = "https://api.github.com/repos/symfony/deprecation-contracts/zipball/0e0d29ce1f20deffb4ab1b016a7257c4f1e789a1"; + sha256 = "1qhyyfyd7q75nyqivjzrljmqa5qhh09gjs2vz7s3xadq0j525c2b"; }; }; }; "symfony/error-handler" = { targetDir = ""; src = composerEnv.buildZipPackage { - name = "symfony-error-handler-c7df52182f43a68522756ac31a532dd5b1e6db67"; + name = "symfony-error-handler-667a072466c6a53827ed7b119af93806b884cbb3"; src = fetchurl { - url = "https://api.github.com/repos/symfony/error-handler/zipball/c7df52182f43a68522756ac31a532dd5b1e6db67"; - sha256 = "1dqr0n3w6zmk96q7x8pz1przkiyb2kyg5mw3d1nmnyry8dryv7c8"; + url = "https://api.github.com/repos/symfony/error-handler/zipball/667a072466c6a53827ed7b119af93806b884cbb3"; + sha256 = "077xdy196mbcaqx6kv7p2sx2ygbmnja0xa9mn34d9b1gjmz7kkvj"; }; }; }; "symfony/event-dispatcher" = { targetDir = ""; src = composerEnv.buildZipPackage { - name = "symfony-event-dispatcher-2eaf8e63bc5b8cefabd4a800157f0d0c094f677a"; + name = "symfony-event-dispatcher-d84384f3f67de3cb650db64d685d70395dacfc3f"; src = fetchurl { - url = "https://api.github.com/repos/symfony/event-dispatcher/zipball/2eaf8e63bc5b8cefabd4a800157f0d0c094f677a"; - sha256 = "0wwphxh21n502wgldh3kqqhvl1zxh2yncbadwwh05d8sp5mz0ysn"; + url = "https://api.github.com/repos/symfony/event-dispatcher/zipball/d84384f3f67de3cb650db64d685d70395dacfc3f"; + sha256 = "1d22vxp7fnjd9chl0yd1gnnfdbcgxkcxzl2fynkdf5b1rsx5vly3"; }; }; }; "symfony/event-dispatcher-contracts" = { targetDir = ""; src = composerEnv.buildZipPackage { - name = "symfony-event-dispatcher-contracts-7bc61cc2db649b4637d331240c5346dcc7708051"; + name = "symfony-event-dispatcher-contracts-8f93aec25d41b72493c6ddff14e916177c9efc50"; src = fetchurl { - url = "https://api.github.com/repos/symfony/event-dispatcher-contracts/zipball/7bc61cc2db649b4637d331240c5346dcc7708051"; - sha256 = "1crx2j4g5jn904fwk7919ar9zpyfd5bvgm80lmyg15kinsjm3w4i"; + url = "https://api.github.com/repos/symfony/event-dispatcher-contracts/zipball/8f93aec25d41b72493c6ddff14e916177c9efc50"; + sha256 = "1ybpwhcf82fpa7lj5n2i8jhba2qmq4850svd4nv3v852vwr98ani"; }; }; }; "symfony/finder" = { targetDir = ""; src = composerEnv.buildZipPackage { - name = "symfony-finder-5cc9cac6586fc0c28cd173780ca696e419fefa11"; + name = "symfony-finder-511c48990be17358c23bf45c5d71ab85d40fb764"; src = fetchurl { - url = "https://api.github.com/repos/symfony/finder/zipball/5cc9cac6586fc0c28cd173780ca696e419fefa11"; - sha256 = "1f0sbxczwcrzxb03cc2rshfzdrkjfg7nwkbvvi449qscaq1qx2dc"; + url = "https://api.github.com/repos/symfony/finder/zipball/511c48990be17358c23bf45c5d71ab85d40fb764"; + sha256 = "0m3cm549cnk893dx8dzggbjy49qyx9zln82xi4w4m8rf93pc2ph9"; }; }; }; "symfony/http-foundation" = { targetDir = ""; src = composerEnv.buildZipPackage { - name = "symfony-http-foundation-e16b2676a4b3b1fa12378a20b29c364feda2a8d6"; + name = "symfony-http-foundation-b4db6b833035477cb70e18d0ae33cb7c2b521759"; src = fetchurl { - url = "https://api.github.com/repos/symfony/http-foundation/zipball/e16b2676a4b3b1fa12378a20b29c364feda2a8d6"; - sha256 = "0d2fgzcxi7sq7j8l1lg2kpfsr6p1xk1lxdjyqr63vihm34i8p42g"; + url = "https://api.github.com/repos/symfony/http-foundation/zipball/b4db6b833035477cb70e18d0ae33cb7c2b521759"; + sha256 = "1wwa9ib2imrdq7qrplf2lkbzs2irhjdfrhwdxff5dvcpkvd80qgj"; }; }; }; "symfony/http-kernel" = { targetDir = ""; src = composerEnv.buildZipPackage { - name = "symfony-http-kernel-6dc70833fd0ef5e861e17c7854c12d7d86679349"; + name = "symfony-http-kernel-b7b5e6cdef670a0c82d015a966ffc7e855861a98"; src = fetchurl { - url = "https://api.github.com/repos/symfony/http-kernel/zipball/6dc70833fd0ef5e861e17c7854c12d7d86679349"; - sha256 = "1j1z911g4nsx7wjg14q1g7y98qj1k4crxnwxi97i4cjnyqihcj2r"; + url = "https://api.github.com/repos/symfony/http-kernel/zipball/b7b5e6cdef670a0c82d015a966ffc7e855861a98"; + sha256 = "0ggvbn2qiydv0qcp5rsa5dpjqffj239zcyxiplv5vk4gnc2jy4qr"; }; }; }; "symfony/mime" = { targetDir = ""; src = composerEnv.buildZipPackage { - name = "symfony-mime-d7052547a0070cbeadd474e172b527a00d657301"; + name = "symfony-mime-decadcf3865918ecfcbfa90968553994ce935a5e"; src = fetchurl { - url = "https://api.github.com/repos/symfony/mime/zipball/d7052547a0070cbeadd474e172b527a00d657301"; - sha256 = "005jfcpcdn8p2qqv1kyh14jijx36n3rrh9v9a9immfdr0gyv22ca"; + url = "https://api.github.com/repos/symfony/mime/zipball/decadcf3865918ecfcbfa90968553994ce935a5e"; + sha256 = "0piaiwigyjvy9mn2464ka3cvzkylw3i1b8by5qr52z0mhm6sv7g5"; }; }; }; @@ -962,13 +972,13 @@ let }; }; }; - "symfony/polyfill-php81" = { + "symfony/polyfill-php83" = { targetDir = ""; src = composerEnv.buildZipPackage { - name = "symfony-polyfill-php81-c565ad1e63f30e7477fc40738343c62b40bc672d"; + name = "symfony-polyfill-php83-86fcae159633351e5fd145d1c47de6c528f8caff"; src = fetchurl { - url = "https://api.github.com/repos/symfony/polyfill-php81/zipball/c565ad1e63f30e7477fc40738343c62b40bc672d"; - sha256 = "0xy6jjnqvc6v1s7wvdm1yplblpbh43ilis93vjrlv7hc7i6ygfzg"; + url = "https://api.github.com/repos/symfony/polyfill-php83/zipball/86fcae159633351e5fd145d1c47de6c528f8caff"; + sha256 = "0n81fmn058rn7hr70qdwpsnam57pp27avs3h8xcfnq8d3hci5gr4"; }; }; }; @@ -985,80 +995,80 @@ let "symfony/process" = { targetDir = ""; src = composerEnv.buildZipPackage { - name = "symfony-process-2114fd60f26a296cc403a7939ab91478475a33d4"; + name = "symfony-process-cdb1c81c145fd5aa9b0038bab694035020943381"; src = fetchurl { - url = "https://api.github.com/repos/symfony/process/zipball/2114fd60f26a296cc403a7939ab91478475a33d4"; - sha256 = "1rpcl0qayf0jysfn95c4s73r7fl48sng4m5flxy099z6m6bblwq1"; + url = "https://api.github.com/repos/symfony/process/zipball/cdb1c81c145fd5aa9b0038bab694035020943381"; + sha256 = "1dlqa0fivwr3q7z2k7n657dzdwywh4ilv88fiwh3n8r09iblnc65"; }; }; }; "symfony/routing" = { targetDir = ""; src = composerEnv.buildZipPackage { - name = "symfony-routing-e56ca9b41c1ec447193474cd86ad7c0b547755ac"; + name = "symfony-routing-276e06398f71fa2a973264d94f28150f93cfb907"; src = fetchurl { - url = "https://api.github.com/repos/symfony/routing/zipball/e56ca9b41c1ec447193474cd86ad7c0b547755ac"; - sha256 = "0qsx525fhqnx6g5rn8lavzpqccrg2ixrp88p1g4yjr8x7i2im5nd"; + url = "https://api.github.com/repos/symfony/routing/zipball/276e06398f71fa2a973264d94f28150f93cfb907"; + sha256 = "1a9g57sdny5sph2w1i7wizssg90k50msalk7nhcy0p9q584r61g6"; }; }; }; "symfony/service-contracts" = { targetDir = ""; src = composerEnv.buildZipPackage { - name = "symfony-service-contracts-d78d39c1599bd1188b8e26bb341da52c3c6d8a66"; + name = "symfony-service-contracts-bd1d9e59a81d8fa4acdcea3f617c581f7475a80f"; src = fetchurl { - url = "https://api.github.com/repos/symfony/service-contracts/zipball/d78d39c1599bd1188b8e26bb341da52c3c6d8a66"; - sha256 = "1cgbn2yx2fyrc3c1d85vdriiwwifr1sdg868f3rhq9bh78f03z99"; + url = "https://api.github.com/repos/symfony/service-contracts/zipball/bd1d9e59a81d8fa4acdcea3f617c581f7475a80f"; + sha256 = "1q7382ingrvqdh7hm8lrwrimcvlv5qcmp6xrparfh1kmrsf45prv"; }; }; }; "symfony/string" = { targetDir = ""; src = composerEnv.buildZipPackage { - name = "symfony-string-d9e72497367c23e08bf94176d2be45b00a9d232a"; + name = "symfony-string-ffeb9591c61f65a68d47f77d12b83fa530227a69"; src = fetchurl { - url = "https://api.github.com/repos/symfony/string/zipball/d9e72497367c23e08bf94176d2be45b00a9d232a"; - sha256 = "0k4vvcjfdp2dni8gzq4rn8d6n0ivd38sfna70lgsh8vlc8rrlhpf"; + url = "https://api.github.com/repos/symfony/string/zipball/ffeb9591c61f65a68d47f77d12b83fa530227a69"; + sha256 = "0mw6issgmncy1xnnszwy0xa8cxqin41k4idk3wv6crdsywzylxkx"; }; }; }; "symfony/translation" = { targetDir = ""; src = composerEnv.buildZipPackage { - name = "symfony-translation-9c24b3fdbbe9fb2ef3a6afd8bbaadfd72dad681f"; + name = "symfony-translation-7495687c58bfd88b7883823747b0656d90679123"; src = fetchurl { - url = "https://api.github.com/repos/symfony/translation/zipball/9c24b3fdbbe9fb2ef3a6afd8bbaadfd72dad681f"; - sha256 = "12c13k5ljch06g8xp28kkpv0ml67hy086rk25mzd94hjpawrs4x2"; + url = "https://api.github.com/repos/symfony/translation/zipball/7495687c58bfd88b7883823747b0656d90679123"; + sha256 = "1s9kxq8nhiwg235jhfg00gzlixnxhcclw3wvmfdn6ijww4s62rqi"; }; }; }; "symfony/translation-contracts" = { targetDir = ""; src = composerEnv.buildZipPackage { - name = "symfony-translation-contracts-acbfbb274e730e5a0236f619b6168d9dedb3e282"; + name = "symfony-translation-contracts-b9d2189887bb6b2e0367a9fc7136c5239ab9b05a"; src = fetchurl { - url = "https://api.github.com/repos/symfony/translation-contracts/zipball/acbfbb274e730e5a0236f619b6168d9dedb3e282"; - sha256 = "1r496j63a6q3ch0ax76qa1apmc4iqf41zc8rf6yn8vkir3nzkqr0"; + url = "https://api.github.com/repos/symfony/translation-contracts/zipball/b9d2189887bb6b2e0367a9fc7136c5239ab9b05a"; + sha256 = "0y9dp08gw7rk50i5lpci6n2hziajvps97g9j3sz148p0afdr5q3c"; }; }; }; "symfony/uid" = { targetDir = ""; src = composerEnv.buildZipPackage { - name = "symfony-uid-6499e28b0ac9f2aa3151e11845bdb5cd21e6bb9d"; + name = "symfony-uid-a66efcb71d8bc3a207d9d78e0bd67f3321510355"; src = fetchurl { - url = "https://api.github.com/repos/symfony/uid/zipball/6499e28b0ac9f2aa3151e11845bdb5cd21e6bb9d"; - sha256 = "12r2jgmwwchmq4apgmb2h1hy6i4cznjpc94976h2qzy3q3yp7zyq"; + url = "https://api.github.com/repos/symfony/uid/zipball/a66efcb71d8bc3a207d9d78e0bd67f3321510355"; + sha256 = "0aajisswwd938xkjci1nsz6ypmqidf4dhq2xjy55x1l1jpg4vkji"; }; }; }; "symfony/var-dumper" = { targetDir = ""; src = composerEnv.buildZipPackage { - name = "symfony-var-dumper-eb980457fa6899840fe1687e8627a03a7d8a3d52"; + name = "symfony-var-dumper-7a9cd977cd1c5fed3694bee52990866432af07d7"; src = fetchurl { - url = "https://api.github.com/repos/symfony/var-dumper/zipball/eb980457fa6899840fe1687e8627a03a7d8a3d52"; - sha256 = "183igs4i74kljxyq7azpg59wb281mlvy1xgqnb4pkz4dw50jgc2k"; + url = "https://api.github.com/repos/symfony/var-dumper/zipball/7a9cd977cd1c5fed3694bee52990866432af07d7"; + sha256 = "1fsiwhrhgzhj8ncv8vz0dsd1s5v4dgphy71j8jqx814s8rb4xd0s"; }; }; }; diff --git a/pkgs/servers/xmpp/prosody/default.nix b/pkgs/servers/xmpp/prosody/default.nix index 513cd5f1574b..c9e606c5128b 100644 --- a/pkgs/servers/xmpp/prosody/default.nix +++ b/pkgs/servers/xmpp/prosody/default.nix @@ -64,13 +64,17 @@ stdenv.mkDerivation rec { make -C tools/migration ''; + buildFlags = [ + # don't search for configs in the nix store when running prosodyctl + "INSTALLEDCONFIG=/etc/prosody" + "INSTALLEDDATA=/var/lib/prosody" + ]; + # the wrapping should go away once lua hook is fixed postInstall = '' ${concatMapStringsSep "\n" (module: '' cp -r $communityModules/mod_${module} $out/lib/prosody/modules/ '') (lib.lists.unique(nixosModuleDeps ++ withCommunityModules ++ withOnlyInstalledCommunityModules))} - wrapProgram $out/bin/prosodyctl \ - --add-flags '--config "/etc/prosody/prosody.cfg.lua"' make -C tools/migration install ''; diff --git a/pkgs/shells/fish/plugins/wakatime-fish.nix b/pkgs/shells/fish/plugins/wakatime-fish.nix index f724eff4b08b..4c6915b7e0a6 100644 --- a/pkgs/shells/fish/plugins/wakatime-fish.nix +++ b/pkgs/shells/fish/plugins/wakatime-fish.nix @@ -17,8 +17,8 @@ buildFishPlugin rec { preFixup = '' substituteInPlace $out/share/fish/vendor_conf.d/wakatime.fish \ - --replace-fail "if type -p wakatime-cli" "if type -p ${lib.getExe wakatime-cli}" \ - --replace-fail "(type -p wakatime-cli)" "${lib.getExe wakatime-cli}" + --replace-fail "if type -p wakatime" "if type -p ${lib.getExe wakatime-cli}" \ + --replace-fail "(type -p wakatime)" "${lib.getExe wakatime-cli}" ''; meta = with lib; { diff --git a/pkgs/tools/misc/tmuxp/default.nix b/pkgs/tools/misc/tmuxp/default.nix index f0352cdda360..6964cb5ace4e 100644 --- a/pkgs/tools/misc/tmuxp/default.nix +++ b/pkgs/tools/misc/tmuxp/default.nix @@ -2,8 +2,8 @@ let pname = "tmuxp"; - version = "1.46.0"; - hash = "sha256-+aXpsB4mjw9sZLalv3knW8okP+mh2P/nbZCiCwa3UBU="; + version = "1.47.0"; + hash = "sha256-HYY6CEUPpZVvVK9kV4Ehw4wGk5YfIVSkZ0+qqf6Nz4c="; in python3Packages.buildPythonApplication { inherit pname version; diff --git a/pkgs/tools/networking/pgrok/build-deps/package.json b/pkgs/tools/networking/pgrok/build-deps/package.json deleted file mode 100644 index b40bf794c6de..000000000000 --- a/pkgs/tools/networking/pgrok/build-deps/package.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "name": "pgrokd", - "scripts": { - "dev": "vite", - "build": "tsc && vite build --outDir=dist --emptyOutDir", - "lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0" - }, - "version": "1.4.1", - "dependencies": { - "axios": "~1.4.0", - "react": "~18.2.0", - "react-dom": "~18.2.0", - "react-router-dom": "~6.15.0", - "@headlessui/react": "~1.7.17", - "@heroicons/react": "~2.0.18", - "@tailwindcss/forms": "~0.5.4", - "@trivago/prettier-plugin-sort-imports": "~4.2.0", - "@types/node": "~20.5.1", - "@types/react": "~18.2.15", - "@types/react-dom": "~18.2.7", - "@typescript-eslint/eslint-plugin": "~6.0.0", - "@typescript-eslint/parser": "~6.0.0", - "@vitejs/plugin-react": "~4.0.3", - "autoprefixer": "~10.4.15", - "code-inspector-plugin": "v0.1.9", - "eslint": "~8.45.0", - "eslint-plugin-import": "~2.28.0", - "eslint-plugin-react": "~7.33.2", - "eslint-plugin-react-hooks": "~4.6.0", - "eslint-plugin-react-refresh": "~0.4.3", - "eslint-plugin-unicorn": "~48.0.1", - "postcss": "~8.4.28", - "prettier": "~3.0.2", - "tailwindcss": "~3.3.3", - "typescript": "~5.0.2", - "vite": "~4.4.5" - } -} diff --git a/pkgs/tools/networking/pgrok/update.sh b/pkgs/tools/networking/pgrok/update.sh deleted file mode 100755 index 5e2e082fd6a0..000000000000 --- a/pkgs/tools/networking/pgrok/update.sh +++ /dev/null @@ -1,40 +0,0 @@ -#!/usr/bin/env nix-shell -#!nix-shell -i bash -p nix curl nix-update jq - -set -euo pipefail - -nix-update - -cd "$(dirname "$0")" - -nixpkgs=../../../.. -node_packages="$nixpkgs/pkgs/development/node-packages" -pgrok="$nixpkgs/pkgs/tools/networking/pgrok" - -TARGET_VERSION_REMOTE=$(curl -s https://api.github.com/repos/pgrok/pgrok/releases/latest | jq -r ".tag_name") -TARGET_VERSION=${TARGET_VERSION_REMOTE#v} - -SRC_FILE_BASE="https://raw.githubusercontent.com/pgrok/pgrok/v$TARGET_VERSION" - -# replace ^ versions with ~, replace outdir to dist -curl https://raw.githubusercontent.com/pgrok/pgrok/main/pgrokd/web/package.json \ - | jq "{name,scripts,version: \"${TARGET_VERSION}\",dependencies: (.dependencies + .devDependencies) }" \ - | sed -e 's/"\^/"~/g' -e 's/\.\.\/cli\/dist/dist/g' \ - > "$pgrok/build-deps/package.json.new" - -old_deps="$(jq '.dependencies' "$pgrok/build-deps/package.json")" -new_deps="$(jq '.dependencies' "$pgrok/build-deps/package.json.new")" - -if [[ "$old_deps" == "$new_deps" ]]; then - echo "package.json dependencies not changed, do simple version change" - - sed -e '/^ "pgrok-build-deps/,+3 s/version = ".*"/version = "'"$TARGET_VERSION"'"/' \ - --in-place "$node_packages"/node-packages.nix - mv build-deps/package.json{.new,} -else - echo "package.json dependencies changed, updating nodePackages" - mv build-deps/package.json{.new,} - - ./"$node_packages"/generate.sh -fi - diff --git a/pkgs/tools/networking/pgrok/web.nix b/pkgs/tools/networking/pgrok/web.nix deleted file mode 100644 index 0cbe45e0e396..000000000000 --- a/pkgs/tools/networking/pgrok/web.nix +++ /dev/null @@ -1,30 +0,0 @@ -{ src -, version -, nodejs -, nodePackages -, stdenvNoCC -}: -let - build-deps = nodePackages."pgrok-build-deps-../../tools/networking/pgrok/build-deps"; -in -stdenvNoCC.mkDerivation { - pname = "pgrok-web"; - inherit version; - src = "${src}/pgrokd/web"; - - nativeBuildInputs = [ nodejs ]; - - buildPhase = '' - runHook preBuild - cp ${./build-deps/package.json} package.json - ln -s ${build-deps}/lib/node_modules/pgrokd/node_modules node_modules - npm run build - runHook postBuild - ''; - - installPhase = '' - runHook preInstall - cp -r dist $out - runHook postInstall - ''; -} diff --git a/pkgs/tools/security/himitsu/default.nix b/pkgs/tools/security/himitsu/default.nix index 3985a5c80a44..350a4112eefe 100644 --- a/pkgs/tools/security/himitsu/default.nix +++ b/pkgs/tools/security/himitsu/default.nix @@ -1,38 +1,34 @@ -{ lib -, stdenv -, fetchFromSourcehut -, hare -, scdoc +{ + fetchFromSourcehut, + hareHook, + lib, + scdoc, + stdenv, }: -stdenv.mkDerivation rec { +stdenv.mkDerivation (finalAttrs: { pname = "himitsu"; version = "0.7"; src = fetchFromSourcehut { - name = pname + "-src"; owner = "~sircmpwn"; - repo = pname; - rev = version; + repo = "himitsu"; + rev = finalAttrs.version; hash = "sha256-jDxQajc8Kyfihm8q3wCpA+WsbAkQEZerLckLQXNhTa8="; }; nativeBuildInputs = [ - hare + hareHook scdoc ]; - preConfigure = '' - export HARECACHE=$(mktemp -d) - ''; - - installFlags = [ "PREFIX=" "DESTDIR=$(out)" ]; + installFlags = [ "PREFIX=${builtins.placeholder "out"}" ]; meta = with lib; { homepage = "https://himitsustore.org/"; description = "A secret storage manager"; license = licenses.gpl3Only; maintainers = with maintainers; [ auchter ]; - inherit (hare.meta) platforms badPlatforms; + inherit (hareHook.meta) platforms badPlatforms; }; -} +}) diff --git a/pkgs/tools/text/ascii/default.nix b/pkgs/tools/text/ascii/default.nix index ad9884faa17d..6a280bc516f9 100644 --- a/pkgs/tools/text/ascii/default.nix +++ b/pkgs/tools/text/ascii/default.nix @@ -1,14 +1,20 @@ -{ lib, stdenv, fetchurl }: +{ lib, stdenv, fetchFromGitLab, gitUpdater, asciidoctor }: -stdenv.mkDerivation rec { +stdenv.mkDerivation (finalAttrs: { pname = "ascii"; - version = "3.20"; + version = "3.30"; - src = fetchurl { - url = "http://www.catb.org/~esr/ascii/${pname}-${version}.tar.gz"; - sha256 = "sha256-nm5X6mDUGagDoCTOY2YlTvtxYma4Tu3VjNmA2rzBFnQ="; + src = fetchFromGitLab { + owner = "esr"; + repo = "ascii"; + rev = "refs/tags/${finalAttrs.version}"; + hash = "sha256-TE9YR5Va9tXaf2ZyNxz7d8lZRTgnD4Lz7FyqRDl1HNY="; }; + nativeBuildInputs = [ + asciidoctor + ]; + prePatch = '' sed -i -e "s|^PREFIX = .*|PREFIX = $out|" Makefile ''; @@ -17,12 +23,15 @@ stdenv.mkDerivation rec { mkdir -vp "$out/bin" "$out/share/man/man1" ''; + passthru.updateScript = gitUpdater { }; + meta = with lib; { description = "Interactive ASCII name and synonym chart"; mainProgram = "ascii"; homepage = "http://www.catb.org/~esr/ascii/"; - license = licenses.bsd3; + changelog = "https://gitlab.com/esr/ascii/-/blob/${finalAttrs.version}/NEWS.adoc"; + license = licenses.bsd2; platforms = platforms.all; maintainers = [ maintainers.bjornfor ]; }; -} +}) diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 9a4d87262f64..dcdc9a0b4f29 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -3650,6 +3650,8 @@ with pkgs; deterministic-uname = callPackage ../build-support/deterministic-uname { }; + deterministic-host-uname = deterministic-uname.override { forPlatform = stdenv.hostPlatform; }; + dfmt = callPackage ../tools/text/dfmt { }; diopser = callPackage ../applications/audio/diopser { }; @@ -14132,10 +14134,9 @@ with pkgs; vpn-slice = python3Packages.callPackage ../tools/networking/vpn-slice { }; - vp = callPackage ../applications/misc/vp { - # Enable next line for console graphics. Note that - # it requires `sixel` enabled terminals such as mlterm - # or xterm -ti 340 + 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; }; @@ -17746,7 +17747,7 @@ with pkgs; guile-reader = callPackage ../development/guile-modules/guile-reader { }; - guile-sdl = callPackage ../development/guile-modules/guile-sdl { + guile-sdl = callPackage ../by-name/gu/guile-sdl/package.nix { guile = guile_2_2; }; @@ -24192,28 +24193,6 @@ with pkgs; SDL = SDL_classic; - SDL_audiolib = callPackage ../development/libraries/SDL_audiolib { }; - - SDL_sixel = callPackage ../development/libraries/SDL_sixel { }; - - SDL_gfx = callPackage ../development/libraries/SDL_gfx { }; - - SDL_gpu = callPackage ../development/libraries/SDL_gpu { }; - - SDL_image = callPackage ../development/libraries/SDL_image { }; - - SDL_mixer = callPackage ../development/libraries/SDL_mixer { }; - - SDL_net = callPackage ../development/libraries/SDL_net { }; - - SDL_Pango = callPackage ../development/libraries/SDL_Pango { }; - - SDL_sound = callPackage ../development/libraries/SDL_sound { }; - - SDL_stretch= callPackage ../development/libraries/SDL_stretch { }; - - SDL_ttf = callPackage ../development/libraries/SDL_ttf { }; - SDL2 = callPackage ../development/libraries/SDL2 { inherit (darwin.apple_sdk.frameworks) AudioUnit Cocoa CoreAudio CoreServices ForceFeedback OpenGL; }; @@ -24239,14 +24218,6 @@ with pkgs; }; }); - SDL2_gfx = callPackage ../development/libraries/SDL2_gfx { }; - - SDL2_sound = callPackage ../development/libraries/SDL2_sound { - inherit (darwin.apple_sdk.frameworks) AudioToolbox CoreAudio; - }; - - SDL2_ttf = callPackage ../development/libraries/SDL2_ttf { }; - sdrplay = callPackage ../applications/radio/sdrplay { }; sdr-j-fm = libsForQt5.callPackage ../applications/radio/sdr-j-fm { }; @@ -25212,6 +25183,10 @@ with pkgs; leaps = callPackage ../development/tools/leaps { }; + ### DEVELOPMENT / HARE + + hareHook = callPackage ../by-name/ha/hare/hook.nix { }; + ### DEVELOPMENT / JAVA MODULES javaPackages = recurseIntoAttrs (callPackage ./java-packages.nix { }); @@ -27713,8 +27688,6 @@ with pkgs; perf-tools = callPackage ../os-specific/linux/perf-tools { }; - pgrok = callPackage ../tools/networking/pgrok { }; - picoprobe-udev-rules = callPackage ../os-specific/linux/picoprobe-udev-rules { }; pipes = callPackage ../misc/screensavers/pipes { }; @@ -35170,7 +35143,7 @@ with pkgs; }; virt-manager-qt = libsForQt5.callPackage ../applications/virtualization/virt-manager/qt.nix { - qtermwidget = lxqt.qtermwidget; + qtermwidget = lxqt.qtermwidget_1_4; }; virtscreen = callPackage ../tools/admin/virtscreen { }; @@ -36484,8 +36457,6 @@ with pkgs; bsdgames = callPackage ../games/bsdgames { }; - btanks = callPackage ../games/btanks { }; - bugdom = callPackage ../games/bugdom { stdenv = if stdenv.isDarwin then overrideSDK stdenv "11.0" else stdenv; inherit (darwin.apple_sdk_11_0.frameworks) IOKit Foundation OpenGL; @@ -36993,8 +36964,6 @@ with pkgs; oilrush = callPackage ../games/oilrush { }; - onscripter-en = callPackage ../games/onscripter-en { }; - openarena = callPackage ../games/openarena { }; opendungeons = callPackage ../games/opendungeons { }; diff --git a/pkgs/top-level/linux-kernels.nix b/pkgs/top-level/linux-kernels.nix index 54ab7e6b8538..8f491dd848b5 100644 --- a/pkgs/top-level/linux-kernels.nix +++ b/pkgs/top-level/linux-kernels.nix @@ -592,6 +592,8 @@ in { hid-ite8291r3 = callPackage ../os-specific/linux/hid-ite8291r3 { }; + hid-t150 = callPackage ../os-specific/linux/hid-t150 { }; + hid-tmff2 = callPackage ../os-specific/linux/hid-tmff2 { }; drbd = callPackage ../os-specific/linux/drbd/driver.nix { }; diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 7e9d06ce37bc..5cf33b627c88 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -2571,6 +2571,8 @@ self: super: with self; { crontab = callPackage ../development/python-modules/crontab { }; + crossandra = callPackage ../development/python-modules/crossandra { }; + crossplane = callPackage ../development/python-modules/crossplane { }; crownstone-cloud = callPackage ../development/python-modules/crownstone-cloud { };