Merge master into staging-next

This commit is contained in:
github-actions[bot] 2024-06-07 00:02:15 +00:00 committed by GitHub
commit 4ace29447c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
106 changed files with 2121 additions and 1977 deletions

View File

@ -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 = "<name>";
version = "<version>";
src = "<src>";
nativeBuildInputs = [ hareHook ];
meta = {
description = "<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.

View File

@ -19,6 +19,7 @@ dotnet.section.md
emscripten.section.md emscripten.section.md
gnome.section.md gnome.section.md
go.section.md go.section.md
hare.section.md
haskell.section.md haskell.section.md
hy.section.md hy.section.md
idris.section.md idris.section.md

View File

@ -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). 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} ### 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. 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 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} #### `pic` {#pic}
Adds the `-fPIC` compiler options. This options adds support for position independent code in shared libraries and thus making ASLR possible. 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. 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`. 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-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-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 packages 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. [^footnote-stdenv-propagated-dependencies]: Nix itself already takes a packages 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.

View File

@ -1310,6 +1310,13 @@
githubId = 29887; githubId = 29887;
name = "Andrew Smith"; name = "Andrew Smith";
}; };
Andy3153 = {
name = "Andrei Dobrete";
email = "andy3153@protonmail.com";
matrix = "@andy3153:matrix.org";
github = "Andy3153";
githubId = 53472302;
};
andys8 = { andys8 = {
github = "andys8"; github = "andys8";
githubId = 13085980; githubId = 13085980;
@ -7412,6 +7419,16 @@
fingerprint = "386E D1BF 848A BB4A 6B4A 3C45 FC83 907C 125B C2BC"; 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 = { georgesalkhouri = {
name = "Georges Alkhouri"; name = "Georges Alkhouri";
email = "incense.stitch_0w@icloud.com"; email = "incense.stitch_0w@icloud.com";

View File

@ -962,6 +962,12 @@ with lib.maintainers; {
shortName = "SageMath"; shortName = "SageMath";
}; };
sdl = {
members = [ ];
scope = "Maintain SDL libraries.";
shortName = "SDL";
};
sphinx = { sphinx = {
members = [ ]; members = [ ];
scope = "Maintain Sphinx related packages."; scope = "Maintain Sphinx related packages.";

View File

@ -58,6 +58,10 @@
<!-- To avoid merge conflicts, consider adding your item at an arbitrary place in the list instead. --> <!-- To avoid merge conflicts, consider adding your item at an arbitrary place in the list instead. -->
- `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. - 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. The derivation now installs "impl" headers selectively instead of by a wildcard.
Use `imgui.src` if you just want to access the unpacked sources. Use `imgui.src` if you just want to access the unpacked sources.

View File

@ -60,6 +60,7 @@ in
default = null; default = null;
description = '' description = ''
The password of the user used by netbird to connect to the coturn server. 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 = { networking.firewall = {
allowedUDPPorts = cfg.openPorts; allowedUDPPorts = cfg.openPorts;

View File

@ -2,6 +2,7 @@
let let
inherit (lib) inherit (lib)
mkDefault
mkEnableOption mkEnableOption
mkIf mkIf
mkOption mkOption
@ -15,7 +16,7 @@ in
{ {
meta = { meta = {
maintainers = with lib.maintainers; [ thubrecht ]; maintainers = with lib.maintainers; [thubrecht patrickdag];
doc = ./server.md; doc = ./server.md;
}; };
@ -41,26 +42,46 @@ in
config = mkIf cfg.enable { config = mkIf cfg.enable {
services.netbird.server = { services.netbird.server = {
dashboard = { dashboard = {
inherit (cfg) enable domain enableNginx; domain = mkDefault cfg.domain;
enable = mkDefault cfg.enable;
enableNginx = mkDefault cfg.enableNginx;
managementServer = "https://${cfg.domain}"; managementServer = "https://${cfg.domain}";
}; };
management = 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; turnDomain = cfg.domain;
turnPort = config.services.coturn.tls-listening-port; 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 = { signal = {
inherit (cfg) enable domain enableNginx; domain = mkDefault cfg.domain;
enable = mkDefault cfg.enable;
enableNginx = mkDefault cfg.enableNginx;
}; };
coturn = { coturn = {
inherit (cfg) domain; domain = mkDefault cfg.domain;
}; };
}; };
}; };

View File

@ -53,7 +53,7 @@ in {
pkgs.substitute { pkgs.substitute {
src = "${systemd}/example/sysctl.d/50-coredump.conf"; src = "${systemd}/example/sysctl.d/50-coredump.conf";
substitutions = [ substitutions = [
"--replace" "--replace-fail"
"${systemd}" "${systemd}"
"${pkgs.symlinkJoin { name = "systemd"; paths = [ systemd ]; }}" "${pkgs.symlinkJoin { name = "systemd"; paths = [ systemd ]; }}"
]; ];

View File

@ -81,7 +81,17 @@ in import ../make-test-python.nix ({ pkgs, lib, ... }: {
kernelPackages = lib.mkIf (kernelPackages != null) kernelPackages; 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 = '' testScript = ''
@ -99,7 +109,7 @@ in import ../make-test-python.nix ({ pkgs, lib, ... }: {
# Ensure we have successfully booted from LVM # Ensure we have successfully booted from LVM
assert "(initrd)" in machine.succeed("systemd-analyze") # booted with systemd in stage 1 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") assert "hello" in machine.succeed("cat /test")
${extraCheck} ${extraCheck}
''; '';

View File

@ -3,9 +3,12 @@
, fetchFromGitHub , fetchFromGitHub
, fetchpatch , fetchpatch
, installShellFiles , installShellFiles
, wrapGAppsNoGuiHook
, gobject-introspection
, libcdio-paranoia , libcdio-paranoia
, cdrdao , cdrdao
, libsndfile , libsndfile
, glib
, flac , flac
, sox , sox
, util-linux , util-linux
@ -37,6 +40,8 @@ in python3.pkgs.buildPythonApplication rec {
nativeBuildInputs = with python3.pkgs; [ nativeBuildInputs = with python3.pkgs; [
installShellFiles installShellFiles
wrapGAppsNoGuiHook
gobject-introspection
setuptools-scm setuptools-scm
docutils docutils
@ -54,7 +59,7 @@ in python3.pkgs.buildPythonApplication rec {
setuptools setuptools
]; ];
buildInputs = [ libsndfile ]; buildInputs = [ libsndfile glib ];
nativeCheckInputs = with python3.pkgs; [ nativeCheckInputs = with python3.pkgs; [
twisted twisted
@ -62,8 +67,11 @@ in python3.pkgs.buildPythonApplication rec {
makeWrapperArgs = [ makeWrapperArgs = [
"--prefix" "PATH" ":" (lib.makeBinPath bins) "--prefix" "PATH" ":" (lib.makeBinPath bins)
"\${gappsWrapperArgs[@]}"
]; ];
dontWrapGApps = true;
outputs = [ "out" "man" ]; outputs = [ "out" "man" ];
postBuild = '' postBuild = ''
make -C man make -C man

View File

@ -9,17 +9,17 @@ let
in buildGoModule rec { in buildGoModule rec {
pname = "go-ethereum"; pname = "go-ethereum";
version = "1.14.3"; version = "1.14.4";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "ethereum"; owner = "ethereum";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-h2i/q4gfvqO8SgFxjoIhm4y0icpt+qe0Tq+3W6Ld8KM="; sha256 = "sha256-qjzwIyzuZxmz/72TylHsnofLIF3Jr7qjC1gy7NcP+KI=";
}; };
proxyVendor = true; proxyVendor = true;
vendorHash = "sha256-ugoRsxzJjPOS5yPhwqXhMPuThvyqCWvZD7PBnrkm0sQ="; vendorHash = "sha256-vzxtoLlD1RjmKBpMPqcH/AAzk2l/NifpRl4Sp4qBYLg=";
doCheck = false; doCheck = false;

View File

@ -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";
};
}

View File

@ -2,13 +2,13 @@
buildGoModule rec { buildGoModule rec {
pname = "cilium-cli"; pname = "cilium-cli";
version = "0.16.8"; version = "0.16.9";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "cilium"; owner = "cilium";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
hash = "sha256-SJWLWyjTdBilba+wsdpVS6i/OlQNlxZ5vjJTLheybSU="; hash = "sha256-aER0VLYkHV0mPM4uBaKLPVmQ+Re5KUm8/01l87wMnF8=";
}; };
vendorHash = null; vendorHash = null;

View File

@ -1,4 +1,4 @@
{ mkDerivation, lib, fetchFromGitHub, fetchpatch, cmake, pkg-config { mkDerivation, lib, fetchFromGitHub, cmake, pkg-config
, qtbase, qtmultimedia, qtsvg, qttools, krdc , qtbase, qtmultimedia, qtsvg, qttools, krdc
, libvncserver, libvirt, pcre, pixman, qtermwidget, spice-gtk, spice-protocol , libvncserver, libvirt, pcre, pixman, qtermwidget, spice-gtk, spice-protocol
, libselinux, libsepol, util-linux , libselinux, libsepol, util-linux
@ -6,13 +6,13 @@
mkDerivation rec { mkDerivation rec {
pname = "virt-manager-qt"; pname = "virt-manager-qt";
version = "0.72.97"; version = "0.72.99";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "F1ash"; owner = "F1ash";
repo = "qt-virt-manager"; repo = "qt-virt-manager";
rev = version; rev = version;
sha256 = "0b2bx7ah35glcsiv186sc9cqdrkhg1vs9jz036k9byk61np0cb1i"; hash = "sha256-1aXlGlK+YPOe2X51xycWvSu8YC9uCywyL6ItiScFA04=";
}; };
cmakeFlags = [ cmakeFlags = [
@ -20,14 +20,6 @@ mkDerivation rec {
"-DQTERMWIDGET_INCLUDE_DIRS=${qtermwidget}/include/qtermwidget5" "-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 = [ buildInputs = [
qtbase qtmultimedia qtsvg krdc qtbase qtmultimedia qtsvg krdc
libvirt libvncserver pcre pixman qtermwidget spice-gtk spice-protocol libvirt libvncserver pcre pixman qtermwidget spice-gtk spice-protocol

View File

@ -5,6 +5,7 @@
, coreutils , coreutils
, getopt , getopt
, modDirVersion ? "" , modDirVersion ? ""
, forPlatform ? stdenv.buildPlatform
}: }:
substituteAll { substituteAll {
@ -17,8 +18,8 @@ substituteAll {
inherit coreutils getopt; inherit coreutils getopt;
uSystem = if stdenv.buildPlatform.uname.system != null then stdenv.buildPlatform.uname.system else "unknown"; uSystem = if forPlatform.uname.system != null then forPlatform.uname.system else "unknown";
inherit (stdenv.buildPlatform.uname) processor; inherit (forPlatform.uname) processor;
# uname -o # uname -o
# maybe add to lib/systems/default.nix uname attrset # 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://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 # https://github.com/coreutils/gnulib/blob/master/m4/host-os.m4
operatingSystem = operatingSystem =
if stdenv.buildPlatform.isLinux if forPlatform.isLinux
then "GNU/Linux" 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? then "Darwin" # darwin isn't in host-os.m4 so where does this come from?
else if stdenv.buildPlatform.isFreeBSD else if stdenv.buildPlatform.isFreeBSD
then "FreeBSD" then "FreeBSD"
@ -44,11 +45,12 @@ substituteAll {
mainProgram = "uname"; mainProgram = "uname";
longDescription = '' longDescription = ''
This package provides a replacement for `uname` whose output depends only This package provides a replacement for `uname` whose output depends only
on `stdenv.buildPlatform`. It is meant to be used from within derivations. on `stdenv.buildPlatform`, or a configurable `forPlatform`. It is meant
Many packages' build processes run `uname` at compile time and embed its to be used from within derivations. Many packages' build processes run
output into the result of the build. Since `uname` calls into the kernel, `uname` at compile time and embed its output into the result of the build.
and the Nix sandbox currently does not intercept these calls, builds made Since `uname` calls into the kernel, and the Nix sandbox currently does
on different kernels will produce different results. not intercept these calls, builds made on different kernels will produce
different results.
''; '';
license = [ licenses.mit ]; license = [ licenses.mit ];
maintainers = with maintainers; [ artturin ]; maintainers = with maintainers; [ artturin ];

View File

@ -1,9 +1,10 @@
{ stdenv {
, lib stdenv,
, fetchFromSourcehut lib,
, gitUpdater fetchFromSourcehut,
, hare gitUpdater,
, hareThirdParty hareHook,
hareThirdParty,
}: }:
stdenv.mkDerivation (finalAttrs: { stdenv.mkDerivation (finalAttrs: {
@ -18,30 +19,18 @@ stdenv.mkDerivation (finalAttrs: {
}; };
nativeBuildInputs = [ nativeBuildInputs = [
hare hareHook
hareThirdParty.hare-ev hareThirdParty.hare-ev
hareThirdParty.hare-json hareThirdParty.hare-json
]; ];
makeFlags = [ makeFlags = [ "PREFIX=${builtins.placeholder "out"}" ];
"PREFIX=${builtins.placeholder "out"}"
"HARECACHE=.harecache"
"HAREFLAGS=-qa${stdenv.hostPlatform.uname.processor}"
];
enableParallelBuilding = true; enableParallelBuilding = true;
doCheck = true; doCheck = true;
postPatch = '' passthru.updateScript = gitUpdater { rev-prefix = "v"; };
substituteInPlace Makefile \
--replace 'hare build' 'hare build $(HAREFLAGS)' \
--replace 'hare test' 'hare test $(HAREFLAGS)'
'';
passthru.updateScript = gitUpdater {
rev-prefix = "v";
};
meta = with lib; { meta = with lib; {
description = "Finite State Machine structured as a tree"; description = "Finite State Machine structured as a tree";

View File

@ -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"; pname = "btanks";
version = "0.9.8083"; version = "0.9.8083";
src = fetchurl { src = fetchurl {
url = "mirror://sourceforge/${pname}/${pname}-${version}.tar.bz2"; url = "mirror://sourceforge/btanks/btanks-${finalAttrs.version}.tar.bz2";
hash = "sha256-P9LOaitF96YMOxFPqa/xPLPdn7tqZc3JeYt2xPosQ0E="; 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 = [ patches = [
(fetchpatch { (fetchpatch {
name = "lua52.patch"; name = "lua52.patch";
@ -42,10 +49,37 @@ stdenv.mkDerivation rec {
}) })
]; ];
meta = with lib; { nativeBuildInputs = [
description = "Fast 2d tank arcade game"; 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/"; homepage = "https://sourceforge.net/projects/btanks/";
license = licenses.gpl2Plus; description = "Fast 2d tank arcade game with multiplayer and split-screen modes";
platforms = platforms.linux; license = lib.licenses.gpl2Plus;
mainProgram = "btanks";
maintainers = with lib.maintainers; [ AndersonTorres ];
inherit (SDL.meta) platforms;
}; };
} })

View File

@ -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;
};
})

View File

@ -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 ];
};
}

View File

@ -1,60 +1,60 @@
{ lib {
, stdenv lib,
, fetchurl SDL,
, guile SDL_image,
, lzip SDL_mixer,
, pkg-config SDL_ttf,
, SDL buildEnv,
, SDL_image fetchurl,
, SDL_mixer guile,
, SDL_ttf lzip,
, buildEnv pkg-config,
stdenv,
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation (finalAttrs: {
pname = "guile-sdl"; pname = "guile-sdl";
version = "0.6.1"; version = "0.6.1";
src = fetchurl { src = fetchurl {
url = "mirror://gnu/${pname}/${pname}-${version}.tar.lz"; url = "mirror://gnu/guile-sdl/guile-sdl-${finalAttrs.version}.tar.lz";
hash = "sha256-/9sTTvntkRXck3FoRalROjqUQC8hkePtLTnHNZotKOE="; hash = "sha256-/9sTTvntkRXck3FoRalROjqUQC8hkePtLTnHNZotKOE=";
}; };
strictDeps = true;
nativeBuildInputs = [ nativeBuildInputs = [
SDL
guile guile
lzip lzip
pkg-config pkg-config
SDL
]; ];
buildInputs = [ buildInputs = [
guile
(lib.getDev SDL) (lib.getDev SDL)
SDL_image (lib.getDev SDL_image)
SDL_mixer (lib.getDev SDL_mixer)
SDL_ttf (lib.getDev SDL_ttf)
guile
]; ];
makeFlags = makeFlags =
let let
sdl-env = buildEnv { sdl-env = buildEnv {
name = "sdl-env"; name = "sdl-env";
paths = buildInputs; paths = finalAttrs.buildInputs;
}; };
in in
[ [
"SDLMINUSI=-I${sdl-env}/include/SDL" "SDLMINUSI=-I${sdl-env}/include/SDL"
]; ];
meta = with lib; { strictDeps = true;
meta = {
homepage = "https://www.gnu.org/software/guile-sdl/"; homepage = "https://www.gnu.org/software/guile-sdl/";
description = "Guile bindings for SDL"; description = "Guile bindings for SDL";
license = licenses.gpl3Plus; license = lib.licenses.gpl3Plus;
maintainers = with maintainers; [ vyp ]; maintainers = lib.teams.sdl.members
platforms = guile.meta.platforms; ++ (with lib.maintainers; [ ]);
# configure: error: *** SDL version not found! inherit (guile.meta) platforms;
broken = stdenv.isDarwin;
}; };
} })

View File

@ -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

View File

@ -3,7 +3,6 @@
stdenv, stdenv,
fetchFromSourcehut, fetchFromSourcehut,
harec, harec,
qbe,
gitUpdater, gitUpdater,
scdoc, scdoc,
tzdata, tzdata,
@ -33,6 +32,7 @@ assert
''; '';
let let
inherit (harec) qbe;
buildArch = stdenv.buildPlatform.uname.processor; buildArch = stdenv.buildPlatform.uname.processor;
arch = stdenv.hostPlatform.uname.processor; arch = stdenv.hostPlatform.uname.processor;
platform = lib.toLower stdenv.hostPlatform.uname.system; platform = lib.toLower stdenv.hostPlatform.uname.system;
@ -130,13 +130,6 @@ stdenv.mkDerivation (finalAttrs: {
scdoc scdoc
]; ];
# Needed for build frameworks like `haredo`, which set the HAREC and QBE env vars to `harec` and
# `qbe` respectively.
propagatedBuildInputs = [
harec
qbe
];
buildInputs = [ buildInputs = [
harec harec
qbe qbe
@ -171,8 +164,6 @@ stdenv.mkDerivation (finalAttrs: {
ln -s configs/${platform}.mk config.mk ln -s configs/${platform}.mk config.mk
''; '';
setupHook = ./setup-hook.sh;
passthru = { passthru = {
updateScript = gitUpdater { }; updateScript = gitUpdater { };
tests = tests =
@ -182,6 +173,8 @@ stdenv.mkDerivation (finalAttrs: {
// lib.optionalAttrs (stdenv.buildPlatform.canExecute stdenv.hostPlatform) { // lib.optionalAttrs (stdenv.buildPlatform.canExecute stdenv.hostPlatform) {
mimeModule = callPackage ./mime-module-test.nix { hare = finalAttrs.finalPackage; }; mimeModule = callPackage ./mime-module-test.nix { hare = finalAttrs.finalPackage; };
}; };
# To be propagated by `hareHook`.
inherit harec qbe;
}; };
meta = { meta = {

View File

@ -1,9 +1,36 @@
addHarepath () { # shellcheck disable=SC2154,SC2034,SC2016
for haredir in third-party stdlib; do
if [[ -d "$1/src/hare/$haredir" ]]; then addHarepath() {
addToSearchPath HAREPATH "$1/src/hare/$haredir" local -r thirdparty="${1-}/src/hare/third-party"
fi if [[ -d "$thirdparty" ]]; then
done 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 addEnvHooks "$hostOffset" addHarepath

View File

@ -1,17 +1,20 @@
{ lib {
, stdenv fetchFromSourcehut,
, fetchFromSourcehut gitUpdater,
, qbe lib,
, gitUpdater qbe,
stdenv,
}: }:
let let
platform = lib.toLower stdenv.hostPlatform.uname.system; platform = lib.toLower stdenv.hostPlatform.uname.system;
arch = stdenv.hostPlatform.uname.processor; arch = stdenv.hostPlatform.uname.processor;
qbePlatform = { qbePlatform =
x86_64 = "amd64_sysv"; {
aarch64 = "arm64"; x86_64 = "amd64_sysv";
riscv64 = "rv64"; aarch64 = "arm64";
}.${arch}; riscv64 = "rv64";
}
.${arch};
in in
stdenv.mkDerivation (finalAttrs: { stdenv.mkDerivation (finalAttrs: {
pname = "harec"; pname = "harec";
@ -24,13 +27,9 @@ stdenv.mkDerivation (finalAttrs: {
hash = "sha256-NOfoCT/wKZ3CXYzXZq7plXcun+MXQicfzBOmetXN7Qs="; hash = "sha256-NOfoCT/wKZ3CXYzXZq7plXcun+MXQicfzBOmetXN7Qs=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [ qbe ];
qbe
];
buildInputs = [ buildInputs = [ qbe ];
qbe
];
makeFlags = [ makeFlags = [
"PREFIX=${builtins.placeholder "out"}" "PREFIX=${builtins.placeholder "out"}"
@ -54,6 +53,8 @@ stdenv.mkDerivation (finalAttrs: {
passthru = { passthru = {
updateScript = gitUpdater { }; updateScript = gitUpdater { };
# To be kept in sync with the hare package.
inherit qbe;
}; };
meta = { meta = {
@ -65,7 +66,8 @@ stdenv.mkDerivation (finalAttrs: {
# The upstream developers do not like proprietary operating systems; see # The upstream developers do not like proprietary operating systems; see
# https://harelang.org/platforms/ # https://harelang.org/platforms/
# UPDATE: https://github.com/hshq/harelang provides a MacOS port # 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); lib.intersectLists (freebsd ++ openbsd ++ linux) (aarch64 ++ x86_64 ++ riscv64);
badPlatforms = lib.platforms.darwin; badPlatforms = lib.platforms.darwin;
}; };

View File

@ -2,16 +2,13 @@
stdenv, stdenv,
lib, lib,
fetchFromSourcehut, fetchFromSourcehut,
hare, hareHook,
scdoc, scdoc,
nix-update-script, nix-update-script,
makeWrapper, makeWrapper,
bash, bash,
substituteAll, substituteAll,
}: }:
let
arch = stdenv.hostPlatform.uname.processor;
in
stdenv.mkDerivation (finalAttrs: { stdenv.mkDerivation (finalAttrs: {
pname = "haredo"; pname = "haredo";
version = "1.0.5"; version = "1.0.5";
@ -37,27 +34,23 @@ stdenv.mkDerivation (finalAttrs: {
]; ];
nativeBuildInputs = [ nativeBuildInputs = [
hare hareHook
makeWrapper makeWrapper
scdoc scdoc
]; ];
enableParallelChecking = true; enableParallelChecking = true;
env.PREFIX = builtins.placeholder "out";
doCheck = stdenv.buildPlatform.canExecute stdenv.hostPlatform; doCheck = stdenv.buildPlatform.canExecute stdenv.hostPlatform;
dontConfigure = true; dontConfigure = true;
preBuild = ''
HARECACHE="$(mktemp -d)"
export HARECACHE
export PREFIX=${builtins.placeholder "out"}
'';
buildPhase = '' buildPhase = ''
runHook preBuild runHook preBuild
hare build -o bin/haredo -qRa${arch} ./src hare build -o bin/haredo ./src
scdoc <doc/haredo.1.scd >doc/haredo.1 scdoc <doc/haredo.1.scd >doc/haredo.1
runHook postBuild runHook postBuild
@ -92,6 +85,6 @@ stdenv.mkDerivation (finalAttrs: {
license = lib.licenses.wtfpl; license = lib.licenses.wtfpl;
maintainers = with lib.maintainers; [ onemoresuza ]; maintainers = with lib.maintainers; [ onemoresuza ];
mainProgram = "haredo"; mainProgram = "haredo";
inherit (hare.meta) platforms badPlatforms; inherit (hareHook.meta) platforms badPlatforms;
}; };
}) })

View File

@ -1,33 +1,31 @@
{ lib {
, stdenv lib,
, scdoc stdenv,
, hare scdoc,
hare,
hareHook,
}: }:
let
arch = stdenv.hostPlatform.uname.processor;
in
stdenv.mkDerivation { stdenv.mkDerivation {
pname = "haredoc"; pname = "haredoc";
outputs = [ "out" "man" ]; outputs = [
"out"
"man"
];
inherit (hare) version src; inherit (hare) version src;
strictDeps = true;
enableParallelBuilding = true;
nativeBuildInputs = [ nativeBuildInputs = [
scdoc scdoc
hare hareHook
]; ];
preBuild = '' strictDeps = true;
HARECACHE="$(mktemp -d)"
export HARECACHE enableParallelBuilding = true;
'';
buildPhase = '' buildPhase = ''
runHook preBuild runHook preBuild
hare build -qR -a ${arch} -o haredoc ./cmd/haredoc hare build -o haredoc ./cmd/haredoc
scdoc <docs/haredoc.1.scd >haredoc.1 scdoc <docs/haredoc.1.scd >haredoc.1
scdoc <docs/haredoc.5.scd >haredoc.5 scdoc <docs/haredoc.5.scd >haredoc.5
@ -50,6 +48,6 @@ stdenv.mkDerivation {
license = lib.licenses.gpl3Only; license = lib.licenses.gpl3Only;
maintainers = with lib.maintainers; [ onemoresuza ]; maintainers = with lib.maintainers; [ onemoresuza ];
mainProgram = "haredoc"; mainProgram = "haredoc";
inherit (hare.meta) platforms badPlatforms; inherit (hareHook.meta) platforms badPlatforms;
}; };
} }

View File

@ -10,13 +10,13 @@
stdenvNoCC.mkDerivation (finalAttrs: { stdenvNoCC.mkDerivation (finalAttrs: {
pname = "marwaita-x"; pname = "marwaita-x";
version = "1.1"; version = "1.2";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "darkomarko42"; owner = "darkomarko42";
repo = "marwaita-x"; repo = "marwaita-x";
rev = finalAttrs.version; rev = finalAttrs.version;
sha256 = "sha256-BygdRRS+d8iP6f2NQ0RmZh14/goP9NoNzg6tpcpOz8c="; sha256 = "sha256-HQsIF9CNFROaxl5hnmat2VWEXFT8gW4UWSi/A1dFi6Y=";
}; };
buildInputs = [ buildInputs = [

View File

@ -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;
};
}

View File

@ -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;
};
})

View File

@ -1,24 +1,38 @@
{ lib { lib
, buildGoModule , buildGoModule
, callPackage
, fetchFromGitHub , fetchFromGitHub
, nix-update-script
, nodejs
, pnpm
}: }:
buildGoModule rec {
let
pname = "pgrok"; pname = "pgrok";
version = "1.4.1"; version = "1.4.1";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "pgrok"; owner = "pgrok";
repo = "pgrok"; repo = "pgrok";
rev = "v${version}"; rev = "v${version}";
hash = "sha256-P36rpFi5J+dF6FrVaPhqupG00h4kwr0qumt4ehL/7vU="; hash = "sha256-P36rpFi5J+dF6FrVaPhqupG00h4kwr0qumt4ehL/7vU=";
}; };
in
vendorHash = "sha256-X5FjzliIJdfJnNaUXBjv1uq5tyjMVjBbnLCBH/P0LFM="; buildGoModule {
inherit pname version src;
outputs = [ "out" "server" ]; 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 = [ ldflags = [
"-s" "-s"
@ -33,18 +47,23 @@ buildGoModule rec {
"pgrokd/pgrokd" "pgrokd/pgrokd"
]; ];
postPatch = '' preBuild = ''
pushd pgrokd/web
pnpm run build
popd
# rename packages due to naming conflict # rename packages due to naming conflict
mv pgrok/cli/ pgrok/pgrok/ mv pgrok/cli/ pgrok/pgrok/
mv pgrokd/cli/ pgrokd/pgrokd/ mv pgrokd/cli/ pgrokd/pgrokd/
cp -r ${web} pgrokd/pgrokd/dist
''; '';
postInstall = '' postInstall = ''
moveToOutput bin/pgrokd $server moveToOutput bin/pgrokd $server
''; '';
passthru.updateScript = ./update.sh; passthru.updateScript = nix-update-script { };
meta = { meta = {
description = "Selfhosted TCP/HTTP tunnel, ngrok alternative, written in Go"; description = "Selfhosted TCP/HTTP tunnel, ngrok alternative, written in Go";

View File

@ -1,48 +1,50 @@
{ lib {
, stdenv lib,
, fetchFromGitHub SDL2,
, autoreconfHook autoreconfHook,
, pkg-config darwin,
, freetype fetchFromGitHub,
, pango freetype,
, SDL2 pango,
, darwin pkg-config,
stdenv,
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation (finalAttrs: {
pname = "sdl2-pango"; pname = "sdl2-pango";
version = "2.1.5"; version = "2.1.5";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "markuskimius"; owner = "markuskimius";
repo = "SDL2_Pango"; repo = "SDL2_Pango";
rev = "v${version}"; rev = "v${finalAttrs.version}";
hash = "sha256-8SL5ylxi87TuKreC8m2kxlLr8rcmwYYvwkp4vQZ9dkc="; hash = "sha256-8SL5ylxi87TuKreC8m2kxlLr8rcmwYYvwkp4vQZ9dkc=";
}; };
nativeBuildInputs = [
SDL2
autoreconfHook
pkg-config
];
buildInputs = [
SDL2
freetype
pango
] ++ lib.optionals stdenv.isDarwin [
darwin.libobjc
];
outputs = [ "out" "dev" ]; outputs = [ "out" "dev" ];
strictDeps = true; strictDeps = true;
nativeBuildInputs = [ meta = {
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";
homepage = "https://github.com/markuskimius/SDL2_Pango"; homepage = "https://github.com/markuskimius/SDL2_Pango";
license = licenses.lgpl21Plus; description = "A library for graphically rendering internationalized and tagged text in SDL2 using TrueType fonts";
maintainers = with maintainers; [ rardiol ]; license = lib.licenses.lgpl21Plus;
platforms = platforms.all; maintainers = lib.teams.sdl.members
++ (with lib.maintainers; [ rardiol ]);
inherit (SDL2.meta) platforms;
}; };
} })

View File

@ -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;
};
})

View File

@ -14,6 +14,9 @@
smpeg2, smpeg2,
stdenv, stdenv,
timidity, timidity,
# Boolean flags
enableSdltest ? (!stdenv.isDarwin),
enableSmpegtest ? (!stdenv.isDarwin),
}: }:
let let
@ -66,8 +69,8 @@ stdenv.mkDerivation (finalAttrs: {
(lib.enableFeature false "music-mp3-mpg123-shared") (lib.enableFeature false "music-mp3-mpg123-shared")
(lib.enableFeature false "music-opus-shared") (lib.enableFeature false "music-opus-shared")
(lib.enableFeature false "music-midi-fluidsynth-shared") (lib.enableFeature false "music-midi-fluidsynth-shared")
(lib.enableFeature (!stdenv.isDarwin) "sdltest") (lib.enableFeature enableSdltest "sdltest")
(lib.enableFeature (!stdenv.isDarwin) "smpegtest") (lib.enableFeature enableSmpegtest "smpegtest")
# override default path to allow MIDI files to be played # override default path to allow MIDI files to be played
(lib.withFeatureAs true "timidity-cfg" "${timidity}/share/timidity/timidity.cfg") (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"; homepage = "https://github.com/libsdl-org/SDL_mixer";
description = "SDL multi-channel audio mixer library"; description = "SDL multi-channel audio mixer library";
license = lib.licenses.zlib; license = lib.licenses.zlib;
maintainers = with lib.maintainers; [ AndersonTorres ]; maintainers = lib.teams.sdl.members
++ (with lib.maintainers; [ AndersonTorres ]);
platforms = lib.platforms.unix; platforms = lib.platforms.unix;
}; };
}) })

View File

@ -44,7 +44,8 @@ stdenv.mkDerivation (finalAttrs: {
homepage = "https://github.com/libsdl-org/SDL_net"; homepage = "https://github.com/libsdl-org/SDL_net";
description = "SDL multiplatform networking library"; description = "SDL multiplatform networking library";
license = lib.licenses.zlib; license = lib.licenses.zlib;
maintainers = with lib.maintainers; [ AndersonTorres ]; maintainers = lib.teams.sdl.members
++ (with lib.maintainers; [ ]);
inherit (SDL2.meta) platforms; inherit (SDL2.meta) platforms;
}; };
}) })

View File

@ -8,10 +8,15 @@
, libmikmod , libmikmod
, libvorbis , libvorbis
, timidity , timidity
, AudioToolbox , darwin
, CoreAudio
}: }:
let
inherit (darwin.apple_sdk.frameworks)
AudioToolbox
CoreAudio
;
in
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "SDL2_sound"; pname = "SDL2_sound";
version = "2.0.1"; version = "2.0.1";

View File

@ -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" ];
};
})

View File

@ -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;
};
})

View File

@ -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;
};
})

View File

@ -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;
};
})

View File

@ -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;
};
})

View File

@ -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;
};
})

View File

@ -1,16 +1,28 @@
{ stdenv, lib, fetchurl, fetchpatch {
, SDL, libogg, libvorbis, smpeg, libmikmod lib,
, fluidsynth, pkg-config SDL,
, enableNativeMidi ? false fetchpatch,
fetchurl,
fluidsynth,
libmikmod,
libogg,
libvorbis,
pkg-config,
smpeg,
stdenv,
# Boolean flags
enableNativeMidi ? false,
enableSdltest ? (!stdenv.isDarwin),
enableSmpegtest ? (!stdenv.isDarwin),
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation (finalAttrs: {
pname = "SDL_mixer"; pname = "SDL_mixer";
version = "1.2.12"; version = "1.2.12";
src = fetchurl { src = fetchurl {
url = "http://www.libsdl.org/projects/${pname}/release/${pname}-${version}.tar.gz"; url = "http://www.libsdl.org/projects/SDL_mixer/release/SDL_mixer-${finalAttrs.version}.tar.gz";
sha256 = "0alrhqgm40p4c92s26mimg9cm1y7rzr6m0p49687jxd9g6130i0n"; hash = "sha256-FkQwgnmpdXmQSeSCavLPx4fK0quxGqFFYuQCUh+GmSo=";
}; };
patches = [ patches = [
@ -31,7 +43,7 @@ stdenv.mkDerivation rec {
(fetchpatch { (fetchpatch {
name = "mikmod-fixes.patch"; name = "mikmod-fixes.patch";
url = "https://github.com/libsdl-org/SDL_mixer/commit/a3e5ff8142cf3530cddcb27b58f871f387796ab6.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). # More incompatible function pointer conversion fixes (this time in Vorbis-decoding code).
(fetchpatch { (fetchpatch {
@ -51,18 +63,39 @@ stdenv.mkDerivation rec {
}) })
]; ];
nativeBuildInputs = [ pkg-config ]; nativeBuildInputs = [
buildInputs = [ SDL libogg libvorbis fluidsynth smpeg libmikmod ]; SDL
pkg-config
smpeg
];
configureFlags = [ "--disable-music-ogg-shared" "--disable-music-mod-shared" ] buildInputs = [
++ lib.optional enableNativeMidi " --enable-music-native-midi-gpl" SDL
++ lib.optionals stdenv.isDarwin [ "--disable-sdltest" "--disable-smpegtest" ]; 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"; description = "SDL multi-channel audio mixer library";
homepage = "http://www.libsdl.org/projects/SDL_mixer/"; homepage = "http://www.libsdl.org/projects/SDL_mixer/";
maintainers = with maintainers; [ lovek323 ]; maintainers = lib.teams.sdl.members
platforms = platforms.unix; ++ (with lib.maintainers; [ ]);
license = licenses.zlib; license = lib.licenses.zlib;
inherit (SDL.meta) platforms;
}; };
} })

View File

@ -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;
};
})

View File

@ -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;
};
}

View File

@ -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;
};
})

View File

@ -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;
};
})

View File

@ -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;
};
})

View File

@ -9,18 +9,18 @@
buildGoModule rec { buildGoModule rec {
pname = "shopware-cli"; pname = "shopware-cli";
version = "0.4.44"; version = "0.4.47";
src = fetchFromGitHub { src = fetchFromGitHub {
repo = "shopware-cli"; repo = "shopware-cli";
owner = "FriendsOfShopware"; owner = "FriendsOfShopware";
rev = version; rev = version;
hash = "sha256-i9FRt86kd2bUW5fyn/qRRSzXRSqUHTGlxOnzehEfnxU="; hash = "sha256-9XCKrT+fOkC7Ft1/pGEgHjv3suXOf5NKYWqS702DtOA=";
}; };
nativeBuildInputs = [ installShellFiles makeWrapper ]; nativeBuildInputs = [ installShellFiles makeWrapper ];
nativeCheckInputs = [ git dart-sass ]; nativeCheckInputs = [ git dart-sass ];
vendorHash = "sha256-j1zKugueG4QaCetwfZXnWqo5SciX2N/dr0VD4d0ITS4="; vendorHash = "sha256-W/lIPcbCcHs+xRzAO8R49AE6oFLTLc6Ca5UlIdMLO5A=";
postInstall = '' postInstall = ''
export HOME="$(mktemp -d)" export HOME="$(mktemp -d)"

View File

@ -16,16 +16,16 @@ let
in in
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "surrealdb"; pname = "surrealdb";
version = "1.5.1"; version = "1.5.2";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "surrealdb"; owner = "surrealdb";
repo = "surrealdb"; repo = "surrealdb";
rev = "v${version}"; 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 # error: linker `aarch64-linux-gnu-gcc` not found
postPatch = '' postPatch = ''

View File

@ -1,15 +1,19 @@
{ stdenv {
, fetchFromSourcehut stdenv,
, hare fetchFromSourcehut,
, haredo hareHook,
, lib haredo,
, scdoc lib,
scdoc,
}: }:
stdenv.mkDerivation (finalAttrs: { stdenv.mkDerivation (finalAttrs: {
pname = "treecat"; pname = "treecat";
version = "1.0.2-unstable-2023-11-28"; version = "1.0.2-unstable-2023-11-28";
outputs = [ "out" "man" ]; outputs = [
"out"
"man"
];
src = fetchFromSourcehut { src = fetchFromSourcehut {
owner = "~autumnull"; owner = "~autumnull";
@ -19,18 +23,14 @@ stdenv.mkDerivation (finalAttrs: {
}; };
nativeBuildInputs = [ nativeBuildInputs = [
hare hareHook
haredo haredo
scdoc scdoc
]; ];
dontConfigure = true; env.PREFIX = builtins.placeholder "out";
preBuild = '' dontConfigure = true;
HARECACHE="$(mktemp -d)"
export HARECACHE
export PREFIX="${builtins.placeholder "out"}"
'';
meta = { meta = {
description = "Serialize a directory to a tree diagram, and vice versa"; description = "Serialize a directory to a tree diagram, and vice versa";
@ -42,6 +42,6 @@ stdenv.mkDerivation (finalAttrs: {
license = lib.licenses.wtfpl; license = lib.licenses.wtfpl;
maintainers = with lib.maintainers; [ onemoresuza ]; maintainers = with lib.maintainers; [ onemoresuza ];
mainProgram = "treecat"; mainProgram = "treecat";
inherit (hare.meta) platforms badPlatforms; inherit (hareHook.meta) platforms badPlatforms;
}; };
}) })

View File

@ -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;
};
})

View File

@ -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;
};
}

View File

@ -75,6 +75,11 @@ let
libfm-qt = libfm-qt_1_4; libfm-qt = libfm-qt_1_4;
inherit (pkgs.libsForQt5) qtbase qtsvg qttools libdbusmenu; 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 = [ preRequisitePackages = [
kdePackages.kwindowsystem # provides some QT plugins needed by lxqt-panel kdePackages.kwindowsystem # provides some QT plugins needed by lxqt-panel

View File

@ -7,17 +7,21 @@
, lxqt-build-tools , lxqt-build-tools
, wrapQtAppsHook , wrapQtAppsHook
, gitUpdater , gitUpdater
, version ? "2.0.0"
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "qtermwidget"; pname = "qtermwidget";
version = "2.0.0"; inherit version;
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "lxqt"; owner = "lxqt";
repo = pname; repo = pname;
rev = version; 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 = [ nativeBuildInputs = [

View File

@ -1,8 +1,14 @@
{ lib, stdenv, hare, harec, fetchFromSourcehut }: {
lib,
stdenv,
hareHook,
harec,
fetchFromSourcehut,
}:
stdenv.mkDerivation (finalAttrs: { stdenv.mkDerivation (finalAttrs: {
pname = "hare-compress"; pname = "hare-compress";
version = "unstable-2023-11-01"; version = "0-unstable-2023-11-01";
src = fetchFromSourcehut { src = fetchFromSourcehut {
owner = "~sircmpwn"; owner = "~sircmpwn";
@ -11,12 +17,9 @@ stdenv.mkDerivation (finalAttrs: {
hash = "sha256-sz8xPBZaUFye3HH4lkRnH52ye451e6seZXN/qvg87jE="; hash = "sha256-sz8xPBZaUFye3HH4lkRnH52ye451e6seZXN/qvg87jE=";
}; };
nativeBuildInputs = [ hare ]; nativeBuildInputs = [ hareHook ];
makeFlags = [ makeFlags = [ "PREFIX=${builtins.placeholder "out"}" ];
"HARECACHE=.harecache"
"PREFIX=${builtins.placeholder "out"}"
];
doCheck = true; doCheck = true;
@ -25,7 +28,6 @@ stdenv.mkDerivation (finalAttrs: {
description = "Compression algorithms for Hare"; description = "Compression algorithms for Hare";
license = with licenses; [ mpl20 ]; license = with licenses; [ mpl20 ];
maintainers = with maintainers; [ starzation ]; maintainers = with maintainers; [ starzation ];
inherit (harec.meta) platforms badPlatforms; inherit (harec.meta) platforms badPlatforms;
}; };
}) })

View File

@ -1,8 +1,9 @@
{ stdenv {
, lib fetchFromSourcehut,
, fetchFromSourcehut hareHook,
, hare lib,
, unstableGitUpdater stdenv,
unstableGitUpdater,
}: }:
stdenv.mkDerivation { stdenv.mkDerivation {
@ -16,14 +17,9 @@ stdenv.mkDerivation {
hash = "sha256-SXExwDZKlW/2XYzmJUhkLWj6NF/znrv3vY9V0mD5iFQ="; hash = "sha256-SXExwDZKlW/2XYzmJUhkLWj6NF/znrv3vY9V0mD5iFQ=";
}; };
nativeCheckInputs = [ nativeCheckInputs = [ hareHook ];
hare
];
makeFlags = [ makeFlags = [ "PREFIX=${builtins.placeholder "out"}" ];
"HARECACHE=.harecache"
"PREFIX=${builtins.placeholder "out"}"
];
doCheck = true; doCheck = true;
@ -34,6 +30,6 @@ stdenv.mkDerivation {
homepage = "https://sr.ht/~sircmpwn/hare-ev"; homepage = "https://sr.ht/~sircmpwn/hare-ev";
license = licenses.mpl20; license = licenses.mpl20;
maintainers = with maintainers; [ colinsane ]; maintainers = with maintainers; [ colinsane ];
inherit (hare.meta) platforms badPlatforms; inherit (hareHook.meta) platforms badPlatforms;
}; };
} }

View File

@ -1,8 +1,14 @@
{ lib, stdenv, hare, harec, fetchFromSourcehut }: {
fetchFromSourcehut,
hareHook,
harec,
lib,
stdenv,
}:
stdenv.mkDerivation (finalAttrs: { stdenv.mkDerivation (finalAttrs: {
pname = "hare-json"; pname = "hare-json";
version = "unstable-2023-03-13"; version = "0-unstable-2023-03-13";
src = fetchFromSourcehut { src = fetchFromSourcehut {
owner = "~sircmpwn"; owner = "~sircmpwn";
@ -11,12 +17,9 @@ stdenv.mkDerivation (finalAttrs: {
hash = "sha256-Sx+RBiLhR3ftP89AwinVlBg0u0HX4GVP7TLmuofgC9s="; hash = "sha256-Sx+RBiLhR3ftP89AwinVlBg0u0HX4GVP7TLmuofgC9s=";
}; };
nativeBuildInputs = [ hare ]; nativeBuildInputs = [ hareHook ];
makeFlags = [ makeFlags = [ "PREFIX=${builtins.placeholder "out"}" ];
"HARECACHE=.harecache"
"PREFIX=${builtins.placeholder "out"}"
];
doCheck = true; doCheck = true;
@ -25,7 +28,6 @@ stdenv.mkDerivation (finalAttrs: {
description = "This package provides JSON support for Hare"; description = "This package provides JSON support for Hare";
license = with licenses; [ mpl20 ]; license = with licenses; [ mpl20 ];
maintainers = with maintainers; [ starzation ]; maintainers = with maintainers; [ starzation ];
inherit (harec.meta) platforms badPlatforms; inherit (harec.meta) platforms badPlatforms;
}; };
}) })

View File

@ -1,8 +1,14 @@
{ lib, stdenv, hare, hareThirdParty, fetchFromSourcehut }: {
lib,
stdenv,
hareHook,
hareThirdParty,
fetchFromSourcehut,
}:
stdenv.mkDerivation (finalAttrs: { stdenv.mkDerivation (finalAttrs: {
pname = "hare-png"; pname = "hare-png";
version = "unstable-2023-09-09"; version = "0-unstable-2023-09-09";
src = fetchFromSourcehut { src = fetchFromSourcehut {
owner = "~sircmpwn"; owner = "~sircmpwn";
@ -11,13 +17,10 @@ stdenv.mkDerivation (finalAttrs: {
hash = "sha256-Q7xylsLVd/sp57kv6WzC7QHGN1xOsm7YEsYCbY/zi1Q="; hash = "sha256-Q7xylsLVd/sp57kv6WzC7QHGN1xOsm7YEsYCbY/zi1Q=";
}; };
nativeBuildInputs = [ hare ]; nativeBuildInputs = [ hareHook ];
propagatedBuildInputs = [ hareThirdParty.hare-compress ]; propagatedBuildInputs = [ hareThirdParty.hare-compress ];
makeFlags = [ makeFlags = [ "PREFIX=${builtins.placeholder "out"}" ];
"PREFIX=${builtins.placeholder "out"}"
"HARECACHE=.harecache"
];
doCheck = true; doCheck = true;
@ -26,7 +29,6 @@ stdenv.mkDerivation (finalAttrs: {
description = "PNG implementation for Hare"; description = "PNG implementation for Hare";
license = with licenses; [ mpl20 ]; license = with licenses; [ mpl20 ];
maintainers = with maintainers; [ starzation ]; maintainers = with maintainers; [ starzation ];
inherit (hareHook.meta) platforms badPlatforms;
inherit (hare.meta) platforms badPlatforms;
}; };
}) })

View File

@ -1,8 +1,13 @@
{ lib, stdenv, hare, hareThirdParty, fetchFromSourcehut }: {
fetchFromSourcehut,
hareHook,
lib,
stdenv,
}:
stdenv.mkDerivation (finalAttrs: { stdenv.mkDerivation (finalAttrs: {
pname = "hare-ssh"; pname = "hare-ssh";
version = "unstable-2023-11-16"; version = "0-unstable-2023-11-16";
src = fetchFromSourcehut { src = fetchFromSourcehut {
owner = "~sircmpwn"; owner = "~sircmpwn";
@ -11,12 +16,9 @@ stdenv.mkDerivation (finalAttrs: {
hash = "sha256-I43TLPoImBsvkgV3hDy9dw0pXVt4ezINnxFtEV9P2/M="; hash = "sha256-I43TLPoImBsvkgV3hDy9dw0pXVt4ezINnxFtEV9P2/M=";
}; };
nativeBuildInputs = [ hare ]; nativeBuildInputs = [ hareHook ];
makeFlags = [ makeFlags = [ "PREFIX=${builtins.placeholder "out"}" ];
"PREFIX=${builtins.placeholder "out"}"
"HARECACHE=.harecache"
];
doCheck = true; doCheck = true;
@ -26,6 +28,6 @@ stdenv.mkDerivation (finalAttrs: {
license = with licenses; [ mpl20 ]; license = with licenses; [ mpl20 ];
maintainers = with maintainers; [ patwid ]; maintainers = with maintainers; [ patwid ];
inherit (hare.meta) platforms badPlatforms; inherit (hareHook.meta) platforms badPlatforms;
}; };
}) })

View File

@ -1,9 +1,10 @@
{ stdenv {
, hare fetchFromGitea,
, scdoc hareHook,
, lib lib,
, fetchFromGitea nix-update-script,
, nix-update-script scdoc,
stdenv,
}: }:
stdenv.mkDerivation (finalAttrs: { stdenv.mkDerivation (finalAttrs: {
pname = "hare-toml"; pname = "hare-toml";
@ -19,13 +20,10 @@ stdenv.mkDerivation (finalAttrs: {
nativeBuildInputs = [ nativeBuildInputs = [
scdoc scdoc
hare hareHook
]; ];
makeFlags = [ makeFlags = [ "PREFIX=${builtins.placeholder "out"}" ];
"HARECACHE=.harecache"
"PREFIX=${builtins.placeholder "out"}"
];
checkTarget = "check_local"; checkTarget = "check_local";
@ -40,6 +38,6 @@ stdenv.mkDerivation (finalAttrs: {
homepage = "https://codeberg.org/lunacb/hare-toml"; homepage = "https://codeberg.org/lunacb/hare-toml";
license = lib.licenses.mit; license = lib.licenses.mit;
maintainers = with lib.maintainers; [ onemoresuza ]; maintainers = with lib.maintainers; [ onemoresuza ];
inherit (hare.meta) platforms badPlatforms; inherit (hareHook.meta) platforms badPlatforms;
}; };
}) })

View File

@ -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" ];
};
})

View File

@ -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" ];
};
})

View File

@ -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 ];
};
}

View File

@ -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; [ ];
};
}

View File

@ -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;
};
}

View File

@ -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;
};
}

View File

@ -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;
};
}

View File

@ -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";
};
}

View File

@ -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;
};
}

View File

@ -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/";
};
}

View File

@ -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;
};
}

View File

@ -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 ];
};
}

View File

@ -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 */ /* Turkish */
tr_TR = tr-tr; tr_TR = tr-tr;
tr-tr = mkDict rec { tr-tr = mkDict rec {

View File

@ -184,7 +184,6 @@
, "patch-package" , "patch-package"
, "peerflix" , "peerflix"
, "peerflix-server" , "peerflix-server"
, {"pgrok-build-deps": "../../tools/networking/pgrok/build-deps"}
, "pnpm" , "pnpm"
, "poor-mans-t-sql-formatter-cli" , "poor-mans-t-sql-formatter-cli"
, "postcss" , "postcss"

View File

@ -87158,716 +87158,7 @@ in
bypassCache = true; bypassCache = true;
reconstructLock = 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 { pnpm = nodeEnv.buildNodePackage {
name = "pnpm"; name = "pnpm";
packageName = "pnpm"; packageName = "pnpm";

View File

@ -1,5 +1,6 @@
{ {
lib, lib,
stdenv,
fetchPypi, fetchPypi,
buildPythonPackage, buildPythonPackage,
isPy27, isPy27,
@ -11,6 +12,7 @@
flask, flask,
pillow, pillow,
psycopg2, psycopg2,
tkinter,
pytestCheckHook, pytestCheckHook,
pytest-mock, pytest-mock,
pytest-xdist, pytest-xdist,
@ -37,6 +39,8 @@ buildPythonPackage rec {
flask flask
pillow pillow
psycopg2 psycopg2
] ++ lib.optionals stdenv.isDarwin [
tkinter
]; ];
nativeCheckInputs = [ nativeCheckInputs = [

View File

@ -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 ];
};
}

View File

@ -2,7 +2,6 @@
lib, lib,
buildPythonPackage, buildPythonPackage,
fetchFromGitHub, fetchFromGitHub,
fetchpatch,
jupyter-contrib-core, jupyter-contrib-core,
jupyter-core, jupyter-core,
jupyter-server, jupyter-server,
@ -16,26 +15,17 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "jupyter-nbextensions-configurator"; pname = "jupyter-nbextensions-configurator";
version = "0.6.3"; version = "0.6.4";
format = "setuptools"; pyproject = true;
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "jupyter-contrib"; owner = "jupyter-contrib";
repo = "jupyter_nbextensions_configurator"; repo = "jupyter_nbextensions_configurator";
rev = "refs/tags/${version}"; rev = "refs/tags/${version}";
hash = "sha256-ovKYHATRAC5a5qTMv32ohU2gJd15/fRKXa5HI0zGp/0="; hash = "sha256-U4M6pGV/DdE+DOVMVaoBXOhfRERt+yUa+gADgqRRLn4=";
}; };
patches = [ dependencies = [
# 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 = [
jupyter-contrib-core jupyter-contrib-core
jupyter-core jupyter-core
jupyter-server jupyter-server
@ -59,11 +49,12 @@ buildPythonPackage rec {
pythonImportsCheck = [ "jupyter_nbextensions_configurator" ]; pythonImportsCheck = [ "jupyter_nbextensions_configurator" ];
meta = with lib; { meta = {
description = "A jupyter notebook serverextension providing config interfaces for nbextensions"; description = "A jupyter notebook serverextension providing config interfaces for nbextensions";
mainProgram = "jupyter-nbextensions_configurator"; mainProgram = "jupyter-nbextensions_configurator";
homepage = "https://github.com/jupyter-contrib/jupyter_nbextensions_configurator"; homepage = "https://github.com/jupyter-contrib/jupyter_nbextensions_configurator";
license = licenses.bsd3; changelog = "https://github.com/Jupyter-contrib/jupyter_nbextensions_configurator/releases/tag/${version}";
maintainers = with maintainers; [ GaetanLepage ]; license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ GaetanLepage ];
}; };
} }

View File

@ -7,12 +7,12 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "latex2pydata"; pname = "latex2pydata";
version = "0.3.0"; version = "0.4.0";
pyproject = true; pyproject = true;
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
hash = "sha256-XMGmTK1H6f66pI/wDLA3+Pytl4A7spbMMpfa77xr2M4="; hash = "sha256-Ega1cHSP187njyelb0yiCdpk08QZyObelRa2S79AE1E=";
}; };
build-system = [ build-system = [

View File

@ -1,33 +1,34 @@
{ {
lib, lib,
stdenv, stdenv,
fetchFromGitHub,
buildPythonPackage, buildPythonPackage,
fetchFromGitHub,
ncurses,
poetry-core, poetry-core,
procps,
pytest-rerunfailures, pytest-rerunfailures,
pytestCheckHook, pytestCheckHook,
procps,
tmux, tmux,
ncurses,
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "libtmux"; pname = "libtmux";
version = "0.36.0"; version = "0.37.0";
pyproject = true; pyproject = true;
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "tmux-python"; owner = "tmux-python";
repo = pname; repo = "libtmux";
rev = "refs/tags/v${version}"; rev = "refs/tags/v${version}";
hash = "sha256-oJ2IGaPFMKA/amUEPZi1UO9vZtjPNQg3SIFjQWzUeSE="; hash = "sha256-I0E6zkfQ6mx2svCaXEgKPhrrog3iLgXZ4E3CMMxPkIA=";
}; };
postPatch = '' postPatch = ''
sed -i '/addopts/d' pyproject.toml substituteInPlace pyproject.toml \
--replace-fail '"--doctest-docutils-modules",' ""
''; '';
nativeBuildInputs = [ poetry-core ]; build-system = [ poetry-core ];
nativeCheckInputs = [ nativeCheckInputs = [
procps procps
@ -53,7 +54,6 @@ buildPythonPackage rec {
disabledTestPaths = lib.optionals stdenv.isDarwin [ disabledTestPaths = lib.optionals stdenv.isDarwin [
"tests/test_test.py" "tests/test_test.py"
"tests/legacy_api/test_test.py"
]; ];
pythonImportsCheck = [ "libtmux" ]; pythonImportsCheck = [ "libtmux" ];

View File

@ -12,6 +12,7 @@
setuptools, setuptools,
wrapGAppsNoGuiHook, wrapGAppsNoGuiHook,
notify2, notify2,
glib
}: }:
let let
@ -32,13 +33,16 @@ buildPythonPackage (common // {
--replace-fail "plugdev" "openrazer" --replace-fail "plugdev" "openrazer"
''; '';
nativeBuildInputs = [ setuptools wrapGAppsNoGuiHook ]; nativeBuildInputs = [ setuptools wrapGAppsNoGuiHook gobject-introspection ];
buildInputs = [
glib
gtk3
];
propagatedBuildInputs = [ propagatedBuildInputs = [
daemonize daemonize
dbus-python dbus-python
gobject-introspection
gtk3
pygobject3 pygobject3
pyudev pyudev
setproctitle setproctitle

View File

@ -1,12 +1,25 @@
{ {
lib, lib,
config,
buildPythonPackage, buildPythonPackage,
fetchFromGitHub, fetchFromGitHub,
substituteAll,
addDriverRunpath,
cudaSupport ? config.cudaSupport,
rocmSupport ? config.rocmSupport,
cudaPackages,
ocl-icd,
stdenv,
rocmPackages,
# build-system
setuptools, setuptools,
wheel, wheel,
gpuctypes, # dependencies
numpy, numpy,
tqdm, tqdm,
# nativeCheckInputs
clang,
hexdump,
hypothesis, hypothesis,
librosa, librosa,
onnx, onnx,
@ -22,30 +35,67 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "tinygrad"; pname = "tinygrad";
version = "0.8.0"; version = "0.9.0";
pyproject = true; pyproject = true;
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "tinygrad"; owner = "tinygrad";
repo = "tinygrad"; repo = "tinygrad";
rev = "refs/tags/v${version}"; 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 setuptools
wheel wheel
]; ];
propagatedBuildInputs = [ dependencies =
gpuctypes [
numpy numpy
tqdm tqdm
]; ]
++ lib.optionals stdenv.isDarwin [
# pyobjc-framework-libdispatch
# pyobjc-framework-metal
];
pythonImportsCheck = [ "tinygrad" ]; pythonImportsCheck = [ "tinygrad" ];
nativeCheckInputs = [ nativeCheckInputs = [
clang
hexdump
hypothesis hypothesis
librosa librosa
onnx onnx
@ -63,44 +113,60 @@ buildPythonPackage rec {
export HOME=$(mktemp -d) export HOME=$(mktemp -d)
''; '';
disabledTests = [ disabledTests =
# Require internet access [
"test_benchmark_openpilot_model" # Require internet access
"test_bn_alone" "test_benchmark_openpilot_model"
"test_bn_linear" "test_bn_alone"
"test_bn_mnist" "test_bn_linear"
"test_car" "test_bn_mnist"
"test_chicken" "test_car"
"test_chicken_bigbatch" "test_chicken"
"test_conv_mnist" "test_chicken_bigbatch"
"testCopySHMtoDefault" "test_conv_mnist"
"test_data_parallel_resnet" "testCopySHMtoDefault"
"test_e2e_big" "test_data_parallel_resnet"
"test_fetch_small" "test_e2e_big"
"test_huggingface_enet_safetensors" "test_fetch_small"
"test_linear_mnist" "test_huggingface_enet_safetensors"
"test_load_convnext" "test_linear_mnist"
"test_load_enet" "test_load_convnext"
"test_load_enet_alt" "test_load_enet"
"test_load_llama2bfloat" "test_load_enet_alt"
"test_load_resnet" "test_load_llama2bfloat"
"test_openpilot_model" "test_load_resnet"
"test_resnet" "test_openpilot_model"
"test_shufflenet" "test_resnet"
"test_transcribe_batch12" "test_shufflenet"
"test_transcribe_batch21" "test_transcribe_batch12"
"test_transcribe_file1" "test_transcribe_batch21"
"test_transcribe_file2" "test_transcribe_file1"
"test_transcribe_long" "test_transcribe_file2"
"test_transcribe_long_no_batch" "test_transcribe_long"
"test_vgg7" "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 = [ disabledTestPaths =
"test/extra/test_lr_scheduler.py" [
"test/models/test_mnist.py" # Require internet access
"test/models/test_real_world.py" "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; { meta = with lib; {
description = "A simple and powerful neural network framework"; description = "A simple and powerful neural network framework";
@ -108,5 +174,7 @@ buildPythonPackage rec {
changelog = "https://github.com/tinygrad/tinygrad/releases/tag/v${version}"; changelog = "https://github.com/tinygrad/tinygrad/releases/tag/v${version}";
license = licenses.mit; license = licenses.mit;
maintainers = with maintainers; [ GaetanLepage ]; maintainers = with maintainers; [ GaetanLepage ];
# Requires unpackaged pyobjc-framework-libdispatch and pyobjc-framework-metal
broken = stdenv.isDarwin;
}; };
} }

View File

@ -1,9 +1,9 @@
diff --git a/gpuctypes/cuda.py b/gpuctypes/cuda.py diff --git a/tinygrad/runtime/autogen/cuda.py b/tinygrad/runtime/autogen/cuda.py
index acba81c..aac5fc7 100644 index 359083a9..3cd5f7be 100644
--- a/gpuctypes/cuda.py --- a/tinygrad/runtime/autogen/cuda.py
+++ b/gpuctypes/cuda.py +++ b/tinygrad/runtime/autogen/cuda.py
@@ -143,9 +143,25 @@ def char_pointer_cast(string, encoding='utf-8'): @@ -143,10 +143,25 @@ def char_pointer_cast(string, encoding='utf-8'):
return ctypes.cast(string, ctypes.POINTER(ctypes.c_char))
+NAME_TO_PATHS = { +NAME_TO_PATHS = {
@ -19,9 +19,9 @@ index acba81c..aac5fc7 100644
+ try: + try:
+ return ctypes.CDLL(candidate) + return ctypes.CDLL(candidate)
+ except OSError: + except OSError:
+ pass + pass
+ raise RuntimeError(f"{name} not found") + raise RuntimeError(f"{name} not found")
+
_libraries = {} _libraries = {}
-_libraries['libcuda.so'] = ctypes.CDLL(ctypes.util.find_library('cuda')) -_libraries['libcuda.so'] = ctypes.CDLL(ctypes.util.find_library('cuda'))
-_libraries['libnvrtc.so'] = ctypes.CDLL(ctypes.util.find_library('nvrtc')) -_libraries['libnvrtc.so'] = ctypes.CDLL(ctypes.util.find_library('nvrtc'))

View File

@ -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 ];
};
}

View File

@ -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;
};
}

View File

@ -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 , glib, systemd, udev, libevdev, gitMinimal, check, valgrind, swig, python3
, json-glib, libunistring }: , json-glib, libunistring }:
@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
}; };
nativeBuildInputs = [ nativeBuildInputs = [
meson ninja pkg-config gitMinimal swig check valgrind meson ninja pkg-config gitMinimal swig check valgrind wrapGAppsNoGuiHook gobject-introspection
]; ];
buildInputs = [ buildInputs = [

View File

@ -1,4 +1,4 @@
{ lib, python3, fetchFromGitHub, nixosTests }: { lib, python3, fetchFromGitHub, nixosTests, wrapGAppsNoGuiHook, gobject-introspection, glib }:
python3.pkgs.buildPythonApplication rec { python3.pkgs.buildPythonApplication rec {
pname = "targetcli"; pname = "targetcli";
@ -11,7 +11,10 @@ python3.pkgs.buildPythonApplication rec {
hash = "sha256-9QYo7jGk9iWr26j0qPQCqYsJ+vLXAsO4Xs7+7VT9/yc="; 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 = '' postInstall = ''
install -D targetcli.8 -t $out/share/man/man8/ install -D targetcli.8 -t $out/share/man/man8/

View File

@ -55,8 +55,8 @@ in {
}; };
nextcloud29 = generic { nextcloud29 = generic {
version = "29.0.1"; version = "29.0.2";
hash = "sha256-dZVG2uz3nKeH7WcFUDaTxttVOqvx165N+neccwmyrak="; hash = "sha256-LUnSl9w0AJICEFeCPo54oxK8APVt59hneseQWQkYqxc=";
packages = nextcloud29Packages; packages = nextcloud29Packages;
}; };

View File

@ -10,9 +10,9 @@
] ]
}, },
"calendar": { "calendar": {
"sha256": "0zm2a63f99q7n1qw2n3p4pk50j5v4q24vpgndk4nnvaz6c792rzg", "sha256": "09rsp5anpaqzwmrixza5qh12vmq9hd3an045064vm3rnynz537qc",
"url": "https://github.com/nextcloud-releases/calendar/releases/download/v4.7.4/calendar-v4.7.4.tar.gz", "url": "https://github.com/nextcloud-releases/calendar/releases/download/v4.7.6/calendar-v4.7.6.tar.gz",
"version": "4.7.4", "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 teams 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* 🙈 **Were 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.", "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 teams 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* 🙈 **Were 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/", "homepage": "https://github.com/nextcloud/calendar/",
"licenses": [ "licenses": [
@ -140,9 +140,9 @@
] ]
}, },
"mail": { "mail": {
"sha256": "1w6bww8wc42biz1zjf4fxgf60ryh1cdsm8b6ji3fhsqjlmkvs4ly", "sha256": "1q0ihgrb6sk0rizs45clqhjpmai2m2zislw6s1694j1zssz4jpqg",
"url": "https://github.com/nextcloud-releases/mail/releases/download/v3.6.1/mail-v3.6.1.tar.gz", "url": "https://github.com/nextcloud-releases/mail/releases/download/v3.7.1/mail-v3.7.1.tar.gz",
"version": "3.6.1", "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- **🙈 Were 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/).", "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- **🙈 Were 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", "homepage": "https://github.com/nextcloud/mail#readme",
"licenses": [ "licenses": [
@ -230,9 +230,9 @@
] ]
}, },
"polls": { "polls": {
"sha256": "0zsklab2sjz5b37b1dn0fpc21yvxrp7fvacppv1v6x5yppnmm6kh", "sha256": "0wijb8dkszyzs3108qylcjnvd3kdhlciqndhgc993ybwqxqxfsxn",
"url": "https://github.com/nextcloud/polls/releases/download/v6.4.0/polls.tar.gz", "url": "https://github.com/nextcloud/polls/releases/download/v6.4.1/polls.tar.gz",
"version": "6.4.0", "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).", "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", "homepage": "https://github.com/nextcloud/polls",
"licenses": [ "licenses": [

View File

@ -1,8 +1,8 @@
{ {
"bookmarks": { "bookmarks": {
"sha256": "1i003cp6x4hw3zkaf49a0srkgr257fbv3p612whd1nsbm2mfd2mf", "sha256": "01m78jfnqgvqj94v13bi6rj52sgwrp18zs4svgbdrci3lc7xqyp2",
"url": "https://github.com/nextcloud/bookmarks/releases/download/v14.1.1/bookmarks-14.1.1.tar.gz", "url": "https://github.com/nextcloud/bookmarks/releases/download/v14.1.2/bookmarks-14.1.2.tar.gz",
"version": "14.1.1", "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", "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", "homepage": "https://github.com/nextcloud/bookmarks",
"licenses": [ "licenses": [
@ -10,9 +10,9 @@
] ]
}, },
"calendar": { "calendar": {
"sha256": "0zm2a63f99q7n1qw2n3p4pk50j5v4q24vpgndk4nnvaz6c792rzg", "sha256": "09rsp5anpaqzwmrixza5qh12vmq9hd3an045064vm3rnynz537qc",
"url": "https://github.com/nextcloud-releases/calendar/releases/download/v4.7.4/calendar-v4.7.4.tar.gz", "url": "https://github.com/nextcloud-releases/calendar/releases/download/v4.7.6/calendar-v4.7.6.tar.gz",
"version": "4.7.4", "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 teams 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* 🙈 **Were 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.", "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 teams 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* 🙈 **Were 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/", "homepage": "https://github.com/nextcloud/calendar/",
"licenses": [ "licenses": [
@ -120,9 +120,9 @@
] ]
}, },
"mail": { "mail": {
"sha256": "1w6bww8wc42biz1zjf4fxgf60ryh1cdsm8b6ji3fhsqjlmkvs4ly", "sha256": "1q0ihgrb6sk0rizs45clqhjpmai2m2zislw6s1694j1zssz4jpqg",
"url": "https://github.com/nextcloud-releases/mail/releases/download/v3.6.1/mail-v3.6.1.tar.gz", "url": "https://github.com/nextcloud-releases/mail/releases/download/v3.7.1/mail-v3.7.1.tar.gz",
"version": "3.6.1", "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- **🙈 Were 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/).", "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- **🙈 Were 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", "homepage": "https://github.com/nextcloud/mail#readme",
"licenses": [ "licenses": [

View File

@ -1,8 +1,8 @@
{ {
"bookmarks": { "bookmarks": {
"sha256": "1i003cp6x4hw3zkaf49a0srkgr257fbv3p612whd1nsbm2mfd2mf", "sha256": "01m78jfnqgvqj94v13bi6rj52sgwrp18zs4svgbdrci3lc7xqyp2",
"url": "https://github.com/nextcloud/bookmarks/releases/download/v14.1.1/bookmarks-14.1.1.tar.gz", "url": "https://github.com/nextcloud/bookmarks/releases/download/v14.1.2/bookmarks-14.1.2.tar.gz",
"version": "14.1.1", "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", "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", "homepage": "https://github.com/nextcloud/bookmarks",
"licenses": [ "licenses": [
@ -10,9 +10,9 @@
] ]
}, },
"calendar": { "calendar": {
"sha256": "0zm2a63f99q7n1qw2n3p4pk50j5v4q24vpgndk4nnvaz6c792rzg", "sha256": "09rsp5anpaqzwmrixza5qh12vmq9hd3an045064vm3rnynz537qc",
"url": "https://github.com/nextcloud-releases/calendar/releases/download/v4.7.4/calendar-v4.7.4.tar.gz", "url": "https://github.com/nextcloud-releases/calendar/releases/download/v4.7.6/calendar-v4.7.6.tar.gz",
"version": "4.7.4", "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 teams 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* 🙈 **Were 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.", "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 teams 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* 🙈 **Were 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/", "homepage": "https://github.com/nextcloud/calendar/",
"licenses": [ "licenses": [
@ -120,9 +120,9 @@
] ]
}, },
"mail": { "mail": {
"sha256": "1w6bww8wc42biz1zjf4fxgf60ryh1cdsm8b6ji3fhsqjlmkvs4ly", "sha256": "1q0ihgrb6sk0rizs45clqhjpmai2m2zislw6s1694j1zssz4jpqg",
"url": "https://github.com/nextcloud-releases/mail/releases/download/v3.6.1/mail-v3.6.1.tar.gz", "url": "https://github.com/nextcloud-releases/mail/releases/download/v3.7.1/mail-v3.7.1.tar.gz",
"version": "3.6.1", "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- **🙈 Were 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/).", "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- **🙈 Were 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", "homepage": "https://github.com/nextcloud/mail#readme",
"licenses": [ "licenses": [

View File

@ -16,13 +16,13 @@ let
in package.override rec { in package.override rec {
pname = "bookstack"; pname = "bookstack";
version = "24.02.3"; version = "24.05.1";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "bookstackapp"; owner = "bookstackapp";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-+8J7dB666KZSJbvnmJl/PivtMQ6Hlz3AAy6E1xpRRmU="; sha256 = "1m20435sp4n3dg7am4lh73yw1wdmnsf15wdl554lrklhg7f21s0w";
}; };
meta = with lib; { meta = with lib; {

View File

@ -5,20 +5,20 @@ let
"aws/aws-crt-php" = { "aws/aws-crt-php" = {
targetDir = ""; targetDir = "";
src = composerEnv.buildZipPackage { src = composerEnv.buildZipPackage {
name = "aws-aws-crt-php-eb0c6e4e142224a10b08f49ebf87f32611d162b2"; name = "aws-aws-crt-php-0ea1f04ec5aa9f049f97e012d1ed63b76834a31b";
src = fetchurl { src = fetchurl {
url = "https://api.github.com/repos/awslabs/aws-crt-php/zipball/eb0c6e4e142224a10b08f49ebf87f32611d162b2"; url = "https://api.github.com/repos/awslabs/aws-crt-php/zipball/0ea1f04ec5aa9f049f97e012d1ed63b76834a31b";
sha256 = "10fnazz3gv51i6dngrc6hbcmzwrvl6mmd2z44rrdbzz3ry8v3vc9"; sha256 = "1xx5yhq99z752pagij5djja4812p4s711188j8qk8wi0dl7331zm";
}; };
}; };
}; };
"aws/aws-sdk-php" = { "aws/aws-sdk-php" = {
targetDir = ""; targetDir = "";
src = composerEnv.buildZipPackage { src = composerEnv.buildZipPackage {
name = "aws-aws-sdk-php-957ccef631684d612d01ced2fa3b0506f2ec78c3"; name = "aws-aws-sdk-php-cc79f16e1a1bd3feee421401ba2f21915abfdf91";
src = fetchurl { src = fetchurl {
url = "https://api.github.com/repos/aws/aws-sdk-php/zipball/957ccef631684d612d01ced2fa3b0506f2ec78c3"; url = "https://api.github.com/repos/aws/aws-sdk-php/zipball/cc79f16e1a1bd3feee421401ba2f21915abfdf91";
sha256 = "1chckiccr061c063wwf502d545wji4p5g6ak6z6dl36jjkrip7v4"; 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" = { "brick/math" = {
targetDir = ""; targetDir = "";
src = composerEnv.buildZipPackage { src = composerEnv.buildZipPackage {
name = "brick-math-0ad82ce168c82ba30d1c01ec86116ab52f589478"; name = "brick-math-f510c0a40911935b77b86859eb5223d58d660df1";
src = fetchurl { src = fetchurl {
url = "https://api.github.com/repos/brick/math/zipball/0ad82ce168c82ba30d1c01ec86116ab52f589478"; url = "https://api.github.com/repos/brick/math/zipball/f510c0a40911935b77b86859eb5223d58d660df1";
sha256 = "04kqy1hqvp4634njjjmhrc2g828d69sk6q3c55bpqnnmsqf154yb"; sha256 = "1cgj6qfjjl76jyjxxkdmnzl0sc8y3pkvcw91lpjdlp4jnqlq31by";
}; };
}; };
}; };
@ -105,10 +85,10 @@ let
"doctrine/dbal" = { "doctrine/dbal" = {
targetDir = ""; targetDir = "";
src = composerEnv.buildZipPackage { src = composerEnv.buildZipPackage {
name = "doctrine-dbal-a19a1d05ca211f41089dffcc387733a6875196cb"; name = "doctrine-dbal-b05e48a745f722801f55408d0dbd8003b403dbbd";
src = fetchurl { src = fetchurl {
url = "https://api.github.com/repos/doctrine/dbal/zipball/a19a1d05ca211f41089dffcc387733a6875196cb"; url = "https://api.github.com/repos/doctrine/dbal/zipball/b05e48a745f722801f55408d0dbd8003b403dbbd";
sha256 = "11lcmw8pmgfp7wmn4miainyl2c060s4igq4g94azxl1v5bqaypis"; sha256 = "0bca75y1wadpab0ns31s3wbvvxsq108i8jfyrh4xnifl56wb8pvh";
}; };
}; };
}; };
@ -125,10 +105,10 @@ let
"doctrine/event-manager" = { "doctrine/event-manager" = {
targetDir = ""; targetDir = "";
src = composerEnv.buildZipPackage { src = composerEnv.buildZipPackage {
name = "doctrine-event-manager-95aa4cb529f1e96576f3fda9f5705ada4056a520"; name = "doctrine-event-manager-750671534e0241a7c50ea5b43f67e23eb5c96f32";
src = fetchurl { src = fetchurl {
url = "https://api.github.com/repos/doctrine/event-manager/zipball/95aa4cb529f1e96576f3fda9f5705ada4056a520"; url = "https://api.github.com/repos/doctrine/event-manager/zipball/750671534e0241a7c50ea5b43f67e23eb5c96f32";
sha256 = "0xi2s28jmmvrndg1yd0r5s10d9a0q6j2dxdbazvcbws9waf0yrvj"; sha256 = "1inhh3k8ai8d6rhx5xsbdx0ifc3yjjfrahi0cy1npz9nx3383cfh";
}; };
}; };
}; };
@ -145,20 +125,20 @@ let
"doctrine/lexer" = { "doctrine/lexer" = {
targetDir = ""; targetDir = "";
src = composerEnv.buildZipPackage { src = composerEnv.buildZipPackage {
name = "doctrine-lexer-861c870e8b75f7c8f69c146c7f89cc1c0f1b49b6"; name = "doctrine-lexer-31ad66abc0fc9e1a1f2d9bc6a42668d2fbbcd6dd";
src = fetchurl { src = fetchurl {
url = "https://api.github.com/repos/doctrine/lexer/zipball/861c870e8b75f7c8f69c146c7f89cc1c0f1b49b6"; url = "https://api.github.com/repos/doctrine/lexer/zipball/31ad66abc0fc9e1a1f2d9bc6a42668d2fbbcd6dd";
sha256 = "0q25i1d6nqkrj4yc35my6b51kn2nksddhddm13vkc7ilkkn20pg7"; sha256 = "1yaznxpd1d8h3ij262hx946nqvhzsgjmafdgnxbaiarc6nslww25";
}; };
}; };
}; };
"dompdf/dompdf" = { "dompdf/dompdf" = {
targetDir = ""; targetDir = "";
src = composerEnv.buildZipPackage { src = composerEnv.buildZipPackage {
name = "dompdf-dompdf-093f2d9739cec57428e39ddadedfd4f3ae862c0f"; name = "dompdf-dompdf-c20247574601700e1f7c8dab39310fca1964dc52";
src = fetchurl { src = fetchurl {
url = "https://api.github.com/repos/dompdf/dompdf/zipball/093f2d9739cec57428e39ddadedfd4f3ae862c0f"; url = "https://api.github.com/repos/dompdf/dompdf/zipball/c20247574601700e1f7c8dab39310fca1964dc52";
sha256 = "0852xp3qfg40byhv7z4bma9bpiyrc3yral3p9xhk8g62jjddvayn"; sha256 = "01r93dlglgvd1dnpq0jpjajr0vwkv56zyi9xafw423lyg2ghn3n0";
}; };
}; };
}; };
@ -175,10 +155,20 @@ let
"egulias/email-validator" = { "egulias/email-validator" = {
targetDir = ""; targetDir = "";
src = composerEnv.buildZipPackage { src = composerEnv.buildZipPackage {
name = "egulias-email-validator-e5997fa97e8790cdae03a9cbd5e78e45e3c7bda7"; name = "egulias-email-validator-ebaaf5be6c0286928352e054f2d5125608e5405e";
src = fetchurl { src = fetchurl {
url = "https://api.github.com/repos/egulias/EmailValidator/zipball/e5997fa97e8790cdae03a9cbd5e78e45e3c7bda7"; url = "https://api.github.com/repos/egulias/EmailValidator/zipball/ebaaf5be6c0286928352e054f2d5125608e5405e";
sha256 = "16s7k5ck8bzk83xfy46fikjyj4jywalriqba8jvd5ngd177s2mw5"; 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" = { "intervention/image" = {
targetDir = ""; targetDir = "";
src = composerEnv.buildZipPackage { src = composerEnv.buildZipPackage {
name = "intervention-image-04be355f8d6734c826045d02a1079ad658322dad"; name = "intervention-image-193324ec88bc5ad4039e57ce9b926ae28dfde813";
src = fetchurl { src = fetchurl {
url = "https://api.github.com/repos/Intervention/image/zipball/04be355f8d6734c826045d02a1079ad658322dad"; url = "https://api.github.com/repos/Intervention/image/zipball/193324ec88bc5ad4039e57ce9b926ae28dfde813";
sha256 = "1cbg43hm2jgwb7gm1r9xcr4cpx8ng1zr93zx6shk9xhjlssnv0bx"; sha256 = "18p2xgbvdzyx9wjid5iviyfx81k7za73b729ar3fyjd646x8niwi";
}; };
}; };
}; };
"knplabs/knp-snappy" = { "knplabs/knp-snappy" = {
targetDir = ""; targetDir = "";
src = composerEnv.buildZipPackage { src = composerEnv.buildZipPackage {
name = "knplabs-knp-snappy-3db13fe45d12a7bccb2b83f622e5a90f7e40b111"; name = "knplabs-knp-snappy-98468898b50c09f26d56d905b79b0f52a2215da6";
src = fetchurl { src = fetchurl {
url = "https://api.github.com/repos/KnpLabs/snappy/zipball/3db13fe45d12a7bccb2b83f622e5a90f7e40b111"; url = "https://api.github.com/repos/KnpLabs/snappy/zipball/98468898b50c09f26d56d905b79b0f52a2215da6";
sha256 = "1l4nln4cg01ywv9lzi5srnm7jq4q1v0210j9sshq34vx8slll9di"; sha256 = "158fsqrnqw0my381f8cfvy5savcvlmpazfbn8j5ds26mldv59csa";
}; };
}; };
}; };
"laravel/framework" = { "laravel/framework" = {
targetDir = ""; targetDir = "";
src = composerEnv.buildZipPackage { src = composerEnv.buildZipPackage {
name = "laravel-framework-082345d76fc6a55b649572efe10b11b03e279d24"; name = "laravel-framework-91e2b9e218afa4e5c377510faa11957042831ba3";
src = fetchurl { src = fetchurl {
url = "https://api.github.com/repos/laravel/framework/zipball/082345d76fc6a55b649572efe10b11b03e279d24"; url = "https://api.github.com/repos/laravel/framework/zipball/91e2b9e218afa4e5c377510faa11957042831ba3";
sha256 = "0gzpj0cgnqncxd4h196k5mvv169xzmy8c6bdwm5pkdy0f2hnb6lq"; 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" = { "laravel/socialite" = {
targetDir = ""; targetDir = "";
src = composerEnv.buildZipPackage { src = composerEnv.buildZipPackage {
name = "laravel-socialite-7dae1b072573809f32ab6dcf4aebb57c8b3e8acf"; name = "laravel-socialite-c7b0193a3753a29aff8ce80aa2f511917e6ed68a";
src = fetchurl { src = fetchurl {
url = "https://api.github.com/repos/laravel/socialite/zipball/7dae1b072573809f32ab6dcf4aebb57c8b3e8acf"; url = "https://api.github.com/repos/laravel/socialite/zipball/c7b0193a3753a29aff8ce80aa2f511917e6ed68a";
sha256 = "1jd65mk5hww4iq6xkky1dkmz8c06czlb466s4svg4vf1xhb9dxqj"; sha256 = "0aym6n2ljqwfxrm5s3h7q98xggnblhk5q4whn46wyyvclqysj2bs";
}; };
}; };
}; };
@ -325,30 +335,30 @@ let
"league/flysystem" = { "league/flysystem" = {
targetDir = ""; targetDir = "";
src = composerEnv.buildZipPackage { src = composerEnv.buildZipPackage {
name = "league-flysystem-b25a361508c407563b34fac6f64a8a17a8819675"; name = "league-flysystem-4729745b1ab737908c7d055148c9a6b3e959832f";
src = fetchurl { src = fetchurl {
url = "https://api.github.com/repos/thephpleague/flysystem/zipball/b25a361508c407563b34fac6f64a8a17a8819675"; url = "https://api.github.com/repos/thephpleague/flysystem/zipball/4729745b1ab737908c7d055148c9a6b3e959832f";
sha256 = "07fd3nqvs9wnl7wwlii3aaalpdldgf6agk2l1ihl3w253qyg8ynn"; sha256 = "13kf4l7mp4mifm09av0w7vfcwnmpvjpsic836xh8a8rlfczgjym2";
}; };
}; };
}; };
"league/flysystem-aws-s3-v3" = { "league/flysystem-aws-s3-v3" = {
targetDir = ""; targetDir = "";
src = composerEnv.buildZipPackage { src = composerEnv.buildZipPackage {
name = "league-flysystem-aws-s3-v3-809474e37b7fb1d1f8bcc0f8a98bc1cae99aa513"; name = "league-flysystem-aws-s3-v3-3e6ce2f972f1470db779f04d29c289dcd2c32837";
src = fetchurl { src = fetchurl {
url = "https://api.github.com/repos/thephpleague/flysystem-aws-s3-v3/zipball/809474e37b7fb1d1f8bcc0f8a98bc1cae99aa513"; url = "https://api.github.com/repos/thephpleague/flysystem-aws-s3-v3/zipball/3e6ce2f972f1470db779f04d29c289dcd2c32837";
sha256 = "0iv1n4y6w4pa2051wxvnkcap08jb86qgfx1hb6w8z5rngg67nz4d"; sha256 = "01l7nbdmrh1vb59m7xhc1kjfz6xrp5871ghrb6c1anwcsh20l9r3";
}; };
}; };
}; };
"league/flysystem-local" = { "league/flysystem-local" = {
targetDir = ""; targetDir = "";
src = composerEnv.buildZipPackage { src = composerEnv.buildZipPackage {
name = "league-flysystem-local-b884d2bf9b53bb4804a56d2df4902bb51e253f00"; name = "league-flysystem-local-61a6a90d6e999e4ddd9ce5adb356de0939060b92";
src = fetchurl { src = fetchurl {
url = "https://api.github.com/repos/thephpleague/flysystem-local/zipball/b884d2bf9b53bb4804a56d2df4902bb51e253f00"; url = "https://api.github.com/repos/thephpleague/flysystem-local/zipball/61a6a90d6e999e4ddd9ce5adb356de0939060b92";
sha256 = "1ggpc08rdaqk2wxkvklfi6l7nqzd6ch2dgf9icr1shfiv09l0mp6"; sha256 = "0mkcqhmxgq5pwbfzqc26z06384v7plva5s71pqyqdaayb1hlyg1f";
}; };
}; };
}; };
@ -395,20 +405,20 @@ let
"masterminds/html5" = { "masterminds/html5" = {
targetDir = ""; targetDir = "";
src = composerEnv.buildZipPackage { src = composerEnv.buildZipPackage {
name = "masterminds-html5-f47dcf3c70c584de14f21143c55d9939631bc6cf"; name = "masterminds-html5-f5ac2c0b0a2eefca70b2ce32a5809992227e75a6";
src = fetchurl { src = fetchurl {
url = "https://api.github.com/repos/Masterminds/html5-php/zipball/f47dcf3c70c584de14f21143c55d9939631bc6cf"; url = "https://api.github.com/repos/Masterminds/html5-php/zipball/f5ac2c0b0a2eefca70b2ce32a5809992227e75a6";
sha256 = "1n2xiyxqmxk9g34wn1lg2yyivwg2ry8iqk8m7g2432gm97rmyb20"; sha256 = "1fbicmaw79rycpywbbxm2fs3lnmb1a7jvfx6d9sb6nvfhsy924fx";
}; };
}; };
}; };
"monolog/monolog" = { "monolog/monolog" = {
targetDir = ""; targetDir = "";
src = composerEnv.buildZipPackage { src = composerEnv.buildZipPackage {
name = "monolog-monolog-437cb3628f4cf6042cc10ae97fc2b8472e48ca1f"; name = "monolog-monolog-4b18b21a5527a3d5ffdac2fd35d3ab25a9597654";
src = fetchurl { src = fetchurl {
url = "https://api.github.com/repos/Seldaek/monolog/zipball/437cb3628f4cf6042cc10ae97fc2b8472e48ca1f"; url = "https://api.github.com/repos/Seldaek/monolog/zipball/4b18b21a5527a3d5ffdac2fd35d3ab25a9597654";
sha256 = "02xaa057fj2bjf6g6zx80rb6ikcgn601ns50ml51b8yp48pjdla3"; sha256 = "1k7ggaygbcm3ls9pkwm5qmf3a1b5i1bd953jy839km0lh4gz637s";
}; };
}; };
}; };
@ -435,10 +445,10 @@ let
"nette/schema" = { "nette/schema" = {
targetDir = ""; targetDir = "";
src = composerEnv.buildZipPackage { src = composerEnv.buildZipPackage {
name = "nette-schema-0462f0166e823aad657c9224d0f849ecac1ba10a"; name = "nette-schema-a6d3a6d1f545f01ef38e60f375d1cf1f4de98188";
src = fetchurl { src = fetchurl {
url = "https://api.github.com/repos/nette/schema/zipball/0462f0166e823aad657c9224d0f849ecac1ba10a"; url = "https://api.github.com/repos/nette/schema/zipball/a6d3a6d1f545f01ef38e60f375d1cf1f4de98188";
sha256 = "0x2pz3mjnx78ndxm5532ld3kwzs9p43l4snk4vjbwnqiqgcpqwn7"; sha256 = "0byhgs7jv0kybv0x3xycvi0x2gh7009a3dfgs02yqzzjbbwvrzgz";
}; };
}; };
}; };
@ -455,10 +465,10 @@ let
"nikic/php-parser" = { "nikic/php-parser" = {
targetDir = ""; targetDir = "";
src = composerEnv.buildZipPackage { src = composerEnv.buildZipPackage {
name = "nikic-php-parser-2218c2252c874a4624ab2f613d86ac32d227bc69"; name = "nikic-php-parser-139676794dc1e9231bf7bcd123cfc0c99182cb13";
src = fetchurl { src = fetchurl {
url = "https://api.github.com/repos/nikic/PHP-Parser/zipball/2218c2252c874a4624ab2f613d86ac32d227bc69"; url = "https://api.github.com/repos/nikic/PHP-Parser/zipball/139676794dc1e9231bf7bcd123cfc0c99182cb13";
sha256 = "1dkil9kcp1abwa4nhpmy8my6srj70994mjh7wnhyw8yy084nf11z"; sha256 = "1z4bvxvxs09099i3khiydmzy8lqjvk8kdani2qipmkq9vzf9pq56";
}; };
}; };
}; };
@ -485,10 +495,10 @@ let
"paragonie/constant_time_encoding" = { "paragonie/constant_time_encoding" = {
targetDir = ""; targetDir = "";
src = composerEnv.buildZipPackage { src = composerEnv.buildZipPackage {
name = "paragonie-constant_time_encoding-58c3f47f650c94ec05a151692652a868995d2938"; name = "paragonie-constant_time_encoding-52a0d99e69f56b9ec27ace92ba56897fe6993105";
src = fetchurl { src = fetchurl {
url = "https://api.github.com/repos/paragonie/constant_time_encoding/zipball/58c3f47f650c94ec05a151692652a868995d2938"; url = "https://api.github.com/repos/paragonie/constant_time_encoding/zipball/52a0d99e69f56b9ec27ace92ba56897fe6993105";
sha256 = "0i9km0lzvc7df9758fm1p3y0679pzvr5m9x3mrz0d2hxlppsm764"; sha256 = "1ja5b3fm5v665igrd37vs28zdipbh1xgh57lil2iaggvh1b8kh4x";
}; };
}; };
}; };
@ -515,10 +525,10 @@ let
"phenx/php-svg-lib" = { "phenx/php-svg-lib" = {
targetDir = ""; targetDir = "";
src = composerEnv.buildZipPackage { src = composerEnv.buildZipPackage {
name = "phenx-php-svg-lib-732faa9fb4309221e2bd9b2fda5de44f947133aa"; name = "phenx-php-svg-lib-46b25da81613a9cf43c83b2a8c2c1bdab27df691";
src = fetchurl { src = fetchurl {
url = "https://api.github.com/repos/dompdf/php-svg-lib/zipball/732faa9fb4309221e2bd9b2fda5de44f947133aa"; url = "https://api.github.com/repos/dompdf/php-svg-lib/zipball/46b25da81613a9cf43c83b2a8c2c1bdab27df691";
sha256 = "0hjf562cm8mvb36c2s63bh5104j6m5c27lwd4pgj3lwmq6mpzns6"; sha256 = "1bpkank11plq1xwxv5psn8ip4pk9qxffmgf71k0bzq26xa2b2v8b";
}; };
}; };
}; };
@ -535,10 +545,10 @@ let
"phpseclib/phpseclib" = { "phpseclib/phpseclib" = {
targetDir = ""; targetDir = "";
src = composerEnv.buildZipPackage { src = composerEnv.buildZipPackage {
name = "phpseclib-phpseclib-c2fb5136162d4be18fdd4da9980696f3aee96d7b"; name = "phpseclib-phpseclib-cfa2013d0f68c062055180dd4328cc8b9d1f30b8";
src = fetchurl { src = fetchurl {
url = "https://api.github.com/repos/phpseclib/phpseclib/zipball/c2fb5136162d4be18fdd4da9980696f3aee96d7b"; url = "https://api.github.com/repos/phpseclib/phpseclib/zipball/cfa2013d0f68c062055180dd4328cc8b9d1f30b8";
sha256 = "1n13c34w27vkrjz87vq7dxzz1xi0vj7xzj5slibdm1wfpvbsbg2m"; sha256 = "1wgzy4fbj565czpn9xasr8lnd9ilh1x3bsalrpx5bskvqr4zspgj";
}; };
}; };
}; };
@ -615,10 +625,10 @@ let
"psr/http-factory" = { "psr/http-factory" = {
targetDir = ""; targetDir = "";
src = composerEnv.buildZipPackage { src = composerEnv.buildZipPackage {
name = "psr-http-factory-e616d01114759c4c489f93b099585439f795fe35"; name = "psr-http-factory-2b4765fddfe3b508ac62f829e852b1501d3f6e8a";
src = fetchurl { src = fetchurl {
url = "https://api.github.com/repos/php-fig/http-factory/zipball/e616d01114759c4c489f93b099585439f795fe35"; url = "https://api.github.com/repos/php-fig/http-factory/zipball/2b4765fddfe3b508ac62f829e852b1501d3f6e8a";
sha256 = "1vzimn3h01lfz0jx0lh3cy9whr3kdh103m1fw07qric4pnnz5kx8"; sha256 = "1ll0pzm0vd5kn45hhwrlkw2z9nqysqkykynn1bk1a73c5cjrghx3";
}; };
}; };
}; };
@ -655,10 +665,10 @@ let
"psy/psysh" = { "psy/psysh" = {
targetDir = ""; targetDir = "";
src = composerEnv.buildZipPackage { src = composerEnv.buildZipPackage {
name = "psy-psysh-750bf031a48fd07c673dbe3f11f72362ea306d0d"; name = "psy-psysh-b6b6cce7d3ee8fbf31843edce5e8f5a72eff4a73";
src = fetchurl { src = fetchurl {
url = "https://api.github.com/repos/bobthecow/psysh/zipball/750bf031a48fd07c673dbe3f11f72362ea306d0d"; url = "https://api.github.com/repos/bobthecow/psysh/zipball/b6b6cce7d3ee8fbf31843edce5e8f5a72eff4a73";
sha256 = "0kcs6g31v6k760dwapdbx34vqliispf8dhwrjjgrv34ysfbwrgvc"; sha256 = "0k3fz94cafw7r8wrs5ybb15wmxiv65yqkyhj2l3m185659iym2p3";
}; };
}; };
}; };
@ -675,20 +685,20 @@ let
"ramsey/collection" = { "ramsey/collection" = {
targetDir = ""; targetDir = "";
src = composerEnv.buildZipPackage { src = composerEnv.buildZipPackage {
name = "ramsey-collection-ad7475d1c9e70b190ecffc58f2d989416af339b4"; name = "ramsey-collection-a4b48764bfbb8f3a6a4d1aeb1a35bb5e9ecac4a5";
src = fetchurl { src = fetchurl {
url = "https://api.github.com/repos/ramsey/collection/zipball/ad7475d1c9e70b190ecffc58f2d989416af339b4"; url = "https://api.github.com/repos/ramsey/collection/zipball/a4b48764bfbb8f3a6a4d1aeb1a35bb5e9ecac4a5";
sha256 = "1a1wqdwdrbzkf2hias2kw9crr31265pn027vm69pr7alyq2qrzfw"; sha256 = "0y5s9rbs023sw94yzvxr8fn9rr7xw03f08zmc9n9jl49zlr5s52p";
}; };
}; };
}; };
"ramsey/uuid" = { "ramsey/uuid" = {
targetDir = ""; targetDir = "";
src = composerEnv.buildZipPackage { src = composerEnv.buildZipPackage {
name = "ramsey-uuid-5f0df49ae5ad6efb7afa69e6bfab4e5b1e080d8e"; name = "ramsey-uuid-91039bc1faa45ba123c4328958e620d382ec7088";
src = fetchurl { src = fetchurl {
url = "https://api.github.com/repos/ramsey/uuid/zipball/5f0df49ae5ad6efb7afa69e6bfab4e5b1e080d8e"; url = "https://api.github.com/repos/ramsey/uuid/zipball/91039bc1faa45ba123c4328958e620d382ec7088";
sha256 = "0gnpj6jsmwr5azxq8ymp0zpscgxcwld7ps2q9rbkbndr9f9cpkkg"; sha256 = "0n6rj0b042fq319gfnp2c4aawawfz8vb2allw30jjfaf8497hh9j";
}; };
}; };
}; };
@ -735,20 +745,20 @@ let
"socialiteproviders/manager" = { "socialiteproviders/manager" = {
targetDir = ""; targetDir = "";
src = composerEnv.buildZipPackage { src = composerEnv.buildZipPackage {
name = "socialiteproviders-manager-a67f194f0f4c4c7616c549afc697b78df9658d44"; name = "socialiteproviders-manager-dea5190981c31b89e52259da9ab1ca4e2b258b21";
src = fetchurl { src = fetchurl {
url = "https://api.github.com/repos/SocialiteProviders/Manager/zipball/a67f194f0f4c4c7616c549afc697b78df9658d44"; url = "https://api.github.com/repos/SocialiteProviders/Manager/zipball/dea5190981c31b89e52259da9ab1ca4e2b258b21";
sha256 = "0r5c6q7dm02hnk574br5mrm1z8amrxjxcbf4n94l02vq9din2c0m"; sha256 = "11lvz1lckglh5nz0nvv0ifw9a2yfcgzlf30h09ci0d6cklkqf3la";
}; };
}; };
}; };
"socialiteproviders/microsoft-azure" = { "socialiteproviders/microsoft-azure" = {
targetDir = ""; targetDir = "";
src = composerEnv.buildZipPackage { src = composerEnv.buildZipPackage {
name = "socialiteproviders-microsoft-azure-7522b27cd8518706b50e03b40a396fb0a6891feb"; name = "socialiteproviders-microsoft-azure-453d62c9d7e3b3b76e94c913fb46e68a33347b16";
src = fetchurl { src = fetchurl {
url = "https://api.github.com/repos/SocialiteProviders/Microsoft-Azure/zipball/7522b27cd8518706b50e03b40a396fb0a6891feb"; url = "https://api.github.com/repos/SocialiteProviders/Microsoft-Azure/zipball/453d62c9d7e3b3b76e94c913fb46e68a33347b16";
sha256 = "0nlxyvcn3vc273rq9cp2yhm72mqfj31csnla5bqsaqdshzfk8pna"; sha256 = "0wcqwpj2x3llnisixz8id8ww0vr1cab7mh19mvf33dymxzydv11h";
}; };
}; };
}; };
@ -765,130 +775,130 @@ let
"socialiteproviders/twitch" = { "socialiteproviders/twitch" = {
targetDir = ""; targetDir = "";
src = composerEnv.buildZipPackage { src = composerEnv.buildZipPackage {
name = "socialiteproviders-twitch-7accf30ae7a3139b757b4ca8f34989c09a3dbee7"; name = "socialiteproviders-twitch-c8791b9d208195b5f02bea432de89d0e612b955d";
src = fetchurl { src = fetchurl {
url = "https://api.github.com/repos/SocialiteProviders/Twitch/zipball/7accf30ae7a3139b757b4ca8f34989c09a3dbee7"; url = "https://api.github.com/repos/SocialiteProviders/Twitch/zipball/c8791b9d208195b5f02bea432de89d0e612b955d";
sha256 = "089i4fwxb32zmbxib0544jfs48wzjyp7bsqss2bf2xx89dsrx4ah"; sha256 = "1abdn0ykx7rirmm64wi2zbw8fj9jr7a7p88p2mnfxd87l2qcc4rc";
}; };
}; };
}; };
"ssddanbrown/htmldiff" = { "ssddanbrown/htmldiff" = {
targetDir = ""; targetDir = "";
src = composerEnv.buildZipPackage { src = composerEnv.buildZipPackage {
name = "ssddanbrown-htmldiff-58f81857c02b50b199273edb4cc339876b5a4038"; name = "ssddanbrown-htmldiff-92da405f8138066834b71ac7bedebbda6327761b";
src = fetchurl { src = fetchurl {
url = "https://api.github.com/repos/ssddanbrown/HtmlDiff/zipball/58f81857c02b50b199273edb4cc339876b5a4038"; url = "https://api.github.com/repos/ssddanbrown/HtmlDiff/zipball/92da405f8138066834b71ac7bedebbda6327761b";
sha256 = "0ixsi2s1igvciwnal1v2w654n4idbfs8ipyiixch7k5nzxl4g7wm"; sha256 = "1l1s8fdpd7k39l7mslk7pqgg6bwk2c3644ifj58y6515sik6m142";
}; };
}; };
}; };
"ssddanbrown/symfony-mailer" = { "ssddanbrown/symfony-mailer" = {
targetDir = ""; targetDir = "";
src = composerEnv.buildZipPackage { src = composerEnv.buildZipPackage {
name = "ssddanbrown-symfony-mailer-2219dcdc5f58e4f382ce8f1e6942d16982aa3012"; name = "ssddanbrown-symfony-mailer-0497d6eb2734fe22b9550f88ae6526611c9df7ae";
src = fetchurl { src = fetchurl {
url = "https://api.github.com/repos/ssddanbrown/symfony-mailer/zipball/2219dcdc5f58e4f382ce8f1e6942d16982aa3012"; url = "https://api.github.com/repos/ssddanbrown/symfony-mailer/zipball/0497d6eb2734fe22b9550f88ae6526611c9df7ae";
sha256 = "14j99gr09mvgjf6jjxbw50zay8n9mg6c0w429hz3vrfaijc2ih8c"; sha256 = "0zs2hhcyv7f5lmz4xn9gp5dixcixgm3gfj4l8chzmqg6x640l59r";
}; };
}; };
}; };
"symfony/console" = { "symfony/console" = {
targetDir = ""; targetDir = "";
src = composerEnv.buildZipPackage { src = composerEnv.buildZipPackage {
name = "symfony-console-c3ebc83d031b71c39da318ca8b7a07ecc67507ed"; name = "symfony-console-a170e64ae10d00ba89e2acbb590dc2e54da8ad8f";
src = fetchurl { src = fetchurl {
url = "https://api.github.com/repos/symfony/console/zipball/c3ebc83d031b71c39da318ca8b7a07ecc67507ed"; url = "https://api.github.com/repos/symfony/console/zipball/a170e64ae10d00ba89e2acbb590dc2e54da8ad8f";
sha256 = "1vvdw2fg08x9788m50isspi06n0lhw6c6nif3di1snxfq0sgb1np"; sha256 = "16fnydlalcv3ihj2z7b0nyp6cc260k5apxpx7q1vb0hdx8b7wl6a";
}; };
}; };
}; };
"symfony/css-selector" = { "symfony/css-selector" = {
targetDir = ""; targetDir = "";
src = composerEnv.buildZipPackage { src = composerEnv.buildZipPackage {
name = "symfony-css-selector-f1d00bddb83a4cb2138564b2150001cb6ce272b1"; name = "symfony-css-selector-1c5d5c2103c3762aff27a27e1e2409e30a79083b";
src = fetchurl { src = fetchurl {
url = "https://api.github.com/repos/symfony/css-selector/zipball/f1d00bddb83a4cb2138564b2150001cb6ce272b1"; url = "https://api.github.com/repos/symfony/css-selector/zipball/1c5d5c2103c3762aff27a27e1e2409e30a79083b";
sha256 = "0nl94wjr5sm4yrx9y0vwk4dzh1hm17f1n3d71hmj7biyzds0474i"; sha256 = "0glngr70w1kx1gqliv1w0zk23pblc993i3apdlmb68gp04b8gd3f";
}; };
}; };
}; };
"symfony/deprecation-contracts" = { "symfony/deprecation-contracts" = {
targetDir = ""; targetDir = "";
src = composerEnv.buildZipPackage { src = composerEnv.buildZipPackage {
name = "symfony-deprecation-contracts-26954b3d62a6c5fd0ea8a2a00c0353a14978d05c"; name = "symfony-deprecation-contracts-0e0d29ce1f20deffb4ab1b016a7257c4f1e789a1";
src = fetchurl { src = fetchurl {
url = "https://api.github.com/repos/symfony/deprecation-contracts/zipball/26954b3d62a6c5fd0ea8a2a00c0353a14978d05c"; url = "https://api.github.com/repos/symfony/deprecation-contracts/zipball/0e0d29ce1f20deffb4ab1b016a7257c4f1e789a1";
sha256 = "1wlaj9ngbyjmgr92gjyf7lsmjfswyh8vpbzq5rdzaxjb6bcsj3dp"; sha256 = "1qhyyfyd7q75nyqivjzrljmqa5qhh09gjs2vz7s3xadq0j525c2b";
}; };
}; };
}; };
"symfony/error-handler" = { "symfony/error-handler" = {
targetDir = ""; targetDir = "";
src = composerEnv.buildZipPackage { src = composerEnv.buildZipPackage {
name = "symfony-error-handler-c7df52182f43a68522756ac31a532dd5b1e6db67"; name = "symfony-error-handler-667a072466c6a53827ed7b119af93806b884cbb3";
src = fetchurl { src = fetchurl {
url = "https://api.github.com/repos/symfony/error-handler/zipball/c7df52182f43a68522756ac31a532dd5b1e6db67"; url = "https://api.github.com/repos/symfony/error-handler/zipball/667a072466c6a53827ed7b119af93806b884cbb3";
sha256 = "1dqr0n3w6zmk96q7x8pz1przkiyb2kyg5mw3d1nmnyry8dryv7c8"; sha256 = "077xdy196mbcaqx6kv7p2sx2ygbmnja0xa9mn34d9b1gjmz7kkvj";
}; };
}; };
}; };
"symfony/event-dispatcher" = { "symfony/event-dispatcher" = {
targetDir = ""; targetDir = "";
src = composerEnv.buildZipPackage { src = composerEnv.buildZipPackage {
name = "symfony-event-dispatcher-2eaf8e63bc5b8cefabd4a800157f0d0c094f677a"; name = "symfony-event-dispatcher-d84384f3f67de3cb650db64d685d70395dacfc3f";
src = fetchurl { src = fetchurl {
url = "https://api.github.com/repos/symfony/event-dispatcher/zipball/2eaf8e63bc5b8cefabd4a800157f0d0c094f677a"; url = "https://api.github.com/repos/symfony/event-dispatcher/zipball/d84384f3f67de3cb650db64d685d70395dacfc3f";
sha256 = "0wwphxh21n502wgldh3kqqhvl1zxh2yncbadwwh05d8sp5mz0ysn"; sha256 = "1d22vxp7fnjd9chl0yd1gnnfdbcgxkcxzl2fynkdf5b1rsx5vly3";
}; };
}; };
}; };
"symfony/event-dispatcher-contracts" = { "symfony/event-dispatcher-contracts" = {
targetDir = ""; targetDir = "";
src = composerEnv.buildZipPackage { src = composerEnv.buildZipPackage {
name = "symfony-event-dispatcher-contracts-7bc61cc2db649b4637d331240c5346dcc7708051"; name = "symfony-event-dispatcher-contracts-8f93aec25d41b72493c6ddff14e916177c9efc50";
src = fetchurl { src = fetchurl {
url = "https://api.github.com/repos/symfony/event-dispatcher-contracts/zipball/7bc61cc2db649b4637d331240c5346dcc7708051"; url = "https://api.github.com/repos/symfony/event-dispatcher-contracts/zipball/8f93aec25d41b72493c6ddff14e916177c9efc50";
sha256 = "1crx2j4g5jn904fwk7919ar9zpyfd5bvgm80lmyg15kinsjm3w4i"; sha256 = "1ybpwhcf82fpa7lj5n2i8jhba2qmq4850svd4nv3v852vwr98ani";
}; };
}; };
}; };
"symfony/finder" = { "symfony/finder" = {
targetDir = ""; targetDir = "";
src = composerEnv.buildZipPackage { src = composerEnv.buildZipPackage {
name = "symfony-finder-5cc9cac6586fc0c28cd173780ca696e419fefa11"; name = "symfony-finder-511c48990be17358c23bf45c5d71ab85d40fb764";
src = fetchurl { src = fetchurl {
url = "https://api.github.com/repos/symfony/finder/zipball/5cc9cac6586fc0c28cd173780ca696e419fefa11"; url = "https://api.github.com/repos/symfony/finder/zipball/511c48990be17358c23bf45c5d71ab85d40fb764";
sha256 = "1f0sbxczwcrzxb03cc2rshfzdrkjfg7nwkbvvi449qscaq1qx2dc"; sha256 = "0m3cm549cnk893dx8dzggbjy49qyx9zln82xi4w4m8rf93pc2ph9";
}; };
}; };
}; };
"symfony/http-foundation" = { "symfony/http-foundation" = {
targetDir = ""; targetDir = "";
src = composerEnv.buildZipPackage { src = composerEnv.buildZipPackage {
name = "symfony-http-foundation-e16b2676a4b3b1fa12378a20b29c364feda2a8d6"; name = "symfony-http-foundation-b4db6b833035477cb70e18d0ae33cb7c2b521759";
src = fetchurl { src = fetchurl {
url = "https://api.github.com/repos/symfony/http-foundation/zipball/e16b2676a4b3b1fa12378a20b29c364feda2a8d6"; url = "https://api.github.com/repos/symfony/http-foundation/zipball/b4db6b833035477cb70e18d0ae33cb7c2b521759";
sha256 = "0d2fgzcxi7sq7j8l1lg2kpfsr6p1xk1lxdjyqr63vihm34i8p42g"; sha256 = "1wwa9ib2imrdq7qrplf2lkbzs2irhjdfrhwdxff5dvcpkvd80qgj";
}; };
}; };
}; };
"symfony/http-kernel" = { "symfony/http-kernel" = {
targetDir = ""; targetDir = "";
src = composerEnv.buildZipPackage { src = composerEnv.buildZipPackage {
name = "symfony-http-kernel-6dc70833fd0ef5e861e17c7854c12d7d86679349"; name = "symfony-http-kernel-b7b5e6cdef670a0c82d015a966ffc7e855861a98";
src = fetchurl { src = fetchurl {
url = "https://api.github.com/repos/symfony/http-kernel/zipball/6dc70833fd0ef5e861e17c7854c12d7d86679349"; url = "https://api.github.com/repos/symfony/http-kernel/zipball/b7b5e6cdef670a0c82d015a966ffc7e855861a98";
sha256 = "1j1z911g4nsx7wjg14q1g7y98qj1k4crxnwxi97i4cjnyqihcj2r"; sha256 = "0ggvbn2qiydv0qcp5rsa5dpjqffj239zcyxiplv5vk4gnc2jy4qr";
}; };
}; };
}; };
"symfony/mime" = { "symfony/mime" = {
targetDir = ""; targetDir = "";
src = composerEnv.buildZipPackage { src = composerEnv.buildZipPackage {
name = "symfony-mime-d7052547a0070cbeadd474e172b527a00d657301"; name = "symfony-mime-decadcf3865918ecfcbfa90968553994ce935a5e";
src = fetchurl { src = fetchurl {
url = "https://api.github.com/repos/symfony/mime/zipball/d7052547a0070cbeadd474e172b527a00d657301"; url = "https://api.github.com/repos/symfony/mime/zipball/decadcf3865918ecfcbfa90968553994ce935a5e";
sha256 = "005jfcpcdn8p2qqv1kyh14jijx36n3rrh9v9a9immfdr0gyv22ca"; sha256 = "0piaiwigyjvy9mn2464ka3cvzkylw3i1b8by5qr52z0mhm6sv7g5";
}; };
}; };
}; };
@ -962,13 +972,13 @@ let
}; };
}; };
}; };
"symfony/polyfill-php81" = { "symfony/polyfill-php83" = {
targetDir = ""; targetDir = "";
src = composerEnv.buildZipPackage { src = composerEnv.buildZipPackage {
name = "symfony-polyfill-php81-c565ad1e63f30e7477fc40738343c62b40bc672d"; name = "symfony-polyfill-php83-86fcae159633351e5fd145d1c47de6c528f8caff";
src = fetchurl { src = fetchurl {
url = "https://api.github.com/repos/symfony/polyfill-php81/zipball/c565ad1e63f30e7477fc40738343c62b40bc672d"; url = "https://api.github.com/repos/symfony/polyfill-php83/zipball/86fcae159633351e5fd145d1c47de6c528f8caff";
sha256 = "0xy6jjnqvc6v1s7wvdm1yplblpbh43ilis93vjrlv7hc7i6ygfzg"; sha256 = "0n81fmn058rn7hr70qdwpsnam57pp27avs3h8xcfnq8d3hci5gr4";
}; };
}; };
}; };
@ -985,80 +995,80 @@ let
"symfony/process" = { "symfony/process" = {
targetDir = ""; targetDir = "";
src = composerEnv.buildZipPackage { src = composerEnv.buildZipPackage {
name = "symfony-process-2114fd60f26a296cc403a7939ab91478475a33d4"; name = "symfony-process-cdb1c81c145fd5aa9b0038bab694035020943381";
src = fetchurl { src = fetchurl {
url = "https://api.github.com/repos/symfony/process/zipball/2114fd60f26a296cc403a7939ab91478475a33d4"; url = "https://api.github.com/repos/symfony/process/zipball/cdb1c81c145fd5aa9b0038bab694035020943381";
sha256 = "1rpcl0qayf0jysfn95c4s73r7fl48sng4m5flxy099z6m6bblwq1"; sha256 = "1dlqa0fivwr3q7z2k7n657dzdwywh4ilv88fiwh3n8r09iblnc65";
}; };
}; };
}; };
"symfony/routing" = { "symfony/routing" = {
targetDir = ""; targetDir = "";
src = composerEnv.buildZipPackage { src = composerEnv.buildZipPackage {
name = "symfony-routing-e56ca9b41c1ec447193474cd86ad7c0b547755ac"; name = "symfony-routing-276e06398f71fa2a973264d94f28150f93cfb907";
src = fetchurl { src = fetchurl {
url = "https://api.github.com/repos/symfony/routing/zipball/e56ca9b41c1ec447193474cd86ad7c0b547755ac"; url = "https://api.github.com/repos/symfony/routing/zipball/276e06398f71fa2a973264d94f28150f93cfb907";
sha256 = "0qsx525fhqnx6g5rn8lavzpqccrg2ixrp88p1g4yjr8x7i2im5nd"; sha256 = "1a9g57sdny5sph2w1i7wizssg90k50msalk7nhcy0p9q584r61g6";
}; };
}; };
}; };
"symfony/service-contracts" = { "symfony/service-contracts" = {
targetDir = ""; targetDir = "";
src = composerEnv.buildZipPackage { src = composerEnv.buildZipPackage {
name = "symfony-service-contracts-d78d39c1599bd1188b8e26bb341da52c3c6d8a66"; name = "symfony-service-contracts-bd1d9e59a81d8fa4acdcea3f617c581f7475a80f";
src = fetchurl { src = fetchurl {
url = "https://api.github.com/repos/symfony/service-contracts/zipball/d78d39c1599bd1188b8e26bb341da52c3c6d8a66"; url = "https://api.github.com/repos/symfony/service-contracts/zipball/bd1d9e59a81d8fa4acdcea3f617c581f7475a80f";
sha256 = "1cgbn2yx2fyrc3c1d85vdriiwwifr1sdg868f3rhq9bh78f03z99"; sha256 = "1q7382ingrvqdh7hm8lrwrimcvlv5qcmp6xrparfh1kmrsf45prv";
}; };
}; };
}; };
"symfony/string" = { "symfony/string" = {
targetDir = ""; targetDir = "";
src = composerEnv.buildZipPackage { src = composerEnv.buildZipPackage {
name = "symfony-string-d9e72497367c23e08bf94176d2be45b00a9d232a"; name = "symfony-string-ffeb9591c61f65a68d47f77d12b83fa530227a69";
src = fetchurl { src = fetchurl {
url = "https://api.github.com/repos/symfony/string/zipball/d9e72497367c23e08bf94176d2be45b00a9d232a"; url = "https://api.github.com/repos/symfony/string/zipball/ffeb9591c61f65a68d47f77d12b83fa530227a69";
sha256 = "0k4vvcjfdp2dni8gzq4rn8d6n0ivd38sfna70lgsh8vlc8rrlhpf"; sha256 = "0mw6issgmncy1xnnszwy0xa8cxqin41k4idk3wv6crdsywzylxkx";
}; };
}; };
}; };
"symfony/translation" = { "symfony/translation" = {
targetDir = ""; targetDir = "";
src = composerEnv.buildZipPackage { src = composerEnv.buildZipPackage {
name = "symfony-translation-9c24b3fdbbe9fb2ef3a6afd8bbaadfd72dad681f"; name = "symfony-translation-7495687c58bfd88b7883823747b0656d90679123";
src = fetchurl { src = fetchurl {
url = "https://api.github.com/repos/symfony/translation/zipball/9c24b3fdbbe9fb2ef3a6afd8bbaadfd72dad681f"; url = "https://api.github.com/repos/symfony/translation/zipball/7495687c58bfd88b7883823747b0656d90679123";
sha256 = "12c13k5ljch06g8xp28kkpv0ml67hy086rk25mzd94hjpawrs4x2"; sha256 = "1s9kxq8nhiwg235jhfg00gzlixnxhcclw3wvmfdn6ijww4s62rqi";
}; };
}; };
}; };
"symfony/translation-contracts" = { "symfony/translation-contracts" = {
targetDir = ""; targetDir = "";
src = composerEnv.buildZipPackage { src = composerEnv.buildZipPackage {
name = "symfony-translation-contracts-acbfbb274e730e5a0236f619b6168d9dedb3e282"; name = "symfony-translation-contracts-b9d2189887bb6b2e0367a9fc7136c5239ab9b05a";
src = fetchurl { src = fetchurl {
url = "https://api.github.com/repos/symfony/translation-contracts/zipball/acbfbb274e730e5a0236f619b6168d9dedb3e282"; url = "https://api.github.com/repos/symfony/translation-contracts/zipball/b9d2189887bb6b2e0367a9fc7136c5239ab9b05a";
sha256 = "1r496j63a6q3ch0ax76qa1apmc4iqf41zc8rf6yn8vkir3nzkqr0"; sha256 = "0y9dp08gw7rk50i5lpci6n2hziajvps97g9j3sz148p0afdr5q3c";
}; };
}; };
}; };
"symfony/uid" = { "symfony/uid" = {
targetDir = ""; targetDir = "";
src = composerEnv.buildZipPackage { src = composerEnv.buildZipPackage {
name = "symfony-uid-6499e28b0ac9f2aa3151e11845bdb5cd21e6bb9d"; name = "symfony-uid-a66efcb71d8bc3a207d9d78e0bd67f3321510355";
src = fetchurl { src = fetchurl {
url = "https://api.github.com/repos/symfony/uid/zipball/6499e28b0ac9f2aa3151e11845bdb5cd21e6bb9d"; url = "https://api.github.com/repos/symfony/uid/zipball/a66efcb71d8bc3a207d9d78e0bd67f3321510355";
sha256 = "12r2jgmwwchmq4apgmb2h1hy6i4cznjpc94976h2qzy3q3yp7zyq"; sha256 = "0aajisswwd938xkjci1nsz6ypmqidf4dhq2xjy55x1l1jpg4vkji";
}; };
}; };
}; };
"symfony/var-dumper" = { "symfony/var-dumper" = {
targetDir = ""; targetDir = "";
src = composerEnv.buildZipPackage { src = composerEnv.buildZipPackage {
name = "symfony-var-dumper-eb980457fa6899840fe1687e8627a03a7d8a3d52"; name = "symfony-var-dumper-7a9cd977cd1c5fed3694bee52990866432af07d7";
src = fetchurl { src = fetchurl {
url = "https://api.github.com/repos/symfony/var-dumper/zipball/eb980457fa6899840fe1687e8627a03a7d8a3d52"; url = "https://api.github.com/repos/symfony/var-dumper/zipball/7a9cd977cd1c5fed3694bee52990866432af07d7";
sha256 = "183igs4i74kljxyq7azpg59wb281mlvy1xgqnb4pkz4dw50jgc2k"; sha256 = "1fsiwhrhgzhj8ncv8vz0dsd1s5v4dgphy71j8jqx814s8rb4xd0s";
}; };
}; };
}; };

View File

@ -64,13 +64,17 @@ stdenv.mkDerivation rec {
make -C tools/migration 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 # the wrapping should go away once lua hook is fixed
postInstall = '' postInstall = ''
${concatMapStringsSep "\n" (module: '' ${concatMapStringsSep "\n" (module: ''
cp -r $communityModules/mod_${module} $out/lib/prosody/modules/ cp -r $communityModules/mod_${module} $out/lib/prosody/modules/
'') (lib.lists.unique(nixosModuleDeps ++ withCommunityModules ++ withOnlyInstalledCommunityModules))} '') (lib.lists.unique(nixosModuleDeps ++ withCommunityModules ++ withOnlyInstalledCommunityModules))}
wrapProgram $out/bin/prosodyctl \
--add-flags '--config "/etc/prosody/prosody.cfg.lua"'
make -C tools/migration install make -C tools/migration install
''; '';

View File

@ -17,8 +17,8 @@ buildFishPlugin rec {
preFixup = '' preFixup = ''
substituteInPlace $out/share/fish/vendor_conf.d/wakatime.fish \ 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 "if type -p wakatime" "if type -p ${lib.getExe wakatime-cli}" \
--replace-fail "(type -p wakatime-cli)" "${lib.getExe wakatime-cli}" --replace-fail "(type -p wakatime)" "${lib.getExe wakatime-cli}"
''; '';
meta = with lib; { meta = with lib; {

View File

@ -2,8 +2,8 @@
let let
pname = "tmuxp"; pname = "tmuxp";
version = "1.46.0"; version = "1.47.0";
hash = "sha256-+aXpsB4mjw9sZLalv3knW8okP+mh2P/nbZCiCwa3UBU="; hash = "sha256-HYY6CEUPpZVvVK9kV4Ehw4wGk5YfIVSkZ0+qqf6Nz4c=";
in in
python3Packages.buildPythonApplication { python3Packages.buildPythonApplication {
inherit pname version; inherit pname version;

View File

@ -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"
}
}

View File

@ -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

Some files were not shown because too many files have changed in this diff Show More