Merge staging-next into staging

This commit is contained in:
github-actions[bot] 2024-02-29 18:01:30 +00:00 committed by GitHub
commit c7d7e4a7a5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
92 changed files with 1504 additions and 1047 deletions

View File

@ -1,37 +1,104 @@
# pkgs.ociTools {#sec-pkgs-ociTools} # pkgs.ociTools {#sec-pkgs-ociTools}
`pkgs.ociTools` is a set of functions for creating containers according to the [OCI container specification v1.0.0](https://github.com/opencontainers/runtime-spec). Beyond that, it makes no assumptions about the container runner you choose to use to run the created container. `pkgs.ociTools` is a set of functions for creating runtime container bundles according to the [OCI runtime specification v1.0.0](https://github.com/opencontainers/runtime-spec/blob/v1.0.0/spec.md).
It makes no assumptions about the container runner you choose to use to run the created container.
The set of functions in `pkgs.ociTools` currently does not handle the [OCI image specification](https://github.com/opencontainers/image-spec).
At a high-level an OCI implementation would download an OCI Image then unpack that image into an OCI Runtime filesystem bundle.
At this point the OCI Runtime Bundle would be run by an OCI Runtime.
`pkgs.ociTools` provides utilities to create OCI Runtime bundles.
## buildContainer {#ssec-pkgs-ociTools-buildContainer} ## buildContainer {#ssec-pkgs-ociTools-buildContainer}
This function creates a simple OCI container that runs a single command inside of it. An OCI container consists of a `config.json` and a rootfs directory. The nix store of the container will contain all referenced dependencies of the given command. This function creates an OCI runtime container (consisting of a `config.json` and a root filesystem directory) that runs a single command inside of it.
The nix store of the container will contain all referenced dependencies of the given command.
The parameters of `buildContainer` with an example value are described below: This function has an assumption that the container will run on POSIX platforms, and sets configurations (such as the user running the process or certain mounts) according to this assumption.
Because of this, a container built with `buildContainer` will not work on Windows or other non-POSIX platforms without modifications to the container configuration.
These modifications aren't supported by `buildContainer`.
For `linux` platforms, `buildContainer` also configures the following namespaces (see {manpage}`unshare(1)`) to isolate the OCI container from the global namespace:
PID, network, mount, IPC, and UTS.
Note that no user namespace is created, which means that you won't be able to run the container unless you are the `root` user.
### Inputs {#ssec-pkgs-ociTools-buildContainer-inputs}
`buildContainer` expects an argument with the following attributes:
`args` (List of String)
: Specifies a set of arguments to run inside the container.
Any packages referenced by `args` will be made available inside the container.
`mounts` (Attribute Set; _optional_)
: Would specify additional mounts that the runtime must make available to the container.
:::{.warning}
As explained in [issue #290879](https://github.com/NixOS/nixpkgs/issues/290879), this attribute is currently ignored.
:::
:::{.note}
`buildContainer` includes a minimal set of necessary filesystems to be mounted into the container, and this set can't be changed with the `mounts` attribute.
:::
_Default value:_ `{}`.
`readonly` (Boolean; _optional_)
: If `true`, sets the container's root filesystem as read-only.
_Default value:_ `false`.
`os` **DEPRECATED**
: Specifies the operating system on which the container filesystem is based on.
If specified, its value should follow the [OCI Image Configuration Specification](https://github.com/opencontainers/image-spec/blob/main/config.md#properties).
According to the linked specification, all possible values for `$GOOS` in [the Go docs](https://go.dev/doc/install/source#environment) should be valid, but will commonly be one of `darwin` or `linux`.
_Default value:_ `"linux"`.
`arch` **DEPRECATED**
: Used to specify the architecture for which the binaries in the container filesystem have been compiled.
If specified, its value should follow the [OCI Image Configuration Specification](https://github.com/opencontainers/image-spec/blob/main/config.md#properties).
According to the linked specification, all possible values for `$GOARCH` in [the Go docs](https://go.dev/doc/install/source#environment) should be valid, but will commonly be one of `386`, `amd64`, `arm`, or `arm64`.
_Default value:_ `x86_64`.
### Examples {#ssec-pkgs-ociTools-buildContainer-examples}
::: {.example #ex-ociTools-buildContainer-bash}
# Creating an OCI runtime container that runs `bash`
This example uses `ociTools.buildContainer` to create a simple container that runs `bash`.
```nix ```nix
buildContainer { { ociTools, lib, bash }:
ociTools.buildContainer {
args = [ args = [
(with pkgs; (lib.getExe bash)
writeScript "run.sh" ''
#!${bash}/bin/bash
exec ${bash}/bin/bash
'').outPath
]; ];
mounts = {
"/data" = {
type = "none";
source = "/var/lib/mydata";
options = [ "bind" ];
};
};
readonly = false; readonly = false;
} }
``` ```
- `args` specifies a set of arguments to run inside the container. This is the only required argument for `buildContainer`. All referenced packages inside the derivation will be made available inside the container. As an example of how to run the container generated by this package, we'll use `runc` to start the container.
Any other tool that supports OCI containers could be used instead.
- `mounts` specifies additional mount points chosen by the user. By default only a minimal set of necessary filesystems are mounted into the container (e.g procfs, cgroupfs) ```shell
$ nix-build
(some output removed for clarity)
/nix/store/7f9hgx0arvhzp2a3qphp28rxbn748l25-join
- `readonly` makes the container's rootfs read-only if it is set to true. The default value is false `false`. $ cd /nix/store/7f9hgx0arvhzp2a3qphp28rxbn748l25-join
$ nix-shell -p runc
[nix-shell:/nix/store/7f9hgx0arvhzp2a3qphp28rxbn748l25-join]$ sudo runc run ocitools-example
help
GNU bash, version 5.2.26(1)-release (x86_64-pc-linux-gnu)
(some output removed for clarity)
```
:::

View File

@ -1,81 +1,174 @@
# pkgs.portableService {#sec-pkgs-portableService} # pkgs.portableService {#sec-pkgs-portableService}
`pkgs.portableService` is a function to create _portable service images_, `pkgs.portableService` is a function to create [Portable Services](https://systemd.io/PORTABLE_SERVICES/) in a read-only, immutable, `squashfs` raw disk image.
as read-only, immutable, `squashfs` archives. This lets you use Nix to build images which can be run on many recent Linux distributions.
systemd supports a concept of [Portable Services](https://systemd.io/PORTABLE_SERVICES/).
Portable Services are a delivery method for system services that uses two specific features of container management:
* Applications are bundled. I.e. multiple services, their binaries and
all their dependencies are packaged in an image, and are run directly from it.
* Stricter default security policies, i.e. sandboxing of applications.
This allows using Nix to build images which can be run on many recent Linux distributions.
The primary tool for interacting with Portable Services is `portablectl`,
and they are managed by the `systemd-portabled` system service.
::: {.note} ::: {.note}
Portable services are supported starting with systemd 239 (released on 2018-06-22). Portable services are supported starting with systemd 239 (released on 2018-06-22).
::: :::
A very simple example of using `portableService` is described below: The generated image will contain the file system structure as required by the Portable Services specification, along with the packages given to `portableService` and all of their dependencies.
When generated, the image will exist in the Nix store with the `.raw` file extension, as required by the specification.
See [](#ex-portableService-hello) to understand how to use the output of `portableService`.
## Inputs {#ssec-pkgs-portableService-inputs}
`portableService` expects one argument with the following attributes:
`pname` (String)
: The name of the portable service.
The generated image will be named according to the template `$pname_$version.raw`, which is supported by the Portable Services specification.
`version` (String)
: The version of the portable service.
The generated image will be named according to the template `$pname_$version.raw`, which is supported by the Portable Services specification.
`units` (List of Attribute Set)
: A list of derivations for systemd unit files.
Each derivation must produce a single file, and must have a name that starts with the value of `pname` and ends with the suffix of the unit type (e.g. ".service", ".socket", ".timer", and so on).
See [](#ex-portableService-hello) to better understand this naming constraint.
`description` (String or Null; _optional_)
: If specified, the value is added as `PORTABLE_PRETTY_NAME` to the `/etc/os-release` file in the generated image.
This could be used to provide more information to anyone inspecting the image.
_Default value:_ `null`.
`homepage` (String or Null; _optional_)
: If specified, the value is added as `HOME_URL` to the `/etc/os-release` file in the generated image.
This could be used to provide more information to anyone inspecting the image.
_Default value:_ `null`.
`symlinks` (List of Attribute Set; _optional_)
: A list of attribute sets in the format `{object, symlink}`.
For each item in the list, `portableService` will create a symlink in the path specified by `symlink` (relative to the root of the image) that points to `object`.
All packages that `object` depends on and their dependencies are automatically copied into the image.
This can be used to create symlinks for applications that assume some files to exist globally (`/etc/ssl` or `/bin/bash`, for example).
See [](#ex-portableService-symlinks) to understand how to do that.
_Default value:_ `[]`.
`contents` (List of Attribute Set; _optional_)
: A list of additional derivations to be included as-is in the image.
These derivations will be included directly in a `/nix/store` directory inside the image.
_Default value:_ `[]`.
`squashfsTools` (Attribute Set; _optional_)
: Allows you to override the package that provides {manpage}`mksquashfs(1)`, which is used internally by `portableService`.
_Default value:_ `pkgs.squashfsTools`.
`squash-compression` (String; _optional_)
: Passed as the compression option to {manpage}`mksquashfs(1)`, which is used internally by `portableService`.
_Default value:_ `"xz -Xdict-size 100%"`.
`squash-block-size` (String; _optional_)
: Passed as the block size option to {manpage}`mksquashfs(1)`, which is used internally by `portableService`.
_Default value:_ `"1M"`.
## Examples {#ssec-pkgs-portableService-examples}
[]{#ex-pkgs-portableService} []{#ex-pkgs-portableService}
:::{.example #ex-portableService-hello}
# Building a Portable Service image
The following example builds a Portable Service image with the `hello` package, along with a service unit that runs it.
```nix ```nix
pkgs.portableService { { lib, writeText, portableService, hello }:
pname = "demo"; let
version = "1.0"; hello-service = writeText "hello.service" ''
units = [ demo-service demo-socket ]; [Unit]
Description=Hello world service
[Service]
Type=oneshot
ExecStart=${lib.getExe hello}
'';
in
portableService {
pname = "hello";
inherit (hello) version;
units = [ hello-service ];
} }
``` ```
The above example will build an squashfs archive image in `result/$pname_$version.raw`. The image will contain the After building the package, the generated image can be loaded into a system through {manpage}`portablectl(1)`:
file system structure as required by the portable service specification, and a subset of the Nix store with all the
dependencies of the two derivations in the `units` list.
`units` must be a list of derivations, and their names must be prefixed with the service name (`"demo"` in this case).
Otherwise `systemd-portabled` will ignore them.
::: {.note} ```shell
The `.raw` file extension of the image is required by the portable services specification. $ nix-build
(some output removed for clarity)
/nix/store/8c20z1vh7z8w8dwagl8w87b45dn5k6iq-hello-img-2.12.1
$ portablectl attach /nix/store/8c20z1vh7z8w8dwagl8w87b45dn5k6iq-hello-img-2.12.1/hello_2.12.1.raw
Created directory /etc/systemd/system.attached.
Created directory /etc/systemd/system.attached/hello.service.d.
Written /etc/systemd/system.attached/hello.service.d/20-portable.conf.
Created symlink /etc/systemd/system.attached/hello.service.d/10-profile.conf → /usr/lib/systemd/portable/profile/default/service.conf.
Copied /etc/systemd/system.attached/hello.service.
Created symlink /etc/portables/hello_2.12.1.raw → /nix/store/8c20z1vh7z8w8dwagl8w87b45dn5k6iq-hello-img-2.12.1/hello_2.12.1.raw.
$ systemctl start hello
$ journalctl -u hello
Feb 28 22:39:16 hostname systemd[1]: Starting Hello world service...
Feb 28 22:39:16 hostname hello[102887]: Hello, world!
Feb 28 22:39:16 hostname systemd[1]: hello.service: Deactivated successfully.
Feb 28 22:39:16 hostname systemd[1]: Finished Hello world service.
$ portablectl detach hello_2.12.1
Removed /etc/systemd/system.attached/hello.service.
Removed /etc/systemd/system.attached/hello.service.d/10-profile.conf.
Removed /etc/systemd/system.attached/hello.service.d/20-portable.conf.
Removed /etc/systemd/system.attached/hello.service.d.
Removed /etc/portables/hello_2.12.1.raw.
Removed /etc/systemd/system.attached.
```
::: :::
Some other options available are: :::{.example #ex-portableService-symlinks}
- `description`, `homepage` # Specifying symlinks when building a Portable Service image
Are added to the `/etc/os-release` in the image and are shown by the portable services tooling. Some services may expect files or directories to be available globally.
Default to empty values, not added to os-release. An example is a service which expects all trusted SSL certificates to exist in a specific location by default.
- `symlinks`
A list of attribute sets {object, symlink}. Symlinks will be created in the root filesystem of the image to To make things available globally, you must specify the `symlinks` attribute when using `portableService`.
objects in the Nix store. Defaults to an empty list. The following package builds on the package from [](#ex-portableService-hello) to make `/etc/ssl` available globally (this is only for illustrative purposes, because `hello` doesn't use `/etc/ssl`).
- `contents`
A list of additional derivations to be included in the image Nix store, as-is. Defaults to an empty list.
- `squashfsTools`
Defaults to `pkgs.squashfsTools`, allows you to override the package that provides `mksquashfs`.
- `squash-compression`, `squash-block-size`
Options to `mksquashfs`. Default to `"xz -Xdict-size 100%"` and `"1M"` respectively.
A typical usage of `symlinks` would be:
```nix ```nix
symlinks = [ { lib, writeText, portableService, hello, cacert }:
{ object = "${pkgs.cacert}/etc/ssl"; symlink = "/etc/ssl"; } let
{ object = "${pkgs.bash}/bin/bash"; symlink = "/bin/sh"; } hello-service = writeText "hello.service" ''
{ object = "${pkgs.php}/bin/php"; symlink = "/usr/bin/php"; } [Unit]
]; Description=Hello world service
```
to create these symlinks for legacy applications that assume them existing globally.
Once the image is created, and deployed on a host in `/var/lib/portables/`, you can attach the image and run the service. As root run: [Service]
```console Type=oneshot
portablectl attach demo_1.0.raw ExecStart=${lib.getExe hello}
systemctl enable --now demo.socket '';
systemctl enable --now demo.service in
portableService {
pname = "hello";
inherit (hello) version;
units = [ hello-service ];
symlinks = [
{ object = "${cacert}/etc/ssl"; symlink = "/etc/ssl"; }
];
}
``` ```
::: {.note}
See the [man page](https://www.freedesktop.org/software/systemd/man/portablectl.html) of `portablectl` for more info on its usage.
::: :::

View File

@ -318,5 +318,7 @@
"passwd(5)": "https://man.archlinux.org/man/passwd.5", "passwd(5)": "https://man.archlinux.org/man/passwd.5",
"group(5)": "https://man.archlinux.org/man/group.5", "group(5)": "https://man.archlinux.org/man/group.5",
"login.defs(5)": "https://man.archlinux.org/man/login.defs.5", "login.defs(5)": "https://man.archlinux.org/man/login.defs.5",
"nix-shell(1)": "https://nixos.org/manual/nix/stable/command-ref/nix-shell.html" "unshare(1)": "https://man.archlinux.org/man/unshare.1.en",
"nix-shell(1)": "https://nixos.org/manual/nix/stable/command-ref/nix-shell.html",
"mksquashfs(1)": "https://man.archlinux.org/man/extra/squashfs-tools/mksquashfs.1.en"
} }

View File

@ -145,6 +145,12 @@ rec {
in fix g in fix g
``` ```
:::{.note}
The argument to the given fixed-point function after applying an overlay will *not* refer to its own return value, but rather to the value after evaluating the overlay function.
The given fixed-point function is called with a separate argument than if it was evaluated with `lib.fix`.
:::
:::{.example} :::{.example}
# Extend a fixed-point function with an overlay # Extend a fixed-point function with an overlay
@ -230,13 +236,6 @@ rec {
fix (extends (final: prev: { c = final.a + final.b; }) f) fix (extends (final: prev: { c = final.a + final.b; }) f)
=> { a = 1; b = 3; c = 4; } => { a = 1; b = 3; c = 4; }
:::{.note}
The argument to the given fixed-point function after applying an overlay will *not* refer to its own return value, but rather to the value after evaluating the overlay function.
The given fixed-point function is called with a separate argument than if it was evaluated with `lib.fix`.
The new argument
:::
*/ */
extends = extends =
# The overlay to apply to the fixed-point function # The overlay to apply to the fixed-point function

View File

@ -213,7 +213,7 @@ in
serviceConfig = { serviceConfig = {
User = "searx"; User = "searx";
Group = "searx"; Group = "searx";
ExecStart = "${cfg.package}/bin/searx-run"; ExecStart = lib.getExe cfg.package;
} // optionalAttrs (cfg.environmentFile != null) } // optionalAttrs (cfg.environmentFile != null)
{ EnvironmentFile = builtins.toPath cfg.environmentFile; }; { EnvironmentFile = builtins.toPath cfg.environmentFile; };
environment = { environment = {

View File

@ -132,6 +132,28 @@ in
default = "WriteReplica"; default = "WriteReplica";
type = lib.types.enum [ "WriteReplica" "WriteReplicaNoUI" "ReadOnlyReplica" ]; type = lib.types.enum [ "WriteReplica" "WriteReplicaNoUI" "ReadOnlyReplica" ];
}; };
online_backup = {
path = lib.mkOption {
description = lib.mdDoc "Path to the output directory for backups.";
type = lib.types.path;
default = "/var/lib/kanidm/backups";
};
schedule = lib.mkOption {
description = lib.mdDoc "The schedule for backups in cron format.";
type = lib.types.str;
default = "00 22 * * *";
};
versions = lib.mkOption {
description = lib.mdDoc ''
Number of backups to keep.
The default is set to `0`, in order to disable backups by default.
'';
type = lib.types.ints.unsigned;
default = 0;
example = 7;
};
};
}; };
}; };
default = { }; default = { };
@ -233,6 +255,14 @@ in
environment.systemPackages = lib.mkIf cfg.enableClient [ cfg.package ]; environment.systemPackages = lib.mkIf cfg.enableClient [ cfg.package ];
systemd.tmpfiles.settings."10-kanidm" = {
${cfg.serverSettings.online_backup.path}.d = {
mode = "0700";
user = "kanidm";
group = "kanidm";
};
};
systemd.services.kanidm = lib.mkIf cfg.enableServer { systemd.services.kanidm = lib.mkIf cfg.enableServer {
description = "kanidm identity management daemon"; description = "kanidm identity management daemon";
wantedBy = [ "multi-user.target" ]; wantedBy = [ "multi-user.target" ];
@ -253,6 +283,8 @@ in
BindPaths = [ BindPaths = [
# To create the socket # To create the socket
"/run/kanidmd:/run/kanidmd" "/run/kanidmd:/run/kanidmd"
# To store backups
cfg.serverSettings.online_backup.path
]; ];
AmbientCapabilities = [ "CAP_NET_BIND_SERVICE" ]; AmbientCapabilities = [ "CAP_NET_BIND_SERVICE" ];

View File

@ -36,7 +36,7 @@ import ./make-test-python.nix ({ pkgs, ...} :
}; };
# fancy setup: run in uWSGI and use nginx as proxy # fancy setup: run in uWSGI and use nginx as proxy
nodes.fancy = { ... }: { nodes.fancy = { config, ... }: {
imports = [ ../modules/profiles/minimal.nix ]; imports = [ ../modules/profiles/minimal.nix ];
services.searx = { services.searx = {
@ -65,7 +65,7 @@ import ./make-test-python.nix ({ pkgs, ...} :
include ${pkgs.nginx}/conf/uwsgi_params; include ${pkgs.nginx}/conf/uwsgi_params;
uwsgi_pass unix:/run/searx/uwsgi.sock; uwsgi_pass unix:/run/searx/uwsgi.sock;
''; '';
locations."/searx/static/".alias = "${pkgs.searx}/share/static/"; locations."/searx/static/".alias = "${config.services.searx.package}/share/static/";
}; };
# allow nginx access to the searx socket # allow nginx access to the searx socket
@ -108,7 +108,7 @@ import ./make-test-python.nix ({ pkgs, ...} :
"${pkgs.curl}/bin/curl --fail http://localhost/searx >&2" "${pkgs.curl}/bin/curl --fail http://localhost/searx >&2"
) )
fancy.succeed( fancy.succeed(
"${pkgs.curl}/bin/curl --fail http://localhost/searx/static/themes/oscar/js/bootstrap.min.js >&2" "${pkgs.curl}/bin/curl --fail http://localhost/searx/static/themes/simple/js/leaflet.js >&2"
) )
''; '';
}) })

File diff suppressed because it is too large Load Diff

View File

@ -50,12 +50,12 @@
}; };
arduino = buildGrammar { arduino = buildGrammar {
language = "arduino"; language = "arduino";
version = "0.0.0+rev=2372f16"; version = "0.0.0+rev=a282270";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "ObserverOfTime"; owner = "ObserverOfTime";
repo = "tree-sitter-arduino"; repo = "tree-sitter-arduino";
rev = "2372f163b8416eeea674686fe0222e39fa06bad5"; rev = "a282270857b7be447b8be91411468349a31d73b7";
hash = "sha256-nX0JXEP+fAADlKqMA1rrhKlUS4JMrOtFTQ/wxoOxcIY="; hash = "sha256-NAE/E3glGz509nOKO5xsJIwe1Q2OSh6Aj5krUOVhqvw=";
}; };
meta.homepage = "https://github.com/ObserverOfTime/tree-sitter-arduino"; meta.homepage = "https://github.com/ObserverOfTime/tree-sitter-arduino";
}; };
@ -116,14 +116,14 @@
}; };
bass = buildGrammar { bass = buildGrammar {
language = "bass"; language = "bass";
version = "0.0.0+rev=27f110d"; version = "0.0.0+rev=c9ba456";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "amaanq"; owner = "vito";
repo = "tree-sitter-bass"; repo = "tree-sitter-bass";
rev = "27f110dfe79620993f5493ffa0d0f2fe12d250ed"; rev = "c9ba4568af24cd3403029730687c0a43d1350a43";
hash = "sha256-OmYtp2TAsAjw2fgdSezHUrP46b/QXgCbDeJa4ANrtvY="; hash = "sha256-F131TkIt2mW2n8Da3zI1/B0yoT9Ezo2hWoptpsdMrb4=";
}; };
meta.homepage = "https://github.com/amaanq/tree-sitter-bass"; meta.homepage = "https://github.com/vito/tree-sitter-bass";
}; };
beancount = buildGrammar { beancount = buildGrammar {
language = "beancount"; language = "beancount";
@ -182,12 +182,12 @@
}; };
c = buildGrammar { c = buildGrammar {
language = "c"; language = "c";
version = "0.0.0+rev=72a60ea"; version = "0.0.0+rev=652433f";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "tree-sitter"; owner = "tree-sitter";
repo = "tree-sitter-c"; repo = "tree-sitter-c";
rev = "72a60ea888fb59a8e143883661f021139c905b74"; rev = "652433fce487d8c3943207da38e3e65e4550e288";
hash = "sha256-huEi/PEzjG9mtwL30mJ2oVy+D64d8I9Z/LZc856qlbw="; hash = "sha256-Ld8ufwdOVqRYb9YpOa6z6fWoA+gj0w0nlq3dqhFCap8=";
}; };
meta.homepage = "https://github.com/tree-sitter/tree-sitter-c"; meta.homepage = "https://github.com/tree-sitter/tree-sitter-c";
}; };
@ -226,12 +226,12 @@
}; };
chatito = buildGrammar { chatito = buildGrammar {
language = "chatito"; language = "chatito";
version = "0.0.0+rev=308b591"; version = "0.0.0+rev=7162ec1";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "ObserverOfTime"; owner = "ObserverOfTime";
repo = "tree-sitter-chatito"; repo = "tree-sitter-chatito";
rev = "308b5913fd2ae6b527183ba1b3a490f90da32012"; rev = "7162ec1e8e9154fb334e84aa7637a4af051dfe42";
hash = "sha256-oD49Rc1J/CkIAqEFI87efdzGLYl73se0ekpQll/Mpxs="; hash = "sha256-phvENW6wEqhKQakeXxsTclhSmFWFgfK9ztCszOGuaYY=";
}; };
meta.homepage = "https://github.com/ObserverOfTime/tree-sitter-chatito"; meta.homepage = "https://github.com/ObserverOfTime/tree-sitter-chatito";
}; };
@ -248,12 +248,12 @@
}; };
cmake = buildGrammar { cmake = buildGrammar {
language = "cmake"; language = "cmake";
version = "0.0.0+rev=73ab4b8"; version = "0.0.0+rev=f8de25f";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "uyha"; owner = "uyha";
repo = "tree-sitter-cmake"; repo = "tree-sitter-cmake";
rev = "73ab4b8e9522f014a67f87f585e820d36fa47408"; rev = "f8de25f30757a2def006a7c144354710fe63dcf3";
hash = "sha256-5X4ho6tqPZFQWqoQ6WBsfuA+RbxTX5XzX7xzyFSTifw="; hash = "sha256-J8Ro3J9kkH7k/v+nwekCotoS/l28yInhk9p/xaSbegc=";
}; };
meta.homepage = "https://github.com/uyha/tree-sitter-cmake"; meta.homepage = "https://github.com/uyha/tree-sitter-cmake";
}; };
@ -314,12 +314,12 @@
}; };
cpp = buildGrammar { cpp = buildGrammar {
language = "cpp"; language = "cpp";
version = "0.0.0+rev=3d98832"; version = "0.0.0+rev=e0c1678";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "tree-sitter"; owner = "tree-sitter";
repo = "tree-sitter-cpp"; repo = "tree-sitter-cpp";
rev = "3d988327a1cfd724c0d195b37a1056174fae99bc"; rev = "e0c1678a78731e78655b7d953efb4daecf58be46";
hash = "sha256-s7+dRY3OWE7iz9nlqHEOyLlrWaDPF0buDSIjsRYPc7s="; hash = "sha256-CdNCVDMAmeJrHgPb2JLxFHj/tHnUYC8flmxj+UaVXTo=";
}; };
meta.homepage = "https://github.com/tree-sitter/tree-sitter-cpp"; meta.homepage = "https://github.com/tree-sitter/tree-sitter-cpp";
}; };
@ -348,12 +348,12 @@
}; };
cuda = buildGrammar { cuda = buildGrammar {
language = "cuda"; language = "cuda";
version = "0.0.0+rev=2c6e806"; version = "0.0.0+rev=221179d";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "theHamsta"; owner = "theHamsta";
repo = "tree-sitter-cuda"; repo = "tree-sitter-cuda";
rev = "2c6e806949197e7898910c78f514a3b7ff679068"; rev = "221179d4287a2c24c08e4c67ff383ef67dc32156";
hash = "sha256-JAShJo+jDv4kzFCPID0C3EokmeiWxMVcJoEsVOzKBEw="; hash = "sha256-e01PTB+SduikiiDvOW411v0pBXCqOFBWlu3HgmM6jFg=";
}; };
meta.homepage = "https://github.com/theHamsta/tree-sitter-cuda"; meta.homepage = "https://github.com/theHamsta/tree-sitter-cuda";
}; };
@ -370,12 +370,12 @@
}; };
d = buildGrammar { d = buildGrammar {
language = "d"; language = "d";
version = "0.0.0+rev=d9a1a2e"; version = "0.0.0+rev=a33d400";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "gdamore"; owner = "gdamore";
repo = "tree-sitter-d"; repo = "tree-sitter-d";
rev = "d9a1a2ed77017c23f715643f4739433a5ea7ab6f"; rev = "a33d400f025d6bbd37b4c681c93054976f579890";
hash = "sha256-GgecDpsZMBTEqHjSbNyUUA6HzGuYEgtqZ9AB+6+fsDo="; hash = "sha256-LUb+1dTj1IP5ZtWaWBT8UWnGEqb0DJodgbkwnT7xywk=";
}; };
meta.homepage = "https://github.com/gdamore/tree-sitter-d"; meta.homepage = "https://github.com/gdamore/tree-sitter-d";
}; };
@ -469,12 +469,12 @@
}; };
dtd = buildGrammar { dtd = buildGrammar {
language = "dtd"; language = "dtd";
version = "0.0.0+rev=2743ff8"; version = "0.0.0+rev=52b3783";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "tree-sitter-grammars"; owner = "tree-sitter-grammars";
repo = "tree-sitter-xml"; repo = "tree-sitter-xml";
rev = "2743ff864eac85cec830ff400f2e0024b9ca588b"; rev = "52b3783d0c89a69ec64b2d49eee95f44a7fdcd2a";
hash = "sha256-wuj3Q+LAtAS99pwJUD+3BzndVeNhzvQlaugzTHRvUjI="; hash = "sha256-DVx/JwQXFEgY3XXo2rOVIWBRHdqprNgja9lAashkh5g=";
}; };
location = "dtd"; location = "dtd";
meta.homepage = "https://github.com/tree-sitter-grammars/tree-sitter-xml"; meta.homepage = "https://github.com/tree-sitter-grammars/tree-sitter-xml";
@ -526,12 +526,12 @@
}; };
elm = buildGrammar { elm = buildGrammar {
language = "elm"; language = "elm";
version = "0.0.0+rev=c26afd7"; version = "0.0.0+rev=09dbf22";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "elm-tooling"; owner = "elm-tooling";
repo = "tree-sitter-elm"; repo = "tree-sitter-elm";
rev = "c26afd7f2316f689410a1622f1780eff054994b1"; rev = "09dbf221d7491dc8d8839616b27c21b9c025c457";
hash = "sha256-vYN1E49IpsvTUmxuzRyydCmhYZYGndcZPMBYgSMudrE="; hash = "sha256-Bq2oWtqEAsKyV0iHNKC+hXW4fh4yUwbfUhPtZWg5pug=";
}; };
meta.homepage = "https://github.com/elm-tooling/tree-sitter-elm"; meta.homepage = "https://github.com/elm-tooling/tree-sitter-elm";
}; };
@ -592,25 +592,36 @@
}; };
faust = buildGrammar { faust = buildGrammar {
language = "faust"; language = "faust";
version = "0.0.0+rev=9e514af"; version = "0.0.0+rev=f3b9274";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "khiner"; owner = "khiner";
repo = "tree-sitter-faust"; repo = "tree-sitter-faust";
rev = "9e514af33bfe061d0ccf1999dbcc93fca91f133c"; rev = "f3b9274514b5f9bf6b0dd4a01c30f9cc15c58bc4";
hash = "sha256-FZ5wl6Pl2Y86dNpaRMTh8Q7TEx/s0YoV9/H1J+qwlwo="; hash = "sha256-JwR8LCEptgQmEG/ruK5ukIGCNtvKJw5bobZ0WXF1ulY=";
}; };
meta.homepage = "https://github.com/khiner/tree-sitter-faust"; meta.homepage = "https://github.com/khiner/tree-sitter-faust";
}; };
fennel = buildGrammar { fennel = buildGrammar {
language = "fennel"; language = "fennel";
version = "0.0.0+rev=15e4f8c"; version = "0.0.0+rev=215e391";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "travonted"; owner = "alexmozaidze";
repo = "tree-sitter-fennel"; repo = "tree-sitter-fennel";
rev = "15e4f8c417281768db17080c4447297f8ff5343a"; rev = "215e3913524abc119daa9db7cf6ad2f2f5620189";
hash = "sha256-BdhgDS+yJ/DUYJknVksLSNHvei+MOkqVW7gp6AffKhU="; hash = "sha256-myh0+ZNDzdUZFAdsw8uVGyo0VYh0wKNZ11vlJKTSZnA=";
}; };
meta.homepage = "https://github.com/travonted/tree-sitter-fennel"; meta.homepage = "https://github.com/alexmozaidze/tree-sitter-fennel";
};
fidl = buildGrammar {
language = "fidl";
version = "0.0.0+rev=bdbb635";
src = fetchFromGitHub {
owner = "google";
repo = "tree-sitter-fidl";
rev = "bdbb635a7f5035e424f6173f2f11b9cd79703f8d";
hash = "sha256-+s9AC7kAfPumREnc7xCSsYiaDwLp3uirLntwd2wK6Wo=";
};
meta.homepage = "https://github.com/google/tree-sitter-fidl";
}; };
firrtl = buildGrammar { firrtl = buildGrammar {
language = "firrtl"; language = "firrtl";
@ -702,12 +713,12 @@
}; };
gdscript = buildGrammar { gdscript = buildGrammar {
language = "gdscript"; language = "gdscript";
version = "0.0.0+rev=03f20b9"; version = "0.0.0+rev=b5dea4d";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "PrestonKnopp"; owner = "PrestonKnopp";
repo = "tree-sitter-gdscript"; repo = "tree-sitter-gdscript";
rev = "03f20b94707a21bed90bb95101684bc4036139ce"; rev = "b5dea4d852db65f0872d849c24533eb121e03c76";
hash = "sha256-im87Rws9PPcBWNN0M8PNqnthJZlWKzn3iPLMGR+jtGo="; hash = "sha256-/fmg7DfVX62F3sEovFaMs4dTA4rvPexOdQop3257op4=";
}; };
meta.homepage = "https://github.com/PrestonKnopp/tree-sitter-gdscript"; meta.homepage = "https://github.com/PrestonKnopp/tree-sitter-gdscript";
}; };
@ -735,12 +746,12 @@
}; };
gitattributes = buildGrammar { gitattributes = buildGrammar {
language = "gitattributes"; language = "gitattributes";
version = "0.0.0+rev=3d03b37"; version = "0.0.0+rev=0750b59";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "ObserverOfTime"; owner = "ObserverOfTime";
repo = "tree-sitter-gitattributes"; repo = "tree-sitter-gitattributes";
rev = "3d03b37395f5707b6a2bfb43f62957fe0e669c0c"; rev = "0750b5904f37d6b2f47f6e4655001c2c35a172ec";
hash = "sha256-+DvxhL+m3Nagv0GXWWWYsIIDuWNzlK1vNVLOO0qBl2E="; hash = "sha256-BXsF++uut1WWxe67E+CUh3e6VWrezNJaPfYJhXB0VlY=";
}; };
meta.homepage = "https://github.com/ObserverOfTime/tree-sitter-gitattributes"; meta.homepage = "https://github.com/ObserverOfTime/tree-sitter-gitattributes";
}; };
@ -999,23 +1010,23 @@
}; };
hlsl = buildGrammar { hlsl = buildGrammar {
language = "hlsl"; language = "hlsl";
version = "0.0.0+rev=840fd07"; version = "0.0.0+rev=f820ee8";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "theHamsta"; owner = "theHamsta";
repo = "tree-sitter-hlsl"; repo = "tree-sitter-hlsl";
rev = "840fd07f09304bca415b93a15483e9ab1e44bc3f"; rev = "f820ee8417451f69020791cf691904ec1b63f20d";
hash = "sha256-GPY6udz0YZawmQ6WcItXchUeag9EO+eMMGoYSaRsdrY="; hash = "sha256-d80vNrZGaPWlST5tgvf25CliuzS+zSZ60f49cRuucZ4=";
}; };
meta.homepage = "https://github.com/theHamsta/tree-sitter-hlsl"; meta.homepage = "https://github.com/theHamsta/tree-sitter-hlsl";
}; };
hlsplaylist = buildGrammar { hlsplaylist = buildGrammar {
language = "hlsplaylist"; language = "hlsplaylist";
version = "0.0.0+rev=ff121d3"; version = "0.0.0+rev=5be34b0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "Freed-Wu"; owner = "Freed-Wu";
repo = "tree-sitter-hlsplaylist"; repo = "tree-sitter-hlsplaylist";
rev = "ff121d397cf7cc709e3bbc928107fc25529e11e0"; rev = "5be34b0f6ea01b24f017c2c715729a3a919f57fd";
hash = "sha256-FItkJbxWfpRne27OPRq5fCHUCX35fxmiT6k1eX8UkhI="; hash = "sha256-3ZFaIc4BrfR7dLxftbSLuFdErjYrJgi0Cd8jp9PB19U=";
}; };
meta.homepage = "https://github.com/Freed-Wu/tree-sitter-hlsplaylist"; meta.homepage = "https://github.com/Freed-Wu/tree-sitter-hlsplaylist";
}; };
@ -1043,12 +1054,12 @@
}; };
html = buildGrammar { html = buildGrammar {
language = "html"; language = "html";
version = "0.0.0+rev=438d694"; version = "0.0.0+rev=b5d9758";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "tree-sitter"; owner = "tree-sitter";
repo = "tree-sitter-html"; repo = "tree-sitter-html";
rev = "438d694a1f51e1704cb779ad4fec2517523b1d7f"; rev = "b5d9758e22b4d3d25704b72526670759a9e4d195";
hash = "sha256-NL1tOr7V3QVsVu2OfzLzFpe/FpYVD6MCgdSV0I6AkRY="; hash = "sha256-v3BD36OKkzJ1xqQV87HAyQpnQzi/4+PuyEAM1HfkW3U=";
}; };
meta.homepage = "https://github.com/tree-sitter/tree-sitter-html"; meta.homepage = "https://github.com/tree-sitter/tree-sitter-html";
}; };
@ -1175,12 +1186,12 @@
}; };
json = buildGrammar { json = buildGrammar {
language = "json"; language = "json";
version = "0.0.0+rev=ac6ddfa"; version = "0.0.0+rev=3b12920";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "tree-sitter"; owner = "tree-sitter";
repo = "tree-sitter-json"; repo = "tree-sitter-json";
rev = "ac6ddfa7775795a3d8f5edab4a71e3a49f932b6a"; rev = "3b129203f4b72d532f58e72c5310c0a7db3b8e6d";
hash = "sha256-T/y1xfHv3G3cTD2xw43tMiW8agKwE5CV/uwThSHkd84="; hash = "sha256-dVErHgsUDEN42wc/Gd68vQfVc8+/r/8No9KZk2GFzmY=";
}; };
meta.homepage = "https://github.com/tree-sitter/tree-sitter-json"; meta.homepage = "https://github.com/tree-sitter/tree-sitter-json";
}; };
@ -1351,12 +1362,12 @@
}; };
lua = buildGrammar { lua = buildGrammar {
language = "lua"; language = "lua";
version = "0.0.0+rev=9668709"; version = "0.0.0+rev=04c9579";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "MunifTanjim"; owner = "MunifTanjim";
repo = "tree-sitter-lua"; repo = "tree-sitter-lua";
rev = "9668709211b2e683f27f414454a8b51bf0a6bda1"; rev = "04c9579dcb917255b2e5f8199df4ae7f587d472f";
hash = "sha256-5t5w8KqbefInNbA12/jpNzmky/uOUhsLjKdEqpl1GEc="; hash = "sha256-kzyn6XF4/PN8civ/0UV+ancCMkh7DF2B7WUYxix6aaM=";
}; };
meta.homepage = "https://github.com/MunifTanjim/tree-sitter-lua"; meta.homepage = "https://github.com/MunifTanjim/tree-sitter-lua";
}; };
@ -1417,24 +1428,24 @@
}; };
markdown = buildGrammar { markdown = buildGrammar {
language = "markdown"; language = "markdown";
version = "0.0.0+rev=23d9cb2"; version = "0.0.0+rev=2821521";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "MDeiml"; owner = "MDeiml";
repo = "tree-sitter-markdown"; repo = "tree-sitter-markdown";
rev = "23d9cb2ce2f4d0914e7609b500c5fc8dfae0176f"; rev = "2821521a4e6eab37b63dff6a8e169cd88554047d";
hash = "sha256-Z42w7gSUV9/9Q1jtCrd03cjlMUjHC5Vjie1x8m8K5uw="; hash = "sha256-JoZ/CKIMHVowwqTMFdys+Qu1CHMsP+8Wr2LJo5h30B4=";
}; };
location = "tree-sitter-markdown"; location = "tree-sitter-markdown";
meta.homepage = "https://github.com/MDeiml/tree-sitter-markdown"; meta.homepage = "https://github.com/MDeiml/tree-sitter-markdown";
}; };
markdown_inline = buildGrammar { markdown_inline = buildGrammar {
language = "markdown_inline"; language = "markdown_inline";
version = "0.0.0+rev=23d9cb2"; version = "0.0.0+rev=2821521";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "MDeiml"; owner = "MDeiml";
repo = "tree-sitter-markdown"; repo = "tree-sitter-markdown";
rev = "23d9cb2ce2f4d0914e7609b500c5fc8dfae0176f"; rev = "2821521a4e6eab37b63dff6a8e169cd88554047d";
hash = "sha256-Z42w7gSUV9/9Q1jtCrd03cjlMUjHC5Vjie1x8m8K5uw="; hash = "sha256-JoZ/CKIMHVowwqTMFdys+Qu1CHMsP+8Wr2LJo5h30B4=";
}; };
location = "tree-sitter-markdown-inline"; location = "tree-sitter-markdown-inline";
meta.homepage = "https://github.com/MDeiml/tree-sitter-markdown"; meta.homepage = "https://github.com/MDeiml/tree-sitter-markdown";
@ -1474,35 +1485,35 @@
}; };
meson = buildGrammar { meson = buildGrammar {
language = "meson"; language = "meson";
version = "0.0.0+rev=3d6dfbd"; version = "0.0.0+rev=d6ec8ce";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "Decodetalkers"; owner = "Decodetalkers";
repo = "tree-sitter-meson"; repo = "tree-sitter-meson";
rev = "3d6dfbdb2432603bc84ca7dc009bb39ed9a8a7b1"; rev = "d6ec8ce0963c3c8180161391f15d8f7d415f650d";
hash = "sha256-NRiecSr5UjISlFtmtvy3SYaWSmXMf0bKCKQVA83Jx+Y="; hash = "sha256-SwcBhg6luPAOtaL5dhvLxCpJcwlGhZxhvVmn5pa6ecA=";
}; };
meta.homepage = "https://github.com/Decodetalkers/tree-sitter-meson"; meta.homepage = "https://github.com/Decodetalkers/tree-sitter-meson";
}; };
mlir = buildGrammar { mlir = buildGrammar {
language = "mlir"; language = "mlir";
version = "0.0.0+rev=650a8fb"; version = "0.0.0+rev=117cbbc";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "artagnon"; owner = "artagnon";
repo = "tree-sitter-mlir"; repo = "tree-sitter-mlir";
rev = "650a8fb72013ba8d169bdb458e480d640fc545c9"; rev = "117cbbc46bbf82ae30b24f8939573655017226da";
hash = "sha256-Xmn5WaOgvAVyr1Bgzr+QG9G/kymtl4CUvLL5SPZdikU="; hash = "sha256-c0+Pvhe++fHmRL9Ptri+vsdRN3MCb2Z/7EqWmFaK/CE=";
}; };
generate = true; generate = true;
meta.homepage = "https://github.com/artagnon/tree-sitter-mlir"; meta.homepage = "https://github.com/artagnon/tree-sitter-mlir";
}; };
muttrc = buildGrammar { muttrc = buildGrammar {
language = "muttrc"; language = "muttrc";
version = "0.0.0+rev=0af0e0d"; version = "0.0.0+rev=67d9e23";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "neomutt"; owner = "neomutt";
repo = "tree-sitter-muttrc"; repo = "tree-sitter-muttrc";
rev = "0af0e0d8c8cf59dc21cfe565489da0c247374b9f"; rev = "67d9e23ca7aa22d9bce9d16c53d2c927dff5159a";
hash = "sha256-AB8c2mV2sTNwN8sZkv3RbRKdxZW467P6epX+Z4LWqbU="; hash = "sha256-B3/VoPq8h7TiwOP0nhsuPmFtkLsucpDm9RnUNXkfKpo=";
}; };
meta.homepage = "https://github.com/neomutt/tree-sitter-muttrc"; meta.homepage = "https://github.com/neomutt/tree-sitter-muttrc";
}; };
@ -1519,23 +1530,23 @@
}; };
nickel = buildGrammar { nickel = buildGrammar {
language = "nickel"; language = "nickel";
version = "0.0.0+rev=091b5dc"; version = "0.0.0+rev=19fb551";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "nickel-lang"; owner = "nickel-lang";
repo = "tree-sitter-nickel"; repo = "tree-sitter-nickel";
rev = "091b5dcc7d138901bcc162da9409c0bb626c0d27"; rev = "19fb551196d18b75160631f5e3a8a006b3875276";
hash = "sha256-HyHdameEgET5UXKMgw7EJvZsJxToc9Qz26XHvc5qmU0="; hash = "sha256-NXyagRPUT3h8G6R+eE4YrTnWtfB3AT/piXeun5ETU6s=";
}; };
meta.homepage = "https://github.com/nickel-lang/tree-sitter-nickel"; meta.homepage = "https://github.com/nickel-lang/tree-sitter-nickel";
}; };
nim = buildGrammar { nim = buildGrammar {
language = "nim"; language = "nim";
version = "0.0.0+rev=70ceee8"; version = "0.0.0+rev=c5f0ce3";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "alaviss"; owner = "alaviss";
repo = "tree-sitter-nim"; repo = "tree-sitter-nim";
rev = "70ceee835e033acbc7092cd7f4f6a251789af121"; rev = "c5f0ce3b65222f5dbb1a12f9fe894524881ad590";
hash = "sha256-9+ADYNrtdva/DkkjPwavyU0cL6eunqq4TX9IUQi9eKw="; hash = "sha256-KzAZf5vgrdp33esrgle71i0m52MvRJ3z/sMwzb+CueU=";
}; };
meta.homepage = "https://github.com/alaviss/tree-sitter-nim"; meta.homepage = "https://github.com/alaviss/tree-sitter-nim";
}; };
@ -1698,46 +1709,46 @@
}; };
pem = buildGrammar { pem = buildGrammar {
language = "pem"; language = "pem";
version = "0.0.0+rev=7905a16"; version = "0.0.0+rev=db307bb";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "ObserverOfTime"; owner = "ObserverOfTime";
repo = "tree-sitter-pem"; repo = "tree-sitter-pem";
rev = "7905a168036e23605160a0d32a142f58ab5eaa06"; rev = "db307bbb7dc4f721bf2f5ba7fcedaf58feeb59e0";
hash = "sha256-6gEOrpJ/5UDMMVqKh0XQX+K3JOPiOk5H6CWZgB59h00="; hash = "sha256-uBZo16QtZtbYc4jHdFt1w/zMx9F+WKBB+ANre8IURHA=";
}; };
meta.homepage = "https://github.com/ObserverOfTime/tree-sitter-pem"; meta.homepage = "https://github.com/ObserverOfTime/tree-sitter-pem";
}; };
perl = buildGrammar { perl = buildGrammar {
language = "perl"; language = "perl";
version = "0.0.0+rev=a30394f"; version = "0.0.0+rev=fd8b951";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "tree-sitter-perl"; owner = "tree-sitter-perl";
repo = "tree-sitter-perl"; repo = "tree-sitter-perl";
rev = "a30394f61b607f48c841c6e085d5219f23872816"; rev = "fd8b951cf6f72d48dfd07679de8cf0260836b231";
hash = "sha256-3aWBh5jKXUYXxOv+RKyEpwJVOoP7QuaRQZHw0yOy6tQ="; hash = "sha256-ejbpska3Ar0cjqDGZXXjRkpDLNsnDUJD0TBsb2cZfY4=";
}; };
meta.homepage = "https://github.com/tree-sitter-perl/tree-sitter-perl"; meta.homepage = "https://github.com/tree-sitter-perl/tree-sitter-perl";
}; };
php = buildGrammar { php = buildGrammar {
language = "php"; language = "php";
version = "0.0.0+rev=caf4d67"; version = "0.0.0+rev=710754c";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "tree-sitter"; owner = "tree-sitter";
repo = "tree-sitter-php"; repo = "tree-sitter-php";
rev = "caf4d67d55386d3e4f85d29450b8d9cacbb02d19"; rev = "710754c879435178b7643e525c84cd53f32c510c";
hash = "sha256-L0M9v/T3W3v+pES2AytZ6V4jHfnSklFBRGPW3/oB2Aw="; hash = "sha256-vOvuctPCcKs5iQ88Tv3Euxk7fDg06o1leRWUic4qzLQ=";
}; };
location = "php"; location = "php";
meta.homepage = "https://github.com/tree-sitter/tree-sitter-php"; meta.homepage = "https://github.com/tree-sitter/tree-sitter-php";
}; };
php_only = buildGrammar { php_only = buildGrammar {
language = "php_only"; language = "php_only";
version = "0.0.0+rev=caf4d67"; version = "0.0.0+rev=710754c";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "tree-sitter"; owner = "tree-sitter";
repo = "tree-sitter-php"; repo = "tree-sitter-php";
rev = "caf4d67d55386d3e4f85d29450b8d9cacbb02d19"; rev = "710754c879435178b7643e525c84cd53f32c510c";
hash = "sha256-L0M9v/T3W3v+pES2AytZ6V4jHfnSklFBRGPW3/oB2Aw="; hash = "sha256-vOvuctPCcKs5iQ88Tv3Euxk7fDg06o1leRWUic4qzLQ=";
}; };
location = "php_only"; location = "php_only";
meta.homepage = "https://github.com/tree-sitter/tree-sitter-php"; meta.homepage = "https://github.com/tree-sitter/tree-sitter-php";
@ -1788,12 +1799,12 @@
}; };
poe_filter = buildGrammar { poe_filter = buildGrammar {
language = "poe_filter"; language = "poe_filter";
version = "0.0.0+rev=99ce487"; version = "0.0.0+rev=bf912df";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "ObserverOfTime"; owner = "ObserverOfTime";
repo = "tree-sitter-poe-filter"; repo = "tree-sitter-poe-filter";
rev = "99ce487804eab781e1e1cb39de82aea236346c96"; rev = "bf912df70f60b356c70631d9cbb317b41c1ea319";
hash = "sha256-kMk0gCb2/FExKyGPeRDCd6rW/R3eH1iuE7udnFoI5UY="; hash = "sha256-EHftq35YJzElvYiJxiu7iIcugoXME7CXuQSo1ktG584=";
}; };
meta.homepage = "https://github.com/ObserverOfTime/tree-sitter-poe-filter"; meta.homepage = "https://github.com/ObserverOfTime/tree-sitter-poe-filter";
}; };
@ -1810,12 +1821,12 @@
}; };
printf = buildGrammar { printf = buildGrammar {
language = "printf"; language = "printf";
version = "0.0.0+rev=ddff4ce"; version = "0.0.0+rev=0e0acea";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "ObserverOfTime"; owner = "ObserverOfTime";
repo = "tree-sitter-printf"; repo = "tree-sitter-printf";
rev = "ddff4ce4d630d1f1a3b591d77b2618a4169b36b9"; rev = "0e0aceabbf607ea09e03562f5d8a56f048ddea3d";
hash = "sha256-MIj4tP2+zb43pcnSBSVjPpKxjbxKFJTcz8AJphEvh6k="; hash = "sha256-y/7CDnHpT3D6hL0f+52mReCphn+lvElfQQKJwY4fr9c=";
}; };
meta.homepage = "https://github.com/ObserverOfTime/tree-sitter-printf"; meta.homepage = "https://github.com/ObserverOfTime/tree-sitter-printf";
}; };
@ -1843,14 +1854,14 @@
}; };
properties = buildGrammar { properties = buildGrammar {
language = "properties"; language = "properties";
version = "0.0.0+rev=74e5d3c"; version = "0.0.0+rev=189b3cc";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "ObserverOfTime"; owner = "tree-sitter-grammars";
repo = "tree-sitter-properties"; repo = "tree-sitter-properties";
rev = "74e5d3c63d0da17c0800b3cf9090b24637ef6b59"; rev = "189b3cc18d36871c27ebb0adcf0cddd123b0cbba";
hash = "sha256-oB5TA8dZtuFop7Urggv2ZWWi8s6wDsIL+ZG5+sCQgq8="; hash = "sha256-5cA2DDMiP8axu8Jl1M+CoxHoB+Jc/VMy3vXME+yxH9o=";
}; };
meta.homepage = "https://github.com/ObserverOfTime/tree-sitter-properties"; meta.homepage = "https://github.com/tree-sitter-grammars/tree-sitter-properties";
}; };
proto = buildGrammar { proto = buildGrammar {
language = "proto"; language = "proto";
@ -1899,12 +1910,12 @@
}; };
puppet = buildGrammar { puppet = buildGrammar {
language = "puppet"; language = "puppet";
version = "0.0.0+rev=9ce9a5f"; version = "0.0.0+rev=3641b9e";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "amaanq"; owner = "amaanq";
repo = "tree-sitter-puppet"; repo = "tree-sitter-puppet";
rev = "9ce9a5f7d64528572aaa8d59459ba869e634086b"; rev = "3641b9e854ac9c84c7576e71c4c9a357bcfd9550";
hash = "sha256-YEjjy9WLwITERYqoeSVrRYnwVBIAwdc4o0lvAK9wizw="; hash = "sha256-J1DBjQRdV4R85NTyg/qmwbjm1bryKe3UOdp4XyH6BQc=";
}; };
meta.homepage = "https://github.com/amaanq/tree-sitter-puppet"; meta.homepage = "https://github.com/amaanq/tree-sitter-puppet";
}; };
@ -2042,12 +2053,12 @@
}; };
readline = buildGrammar { readline = buildGrammar {
language = "readline"; language = "readline";
version = "0.0.0+rev=f2f98d4"; version = "0.0.0+rev=e436eae";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "ribru17"; owner = "ribru17";
repo = "tree-sitter-readline"; repo = "tree-sitter-readline";
rev = "f2f98d4263949d696e69a425f65326c59d1ceedc"; rev = "e436eaef452266a3d00c195f0eb757d6502c767a";
hash = "sha256-+T4HS2QqoXFRgBfY61NHK4EyQ/HF26eeMt9KV2Ud0Ug="; hash = "sha256-y38TDQ+7wBzEKol/UQ5Xk6f15wUW7hJxByDuhx9d0hQ=";
}; };
meta.homepage = "https://github.com/ribru17/tree-sitter-readline"; meta.homepage = "https://github.com/ribru17/tree-sitter-readline";
}; };
@ -2141,12 +2152,12 @@
}; };
rust = buildGrammar { rust = buildGrammar {
language = "rust"; language = "rust";
version = "0.0.0+rev=a70daac"; version = "0.0.0+rev=85a21c9";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "tree-sitter"; owner = "tree-sitter";
repo = "tree-sitter-rust"; repo = "tree-sitter-rust";
rev = "a70daac064145c84e9d51767c2575bb68d51df58"; rev = "85a21c96d31b2a5c4369e5836a7f4ab059268fea";
hash = "sha256-2Y7sQ5bhKEpbDAHd5zJMGAlDWH32tJXxAgFOYY8S7o8="; hash = "sha256-uxOjdB65+HjNuOybbYb2N9R0I+bt909bIBOzmh9vfVc=";
}; };
meta.homepage = "https://github.com/tree-sitter/tree-sitter-rust"; meta.homepage = "https://github.com/tree-sitter/tree-sitter-rust";
}; };
@ -2197,23 +2208,23 @@
}; };
slang = buildGrammar { slang = buildGrammar {
language = "slang"; language = "slang";
version = "0.0.0+rev=130b2f5"; version = "0.0.0+rev=0cdfb17";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "theHamsta"; owner = "theHamsta";
repo = "tree-sitter-slang"; repo = "tree-sitter-slang";
rev = "130b2f5c7a1d5c24645c3518db4bc2b22dd90718"; rev = "0cdfb1741323f38e9a33798674145c22cfc0092b";
hash = "sha256-gDN8nyQjxE7Hko3MJJj2Le0Ey0pd3GlG5QWkDf8c7Q0="; hash = "sha256-1xSnb3n9u45B2gEBApZpZlb1VvbJOrmgQwrPL2OuGro=";
}; };
meta.homepage = "https://github.com/theHamsta/tree-sitter-slang"; meta.homepage = "https://github.com/theHamsta/tree-sitter-slang";
}; };
slint = buildGrammar { slint = buildGrammar {
language = "slint"; language = "slint";
version = "0.0.0+rev=68405a4"; version = "0.0.0+rev=3c82235";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "slint-ui"; owner = "slint-ui";
repo = "tree-sitter-slint"; repo = "tree-sitter-slint";
rev = "68405a45f7a5311cd1f77e40ba84199573303f52"; rev = "3c82235f41b63f35a01ae3888206e93585cbb84a";
hash = "sha256-zmmxXU7w5N8XjKn2Uu/nAc/FjCAprdKyJ0c75CGUgpk="; hash = "sha256-D3X2YwvxvseIGnKzaSocr3Ak7qoASZhxyRS+rtpir0g=";
}; };
meta.homepage = "https://github.com/slint-ui/tree-sitter-slint"; meta.homepage = "https://github.com/slint-ui/tree-sitter-slint";
}; };
@ -2287,12 +2298,12 @@
}; };
sourcepawn = buildGrammar { sourcepawn = buildGrammar {
language = "sourcepawn"; language = "sourcepawn";
version = "0.0.0+rev=846ec64"; version = "0.0.0+rev=39ce73a";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "nilshelmig"; owner = "nilshelmig";
repo = "tree-sitter-sourcepawn"; repo = "tree-sitter-sourcepawn";
rev = "846ec647109a1f3dfab17c025c80ecdf6fd56581"; rev = "39ce73ad42b2c4f52848d16093c24feddaa7d226";
hash = "sha256-3yRBrzuzjWKKpLO+58P/JdNvjPj2o1HuBZOKkFh2RCs="; hash = "sha256-CyCUGGycWpgQl/BGDjRHwYoa9Mess49jUf9WUkRaliE=";
}; };
meta.homepage = "https://github.com/nilshelmig/tree-sitter-sourcepawn"; meta.homepage = "https://github.com/nilshelmig/tree-sitter-sourcepawn";
}; };
@ -2397,23 +2408,23 @@
}; };
svelte = buildGrammar { svelte = buildGrammar {
language = "svelte"; language = "svelte";
version = "0.0.0+rev=bd60db7"; version = "0.0.0+rev=04a126d";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "Himujjal"; owner = "tree-sitter-grammars";
repo = "tree-sitter-svelte"; repo = "tree-sitter-svelte";
rev = "bd60db7d3d06f89b6ec3b287c9a6e9190b5564bd"; rev = "04a126d9210def99f06d9ab84a255110b862d47c";
hash = "sha256-FZuzbTOP9LokPb77DSUwIXCFvMmDQPyyLKt7vNtEuAY="; hash = "sha256-F6AC72IHMKs1jTwshwNkAXFfiBGEbBn7m83xedCoDsA=";
}; };
meta.homepage = "https://github.com/Himujjal/tree-sitter-svelte"; meta.homepage = "https://github.com/tree-sitter-grammars/tree-sitter-svelte";
}; };
swift = buildGrammar { swift = buildGrammar {
language = "swift"; language = "swift";
version = "0.0.0+rev=dabbcf9"; version = "0.0.0+rev=e1ac0c3";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "alex-pinkus"; owner = "alex-pinkus";
repo = "tree-sitter-swift"; repo = "tree-sitter-swift";
rev = "dabbcf9a2311e08c1b020e1258849b8359e9de1a"; rev = "e1ac0c3b48f4c42c40f92f400f14c6561369d4dd";
hash = "sha256-U4r2uEDqBXeDC0NkOvSwkKreJnFSStxJisNPLJ4CTZs="; hash = "sha256-7MXH3ZDMH3Im/t5FPMGw6MGKMS+hKaHKUvTXXCrvgtI=";
}; };
generate = true; generate = true;
meta.homepage = "https://github.com/alex-pinkus/tree-sitter-swift"; meta.homepage = "https://github.com/alex-pinkus/tree-sitter-swift";
@ -2552,6 +2563,17 @@
}; };
meta.homepage = "https://github.com/tlaplus-community/tree-sitter-tlaplus"; meta.homepage = "https://github.com/tlaplus-community/tree-sitter-tlaplus";
}; };
tmux = buildGrammar {
language = "tmux";
version = "0.0.0+rev=10737f5";
src = fetchFromGitHub {
owner = "Freed-Wu";
repo = "tree-sitter-tmux";
rev = "10737f5dc4d8e68c9667f11a6996688a1185755f";
hash = "sha256-7MQYyWu1Rw3Vwmp3nbuorn9rD0xcEU5nRXPuTVpOqkM=";
};
meta.homepage = "https://github.com/Freed-Wu/tree-sitter-tmux";
};
todotxt = buildGrammar { todotxt = buildGrammar {
language = "todotxt"; language = "todotxt";
version = "0.0.0+rev=3937c5c"; version = "0.0.0+rev=3937c5c";
@ -2643,6 +2665,17 @@
}; };
meta.homepage = "https://github.com/Teddytrombone/tree-sitter-typoscript"; meta.homepage = "https://github.com/Teddytrombone/tree-sitter-typoscript";
}; };
typst = buildGrammar {
language = "typst";
version = "0.0.0+rev=c757be0";
src = fetchFromGitHub {
owner = "uben0";
repo = "tree-sitter-typst";
rev = "c757be0898e2a58f4e9761aa164dc413bf5beaf8";
hash = "sha256-z0x47Qrr8mYroDtXapRmzOMHOxlYmQmonN0P7VSCBu0=";
};
meta.homepage = "https://github.com/uben0/tree-sitter-typst";
};
udev = buildGrammar { udev = buildGrammar {
language = "udev"; language = "udev";
version = "0.0.0+rev=15d89be"; version = "0.0.0+rev=15d89be";
@ -2746,23 +2779,23 @@
}; };
vim = buildGrammar { vim = buildGrammar {
language = "vim"; language = "vim";
version = "0.0.0+rev=32c76f1"; version = "0.0.0+rev=bc1364d";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "neovim"; owner = "neovim";
repo = "tree-sitter-vim"; repo = "tree-sitter-vim";
rev = "32c76f150347c1cd044e90b8e2bc73c00677fa55"; rev = "bc1364d922952138957a62105171ed68e73fbb6c";
hash = "sha256-14lkrGZ5JpbPvb5Pm2UzLodhO1IEz5rBETTU0RZDFc4="; hash = "sha256-5h1GYjyYMJd5GS0zXh0LP1wBs60fYohpFv89gcdZ4vU=";
}; };
meta.homepage = "https://github.com/neovim/tree-sitter-vim"; meta.homepage = "https://github.com/neovim/tree-sitter-vim";
}; };
vimdoc = buildGrammar { vimdoc = buildGrammar {
language = "vimdoc"; language = "vimdoc";
version = "0.0.0+rev=ed8695a"; version = "0.0.0+rev=40fcd50";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "neovim"; owner = "neovim";
repo = "tree-sitter-vimdoc"; repo = "tree-sitter-vimdoc";
rev = "ed8695ad8de39c3f073da130156f00b1148e2891"; rev = "40fcd50a2c7b5a3ef98294795116773b24fb61ab";
hash = "sha256-q5Ln8WPFrtKBfZnaAAlMh3Q/eczEt6wCMZAtx+ISCKg="; hash = "sha256-i/O8vIjiyOoFECS1nmKfL/8hofzSvwg5cJo7JooJGOY=";
}; };
meta.homepage = "https://github.com/neovim/tree-sitter-vimdoc"; meta.homepage = "https://github.com/neovim/tree-sitter-vimdoc";
}; };
@ -2790,23 +2823,23 @@
}; };
wgsl_bevy = buildGrammar { wgsl_bevy = buildGrammar {
language = "wgsl_bevy"; language = "wgsl_bevy";
version = "0.0.0+rev=a041228"; version = "0.0.0+rev=cbd58ee";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "theHamsta"; owner = "theHamsta";
repo = "tree-sitter-wgsl-bevy"; repo = "tree-sitter-wgsl-bevy";
rev = "a041228ae64632f59b9bd37346a0dbcb7817f36b"; rev = "cbd58ee33e24f46d16b9882b001eefb25a958ee2";
hash = "sha256-bBGunOcFPrHWLsP1ISgdFBNDIBbB0uhwxKAwmQZg7/k="; hash = "sha256-EPpI4UJ/5GB2iDQGoSziUOcP1TVf7VU4FMTKvrujcAY=";
}; };
meta.homepage = "https://github.com/theHamsta/tree-sitter-wgsl-bevy"; meta.homepage = "https://github.com/theHamsta/tree-sitter-wgsl-bevy";
}; };
wing = buildGrammar { wing = buildGrammar {
language = "wing"; language = "wing";
version = "0.0.0+rev=f7965a9"; version = "0.0.0+rev=52ef462";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "winglang"; owner = "winglang";
repo = "wing"; repo = "wing";
rev = "f7965a947d2eaa8b5b9bba1c42a0e1891f1a0b2a"; rev = "52ef462f76e199845a5df4834b838339e0a6efdb";
hash = "sha256-qQ74aj7pccc3gvmeNoa0BBTMdNTmcc0h8aWNcLvpMRY="; hash = "sha256-eZEyk285EyfduzrVH3Ojbwu8mbRFfZY6lrQQQT1kWM8=";
}; };
location = "libs/tree-sitter-wing"; location = "libs/tree-sitter-wing";
generate = true; generate = true;
@ -2814,23 +2847,23 @@
}; };
xcompose = buildGrammar { xcompose = buildGrammar {
language = "xcompose"; language = "xcompose";
version = "0.0.0+rev=8898238"; version = "0.0.0+rev=7fd1494";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "ObserverOfTime"; owner = "ObserverOfTime";
repo = "tree-sitter-xcompose"; repo = "tree-sitter-xcompose";
rev = "8898238fca7e143760386448093392b87e58002e"; rev = "7fd14940e0478fce79ea195067ed14a2c42c654a";
hash = "sha256-1U3FFO6j4jdynDTRQlD8kfTYTiKvC7ZjxSECMW9NYGY="; hash = "sha256-elnm1HjE4hLFMR/XhCPhOcGjqS9FbCULPRb/IntpQ3U=";
}; };
meta.homepage = "https://github.com/ObserverOfTime/tree-sitter-xcompose"; meta.homepage = "https://github.com/ObserverOfTime/tree-sitter-xcompose";
}; };
xml = buildGrammar { xml = buildGrammar {
language = "xml"; language = "xml";
version = "0.0.0+rev=2743ff8"; version = "0.0.0+rev=52b3783";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "tree-sitter-grammars"; owner = "tree-sitter-grammars";
repo = "tree-sitter-xml"; repo = "tree-sitter-xml";
rev = "2743ff864eac85cec830ff400f2e0024b9ca588b"; rev = "52b3783d0c89a69ec64b2d49eee95f44a7fdcd2a";
hash = "sha256-wuj3Q+LAtAS99pwJUD+3BzndVeNhzvQlaugzTHRvUjI="; hash = "sha256-DVx/JwQXFEgY3XXo2rOVIWBRHdqprNgja9lAashkh5g=";
}; };
location = "xml"; location = "xml";
meta.homepage = "https://github.com/tree-sitter-grammars/tree-sitter-xml"; meta.homepage = "https://github.com/tree-sitter-grammars/tree-sitter-xml";
@ -2870,12 +2903,12 @@
}; };
zathurarc = buildGrammar { zathurarc = buildGrammar {
language = "zathurarc"; language = "zathurarc";
version = "0.0.0+rev=fe37e85"; version = "0.0.0+rev=353bdf2";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "Freed-Wu"; owner = "Freed-Wu";
repo = "tree-sitter-zathurarc"; repo = "tree-sitter-zathurarc";
rev = "fe37e85db355c737573315f278672534c40fe140"; rev = "353bdf25e7af9c2830e254977fd3fb57ccaa8203";
hash = "sha256-lQFCJhyJTCa+zdsobMutgbQqJ9mhehaIbRLbds0riEo="; hash = "sha256-vFDz4X0ujqM9GbrpGt3dRjvo0SR07E2qXrT/ppTegBQ=";
}; };
meta.homepage = "https://github.com/Freed-Wu/tree-sitter-zathurarc"; meta.homepage = "https://github.com/Freed-Wu/tree-sitter-zathurarc";
}; };

View File

@ -998,7 +998,7 @@
inherit (old) version src; inherit (old) version src;
sourceRoot = "source/spectre_oxi"; sourceRoot = "source/spectre_oxi";
cargoHash = "sha256-822+3s6FJVqBRYJAL/89bJfGv8fNhSN3nQelB29mXvQ="; cargoHash = "sha256-gCGuD5kipgfR0Le8npNmyBxNsUq0PavXvKkxkiPx13E=";
preCheck = '' preCheck = ''

View File

@ -75,6 +75,7 @@ https://github.com/jiangmiao/auto-pairs/,,
https://github.com/pocco81/auto-save.nvim/,HEAD, https://github.com/pocco81/auto-save.nvim/,HEAD,
https://github.com/rmagatti/auto-session/,, https://github.com/rmagatti/auto-session/,,
https://github.com/m4xshen/autoclose.nvim/,HEAD, https://github.com/m4xshen/autoclose.nvim/,HEAD,
https://github.com/gaoDean/autolist.nvim/,,
https://github.com/vim-scripts/autoload_cscope.vim/,, https://github.com/vim-scripts/autoload_cscope.vim/,,
https://github.com/nullishamy/autosave.nvim/,HEAD, https://github.com/nullishamy/autosave.nvim/,HEAD,
https://github.com/rafi/awesome-vim-colorschemes/,, https://github.com/rafi/awesome-vim-colorschemes/,,

View File

@ -2,7 +2,7 @@
, rustPlatform , rustPlatform
, fetchFromGitHub , fetchFromGitHub
, pkg-config , pkg-config
, libgit2_1_5 , libgit2
, openssl , openssl
, zlib , zlib
, stdenv , stdenv
@ -27,7 +27,7 @@ rustPlatform.buildRustPackage rec {
]; ];
buildInputs = [ buildInputs = [
libgit2_1_5 libgit2
openssl openssl
zlib zlib
] ++ lib.optionals stdenv.isDarwin [ ] ++ lib.optionals stdenv.isDarwin [
@ -35,6 +35,7 @@ rustPlatform.buildRustPackage rec {
]; ];
env = { env = {
LIBGIT2_NO_VENDOR = 1;
OPENSSL_NO_VENDOR = true; OPENSSL_NO_VENDOR = true;
}; };

View File

@ -16,13 +16,13 @@
python3Packages.buildPythonApplication rec { python3Packages.buildPythonApplication rec {
pname = "nwg-panel"; pname = "nwg-panel";
version = "0.9.24"; version = "0.9.25";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "nwg-piotr"; owner = "nwg-piotr";
repo = "nwg-panel"; repo = "nwg-panel";
rev = "refs/tags/v${version}"; rev = "refs/tags/v${version}";
hash = "sha256-qd2fnGdpHXX35ZtNGe59GnmhYGn6VJibc0KEr60VIJM="; hash = "sha256-dTBV2OckPJNA707PNz/jmfUPpufhItt4EEDHAI79kxQ=";
}; };
# No tests # No tests

View File

@ -39,6 +39,9 @@ stdenv.mkDerivation (finalAttrs: rec {
hash = "sha256-7O+DX4uuncUqx5zEKQprZE6tctteT6NU01V2EBHiFqA="; hash = "sha256-7O+DX4uuncUqx5zEKQprZE6tctteT6NU01V2EBHiFqA=";
}; };
# build pkg-config is required to locate the native `scdoc` input
depsBuildBuild = [ pkg-config ];
nativeBuildInputs = [ nativeBuildInputs = [
bash-completion bash-completion
# cmake # currently conflicts with meson # cmake # currently conflicts with meson
@ -50,7 +53,6 @@ stdenv.mkDerivation (finalAttrs: rec {
pkg-config pkg-config
python3 python3
sassc sassc
pantheon.granite
scdoc scdoc
vala vala
wrapGAppsHook wrapGAppsHook
@ -68,6 +70,7 @@ stdenv.mkDerivation (finalAttrs: rec {
libhandy libhandy
libpulseaudio libpulseaudio
librsvg librsvg
pantheon.granite
# systemd # ends with broken permission # systemd # ends with broken permission
]; ];

View File

@ -24,7 +24,7 @@ let
vivaldiName = if isSnapshot then "vivaldi-snapshot" else "vivaldi"; vivaldiName = if isSnapshot then "vivaldi-snapshot" else "vivaldi";
in stdenv.mkDerivation rec { in stdenv.mkDerivation rec {
pname = "vivaldi"; pname = "vivaldi";
version = "6.5.3206.55"; version = "6.5.3206.63";
suffix = { suffix = {
aarch64-linux = "arm64"; aarch64-linux = "arm64";
@ -34,8 +34,8 @@ in stdenv.mkDerivation rec {
src = fetchurl { src = fetchurl {
url = "https://downloads.vivaldi.com/${branch}/vivaldi-${branch}_${version}-1_${suffix}.deb"; url = "https://downloads.vivaldi.com/${branch}/vivaldi-${branch}_${version}-1_${suffix}.deb";
hash = { hash = {
aarch64-linux = "sha256-lr+9+w1vRZSG/2dP5K3mcKLCQijckPdkM/I2DgjO4wg="; aarch64-linux = "sha256-MyKTihImCd1/4UwnC/GqyeQcYnJNvKW5UfIIRN45r8E=";
x86_64-linux = "sha256-ElkuuaZfK8F6CVA5xbKszkbqdcPACFR+xd0pRxnd6+U="; x86_64-linux = "sha256-RbGoOKQyAaNY+y+jCT+r7GI9vymTT9kPDrwl9/bhaNw=";
}.${stdenv.hostPlatform.system} or (throw "Unsupported system: ${stdenv.hostPlatform.system}"); }.${stdenv.hostPlatform.system} or (throw "Unsupported system: ${stdenv.hostPlatform.system}");
}; };

View File

@ -2,7 +2,7 @@
callPackage ./generic.nix {} rec { callPackage ./generic.nix {} rec {
pname = "signal-desktop"; pname = "signal-desktop";
dir = "Signal"; dir = "Signal";
version = "6.48.1"; version = "7.0.0";
url = "https://updates.signal.org/desktop/apt/pool/s/signal-desktop/signal-desktop_${version}_amd64.deb"; url = "https://updates.signal.org/desktop/apt/pool/s/signal-desktop/signal-desktop_${version}_amd64.deb";
hash = "sha256-3FJdgWmpfHAy5Hd97bH1DAbXYLsabom22tUKNK2bF2c="; hash = "sha256-xwKisiOE2g+pg1P9mX6AlwYU1JWXIWSSygwauoU05E8=";
} }

View File

@ -1,12 +1,12 @@
{ lib, stdenv, fetchFromGitHub, fetchYarnDeps, mkYarnPackage, nixosTests, writeText, python3 }: { lib, stdenv, fetchFromGitHub, fetchYarnDeps, mkYarnPackage, nixosTests, writeText, python3 }:
let let
version = "0.4.1"; version = "0.4.2";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "PowerDNS-Admin"; owner = "PowerDNS-Admin";
repo = "PowerDNS-Admin"; repo = "PowerDNS-Admin";
rev = "v${version}"; rev = "v${version}";
hash = "sha256-AwqEcAPD1SF1Ma3wtH03mXlTywM0Q19hciCmTtlr3gk="; hash = "sha256-q9mt8wjSNFb452Xsg+qhNOWa03KJkYVGAeCWVSzZCyk=";
}; };
python = python3; python = python3;
@ -29,7 +29,7 @@ let
offlineCache = fetchYarnDeps { offlineCache = fetchYarnDeps {
yarnLock = "${src}/yarn.lock"; yarnLock = "${src}/yarn.lock";
hash = "sha256-3ebT19LrbYuypdJaoB3tClVVP0Fi8tHx3Xi6ge/DpA4="; hash = "sha256-rXIts+dgOuZQGyiSke1NIG7b4lFlR/Gfu3J6T3wP3aY=";
}; };
# Copied from package.json, see also # Copied from package.json, see also

View File

@ -2,8 +2,7 @@
, rustPlatform , rustPlatform
, fetchFromGitHub , fetchFromGitHub
, pkg-config , pkg-config
# libgit2-sys doesn't support libgit2 1.6 yet , libgit2
, libgit2_1_5
, oniguruma , oniguruma
, zlib , zlib
, stdenv , stdenv
@ -29,7 +28,7 @@ rustPlatform.buildRustPackage rec {
]; ];
buildInputs = [ buildInputs = [
libgit2_1_5 libgit2
oniguruma oniguruma
zlib zlib
] ++ lib.optionals stdenv.isDarwin [ ] ++ lib.optionals stdenv.isDarwin [
@ -54,7 +53,10 @@ rustPlatform.buildRustPackage rec {
git config --global user.email nixbld@example.com git config --global user.email nixbld@example.com
''; '';
RUSTONIG_SYSTEM_LIBONIG = true; env = {
LIBGIT2_NO_VENDOR = 1;
RUSTONIG_SYSTEM_LIBONIG = true;
};
meta = with lib; { meta = with lib; {
description = "Dive into a file's history to find root cause"; description = "Dive into a file's history to find root cause";

View File

@ -2,7 +2,7 @@
, rustPlatform , rustPlatform
, fetchFromGitHub , fetchFromGitHub
, pkg-config , pkg-config
, libgit2_1_5 , libgit2
, openssl , openssl
, zlib , zlib
, stdenv , stdenv
@ -28,13 +28,17 @@ rustPlatform.buildRustPackage {
nativeBuildInputs = [ pkg-config ]; nativeBuildInputs = [ pkg-config ];
buildInputs = [ buildInputs = [
libgit2_1_5 libgit2
openssl openssl
zlib zlib
] ++ lib.optionals stdenv.isDarwin [ ] ++ lib.optionals stdenv.isDarwin [
darwin.apple_sdk.frameworks.AppKit darwin.apple_sdk.frameworks.AppKit
]; ];
env = {
LIBGIT2_NO_VENDOR = 1;
};
meta = with lib; { meta = with lib; {
description = "Minimalist set of hooks to aid pairing and link commits to issues"; description = "Minimalist set of hooks to aid pairing and link commits to issues";
homepage = "https://github.com/PurpleBooth/git-mit"; homepage = "https://github.com/PurpleBooth/git-mit";

View File

@ -2,13 +2,13 @@
buildLua rec { buildLua rec {
pname = "mpv-playlistmanager"; pname = "mpv-playlistmanager";
version = "unstable-2023-11-28"; version = "unstable-2024-02-26";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "jonniek"; owner = "jonniek";
repo = "mpv-playlistmanager"; repo = "mpv-playlistmanager";
rev = "579490c7ae1becc129736b7632deec4f3fb90b99"; rev = "1911dc053951169c98cfcfd9f44ef87d9122ca80";
hash = "sha256-swOtoB8UV/HPTpQRGXswAfUYsyC2Nj/QRIkGP8X1jk0="; hash = "sha256-pcdOMhkivLF5B86aNuHrqj77DuYLAFGlwFwY7jxkDkE=";
}; };
passthru.updateScript = unstableGitUpdater {}; passthru.updateScript = unstableGitUpdater {};

View File

@ -64,6 +64,8 @@ let
# https://github.com/NixOS/nix/blob/9348f9291e5d9e4ba3c4347ea1b235640f54fd79/src/libutil/util.cc#L478 # https://github.com/NixOS/nix/blob/9348f9291e5d9e4ba3c4347ea1b235640f54fd79/src/libutil/util.cc#L478
export USER=nobody export USER=nobody
${buildPackages.nix}/bin/nix-store --load-db < ${closureInfo {rootPaths = contentsList;}}/registration ${buildPackages.nix}/bin/nix-store --load-db < ${closureInfo {rootPaths = contentsList;}}/registration
# Reset registration times to make the image reproducible
${buildPackages.sqlite}/bin/sqlite3 nix/var/nix/db/db.sqlite "UPDATE ValidPaths SET registrationTime = ''${SOURCE_DATE_EPOCH}"
mkdir -p nix/var/nix/gcroots/docker/ mkdir -p nix/var/nix/gcroots/docker/
for i in ${lib.concatStringsSep " " contentsList}; do for i in ${lib.concatStringsSep " " contentsList}; do

View File

@ -5,13 +5,13 @@
stdenvNoCC.mkDerivation rec { stdenvNoCC.mkDerivation rec {
pname = "bemoji"; pname = "bemoji";
version = "0.3.0"; version = "0.4.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "marty-oehme"; owner = "marty-oehme";
repo = "bemoji"; repo = "bemoji";
rev = "refs/tags/v${version}"; rev = "refs/tags/v${version}";
hash = "sha256-DhsJX5HlyTh0QLlHy1OwyaYg4vxWpBSsF71D9fxqPWE="; hash = "sha256-HXwho0vRI9ZrUuDMicMH4ZNExY+zJfbrne2LMQmmHww=";
}; };
strictDeps = true; strictDeps = true;

View File

@ -2,13 +2,13 @@
let let
pname = "chrysalis"; pname = "chrysalis";
version = "0.13.2"; version = "0.13.3";
name = "${pname}-${version}-binary"; name = "${pname}-${version}-binary";
src = fetchurl { src = fetchurl {
url = url =
"https://github.com/keyboardio/${pname}/releases/download/v${version}/${pname}-${version}-x64.AppImage"; "https://github.com/keyboardio/${pname}/releases/download/v${version}/${pname}-${version}-x64.AppImage";
hash = hash =
"sha512-WuItdQ/hDxbZZ3zulHI74NUkuYfesV/31rA1gPakCFgX2hpPrmKzwUez2vqt4N5qrGyphrR0bcelUatGZhOn5A=="; "sha512-F6Y87rgIclj1OA3gVX/gqqp9AvXKQlBXrbqk/26F1KHPF9NzHJgVmeszSo3Nhb6xg4CzWmzkqc8IW2H/Bg57kw==";
}; };
appimageContents = appimageTools.extract { inherit name src; }; appimageContents = appimageTools.extract { inherit name src; };
in appimageTools.wrapType2 rec { in appimageTools.wrapType2 rec {
@ -38,11 +38,13 @@ in appimageTools.wrapType2 rec {
install -Dm444 ${appimageContents}/usr/share/icons/hicolor/256x256/chrysalis.png -t $out/share/pixmaps install -Dm444 ${appimageContents}/usr/share/icons/hicolor/256x256/chrysalis.png -t $out/share/pixmaps
''; '';
passthru.updateScript = ./update.sh;
meta = with lib; { meta = with lib; {
description = "A graphical configurator for Kaleidoscope-powered keyboards"; description = "A graphical configurator for Kaleidoscope-powered keyboards";
homepage = "https://github.com/keyboardio/Chrysalis"; homepage = "https://github.com/keyboardio/Chrysalis";
license = licenses.gpl3Only; license = licenses.gpl3Only;
maintainers = with maintainers; [ aw ]; maintainers = with maintainers; [ aw eclairevoyant nshalman ];
platforms = [ "x86_64-linux" ]; platforms = [ "x86_64-linux" ];
mainProgram = "chrysalis"; mainProgram = "chrysalis";
}; };

View File

@ -0,0 +1,16 @@
#! /usr/bin/env nix-shell
#! nix-shell -i bash --pure -p curl cacert jq
set -euo pipefail
cd "$(dirname "${BASH_SOURCE[0]}")"
DRV_DIR="$PWD"
relinfo=$(curl -sL 'https://api.github.com/repos/keyboardio/chrysalis/releases' | jq 'map(select(.prerelease == false)) | max_by(.tag_name)')
newver=$(echo "$relinfo" | jq --raw-output '.tag_name' | sed 's|^v||')
hashurl=$(echo "$relinfo" | jq --raw-output '.assets[] | select(.name == "latest-linux.yml").browser_download_url')
newhash=$(curl -sL "$hashurl" | grep -Po '^sha512: \K.*')
sed -i package.nix \
-e "/^ version =/ s|\".*\"|\"$newver\"|" \
-e "/sha512-/ s|\".*\"|\"sha512-$newhash\"|" \

View File

@ -1,8 +1,7 @@
{ lib { lib
, stdenv
, fetchFromGitHub
, curl , curl
, duktape , duktape
, fetchFromGitHub
, html-tidy , html-tidy
, openssl , openssl
, pcre , pcre
@ -10,24 +9,45 @@
, pkg-config , pkg-config
, quickjs , quickjs
, readline , readline
, stdenv
, unixODBC
, which , which
, withODBC ? true
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation (finalAttrs: {
pname = "edbrowse"; pname = "edbrowse";
version = "3.8.0"; version = "3.8.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "CMB"; owner = "CMB";
repo = pname; repo = "edbrowse";
rev = "v${version}"; rev = "v${finalAttrs.version}";
hash = "sha256-ZXxzQBAmu7kM3sjqg/rDLBXNucO8sFRFKXV8UxQVQZU="; hash = "sha256-ZXxzQBAmu7kM3sjqg/rDLBXNucO8sFRFKXV8UxQVQZU=";
}; };
sourceRoot = "${finalAttrs.src.name}/src";
patches = [
# Fixes some small annoyances on src/makefile
./0001-small-fixes.patch
];
patchFlags = [
"-p2"
];
postPatch = ''
for file in $(find ./tools/ -type f ! -name '*.c'); do
patchShebangs $file
done
'';
nativeBuildInputs = [ nativeBuildInputs = [
pkg-config pkg-config
which which
]; ];
buildInputs = [ buildInputs = [
curl curl
duktape duktape
@ -37,27 +57,23 @@ stdenv.mkDerivation rec {
perl perl
quickjs quickjs
readline readline
] ++ lib.optionals withODBC [
unixODBC
]; ];
patches = [
# Fixes some small annoyances on src/makefile
./0001-small-fixes.patch
];
postPatch = ''
substituteInPlace src/makefile --replace\
'-L/usr/local/lib/quickjs' '-L${quickjs}/lib/quickjs'
for i in $(find ./tools/ -type f ! -name '*.c'); do
patchShebangs $i
done
'';
makeFlags = [ makeFlags = [
"-C" "src"
"PREFIX=${placeholder "out"}" "PREFIX=${placeholder "out"}"
]; ];
meta = with lib; { preBuild = ''
buildFlagsArray+=(
BUILD_EDBR_ODBC=${if withODBC then "on" else "off"}
EBDEMIN=on
QUICKJS_LDFLAGS="-L${quickjs}/lib/quickjs -lquickjs -ldl -latomic"
)
'';
meta = {
homepage = "https://edbrowse.org/"; homepage = "https://edbrowse.org/";
description = "Command Line Editor Browser"; description = "Command Line Editor Browser";
longDescription = '' longDescription = ''
@ -71,10 +87,14 @@ stdenv.mkDerivation rec {
send email, with no human intervention whatsoever. edbrowse can also tap send email, with no human intervention whatsoever. edbrowse can also tap
into databases through odbc. It was primarily written by Karl Dahlke. into databases through odbc. It was primarily written by Karl Dahlke.
''; '';
license = licenses.gpl1Plus; license = with lib.licenses; [ gpl1Plus ];
maintainers = with maintainers; [ schmitthenner vrthra equirosa ];
platforms = platforms.linux;
mainProgram = "edbrowse"; mainProgram = "edbrowse";
maintainers = with lib.maintainers; [
schmitthenner
equirosa
AndersonTorres
];
platforms = lib.platforms.linux;
}; };
} })
# TODO: send the patch to upstream developers # TODO: send the patch to upstream developers

View File

@ -1,21 +1,25 @@
{ lib { lib
, python3Packages
, fetchFromGitHub , fetchFromGitHub
, python3
}: }:
python3Packages.buildPythonApplication rec { python3.pkgs.buildPythonApplication rec {
pname = "ffsubsync"; pname = "ffsubsync";
version = "0.4.25"; version = "0.4.25";
format = "pyproject"; pyproject = true;
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "smacke"; owner = "smacke";
repo = "ffsubsync"; repo = "ffsubsync";
rev = version; rev = "refs/tags/${version}";
hash = "sha256-ZdKZeKfAUe/FXLOur9Btb5RgXewmy3EHunQphqlxpIc="; hash = "sha256-ZdKZeKfAUe/FXLOur9Btb5RgXewmy3EHunQphqlxpIc=";
}; };
propagatedBuildInputs = with python3Packages; [ nativeBuildInputs = with python3.pkgs; [
setuptools
];
propagatedBuildInputs = with python3.pkgs; [
auditok auditok
charset-normalizer charset-normalizer
faust-cchardet faust-cchardet
@ -32,9 +36,13 @@ python3Packages.buildPythonApplication rec {
webrtcvad webrtcvad
]; ];
nativeCheckInputs = with python3Packages; [ pytestCheckHook ]; nativeCheckInputs = with python3.pkgs; [
pytestCheckHook
];
pythonImportsCheck = [ "ffsubsync" ]; pythonImportsCheck = [
"ffsubsync"
];
meta = with lib; { meta = with lib; {
homepage = "https://github.com/smacke/ffsubsync"; homepage = "https://github.com/smacke/ffsubsync";

View File

@ -6,13 +6,13 @@
}: }:
buildGoModule rec { buildGoModule rec {
pname = "flottbot"; pname = "flottbot";
version = "0.13.0"; version = "0.13.1";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "target"; owner = "target";
repo = "flottbot"; repo = "flottbot";
rev = version; rev = version;
hash = "sha256-ldWE5QcLHyIqap5Qe6OTTIJZ1sshI+CVoJoRUxWHfxM="; hash = "sha256-Fv4ZBCQA7gwt11ULIiyFwn+QgoMNgu+1TM9yy2Jz7og=";
}; };
patches = [ patches = [
@ -24,7 +24,7 @@ buildGoModule rec {
}) })
]; ];
vendorHash = "sha256-XRcTp3ZnoPupzI1kjoM4oF5+VlNJFV0Bu+WAwfRWl7g="; vendorHash = "sha256-wOUQKFd2Xm/2rvLw8kw8Ejbcq/JUvup/BzZs0fllBYY=";
subPackages = [ "cmd/flottbot" ]; subPackages = [ "cmd/flottbot" ];

View File

@ -0,0 +1,31 @@
{ lib
, buildGoModule
, fetchFromGitHub
, stdenv
}:
let
finalAttrs = {
pname = "fm";
version = "0.16.0";
src = fetchFromGitHub {
owner = "mistakenelf";
repo = "fm";
rev = "v${finalAttrs.version}";
hash = "sha256-wiACaszbkO9jBYmIfeQpcx984RY41Emyu911nkJxUFY=";
};
vendorHash = "sha256-AfRGoKiVZGVIbsDj5pV1zCkp2FpcfWKS0t+cTU51RRc=";
meta = {
homepage = "https://github.com/mistakenelf/fm";
description = "A terminal based file manager";
changelog = "https://github.com/mistakenelf/fm/releases/tag/${finalAttrs.src.rev}";
license = with lib.licenses; [ mit ];
mainProgram = "fm";
maintainers = with lib.maintainers; [ AndersonTorres ];
};
};
in
buildGoModule finalAttrs

View File

@ -0,0 +1,29 @@
{ lib
, buildGoModule
, fetchFromGitHub
}:
buildGoModule rec {
pname = "go-errorlint";
version = "1.4.5";
src = fetchFromGitHub {
owner = "polyfloyd";
repo = "go-errorlint";
rev = "v${version}";
hash = "sha256-BU+3sLUGBCFA1JYFxTEyIan+iWB7Y7SaMFVomfNObMg=";
};
vendorHash = "sha256-xn7Ou4l8vbPD44rsN0mdFjTzOvkfv6QN6i5XR1XPxTE=";
ldflags = [ "-s" "-w" ];
meta = with lib; {
description = "A source code linter that can be used to find code that will cause problems with Go's error wrapping scheme";
homepage = "https://github.com/polyfloyd/go-errorlint";
changelog = "https://github.com/polyfloyd/go-errorlint/blob/${src.rev}/CHANGELOG.md";
license = licenses.mit;
maintainers = with maintainers; [ meain ];
mainProgram = "go-errorlint";
};
}

View File

@ -1,29 +1,29 @@
{ lib { lib
, stdenvNoCC
, fetchFromGitHub
, bash , bash
, coreutils , coreutils
, fetchFromGitHub
, findutils , findutils
, gettext , gettext
, gnused , gnused
, installShellFiles
, less , less
, ncurses , ncurses
, nixos-option , nixos-option
, stdenvNoCC
, unixtools , unixtools
, installShellFiles
, unstableGitUpdater , unstableGitUpdater
}: }:
stdenvNoCC.mkDerivation (finalAttrs: { stdenvNoCC.mkDerivation (finalAttrs: {
pname = "home-manager"; pname = "home-manager";
version = "unstable-2024-02-20"; version = "0-unstable-2024-02-24";
src = fetchFromGitHub { src = fetchFromGitHub {
name = "home-manager-source"; name = "home-manager-source";
owner = "nix-community"; owner = "nix-community";
repo = "home-manager"; repo = "home-manager";
rev = "517601b37c6d495274454f63c5a483c8e3ca6be1"; rev = "4ee704cb13a5a7645436f400b9acc89a67b9c08a";
hash = "sha256-tgZ38NummEdnXvxj4D0StHBzXgceAw8CptytHljH790="; hash = "sha256-MSbxtF3RThI8ANs/G4o1zIqF5/XlShHvwjl9Ws0QAbI=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [
@ -40,6 +40,21 @@ stdenvNoCC.mkDerivation (finalAttrs: {
install -D -m755 home-manager/home-manager $out/bin/home-manager install -D -m755 home-manager/home-manager $out/bin/home-manager
install -D -m755 lib/bash/home-manager.sh $out/share/bash/home-manager.sh install -D -m755 lib/bash/home-manager.sh $out/share/bash/home-manager.sh
installShellCompletion --bash --name home-manager.bash home-manager/completion.bash
installShellCompletion --fish --name home-manager.fish home-manager/completion.fish
installShellCompletion --zsh --name _home-manager home-manager/completion.zsh
for pofile in home-manager/po/*.po; do
lang="''${pofile##*/}"
lang="''${lang%%.*}"
mkdir -p "$out/share/locale/$lang/LC_MESSAGES"
msgfmt -o "$out/share/locale/$lang/LC_MESSAGES/home-manager.mo" "$pofile"
done
runHook postInstall
'';
postFixup = ''
substituteInPlace $out/bin/home-manager \ substituteInPlace $out/bin/home-manager \
--subst-var-by bash "${bash}" \ --subst-var-by bash "${bash}" \
--subst-var-by DEP_PATH "${ --subst-var-by DEP_PATH "${
@ -57,19 +72,6 @@ stdenvNoCC.mkDerivation (finalAttrs: {
--subst-var-by HOME_MANAGER_LIB '${placeholder "out"}/share/bash/home-manager.sh' \ --subst-var-by HOME_MANAGER_LIB '${placeholder "out"}/share/bash/home-manager.sh' \
--subst-var-by HOME_MANAGER_PATH "${finalAttrs.src}" \ --subst-var-by HOME_MANAGER_PATH "${finalAttrs.src}" \
--subst-var-by OUT '${placeholder "out"}' --subst-var-by OUT '${placeholder "out"}'
installShellCompletion --bash --name home-manager.bash home-manager/completion.bash
installShellCompletion --fish --name home-manager.fish home-manager/completion.fish
installShellCompletion --zsh --name _home-manager home-manager/completion.zsh
for pofile in home-manager/po/*.po; do
lang="''${pofile##*/}"
lang="''${lang%%.*}"
mkdir -p "$out/share/locale/$lang/LC_MESSAGES"
msgfmt -o "$out/share/locale/$lang/LC_MESSAGES/home-manager.mo" "$pofile"
done
runHook postInstall
''; '';
passthru.updateScript = unstableGitUpdater { passthru.updateScript = unstableGitUpdater {
@ -86,8 +88,8 @@ stdenvNoCC.mkDerivation (finalAttrs: {
(non global) packages and dotfiles. (non global) packages and dotfiles.
''; '';
license = lib.licenses.mit; license = lib.licenses.mit;
mainProgram = "home-manager";
maintainers = with lib.maintainers; [ AndersonTorres ]; maintainers = with lib.maintainers; [ AndersonTorres ];
platforms = lib.platforms.unix; platforms = lib.platforms.unix;
mainProgram = "home-manager";
}; };
}) })

View File

@ -4,7 +4,7 @@
fetchurl, fetchurl,
jdk21, jdk21,
stdenv, stdenv,
undmg _7zz
}: }:
let let
pname = "nosql-workbench"; pname = "nosql-workbench";
@ -39,30 +39,19 @@ if stdenv.isDarwin then stdenv.mkDerivation {
sourceRoot = "."; sourceRoot = ".";
nativeBuildInputs = [ _7zz ];
buildInputs = [ jdk21 ]; buildInputs = [ jdk21 ];
# DMG file is using APFS which is unsupported by "undmg". # DMG file is using APFS which is unsupported by "undmg".
# Fix found: https://discourse.nixos.org/t/help-with-error-only-hfs-file-systems-are-supported-on-ventura/25873/8 # Instead, use "7zz" to extract the contents.
# "undmg" issue: https://github.com/matthewbauer/undmg/issues/4 # "undmg" issue: https://github.com/matthewbauer/undmg/issues/4
unpackCmd = '' unpackCmd = ''
echo "Creating temp directory" runHook preUnpack
mnt=$(TMPDIR=/tmp mktemp -d -t nix-XXXXXXXXXX)
function finish { 7zz x $curSrc
echo "Ejecting temp directory"
/usr/bin/hdiutil detach $mnt -force
rm -rf $mnt
}
# Detach volume when receiving SIG "0"
trap finish EXIT
# Mount DMG file runHook postUnpack
echo "Mounting DMG file into \"$mnt\""
/usr/bin/hdiutil attach -nobrowse -mountpoint $mnt $curSrc
# Copy content to local dir for later use
echo 'Copying extracted content into "sourceRoot"'
cp -a $mnt/NoSQL\ Workbench.app $PWD/
''; '';
installPhase = '' installPhase = ''

View File

@ -2,13 +2,13 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "outils"; pname = "outils";
version = "0.10"; version = "0.13";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "leahneukirchen"; owner = "leahneukirchen";
repo = pname; repo = "outils";
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-xYjILa0Km57q/xNP+M34r29WLGC15tzUNoUgPzQTtIs="; hash = "sha256-FokJytwQsbGsryBzyglpb1Hg3wti/CPQTOfIGIz9ThA=";
}; };
makeFlags = [ "PREFIX=$(out)" ]; makeFlags = [ "PREFIX=$(out)" ];

View File

@ -2,14 +2,14 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "scitokens-cpp"; pname = "scitokens-cpp";
version = "1.1.0"; version = "1.1.1";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "scitokens"; owner = "scitokens";
repo = "scitokens-cpp"; repo = "scitokens-cpp";
rev = "v1.1.0"; rev = "v1.1.1";
hash = "sha256-g97Ah5Oob0iOvMQegpG/AACLZCW37kA0RpSIcKOyQnE="; hash = "sha256-G3z9DYYWCNeA/rufNHQP3SwT5WS2AvUWm1rd8lx6XxA=";
}; };
nativeBuildInputs = [ cmake pkg-config ]; nativeBuildInputs = [ cmake pkg-config ];

View File

@ -73,6 +73,7 @@ python3.pkgs.toPythonModule (python3.pkgs.buildPythonApplication rec {
homepage = "https://github.com/searxng/searxng"; homepage = "https://github.com/searxng/searxng";
description = "A fork of Searx, a privacy-respecting, hackable metasearch engine"; description = "A fork of Searx, a privacy-respecting, hackable metasearch engine";
license = licenses.agpl3Plus; license = licenses.agpl3Plus;
mainProgram = "searxng-run";
maintainers = with maintainers; [ SuperSandro2000 _999eagle ]; maintainers = with maintainers; [ SuperSandro2000 _999eagle ];
}; };
}) })

View File

@ -75,9 +75,9 @@ checksum = "4b46cbb362ab8752921c97e041f5e366ee6297bd428a31275b9fcf1e380f7299"
[[package]] [[package]]
name = "anstream" name = "anstream"
version = "0.6.11" version = "0.6.12"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6e2e1ebcb11de5c03c67de28a7df593d32191b44939c482e97702baaaa6ab6a5" checksum = "96b09b5178381e0874812a9b157f7fe84982617e48f71f4e3235482775e5b540"
dependencies = [ dependencies = [
"anstyle", "anstyle",
"anstyle-parse", "anstyle-parse",
@ -147,9 +147,9 @@ checksum = "96d30a06541fbafbc7f82ed10c06164cfbd2c401138f6addd8404629c4b16711"
[[package]] [[package]]
name = "assert_cmd" name = "assert_cmd"
version = "2.0.13" version = "2.0.14"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "00ad3f3a942eee60335ab4342358c161ee296829e0d16ff42fc1d6cb07815467" checksum = "ed72493ac66d5804837f480ab3766c72bdfab91a65e565fc54fa9e42db0073a8"
dependencies = [ dependencies = [
"anstyle", "anstyle",
"bstr", "bstr",
@ -1587,25 +1587,21 @@ dependencies = [
"data-encoding", "data-encoding",
"distribution-filename", "distribution-filename",
"fs-err", "fs-err",
"fs2",
"goblin",
"indoc", "indoc",
"mailparse", "mailparse",
"once_cell", "once_cell",
"pathdiff",
"pep440_rs", "pep440_rs",
"platform-host", "platform-host",
"platform-info", "platform-info",
"plist", "plist",
"pyo3",
"pypi-types", "pypi-types",
"rayon",
"reflink-copy", "reflink-copy",
"regex", "regex",
"rustc-hash", "rustc-hash",
"serde", "serde",
"serde_json", "serde_json",
"sha2", "sha2",
"target-lexicon",
"tempfile", "tempfile",
"thiserror", "thiserror",
"tracing", "tracing",
@ -2193,6 +2189,12 @@ version = "1.0.14"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "de3145af08024dea9fa9914f381a17b8fc6034dfb00f3a84013f7ff43f29ed4c" checksum = "de3145af08024dea9fa9914f381a17b8fc6034dfb00f3a84013f7ff43f29ed4c"
[[package]]
name = "pathdiff"
version = "0.2.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8835116a5c179084a830efb3adc117ab007512b535bc1a21c991d3b32a6b44dd"
[[package]] [[package]]
name = "pep440_rs" name = "pep440_rs"
version = "0.5.0" version = "0.5.0"
@ -3189,18 +3191,18 @@ dependencies = [
[[package]] [[package]]
name = "serde" name = "serde"
version = "1.0.196" version = "1.0.197"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "870026e60fa08c69f064aa766c10f10b1d62db9ccd4d0abb206472bee0ce3b32" checksum = "3fb1c873e1b9b056a4dc4c0c198b24c3ffa059243875552b2bd0933b1aee4ce2"
dependencies = [ dependencies = [
"serde_derive", "serde_derive",
] ]
[[package]] [[package]]
name = "serde_derive" name = "serde_derive"
version = "1.0.196" version = "1.0.197"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "33c85360c95e7d137454dc81d9a4ed2b8efd8fbe19cee57357b32b9771fccb67" checksum = "7eb0b34b42edc17f6b7cac84a52a1c5f0e1bb2227e997ca9011ea3dd34e8610b"
dependencies = [ dependencies = [
"proc-macro2", "proc-macro2",
"quote", "quote",
@ -3209,9 +3211,9 @@ dependencies = [
[[package]] [[package]]
name = "serde_json" name = "serde_json"
version = "1.0.113" version = "1.0.114"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "69801b70b1c3dac963ecb03a364ba0ceda9cf60c71cfe475e99864759c8b8a79" checksum = "c5f09b1bd632ef549eaa9f60a1f8de742bdbc698e6cee2095fc84dde5f549ae0"
dependencies = [ dependencies = [
"itoa", "itoa",
"ryu", "ryu",
@ -3496,9 +3498,9 @@ checksum = "55937e1799185b12863d447f42597ed69d9928686b8d88a1df17376a097d8369"
[[package]] [[package]]
name = "target-lexicon" name = "target-lexicon"
version = "0.12.13" version = "0.12.14"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "69758bda2e78f098e4ccb393021a0963bb3442eac05f135c30f61b7370bbafae" checksum = "e1fc403891a21bcfb7c37834ba66a547a8f402146eba7265b5a6d88059c9ff2f"
[[package]] [[package]]
name = "task-local-extensions" name = "task-local-extensions"
@ -4131,7 +4133,7 @@ checksum = "f00cc9702ca12d3c81455259621e676d0f7251cec66a21e98fe2e9a37db93b2a"
[[package]] [[package]]
name = "uv" name = "uv"
version = "0.1.11" version = "0.1.12"
dependencies = [ dependencies = [
"anstream", "anstream",
"anyhow", "anyhow",
@ -4151,6 +4153,7 @@ dependencies = [
"fs-err", "fs-err",
"futures", "futures",
"gourgeist", "gourgeist",
"indexmap 2.2.3",
"indicatif", "indicatif",
"indoc", "indoc",
"insta", "insta",
@ -4493,12 +4496,15 @@ dependencies = [
"pep508_rs", "pep508_rs",
"platform-tags", "platform-tags",
"pypi-types", "pypi-types",
"pyproject-toml",
"rayon", "rayon",
"requirements-txt", "requirements-txt",
"rustc-hash", "rustc-hash",
"serde",
"tempfile", "tempfile",
"thiserror", "thiserror",
"tokio", "tokio",
"toml",
"tracing", "tracing",
"url", "url",
"uv-cache", "uv-cache",
@ -4518,9 +4524,11 @@ version = "0.0.1"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"cache-key", "cache-key",
"configparser",
"fs-err", "fs-err",
"indoc", "indoc",
"insta", "insta",
"install-wheel-rs",
"itertools 0.12.1", "itertools 0.12.1",
"once_cell", "once_cell",
"pep440_rs", "pep440_rs",

View File

@ -1,31 +1,25 @@
{ lib { lib
, cargo
, cmake , cmake
, darwin , darwin
, fetchFromGitHub , fetchFromGitHub
, libgit2
, openssl , openssl
, pkg-config , pkg-config
, python3
, rustPlatform , rustPlatform
, rustc
, stdenv , stdenv
, zlib
}: }:
python3.pkgs.buildPythonApplication rec { rustPlatform.buildRustPackage rec {
pname = "uv"; pname = "uv";
version = "0.1.11"; version = "0.1.12";
pyproject = true;
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "astral-sh"; owner = "astral-sh";
repo = "uv"; repo = "uv";
rev = version; rev = version;
hash = "sha256-0J6m/DgalYA+GGmgjFrNoo9KAv6WgMcx+gasgqG5v1Q="; hash = "sha256-tM8NX4BPGm8Xxlau+qpKSljTdSJutipsYFsZAdtmZuo=";
}; };
cargoDeps = rustPlatform.importCargoLock { cargoLock = {
lockFile = ./Cargo.lock; lockFile = ./Cargo.lock;
outputHashes = { outputHashes = {
"async_zip-0.0.16" = "sha256-M94ceTCtyQc1AtPXYrVGplShQhItqZZa/x5qLiL+gs0="; "async_zip-0.0.16" = "sha256-M94ceTCtyQc1AtPXYrVGplShQhItqZZa/x5qLiL+gs0=";
@ -34,25 +28,20 @@ python3.pkgs.buildPythonApplication rec {
}; };
nativeBuildInputs = [ nativeBuildInputs = [
cargo
cmake cmake
pkg-config pkg-config
rustPlatform.cargoSetupHook
rustPlatform.maturinBuildHook
rustc
]; ];
buildInputs = [ buildInputs = [
libgit2
openssl openssl
zlib
] ++ lib.optionals stdenv.isDarwin [ ] ++ lib.optionals stdenv.isDarwin [
darwin.apple_sdk.frameworks.SystemConfiguration darwin.apple_sdk.frameworks.SystemConfiguration
]; ];
dontUseCmakeConfigure = true; cargoBuildFlags = [ "--package" "uv" ];
pythonImportsCheck = [ "uv" ]; # Tests require network access
doCheck = false;
env = { env = {
OPENSSL_NO_VENDOR = true; OPENSSL_NO_VENDOR = true;
@ -61,7 +50,7 @@ python3.pkgs.buildPythonApplication rec {
meta = with lib; { meta = with lib; {
description = "An extremely fast Python package installer and resolver, written in Rust"; description = "An extremely fast Python package installer and resolver, written in Rust";
homepage = "https://github.com/astral-sh/uv"; homepage = "https://github.com/astral-sh/uv";
changelog = "https://github.com/astral-sh/uv/releases/tag/${version}"; changelog = "https://github.com/astral-sh/uv/blob/${src.rev}/CHANGELOG.md";
license = with licenses; [ asl20 mit ]; license = with licenses; [ asl20 mit ];
maintainers = with maintainers; [ marsam ]; maintainers = with maintainers; [ marsam ];
mainProgram = "uv"; mainProgram = "uv";

View File

@ -6,13 +6,13 @@
# Testing this requires a Thinkpad or the presence of /proc/acpi/ibm/fan # Testing this requires a Thinkpad or the presence of /proc/acpi/ibm/fan
stdenv.mkDerivation (finalAttrs: { stdenv.mkDerivation (finalAttrs: {
pname = "zcfan"; pname = "zcfan";
version = "1.2.1"; version = "1.3.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "cdown"; owner = "cdown";
repo = "zcfan"; repo = "zcfan";
rev = finalAttrs.version; rev = finalAttrs.version;
hash = "sha256-XngchR06HP2iExKJVe+XKBDgsv98AEYWOkl1a/Hktgs="; hash = "sha256-zpYQEHXt8LBNX+luM4YxP0dKH+hb2c8Z0BEeGP09oZo=";
}; };
postPatch = '' postPatch = ''

View File

@ -5,11 +5,11 @@
stdenvNoCC.mkDerivation rec { stdenvNoCC.mkDerivation rec {
pname = "lxgw-neoxihei"; pname = "lxgw-neoxihei";
version = "1.110"; version = "1.120";
src = fetchurl { src = fetchurl {
url = "https://github.com/lxgw/LxgwNeoXiHei/releases/download/v${version}/LXGWNeoXiHei.ttf"; url = "https://github.com/lxgw/LxgwNeoXiHei/releases/download/v${version}/LXGWNeoXiHei.ttf";
hash = "sha256-6KeKz8lJBCc/sc5pCkS2mSwMAQ8XpwDIMCjSbVXuyH4="; hash = "sha256-rQ+gbmUYr+iWm5WCUSqb+8+aMD5JZUsbPXZ0Nio2cl8=";
}; };
dontUnpack = true; dontUnpack = true;

View File

@ -6,13 +6,13 @@
stdenvNoCC.mkDerivation (self: { stdenvNoCC.mkDerivation (self: {
name = "alacritty-theme"; name = "alacritty-theme";
version = "unstable-2024-02-25"; version = "unstable-2024-02-28";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "alacritty"; owner = "alacritty";
repo = "alacritty-theme"; repo = "alacritty-theme";
rev = "07c10441dae4d0490145a0f40178f8846b24e800"; rev = "4aefb7c079721474078b28bbf9f582b592749ca6";
hash = "sha256-aZlsKbFcm1bswx7k0cjwhj1MudR0Q0rD8sdHa7kQ0rY="; hash = "sha256-+35S6eQkxLBuS/fDKD5bglQDIuz2xeEc5KSaK6k7IjI=";
}; };
dontConfigure = true; dontConfigure = true;

View File

@ -9,13 +9,13 @@
stdenvNoCC.mkDerivation (finalAttrs: { stdenvNoCC.mkDerivation (finalAttrs: {
pname = "suru-icon-theme"; pname = "suru-icon-theme";
version = "20.05.1"; version = "2024.02.1";
src = fetchFromGitLab { src = fetchFromGitLab {
owner = "ubports"; owner = "ubports";
repo = "development/core/suru-icon-theme"; repo = "development/core/suru-icon-theme";
rev = finalAttrs.version; rev = finalAttrs.version;
hash = "sha256-jJ6J+SjSABZCgnCF9cIFBpeSXX2LMnV+nPLPpoXQv30="; hash = "sha256-7T9FILhZrs5bbdBEV/FszCOwUd/C1Rl9tbDt77SIzRk=";
}; };
strictDeps = true; strictDeps = true;
@ -50,6 +50,7 @@ stdenvNoCC.mkDerivation (finalAttrs: {
meta = with lib; { meta = with lib; {
description = "Suru Icon Theme for Lomiri Operating Environment"; description = "Suru Icon Theme for Lomiri Operating Environment";
homepage = "https://gitlab.com/ubports/development/core/suru-icon-theme"; homepage = "https://gitlab.com/ubports/development/core/suru-icon-theme";
changelog = "https://gitlab.com/ubports/development/core/suru-icon-theme/-/blob/${finalAttrs.version}/ChangeLog";
license = licenses.cc-by-sa-30; license = licenses.cc-by-sa-30;
maintainers = teams.lomiri.members; maintainers = teams.lomiri.members;
platforms = platforms.all; platforms = platforms.all;

View File

@ -1,20 +1,16 @@
{ lib { lib
, stdenv
, fetchFromRepoOrCz
, copyPkgconfigItems , copyPkgconfigItems
, fetchFromRepoOrCz
, makePkgconfigItem , makePkgconfigItem
, perl , perl
, stdenv
, texinfo , texinfo
, which , which
}: }:
let stdenv.mkDerivation (finalAttrs: {
# avoid "malformed 32-bit x.y.z" error on mac when using clang
isCleanVer = version: builtins.match "^[0-9]\\.+[0-9]+\\.[0-9]+" version != null;
in
stdenv.mkDerivation rec {
pname = "tcc"; pname = "tcc";
version = "unstable-2022-07-15"; version = "0.9.27-unstable-2022-07-15";
src = fetchFromRepoOrCz { src = fetchFromRepoOrCz {
repo = "tinycc"; repo = "tinycc";
@ -22,6 +18,8 @@ stdenv.mkDerivation rec {
hash = "sha256-jY0P2GErmo//YBaz6u4/jj/voOE3C2JaIDRmo0orXN8="; hash = "sha256-jY0P2GErmo//YBaz6u4/jj/voOE3C2JaIDRmo0orXN8=";
}; };
outputs = [ "out" "info" "man" ];
nativeBuildInputs = [ nativeBuildInputs = [
copyPkgconfigItems copyPkgconfigItems
perl perl
@ -29,23 +27,27 @@ stdenv.mkDerivation rec {
which which
]; ];
pkgconfigItems = [ strictDeps = true;
(makePkgconfigItem rec {
pkgconfigItems = let
libtcc-pcitem = {
name = "libtcc"; name = "libtcc";
inherit version; inherit (finalAttrs) version;
cflags = [ "-I${variables.includedir}" ]; cflags = [ "-I${libtcc-pcitem.variables.includedir}" ];
libs = [ libs = [
"-L${variables.libdir}" "-L${libtcc-pcitem.variables.libdir}"
"-Wl,--rpath ${variables.libdir}" "-Wl,--rpath ${libtcc-pcitem.variables.libdir}"
"-ltcc" "-ltcc"
]; ];
variables = rec { variables = {
prefix = "${placeholder "out"}"; prefix = "${placeholder "out"}";
includedir = "${prefix}/include"; includedir = "${placeholder "dev"}/include";
libdir = "${prefix}/lib"; libdir = "${placeholder "lib"}/lib";
}; };
description = "Tiny C compiler backend"; description = "Tiny C compiler backend";
}) };
in [
(makePkgconfigItem libtcc-pcitem)
]; ];
postPatch = '' postPatch = ''
@ -64,17 +66,19 @@ stdenv.mkDerivation rec {
"--config-musl" "--config-musl"
]; ];
preConfigure = '' preConfigure = let
# To avoid "malformed 32-bit x.y.z" error on mac when using clang
versionIsClean = version:
builtins.match "^[0-9]\\.+[0-9]+\\.[0-9]+" version != null;
in ''
${ ${
if stdenv.isDarwin && ! isCleanVer version if stdenv.isDarwin && ! versionIsClean finalAttrs.version
then "echo 'not overwriting VERSION since it would upset ld'" then "echo 'not overwriting VERSION since it would upset ld'"
else "echo ${version} > VERSION" else "echo ${finalAttrs.version} > VERSION"
} }
configureFlagsArray+=("--elfinterp=$(< $NIX_CC/nix-support/dynamic-linker)") configureFlagsArray+=("--elfinterp=$(< $NIX_CC/nix-support/dynamic-linker)")
''; '';
outputs = [ "out" "info" "man" ];
# Test segfault for static build # Test segfault for static build
doCheck = !stdenv.hostPlatform.isStatic; doCheck = !stdenv.hostPlatform.isStatic;
@ -84,7 +88,7 @@ stdenv.mkDerivation rec {
rm tests/tests2/{108,114}* rm tests/tests2/{108,114}*
''; '';
meta = with lib; { meta = {
homepage = "https://repo.or.cz/tinycc.git"; homepage = "https://repo.or.cz/tinycc.git";
description = "Small, fast, and embeddable C compiler and interpreter"; description = "Small, fast, and embeddable C compiler and interpreter";
longDescription = '' longDescription = ''
@ -108,13 +112,13 @@ stdenv.mkDerivation rec {
With libtcc, you can use TCC as a backend for dynamic code generation. With libtcc, you can use TCC as a backend for dynamic code generation.
''; '';
license = licenses.lgpl21Only; license = with lib.licenses; [ lgpl21Only ];
maintainers = with maintainers; [ joachifm AndersonTorres ]; mainProgram = "tcc";
platforms = platforms.unix; maintainers = with lib.maintainers; [ joachifm AndersonTorres ];
platforms = lib.platforms.unix;
# https://www.mail-archive.com/tinycc-devel@nongnu.org/msg10199.html # https://www.mail-archive.com/tinycc-devel@nongnu.org/msg10199.html
broken = stdenv.isDarwin && stdenv.isAarch64; broken = stdenv.isDarwin && stdenv.isAarch64;
}; };
} })
# TODO: more multiple outputs # TODO: more multiple outputs
# TODO: self-compilation # TODO: self-compilation
# TODO: provide expression for stable release

View File

@ -2,13 +2,13 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "libgbinder"; pname = "libgbinder";
version = "1.1.36"; version = "1.1.37";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "mer-hybris"; owner = "mer-hybris";
repo = pname; repo = pname;
rev = version; rev = version;
sha256 = "sha256-QTlOiZG6qpNeicMJpOTMSTk2WwKbOzkaLulgmsxYaVI="; sha256 = "sha256-/XxWOaT2f6+0apv0NzMsPoYBf3GLuaXyPkmTMTDtOes=";
}; };
outputs = [ "out" "dev" ]; outputs = [ "out" "dev" ];

View File

@ -32,6 +32,11 @@ stdenv.mkDerivation rec {
sha256 = "+h0dKLECtvfsxwD5aRTIgiNI9jG/tortUJYFiYMe60g="; sha256 = "+h0dKLECtvfsxwD5aRTIgiNI9jG/tortUJYFiYMe60g=";
}; };
depsBuildBuild = [
# required to find native gi-docgen when cross compiling
pkg-config
];
nativeBuildInputs = [ nativeBuildInputs = [
gi-docgen gi-docgen
meson meson

View File

@ -42,7 +42,7 @@ let
qtModule = callPackage ./qtModule.nix { }; qtModule = callPackage ./qtModule.nix { };
qtbase = callPackage ./modules/qtbase.nix { qtbase = callPackage ./modules/qtbase.nix {
withGtk3 = true; withGtk3 = !stdenv.hostPlatform.isMinGW;
inherit (srcs.qtbase) src version; inherit (srcs.qtbase) src version;
inherit developerBuild; inherit developerBuild;
inherit (darwin.apple_sdk_11_0.frameworks) inherit (darwin.apple_sdk_11_0.frameworks)
@ -69,47 +69,49 @@ let
]; ];
}; };
env = callPackage ./qt-env.nix { }; env = callPackage ./qt-env.nix { };
full = callPackage ({ env, qtbase }: env "qt-full-${qtbase.version}" full = callPackage
# `with self` is ok to use here because having these spliced is unnecessary ({ env, qtbase }: env "qt-full-${qtbase.version}"
( with self;[ # `with self` is ok to use here because having these spliced is unnecessary
qt3d (with self;[
qt5compat qt3d
qtcharts qt5compat
qtconnectivity qtcharts
qtdatavis3d qtconnectivity
qtdeclarative qtdatavis3d
qtdoc qtdeclarative
qtgraphs qtdoc
qtgrpc qtgraphs
qthttpserver qtgrpc
qtimageformats qthttpserver
qtlanguageserver qtimageformats
qtlocation qtlanguageserver
qtlottie qtlocation
qtmultimedia qtlottie
qtmqtt qtmultimedia
qtnetworkauth qtmqtt
qtpositioning qtnetworkauth
qtsensors qtpositioning
qtserialbus qtsensors
qtserialport qtserialbus
qtshadertools qtserialport
qtspeech qtshadertools
qtquick3d qtspeech
qtquick3dphysics qtquick3d
qtquickeffectmaker qtquick3dphysics
qtquicktimeline qtquickeffectmaker
qtremoteobjects qtquicktimeline
qtsvg qtremoteobjects
qtscxml qtsvg
qttools qtscxml
qttranslations qttools
qtvirtualkeyboard qttranslations
qtwebchannel qtvirtualkeyboard
qtwebengine qtwebchannel
qtwebsockets qtwebengine
qtwebview qtwebsockets
] ++ lib.optionals (!stdenv.hostPlatform.isDarwin) [ qtwayland libglvnd ])) { }; qtwebview
] ++ lib.optionals (!stdenv.isDarwin) [ qtwayland libglvnd ]))
{ };
qt3d = callPackage ./modules/qt3d.nix { }; qt3d = callPackage ./modules/qt3d.nix { };
qt5compat = callPackage ./modules/qt5compat.nix { }; qt5compat = callPackage ./modules/qt5compat.nix { };
@ -162,11 +164,14 @@ let
GameController ImageCaptureCore LocalAuthentication GameController ImageCaptureCore LocalAuthentication
MediaAccessibility MediaPlayer MetalKit Network OpenDirectory Quartz MediaAccessibility MediaPlayer MetalKit Network OpenDirectory Quartz
ReplayKit SecurityInterface Vision; ReplayKit SecurityInterface Vision;
qtModule = callPackage ({ qtModule }: qtModule.override { qtModule = callPackage
stdenv = if stdenv.hostPlatform.isDarwin ({ qtModule }: qtModule.override {
then overrideSDK stdenv { darwinMinVersion = "10.13"; darwinSdkVersion = "11.0"; } stdenv =
else stdenv; if stdenv.isDarwin
}) { }; then overrideSDK stdenv { darwinMinVersion = "10.13"; darwinSdkVersion = "11.0"; }
else stdenv;
})
{ };
xcbuild = buildPackages.xcbuild.override { xcbuild = buildPackages.xcbuild.override {
productBuildVer = "20A2408"; productBuildVer = "20A2408";
}; };
@ -176,21 +181,25 @@ let
inherit (darwin.apple_sdk_11_0.frameworks) WebKit; inherit (darwin.apple_sdk_11_0.frameworks) WebKit;
}; };
wrapQtAppsHook = callPackage ({ makeBinaryWrapper }: makeSetupHook wrapQtAppsHook = callPackage
{ ({ makeBinaryWrapper }: makeSetupHook
name = "wrap-qt6-apps-hook"; {
propagatedBuildInputs = [ makeBinaryWrapper ]; name = "wrap-qt6-apps-hook";
} ./hooks/wrap-qt-apps-hook.sh) { }; propagatedBuildInputs = [ makeBinaryWrapper ];
} ./hooks/wrap-qt-apps-hook.sh)
{ };
qmake = callPackage ({ qtbase }: makeSetupHook qmake = callPackage
{ ({ qtbase }: makeSetupHook
name = "qmake6-hook"; {
propagatedBuildInputs = [ qtbase.dev ]; name = "qmake6-hook";
substitutions = { propagatedBuildInputs = [ qtbase.dev ];
inherit debug; substitutions = {
fix_qmake_libtool = ./hooks/fix-qmake-libtool.sh; inherit debug;
}; fix_qmake_libtool = ./hooks/fix-qmake-libtool.sh;
} ./hooks/qmake-hook.sh) { }; };
} ./hooks/qmake-hook.sh)
{ };
} // lib.optionalAttrs config.allowAliases { } // lib.optionalAttrs config.allowAliases {
# Convert to a throw on 03-01-2023 and backport the change. # Convert to a throw on 03-01-2023 and backport the change.
# Warnings show up in various cli tool outputs, throws do not. # Warnings show up in various cli tool outputs, throws do not.
@ -203,12 +212,13 @@ let
f = addPackages; f = addPackages;
}; };
bootstrapScope = baseScope.overrideScope(final: prev: { bootstrapScope = baseScope.overrideScope (final: prev: {
qtbase = prev.qtbase.override { qttranslations = null; }; qtbase = prev.qtbase.override { qttranslations = null; };
qtdeclarative = null; qtdeclarative = null;
}); });
finalScope = baseScope.overrideScope(final: prev: { finalScope = baseScope.overrideScope (final: prev: {
qttranslations = bootstrapScope.qttranslations; qttranslations = bootstrapScope.qttranslations;
}); });
in finalScope in
finalScope

View File

@ -4,6 +4,7 @@
, patches ? [ ] , patches ? [ ]
, version , version
, coreutils , coreutils
, buildPackages
, bison , bison
, flex , flex
, gdb , gdb
@ -79,6 +80,8 @@
, EventKit , EventKit
, GSS , GSS
, MetalKit , MetalKit
# mingw
, pkgsBuildBuild
# optional dependencies # optional dependencies
, cups , cups
, libmysqlclient , libmysqlclient
@ -96,6 +99,7 @@
let let
debugSymbols = debug || developerBuild; debugSymbols = debug || developerBuild;
isCrossBuild = !stdenv.buildPlatform.canExecute stdenv.hostPlatform;
in in
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "qtbase"; pname = "qtbase";
@ -110,7 +114,6 @@ stdenv.mkDerivation rec {
openssl openssl
sqlite sqlite
zlib zlib
unixODBC
# Text rendering # Text rendering
harfbuzz harfbuzz
icu icu
@ -119,14 +122,16 @@ stdenv.mkDerivation rec {
libpng libpng
pcre2 pcre2
pcre pcre
libproxy
zstd zstd
double-conversion
libb2 libb2
md4c md4c
double-conversion
] ++ lib.optionals (!stdenv.hostPlatform.isMinGW) [
libproxy
dbus dbus
glib glib
# unixODBC drivers # unixODBC drivers
unixODBC
unixODBCDrivers.psql unixODBCDrivers.psql
unixODBCDrivers.sqlite unixODBCDrivers.sqlite
unixODBCDrivers.mariadb unixODBCDrivers.mariadb
@ -174,11 +179,16 @@ stdenv.mkDerivation rec {
EventKit EventKit
GSS GSS
MetalKit MetalKit
] ++ lib.optional libGLSupported libGL; ] ++ lib.optionals libGLSupported [
libGL
] ++ lib.optionals stdenv.hostPlatform.isMinGW [
vulkan-headers
vulkan-loader
];
buildInputs = [ buildInputs = lib.optionals (lib.meta.availableOn stdenv.hostPlatform at-spi2-core) [
at-spi2-core at-spi2-core
] ++ lib.optionals (!stdenv.hostPlatform.isDarwin) [ ] ++ lib.optionals (lib.meta.availableOn stdenv.hostPlatform libinput) [
libinput libinput
] ++ lib.optionals (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isx86_64) [ ] ++ lib.optionals (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isx86_64) [
AppKit AppKit
@ -186,9 +196,9 @@ stdenv.mkDerivation rec {
] ]
++ lib.optional withGtk3 gtk3 ++ lib.optional withGtk3 gtk3
++ lib.optional developerBuild gdb ++ lib.optional developerBuild gdb
++ lib.optional (cups != null) cups ++ lib.optional (cups != null && lib.meta.availableOn stdenv.hostPlatform cups) cups
++ lib.optional (libmysqlclient != null) libmysqlclient ++ lib.optional (libmysqlclient != null && !stdenv.hostPlatform.isMinGW) libmysqlclient
++ lib.optional (postgresql != null) postgresql; ++ lib.optional (postgresql != null && lib.meta.availableOn stdenv.hostPlatform postgresql) postgresql;
nativeBuildInputs = [ bison flex gperf lndir perl pkg-config which cmake xmlstarlet ninja ] nativeBuildInputs = [ bison flex gperf lndir perl pkg-config which cmake xmlstarlet ninja ]
++ lib.optionals stdenv.hostPlatform.isDarwin [ moveBuildTree ]; ++ lib.optionals stdenv.hostPlatform.isDarwin [ moveBuildTree ];
@ -203,7 +213,7 @@ stdenv.mkDerivation rec {
# https://bugreports.qt.io/browse/QTBUG-97568 # https://bugreports.qt.io/browse/QTBUG-97568
postPatch = '' postPatch = ''
substituteInPlace src/corelib/CMakeLists.txt --replace-fail "/bin/ls" "${coreutils}/bin/ls" substituteInPlace src/corelib/CMakeLists.txt --replace-fail "/bin/ls" "${buildPackages.coreutils}/bin/ls"
'' + lib.optionalString stdenv.hostPlatform.isDarwin '' '' + lib.optionalString stdenv.hostPlatform.isDarwin ''
substituteInPlace cmake/QtPublicAppleHelpers.cmake --replace-fail "/usr/bin/xcrun" "${xcbuild}/bin/xcrun" substituteInPlace cmake/QtPublicAppleHelpers.cmake --replace-fail "/usr/bin/xcrun" "${xcbuild}/bin/xcrun"
''; '';
@ -232,7 +242,11 @@ stdenv.mkDerivation rec {
] ++ lib.optionals stdenv.hostPlatform.isDarwin [ ] ++ lib.optionals stdenv.hostPlatform.isDarwin [
# error: 'path' is unavailable: introduced in macOS 10.15 # error: 'path' is unavailable: introduced in macOS 10.15
"-DQT_FEATURE_cxx17_filesystem=OFF" "-DQT_FEATURE_cxx17_filesystem=OFF"
] ++ lib.optional (qttranslations != null) "-DINSTALL_TRANSLATIONSDIR=${qttranslations}/translations"; ] ++ lib.optionals isCrossBuild [
"-DQT_HOST_PATH=${pkgsBuildBuild.qt6.qtbase}"
"-DQt6HostInfo_DIR=${pkgsBuildBuild.qt6.qtbase}/lib/cmake/Qt6HostInfo"
]
++ lib.optional (qttranslations != null && !isCrossBuild) "-DINSTALL_TRANSLATIONSDIR=${qttranslations}/translations";
env.NIX_LDFLAGS = toString (lib.optionals stdenv.hostPlatform.isDarwin [ env.NIX_LDFLAGS = toString (lib.optionals stdenv.hostPlatform.isDarwin [
# Undefined symbols for architecture arm64: "___gss_c_nt_hostbased_service_oid_desc" # Undefined symbols for architecture arm64: "___gss_c_nt_hostbased_service_oid_desc"
@ -253,6 +267,8 @@ stdenv.mkDerivation rec {
dontStrip = debugSymbols; dontStrip = debugSymbols;
dontWrapQtApps = true;
setupHook = ../hooks/qtbase-setup-hook.sh; setupHook = ../hooks/qtbase-setup-hook.sh;
meta = with lib; { meta = with lib; {
@ -260,6 +276,6 @@ stdenv.mkDerivation rec {
description = "A cross-platform application framework for C++"; description = "A cross-platform application framework for C++";
license = with licenses; [ fdl13Plus gpl2Plus lgpl21Plus lgpl3Plus ]; license = with licenses; [ fdl13Plus gpl2Plus lgpl21Plus lgpl3Plus ];
maintainers = with maintainers; [ milahu nickcao LunNova ]; maintainers = with maintainers; [ milahu nickcao LunNova ];
platforms = platforms.unix; platforms = platforms.unix ++ platforms.windows;
}; };
} }

View File

@ -1,19 +1,19 @@
From f0c4d3860b75cb064d066045907622d536044096 Mon Sep 17 00:00:00 2001 From 6f0e6fe1e13ca5844a93d3b97111b7ece7e60f0f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Milan=20P=C3=A4ssler?= <me@pbb.lc> From: =?UTF-8?q?Milan=20P=C3=A4ssler?= <me@pbb.lc>
Date: Sun, 10 May 2020 12:47:28 +0200 Date: Sun, 10 May 2020 12:47:28 +0200
Subject: [PATCH 11/11] qtbase: derive plugin load path from PATH Subject: [PATCH 11/11] qtbase: derive plugin load path from PATH
--- ---
src/corelib/kernel/qcoreapplication.cpp | 10 ++++++++++ src/corelib/kernel/qcoreapplication.cpp | 9 +++++++++
1 file changed, 10 insertions(+) 1 file changed, 9 insertions(+)
diff --git a/src/corelib/kernel/qcoreapplication.cpp b/src/corelib/kernel/qcoreapplication.cpp diff --git a/src/corelib/kernel/qcoreapplication.cpp b/src/corelib/kernel/qcoreapplication.cpp
index a80efbb5622..8cf9e85da43 100644 index a80efbb5622..0d41dabeed3 100644
--- a/src/corelib/kernel/qcoreapplication.cpp --- a/src/corelib/kernel/qcoreapplication.cpp
+++ b/src/corelib/kernel/qcoreapplication.cpp +++ b/src/corelib/kernel/qcoreapplication.cpp
@@ -2991,6 +2991,16 @@ QStringList QCoreApplication::libraryPathsLocked() @@ -3032,6 +3032,15 @@ QStringList QCoreApplication::libraryPathsLocked()
QStringList *app_libpaths = new QStringList; app_libpaths->append(installPathPlugins);
coreappdata()->app_libpaths.reset(app_libpaths); }
+ // Add library paths derived from PATH + // Add library paths derived from PATH
+ const QStringList paths = QFile::decodeName(qgetenv("PATH")).split(QStringLiteral(":")); + const QStringList paths = QFile::decodeName(qgetenv("PATH")).split(QStringLiteral(":"));
@ -24,10 +24,9 @@ index a80efbb5622..8cf9e85da43 100644
+ } + }
+ } + }
+ +
+ // If QCoreApplication is not yet instantiated,
auto setPathsFromEnv = [&](QString libPathEnv) { // make sure we add the application path when we construct the QCoreApplication
if (!libPathEnv.isEmpty()) { if (self) self->d_func()->appendApplicationPathToLibraryPaths();
QStringList paths = libPathEnv.split(QDir::listSeparator(), Qt::SkipEmptyParts);
-- --
2.42.0 2.43.1

View File

@ -7,7 +7,7 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "suitesparse-graphblas"; pname = "suitesparse-graphblas";
version = "9.0.1"; version = "9.0.2";
outputs = [ "out" "dev" ]; outputs = [ "out" "dev" ];
@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
owner = "DrTimothyAldenDavis"; owner = "DrTimothyAldenDavis";
repo = "GraphBLAS"; repo = "GraphBLAS";
rev = "v${version}"; rev = "v${version}";
hash = "sha256-eNd6jlpW3KiRvOCKvNP5ttpgjPPXt2M2vLhk1Zn4gTE="; hash = "sha256-wPg5A1lwtRPDO5gPbllEFkRJFRIhkqqaVd4CBdPavKE=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [

View File

@ -5,13 +5,13 @@
buildGoModule rec { buildGoModule rec {
pname = "brev-cli"; pname = "brev-cli";
version = "0.6.276"; version = "0.6.277";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "brevdev"; owner = "brevdev";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-IAzsoKPFmhyBgd3jD6qEBav5ynQYrn8/cl6epsjrVKg="; sha256 = "sha256-s80veDxN0GfHKOwDhxx1ArZXqk8OPSl+d/Ruxj0oLJA=";
}; };
vendorHash = "sha256-IR/tgqh8rS4uN5jSOcopCutbHCKHSU9icUfRhOgu4t8="; vendorHash = "sha256-IR/tgqh8rS4uN5jSOcopCutbHCKHSU9icUfRhOgu4t8=";

View File

@ -100,6 +100,7 @@ buildPythonPackage rec {
"test_plot_ppc_discrete_save_animation" "test_plot_ppc_discrete_save_animation"
# Assertion error # Assertion error
"test_data_zarr" "test_data_zarr"
"test_plot_forest"
]; ];
pythonImportsCheck = [ pythonImportsCheck = [

View File

@ -15,14 +15,14 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "cbor2"; pname = "cbor2";
version = "5.5.1"; version = "5.6.2";
pyproject = true; pyproject = true;
disabled = pythonOlder "3.8"; disabled = pythonOlder "3.8";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
hash = "sha256-+eGS9GGp+PYILfKMA1sAbRU5BCE9yGQL7Ypy1yu8lHU="; hash = "sha256-t1E8LeqIaJkfrX74iZiQ68+LGZubRGHDwR160670gg0=";
}; };
postPatch = '' postPatch = ''
@ -44,12 +44,6 @@ buildPythonPackage rec {
pytestCheckHook pytestCheckHook
]; ];
# https://github.com/agronholm/cbor2/issues/99
disabledTests = lib.optionals stdenv.is32bit [
"test_huge_truncated_bytes"
"test_huge_truncated_string"
];
meta = with lib; { meta = with lib; {
changelog = "https://github.com/agronholm/cbor2/releases/tag/${version}"; changelog = "https://github.com/agronholm/cbor2/releases/tag/${version}";
description = "Python CBOR (de)serializer with extensive tag support"; description = "Python CBOR (de)serializer with extensive tag support";

View File

@ -23,7 +23,7 @@
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "clickhouse-connect"; pname = "clickhouse-connect";
version = "0.7.0"; version = "0.7.1";
format = "setuptools"; format = "setuptools";
@ -33,7 +33,7 @@ buildPythonPackage rec {
repo = "clickhouse-connect"; repo = "clickhouse-connect";
owner = "ClickHouse"; owner = "ClickHouse";
rev = "refs/tags/v${version}"; rev = "refs/tags/v${version}";
hash = "sha256-RpuBKdjjSjJJ9UU7VW20gD9Rouj0oxv72sZZaUa/BfY="; hash = "sha256-Qdv0DcdIjqz8NtyMsVNQxGTxsB3TpXUGDA3oL8QbBDc=";
}; };
nativeBuildInputs = [ cython_3 ]; nativeBuildInputs = [ cython_3 ];

View File

@ -21,7 +21,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "cloudpathlib"; pname = "cloudpathlib";
version = "0.18.0"; version = "0.18.1";
pyproject = true; pyproject = true;
disabled = pythonOlder "3.7"; disabled = pythonOlder "3.7";
@ -30,7 +30,7 @@ buildPythonPackage rec {
owner = "drivendataorg"; owner = "drivendataorg";
repo = "cloudpathlib"; repo = "cloudpathlib";
rev = "refs/tags/v${version}"; rev = "refs/tags/v${version}";
hash = "sha256-4CwwCdGUKUmie9PmAmrVxpAhk3b2WG+Cmx3QAADkyYQ="; hash = "sha256-RrdRUqQ3QyMUpTi1FEsSXK6WS37r77SdPBH1oVVvSw0=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [

View File

@ -1,34 +1,46 @@
{ lib { lib
, buildPythonPackage , buildPythonPackage
, editorconfig
, fetchPypi , fetchPypi
, setuptools
, jsbeautifier , jsbeautifier
, pythonOlder
, setuptools
, six
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "cssbeautifier"; pname = "cssbeautifier";
version = "1.14.11"; version = "1.15.1";
format = "pyproject"; pyproject = true;
disabled = pythonOlder "3.7";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
hash = "sha256-QFRMK2K7y2TKpefzegLflWVOXOG8rK2sTKHz3InDFRM="; hash = "sha256-n3BkNirt1VnFXu7Pa2vtZeBfM0iNy+OQRPBAPCbhwAY=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [
setuptools setuptools
]; ];
propagatedBuildInputs = [ jsbeautifier ]; propagatedBuildInputs = [
editorconfig
jsbeautifier
six
];
# has no tests # Module has no tests
doCheck = false; doCheck = false;
pythonImportsCheck = [ "cssbeautifier" ]; pythonImportsCheck = [
"cssbeautifier"
];
meta = with lib; { meta = with lib; {
description = "CSS unobfuscator and beautifier"; description = "CSS unobfuscator and beautifier";
homepage = "https://pypi.org/project/cssbeautifier/"; homepage = "https://github.com/beautifier/js-beautify";
changelog = "https://github.com/beautifier/js-beautify/blob/v${version}/CHANGELOG.md";
license = licenses.mit; license = licenses.mit;
maintainers = with maintainers; [ traxys ]; maintainers = with maintainers; [ traxys ];
}; };

View File

@ -13,14 +13,14 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "dbt-redshift"; pname = "dbt-redshift";
version = "1.7.3"; version = "1.7.4";
pyproject = true; pyproject = true;
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "dbt-labs"; owner = "dbt-labs";
repo = "dbt-redshift"; repo = "dbt-redshift";
rev = "refs/tags/v${version}"; rev = "refs/tags/v${version}";
hash = "sha256-3zj3wA1wxUjKSm1n7QE2g/VUuH3UuWlXCC68mOb2eso="; hash = "sha256-Ny6Nnb5OhtqSQZ0BMOQrb0ic6i29GVywy3hn3UuVtxE=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [

View File

@ -10,14 +10,14 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "django-crispy-bootstrap4"; pname = "django-crispy-bootstrap4";
version = "2023.1"; version = "2024.1";
format = "pyproject"; format = "pyproject";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "django-crispy-forms"; owner = "django-crispy-forms";
repo = "crispy-bootstrap4"; repo = "crispy-bootstrap4";
rev = "refs/tags/${version}"; rev = "refs/tags/${version}";
hash = "sha256-4p6dlyQYZGyfBntTuzCjikL8ZG/4xDnTiQ1rCVt0Hbk="; hash = "sha256-upHrNDhoY+8qD+aeXPcY452xUIyYjW0apf8mVo6pqY4=";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [

View File

@ -8,7 +8,7 @@
, pytest-mock , pytest-mock
}: }:
let let
version = "2.3.0"; version = "2.3.1";
in in
buildPythonPackage { buildPythonPackage {
pname = "docstr-coverage"; pname = "docstr-coverage";
@ -17,8 +17,8 @@ buildPythonPackage {
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "HunterMcGushion"; owner = "HunterMcGushion";
repo = "docstr_coverage"; repo = "docstr_coverage";
rev = "v${version}"; rev = "refs/tags/v${version}";
hash = "sha256-eYHhE5zs3hYzK3aAimF0Gx/Kyk1Ot1F/lKf1poR2er0="; hash = "sha256-QmQE6KZ2NdXKQun+uletxYPktWvfkrj6NPAVl/mmpAY=";
}; };
propagatedBuildInputs = [ click pyyaml tqdm ]; propagatedBuildInputs = [ click pyyaml tqdm ];

View File

@ -1,17 +1,17 @@
From 001549503eed364d4baaa5804242f67c6236f6c2 Mon Sep 17 00:00:00 2001 From d3aed2c18cc3a1c88a8052af1f34d7f81f1be11a Mon Sep 17 00:00:00 2001
From: Flakebi <flakebi@t-online.de> From: Flakebi <flakebi@t-online.de>
Date: Sat, 2 Dec 2023 16:55:05 +0100 Date: Wed, 28 Feb 2024 23:24:14 +0100
Subject: [PATCH] Fix with new dependency versions Subject: [PATCH] Fix with new dependency versions
- cookie_jar is private in werkzeug 2.3, so recreate the client instead - cookie_jar is private in werkzeug 2.3, so recreate the client instead
- set_cookie does not take a hostname argument anymore, use domain instead - set_cookie does not take a hostname argument anymore, use domain instead
- Headers need to specify a content type - Headers need to specify a content type
--- ---
test_seasurf.py | 63 ++++++++++++++++++++++++------------------------- test_seasurf.py | 71 ++++++++++++++++++++++++-------------------------
1 file changed, 31 insertions(+), 32 deletions(-) 1 file changed, 35 insertions(+), 36 deletions(-)
diff --git a/test_seasurf.py b/test_seasurf.py diff --git a/test_seasurf.py b/test_seasurf.py
index 517b2d7..501f82d 100644 index 517b2d7..f940b91 100644
--- a/test_seasurf.py --- a/test_seasurf.py
+++ b/test_seasurf.py +++ b/test_seasurf.py
@@ -71,18 +71,18 @@ class SeaSurfTestCase(BaseTestCase): @@ -71,18 +71,18 @@ class SeaSurfTestCase(BaseTestCase):
@ -37,6 +37,15 @@ index 517b2d7..501f82d 100644
self.assertIn(b('403 Forbidden'), rv.data) self.assertIn(b('403 Forbidden'), rv.data)
def test_json_token_validation_bad(self): def test_json_token_validation_bad(self):
@@ -93,7 +93,7 @@ class SeaSurfTestCase(BaseTestCase):
with self.app.test_client() as client:
with client.session_transaction() as sess:
sess[self.csrf._csrf_name] = tokenA
- client.set_cookie('www.example.com', self.csrf._csrf_name, tokenB)
+ client.set_cookie(self.csrf._csrf_name, tokenB, domain='www.example.com')
rv = client.post('/bar', data=data)
self.assertEqual(rv.status_code, 403, rv)
@@ -107,7 +107,7 @@ class SeaSurfTestCase(BaseTestCase): @@ -107,7 +107,7 @@ class SeaSurfTestCase(BaseTestCase):
data = {'_csrf_token': token} data = {'_csrf_token': token}
with self.app.test_client() as client: with self.app.test_client() as client:
@ -55,7 +64,7 @@ index 517b2d7..501f82d 100644
sess[self.csrf._csrf_name] = token sess[self.csrf._csrf_name] = token
# once this is reached the session was stored # once this is reached the session was stored
@@ -144,7 +144,7 @@ class SeaSurfTestCase(BaseTestCase): @@ -144,18 +144,18 @@ class SeaSurfTestCase(BaseTestCase):
with client.session_transaction() as sess: with client.session_transaction() as sess:
token = self.csrf._generate_token() token = self.csrf._generate_token()
@ -64,6 +73,19 @@ index 517b2d7..501f82d 100644
sess[self.csrf._csrf_name] = token sess[self.csrf._csrf_name] = token
# once this is reached the session was stored # once this is reached the session was stored
- rv = client.post('/bar',
+ rv = client.post('/bar', content_type='application/json',
data={self.csrf._csrf_name: token},
base_url='https://www.example.com',
headers={'Referer': 'https://www.example.com/foobar'})
self.assertEqual(rv.status_code, 200)
- rv = client.post(u'/bar/\xf8',
+ rv = client.post(u'/bar/\xf8', content_type='application/json',
data={self.csrf._csrf_name: token},
base_url='https://www.example.com',
headers={'Referer': 'https://www.example.com/foobar\xf8'})
@@ -167,7 +167,7 @@ class SeaSurfTestCase(BaseTestCase): @@ -167,7 +167,7 @@ class SeaSurfTestCase(BaseTestCase):
with client.session_transaction() as sess: with client.session_transaction() as sess:
token = self.csrf._generate_token() token = self.csrf._generate_token()
@ -252,6 +274,15 @@ index 517b2d7..501f82d 100644
self.assertEqual(res2.status_code, 200) self.assertEqual(res2.status_code, 200)
def test_header_set_cookie_samesite(self): def test_header_set_cookie_samesite(self):
@@ -789,7 +788,7 @@ class SeaSurfTestCaseGenerateNewToken(BaseTestCase):
client.get('/foo')
tokenA = self.csrf._get_token()
- client.set_cookie('www.example.com', self.csrf._csrf_name, tokenA)
+ client.set_cookie(self.csrf._csrf_name, tokenA, domain='www.example.com')
with client.session_transaction() as sess:
sess[self.csrf._csrf_name] = tokenA
-- --
2.42.0 2.43.0

View File

@ -12,14 +12,14 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "ibm-cloud-sdk-core"; pname = "ibm-cloud-sdk-core";
version = "3.19.1"; version = "3.19.2";
pyproject = true; pyproject = true;
disabled = pythonOlder "3.8"; disabled = pythonOlder "3.8";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
hash = "sha256-oPDcQSWNWG9wauSVW7srXN85+UeF6Q0CRlaSyqh2W/Q="; hash = "sha256-qodN9ALyAfzsrCAiPT3t02JJRCBqFCNVWlsQP+4d3do=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [

View File

@ -1,43 +1,59 @@
{ lib { lib
, stdenv
, buildPythonPackage , buildPythonPackage
, fetchFromGitHub , fetchFromGitHub
, fetchpatch
# tests
, ffmpeg-full , ffmpeg-full
, python , pytestCheckHook
, pythonOlder
, setuptools
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "pydub"; pname = "pydub";
version = "0.25.1"; version = "0.25.1";
format = "setuptools"; pyproject = true;
disabled = pythonOlder "3.7";
# pypi version doesn't include required data files for tests
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "jiaaro"; owner = "jiaaro";
repo = pname; repo = "pydub";
rev = "v${version}"; rev = "refs/tags/v${version}";
sha256 = "0xskllq66wqndjfmvp58k26cv3w480sqsil6ifwp4gghir7hqc8m"; hash = "sha256-FTEMT47wPXK5i4ZGjTVAhI/NjJio3F2dbBZzYzClU3c=";
}; };
patches = [
# Fix test assertions, https://github.com/jiaaro/pydub/pull/769
(fetchpatch {
name = "fix-assertions.patch";
url = "https://github.com/jiaaro/pydub/commit/66c1bf7813ae8621a71484fdcdf609734c0d8efd.patch";
hash = "sha256-3OIzvTgGK3r4/s5y7izHvouB4uJEmjO6cgKvegtTf7A=";
})
];
nativeBuildInputs = [
setuptools
];
nativeCheckInputs = [
ffmpeg-full
pytestCheckHook
];
pythonImportsCheck = [ pythonImportsCheck = [
"pydub" "pydub"
"pydub.audio_segment" "pydub.audio_segment"
"pydub.playback" "pydub.playback"
]; ];
nativeCheckInputs = [ pytestFlagsArray = [
ffmpeg-full "test/test.py"
]; ];
checkPhase = ''
${python.interpreter} test/test.py
'';
meta = with lib; { meta = with lib; {
description = "Manipulate audio with a simple and easy high level interface"; description = "Manipulate audio with a simple and easy high level interface";
homepage = "http://pydub.com"; homepage = "http://pydub.com";
changelog = "https://github.com/jiaaro/pydub/blob/v${version}/CHANGELOG.md";
license = licenses.mit; license = licenses.mit;
maintainers = with maintainers; [ ]; maintainers = with maintainers; [ ];
}; };

View File

@ -23,9 +23,14 @@ buildPythonPackage rec {
owner = "pymc-devs"; owner = "pymc-devs";
repo = "pymc"; repo = "pymc";
rev = "refs/tags/v${version}"; rev = "refs/tags/v${version}";
hash = "sha256-bOrWgZaSOXXalw251cm5JUDkAARGaxmUk+z3SY6Git8="; hash = "sha256-tiOXbryY2TmeBVrG5cIMeDJ4alolBQ5LosdfH3tpVOA=";
}; };
postPatch = ''
substituteInPlace setup.py \
--replace-fail ', "pytest-cov"' ""
'';
propagatedBuildInputs = [ propagatedBuildInputs = [
arviz arviz
cachetools cachetools
@ -37,11 +42,6 @@ buildPythonPackage rec {
typing-extensions typing-extensions
]; ];
postPatch = ''
substituteInPlace setup.py \
--replace ', "pytest-cov"' ""
'';
# The test suite is computationally intensive and test failures are not # The test suite is computationally intensive and test failures are not
# indicative for package usability hence tests are disabled by default. # indicative for package usability hence tests are disabled by default.
doCheck = false; doCheck = false;

View File

@ -72,6 +72,7 @@ buildPythonPackage rec {
changelog = "https://github.com/dotX12/ShazamIO/releases/tag/${src.rev}"; changelog = "https://github.com/dotX12/ShazamIO/releases/tag/${src.rev}";
license = licenses.mit; license = licenses.mit;
maintainers = with maintainers; [ figsoda ]; maintainers = with maintainers; [ figsoda ];
# https://github.com/shazamio/ShazamIO/issues/80
broken = versionAtLeast pydantic.version "2"; broken = versionAtLeast pydantic.version "2";
}; };
} }

View File

@ -21,7 +21,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "slack-sdk"; pname = "slack-sdk";
version = "3.27.0"; version = "3.27.1";
pyproject = true; pyproject = true;
disabled = pythonOlder "3.6"; disabled = pythonOlder "3.6";
@ -30,7 +30,7 @@ buildPythonPackage rec {
owner = "slackapi"; owner = "slackapi";
repo = "python-slack-sdk"; repo = "python-slack-sdk";
rev = "refs/tags/v${version}"; rev = "refs/tags/v${version}";
hash = "sha256-MA3pn6NQxzXYu/BBpOgfZWnS51dl7oXrAi43jenHhxI="; hash = "sha256-fBHu4e6pSt8yzXbLWr5cwjRFDfvdH2jzpSNzdMBg4N0=";
}; };
postPatch = '' postPatch = ''

View File

@ -5,12 +5,13 @@
, fetchFromGitHub , fetchFromGitHub
, pytestCheckHook , pytestCheckHook
, pythonOlder , pythonOlder
, setuptools
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "snapcast"; pname = "snapcast";
version = "2.3.3"; version = "2.3.4";
format = "setuptools"; pyproject = true;
disabled = pythonOlder "3.7"; disabled = pythonOlder "3.7";
@ -18,9 +19,13 @@ buildPythonPackage rec {
owner = "happyleavesaoc"; owner = "happyleavesaoc";
repo = "python-snapcast"; repo = "python-snapcast";
rev = "refs/tags/${version}"; rev = "refs/tags/${version}";
hash = "sha256-IFgSO0PjlFb4XJarx50Xnx6dF4tBKk3sLcoLWVdpnk8="; hash = "sha256-qADcLrE5QwoYBDEmh7hrDJZIND2k3F0OTCEHdHDu3Y0=";
}; };
nativeBuildInputs = [
setuptools
];
propagatedBuildInputs = [ propagatedBuildInputs = [
construct construct
packaging packaging

View File

@ -10,11 +10,12 @@
, numpy , numpy
, h5py , h5py
, pytestCheckHook , pytestCheckHook
, stdenv
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "tensordict"; pname = "tensordict";
version = "0.3.0"; version = "0.3.1";
pyproject = true; pyproject = true;
disabled = pythonOlder "3.8"; disabled = pythonOlder "3.8";
@ -23,7 +24,7 @@ buildPythonPackage rec {
owner = "pytorch"; owner = "pytorch";
repo = "tensordict"; repo = "tensordict";
rev = "refs/tags/v${version}"; rev = "refs/tags/v${version}";
hash = "sha256-XTFUzPs/fqX3DPtu/qSE1hY+7r/HToPVPaTyVRzDT/E="; hash = "sha256-eCx1r7goqOdGX/0mSGCiLhdGQTh4Swa5aFiLSsL56p0=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [
@ -53,6 +54,18 @@ buildPythonPackage rec {
pytestCheckHook pytestCheckHook
]; ];
# RuntimeError: internal error
disabledTests = lib.optionals (stdenv.hostPlatform.system == "aarch64-linux") [
"test_add_scale_sequence"
"test_modules"
"test_setattr"
];
# ModuleNotFoundError: No module named 'torch._C._distributed_c10d'; 'torch._C' is not a package
disabledTestPaths = lib.optionals stdenv.isDarwin [
"test/test_distributed.py"
];
meta = with lib; { meta = with lib; {
description = "A pytorch dedicated tensor container"; description = "A pytorch dedicated tensor container";
changelog = "https://github.com/pytorch/tensordict/releases/tag/v${version}"; changelog = "https://github.com/pytorch/tensordict/releases/tag/v${version}";

View File

@ -364,12 +364,12 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "types-aiobotocore"; pname = "types-aiobotocore";
version = "2.11.2"; version = "2.12.0";
pyproject = true; pyproject = true;
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
hash = "sha256-bnYg/u2BvG3/iBJ5xKQwiMG/n8vREpnOGHYaSlwlnRs="; hash = "sha256-ma/pyfhqWpWFZ+V4O+mNr4SfoOC4/vn9+Hy+rYGAaG8=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [

View File

@ -27,14 +27,14 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "universal-silabs-flasher"; pname = "universal-silabs-flasher";
version = "0.0.18"; version = "0.0.19";
pyproject = true; pyproject = true;
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "NabuCasa"; owner = "NabuCasa";
repo = "universal-silabs-flasher"; repo = "universal-silabs-flasher";
rev = "v${version}"; rev = "refs/tags/v${version}";
hash = "sha256-XUMpWzDqouhbsP+s0b13f6N0YGdXJK6qhbWQLqMzNHM="; hash = "sha256-VoO9B27CNY2Cnt/Q2HsU6DVYkukQMgbIHc6xqfN0P7w=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [

View File

@ -2,7 +2,7 @@
, rustPlatform , rustPlatform
, fetchFromGitHub , fetchFromGitHub
, pkg-config , pkg-config
, libgit2_1_6 , libgit2
, rust-jemalloc-sys , rust-jemalloc-sys
, zlib , zlib
, stdenv , stdenv
@ -28,7 +28,7 @@ rustPlatform.buildRustPackage rec {
]; ];
buildInputs = [ buildInputs = [
libgit2_1_6 libgit2
rust-jemalloc-sys rust-jemalloc-sys
zlib zlib
] ++ lib.optionals stdenv.isDarwin [ ] ++ lib.optionals stdenv.isDarwin [
@ -47,6 +47,7 @@ rustPlatform.buildRustPackage rec {
env = { env = {
BIOME_VERSION = version; BIOME_VERSION = version;
LIBGIT2_NO_VENDOR = 1;
}; };
preCheck = '' preCheck = ''

View File

@ -6,13 +6,13 @@
buildGoModule rec { buildGoModule rec {
pname = "cirrus-cli"; pname = "cirrus-cli";
version = "0.112.0"; version = "0.112.1";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "cirruslabs"; owner = "cirruslabs";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-3ad/2h9rw1BeMcr1lLEZp4fzJHfwl7y3/tTjmKKAvho="; sha256 = "sha256-v0VYjG1GJwfXXabk9aBs99xGk6F0bFPFBBe//T7P4yQ=";
}; };
vendorHash = "sha256-tHEbHExdbWeZm3+rwRYpRILyPYEYdeVJ91Qr/yNIKV8="; vendorHash = "sha256-tHEbHExdbWeZm3+rwRYpRILyPYEYdeVJ91Qr/yNIKV8=";

View File

@ -2,17 +2,17 @@
buildGoModule rec { buildGoModule rec {
pname = "gopls"; pname = "gopls";
version = "0.15.0"; version = "0.15.1";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "golang"; owner = "golang";
repo = "tools"; repo = "tools";
rev = "gopls/v${version}"; rev = "gopls/v${version}";
hash = "sha256-Ii3c7zqMC/CeSv6X7wSgUdCkVbP+bxDuUcqPKIeE3Is="; hash = "sha256-GJ2zc5OgZXwEq12f0PyvgOOUd7cctUbFvdp095VQb9E=";
}; };
modRoot = "gopls"; modRoot = "gopls";
vendorHash = "sha256-i6Pa2cMxf97LKVy6ZVyPvjAVbQHaF84RAO0dM/dgk/Y="; vendorHash = "sha256-Xxik0t1BHQPqzrE3Oh3VhODn+IqIVa+TCNqQSnmbBM0=";
doCheck = false; doCheck = false;
@ -22,6 +22,7 @@ buildGoModule rec {
meta = with lib; { meta = with lib; {
description = "Official language server for the Go language"; description = "Official language server for the Go language";
homepage = "https://github.com/golang/tools/tree/master/gopls"; homepage = "https://github.com/golang/tools/tree/master/gopls";
changelog = "https://github.com/golang/tools/releases/tag/${src.rev}";
license = licenses.bsd3; license = licenses.bsd3;
maintainers = with maintainers; [ mic92 rski SuperSandro2000 zimbatm ]; maintainers = with maintainers; [ mic92 rski SuperSandro2000 zimbatm ];
mainProgram = "gopls"; mainProgram = "gopls";

View File

@ -2,7 +2,6 @@
, rustPlatform , rustPlatform
, fetchCrate , fetchCrate
, pkg-config , pkg-config
, libgit2
, openssl , openssl
, zlib , zlib
, stdenv , stdenv
@ -26,7 +25,6 @@ rustPlatform.buildRustPackage rec {
]; ];
buildInputs = [ buildInputs = [
libgit2
openssl openssl
zlib zlib
] ++ lib.optionals stdenv.isDarwin [ ] ++ lib.optionals stdenv.isDarwin [

View File

@ -3,7 +3,7 @@
, fetchFromGitHub , fetchFromGitHub
, curl , curl
, pkg-config , pkg-config
, libgit2_1_5 , libgit2
, openssl , openssl
, zlib , zlib
, stdenv , stdenv
@ -30,7 +30,7 @@ rustPlatform.buildRustPackage rec {
buildInputs = [ buildInputs = [
curl curl
libgit2_1_5 libgit2
openssl openssl
zlib zlib
] ++ lib.optionals stdenv.isDarwin [ ] ++ lib.optionals stdenv.isDarwin [
@ -40,6 +40,10 @@ rustPlatform.buildRustPackage rec {
cargoBuildFlags = [ "-p=cargo-codspeed" ]; cargoBuildFlags = [ "-p=cargo-codspeed" ];
cargoTestFlags = cargoBuildFlags; cargoTestFlags = cargoBuildFlags;
env = {
LIBGIT2_NO_VENDOR = 1;
};
meta = with lib; { meta = with lib; {
description = "Cargo extension to build & run your codspeed benchmarks"; description = "Cargo extension to build & run your codspeed benchmarks";
homepage = "https://github.com/CodSpeedHQ/codspeed-rust"; homepage = "https://github.com/CodSpeedHQ/codspeed-rust";

View File

@ -6,7 +6,7 @@
, curl , curl
, openssl , openssl
, darwin , darwin
, libgit2_1_3_0 , libgit2
}: }:
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
@ -35,7 +35,7 @@ rustPlatform.buildRustPackage rec {
] ++ lib.optionals stdenv.isDarwin [ ] ++ lib.optionals stdenv.isDarwin [
curl curl
darwin.apple_sdk.frameworks.Security darwin.apple_sdk.frameworks.Security
libgit2_1_3_0 libgit2
]; ];
# update Cargo.lock to work with openssl 3 # update Cargo.lock to work with openssl 3
@ -43,6 +43,10 @@ rustPlatform.buildRustPackage rec {
ln -sf ${./Cargo.lock} Cargo.lock ln -sf ${./Cargo.lock} Cargo.lock
''; '';
env = {
LIBGIT2_NO_VENDOR = 1;
};
meta = with lib; { meta = with lib; {
description = "A tool to analyze the third-party dependencies imported by a rust crate or rust workspace"; description = "A tool to analyze the third-party dependencies imported by a rust crate or rust workspace";
homepage = "https://github.com/mimoo/cargo-dephell"; homepage = "https://github.com/mimoo/cargo-dephell";

View File

@ -2,7 +2,7 @@
, rustPlatform , rustPlatform
, fetchFromGitHub , fetchFromGitHub
, pkg-config , pkg-config
, libgit2_1_6 , libgit2
, openssl , openssl
, stdenv , stdenv
, darwin , darwin
@ -24,7 +24,7 @@ rustPlatform.buildRustPackage rec {
nativeBuildInputs = [ pkg-config ]; nativeBuildInputs = [ pkg-config ];
buildInputs = [ libgit2_1_6 openssl ] ++ lib.optionals stdenv.isDarwin [ buildInputs = [ libgit2 openssl ] ++ lib.optionals stdenv.isDarwin [
darwin.apple_sdk.frameworks.Security darwin.apple_sdk.frameworks.Security
]; ];
@ -48,6 +48,10 @@ rustPlatform.buildRustPackage rec {
"--skip=git::utils::should_canonicalize" "--skip=git::utils::should_canonicalize"
]; ];
env = {
LIBGIT2_NO_VENDOR = 1;
};
meta = with lib; { meta = with lib; {
description = "A tool to generate a new Rust project by leveraging a pre-existing git repository as a template"; description = "A tool to generate a new Rust project by leveraging a pre-existing git repository as a template";
homepage = "https://github.com/cargo-generate/cargo-generate"; homepage = "https://github.com/cargo-generate/cargo-generate";

View File

@ -2,7 +2,7 @@
, rustPlatform , rustPlatform
, fetchCrate , fetchCrate
, pkg-config , pkg-config
, libgit2_1_5 , libgit2
, openssl , openssl
, stdenv , stdenv
, expat , expat
@ -28,7 +28,7 @@ rustPlatform.buildRustPackage rec {
]; ];
buildInputs = [ buildInputs = [
libgit2_1_5 libgit2
openssl openssl
] ++ lib.optionals stdenv.isLinux [ ] ++ lib.optionals stdenv.isLinux [
expat expat
@ -48,6 +48,10 @@ rustPlatform.buildRustPackage rec {
--add-rpath ${lib.makeLibraryPath [ fontconfig libGL ]} --add-rpath ${lib.makeLibraryPath [ fontconfig libGL ]}
''; '';
env = {
LIBGIT2_NO_VENDOR = 1;
};
meta = with lib; { meta = with lib; {
description = "A GUI for Cargo"; description = "A GUI for Cargo";
homepage = "https://github.com/slint-ui/cargo-ui"; homepage = "https://github.com/slint-ui/cargo-ui";

View File

@ -3,7 +3,7 @@
, fetchCrate , fetchCrate
, curl , curl
, pkg-config , pkg-config
, libgit2_1_5 , libgit2
, openssl , openssl
, stdenv , stdenv
, darwin , darwin
@ -27,13 +27,17 @@ rustPlatform.buildRustPackage rec {
buildInputs = [ buildInputs = [
curl curl
libgit2_1_5 libgit2
openssl openssl
] ++ lib.optionals stdenv.isDarwin [ ] ++ lib.optionals stdenv.isDarwin [
darwin.apple_sdk.frameworks.CoreFoundation darwin.apple_sdk.frameworks.CoreFoundation
darwin.apple_sdk.frameworks.Security darwin.apple_sdk.frameworks.Security
]; ];
env = {
LIBGIT2_NO_VENDOR = 1;
};
meta = with lib; { meta = with lib; {
description = "A tool to find potential unused enabled feature flags and prune them"; description = "A tool to find potential unused enabled feature flags and prune them";
homepage = "https://github.com/timonpost/cargo-unused-features"; homepage = "https://github.com/timonpost/cargo-unused-features";

View File

@ -7,7 +7,7 @@
, ronn , ronn
, stdenv , stdenv
, curl , curl
, libgit2_1_5 , libgit2
, libssh2 , libssh2
, openssl , openssl
, zlib , zlib
@ -35,7 +35,7 @@ rustPlatform.buildRustPackage rec {
]; ];
buildInputs = [ buildInputs = [
libgit2_1_5 libgit2
libssh2 libssh2
openssl openssl
zlib zlib
@ -55,6 +55,10 @@ rustPlatform.buildRustPackage rec {
installManPage man/*.1 installManPage man/*.1
''; '';
env = {
LIBGIT2_NO_VENDOR = 1;
};
meta = with lib; { meta = with lib; {
description = "A cargo subcommand for checking and applying updates to installed executables"; description = "A cargo subcommand for checking and applying updates to installed executables";
homepage = "https://github.com/nabijaczleweli/cargo-update"; homepage = "https://github.com/nabijaczleweli/cargo-update";

View File

@ -2,7 +2,6 @@
, rustPlatform , rustPlatform
, fetchCrate , fetchCrate
, pkg-config , pkg-config
, libgit2_1_6
, libssh2 , libssh2
, openssl , openssl
, zlib , zlib
@ -26,7 +25,6 @@ rustPlatform.buildRustPackage rec {
]; ];
buildInputs = [ buildInputs = [
libgit2_1_6
libssh2 libssh2
openssl openssl
zlib zlib

View File

@ -6,16 +6,16 @@
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "typeshare"; pname = "typeshare";
version = "1.7.0"; version = "1.8.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "1password"; owner = "1password";
repo = "typeshare"; repo = "typeshare";
rev = "v${version}"; rev = "v${version}";
hash = "sha256-Ftr0YMrY6tPpfg25swYntBXLWGKT00PEz79aOiSgLsU="; hash = "sha256-ykrtvXPXxNYrUQNScit+REb7/6mE0FOzBQxPdbWodgk=";
}; };
cargoHash = "sha256-VIPIFdbyPcflqHHLkzpDugmw9+9CJRIv+Oy7PoaUZ5g="; cargoHash = "sha256-/oIezLqd3hkWrfO2pml31de+pgpEXhXHxIxt10rPJZo=";
nativeBuildInputs = [ installShellFiles ]; nativeBuildInputs = [ installShellFiles ];

View File

@ -2,16 +2,16 @@
buildGoModule rec { buildGoModule rec {
pname = "vultr-cli"; pname = "vultr-cli";
version = "3.0.0"; version = "3.0.1";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "vultr"; owner = "vultr";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
hash = "sha256-k8YaoH75U1BvC3I71e1wY2TMaCVyZyBrQxYcEv3+bu8="; hash = "sha256-9akEDsBj2EpZtUBh0+Dck5otsmFzdvJshXxOtYVdi1o=";
}; };
vendorHash = "sha256-QbzKXPgUWIMVo29xGRcL+KFva8cs+2goqh9b6h29aeY="; vendorHash = "sha256-jkl36S7h1l6FeeHEhc+PKOQO9Uq/4L5wTb8+PhG2exY=";
nativeBuildInputs = [ installShellFiles ]; nativeBuildInputs = [ installShellFiles ];

View File

@ -7,14 +7,13 @@
, luajit , luajit
, makeWrapper , makeWrapper
, symlinkJoin , symlinkJoin
, disable-warnings-if-gcc13
}: }:
# revisions are taken from https://github.com/GrimKriegor/TES3MP-deploy # revisions are taken from https://github.com/GrimKriegor/TES3MP-deploy
let let
# raknet could also be split into dev and lib outputs # raknet could also be split into dev and lib outputs
raknet = disable-warnings-if-gcc13 (stdenv.mkDerivation { raknet = stdenv.mkDerivation {
pname = "raknet"; pname = "raknet";
version = "unstable-2020-01-19"; version = "unstable-2020-01-19";
@ -46,7 +45,7 @@ let
installPhase = '' installPhase = ''
install -Dm555 lib/libRakNetLibStatic.a $out/lib/libRakNetLibStatic.a install -Dm555 lib/libRakNetLibStatic.a $out/lib/libRakNetLibStatic.a
''; '';
}); };
coreScripts = stdenv.mkDerivation { coreScripts = stdenv.mkDerivation {
pname = "corescripts"; pname = "corescripts";

View File

@ -17,7 +17,9 @@ in stdenv.mkDerivation rec {
nativeCheckInputs = [ python ]; nativeCheckInputs = [ python ];
doCheck = true; # reptyr needs to do ptrace of a non-child process
# It can be neither used nor tested if the kernel is not told to allow this
doCheck = false;
checkFlags = [ checkFlags = [
"PYTHON_CMD=${python.interpreter}" "PYTHON_CMD=${python.interpreter}"

View File

@ -4,13 +4,13 @@ with lib;
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "pure-prompt"; pname = "pure-prompt";
version = "1.22.0"; version = "1.23.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "sindresorhus"; owner = "sindresorhus";
repo = "pure"; repo = "pure";
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-TR4CyBZ+KoZRs9XDmWE5lJuUXXU1J8E2Z63nt+FS+5w="; sha256 = "sha256-BmQO4xqd/3QnpLUitD2obVxL0UulpboT8jGNEh4ri8k=";
}; };
strictDeps = true; strictDeps = true;

View File

@ -13,11 +13,11 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "ibus-anthy"; pname = "ibus-anthy";
version = "1.5.15"; version = "1.5.16";
src = fetchurl { src = fetchurl {
url = "https://github.com/ibus/ibus-anthy/releases/download/${version}/${pname}-${version}.tar.gz"; url = "https://github.com/ibus/ibus-anthy/releases/download/${version}/${pname}-${version}.tar.gz";
sha256 = "sha256-WMTm1YNqSsnjOqnoTljE3rZ62pjztUSyRAxXgyN+2Ys="; sha256 = "sha256-FVIiFLWK2ISsydmx2hPxXbfc12w7GKiFCQRuXsYT0a4=";
}; };
buildInputs = [ buildInputs = [

View File

@ -2,14 +2,14 @@
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "faketty"; pname = "faketty";
version = "1.0.15"; version = "1.0.16";
src = fetchCrate { src = fetchCrate {
inherit pname version; inherit pname version;
hash = "sha256-f32Y9Aj4Z9y6Da9rbRgwi9BGPl4FsI790BH52cIIoPA="; hash = "sha256-BlQnVjYPFUfEurFUE2MHOL2ad56Nu/atzRuFu4OoCSI=";
}; };
cargoHash = "sha256-+M1oq2CHUK6CIDFiUNLjO1UmHI19D5zdHVl8dvmQ1G8="; cargoHash = "sha256-q9jx03XYA977481B9xuUfaaMBDbSVx4xREj4Q1Ti/Yw=";
postPatch = '' postPatch = ''
patchShebangs tests/test.sh patchShebangs tests/test.sh

View File

@ -6,7 +6,7 @@
, installShellFiles , installShellFiles
, pkg-config , pkg-config
, bzip2 , bzip2
, libgit2_1_6 , libgit2
, openssl , openssl
, zlib , zlib
, zstd , zstd
@ -45,7 +45,7 @@ rustPlatform.buildRustPackage rec {
buildInputs = [ buildInputs = [
bzip2 bzip2
curl curl
libgit2_1_6 libgit2
openssl openssl
zlib zlib
zstd zstd
@ -80,6 +80,7 @@ rustPlatform.buildRustPackage rec {
env = { env = {
GEN_ARTIFACTS = "artifacts"; GEN_ARTIFACTS = "artifacts";
LIBGIT2_NO_VENDOR = 1;
NIX = lib.getExe nix; NIX = lib.getExe nix;
NURL = lib.getExe nurl; NURL = lib.getExe nurl;
ZSTD_SYS_USE_PKG_CONFIG = true; ZSTD_SYS_USE_PKG_CONFIG = true;

View File

@ -5,17 +5,22 @@
buildGoModule rec { buildGoModule rec {
pname = "dontgo403"; pname = "dontgo403";
version = "0.9.4"; version = "1.0.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "devploit"; owner = "devploit";
repo = pname; repo = "dontgo403";
rev = "refs/tags/${version}"; rev = "refs/tags/${version}";
hash = "sha256-PKI/DqMihhMaIa9OzDKtLIs34TRUtewAbBkx89IXLU4="; hash = "sha256-znmPXue+pzv7vAKnIYsjJQQGMeBETH+ekyVKGz9wRik=";
}; };
vendorHash = "sha256-IGnTbuaQH8A6aKyahHMd2RyFRh4WxZ3Vx/A9V3uelRg="; vendorHash = "sha256-IGnTbuaQH8A6aKyahHMd2RyFRh4WxZ3Vx/A9V3uelRg=";
ldflags = [
"-w"
"-s"
];
meta = with lib; { meta = with lib; {
description = "Tool to bypass 40X response codes"; description = "Tool to bypass 40X response codes";
homepage = "https://github.com/devploit/dontgo403"; homepage = "https://github.com/devploit/dontgo403";

View File

@ -2,13 +2,13 @@
buildGoModule rec { buildGoModule rec {
pname = "fulcio"; pname = "fulcio";
version = "1.4.3"; version = "1.4.4";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "sigstore"; owner = "sigstore";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-LT8J9s008XQtDtNdH1ungQREqQUrlTsoxnlRLKimqLY="; sha256 = "sha256-zL+53GIGDQagWtsSHQT1Gn1hZUCpYF3uYKXmJWFGy7k=";
# populate values that require us to use git. By doing this in postFetch we # populate values that require us to use git. By doing this in postFetch we
# can delete .git afterwards and maintain better reproducibility of the src. # can delete .git afterwards and maintain better reproducibility of the src.
leaveDotGit = true; leaveDotGit = true;
@ -20,7 +20,7 @@ buildGoModule rec {
find "$out" -name .git -print0 | xargs -0 rm -rf find "$out" -name .git -print0 | xargs -0 rm -rf
''; '';
}; };
vendorHash = "sha256-ImZJXdOfMepMFU1z47XyNU39NGGdiCzQji2/tKVfibQ="; vendorHash = "sha256-B4/SIY9G5uEP+P+oSdhaMM7HRaHm5nq2jqXdIWxdP+8=";
nativeBuildInputs = [ installShellFiles ]; nativeBuildInputs = [ installShellFiles ];

View File

@ -2,13 +2,13 @@
buildGoModule rec { buildGoModule rec {
pname = "goawk"; pname = "goawk";
version = "1.25.0"; version = "1.26.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "benhoyt"; owner = "benhoyt";
repo = "goawk"; repo = "goawk";
rev = "v${version}"; rev = "v${version}";
hash = "sha256-vxDBtYrfSmYE2mCqhepeLr4u+zLfHxCrYSXGq05CEYQ="; hash = "sha256-EJf5Qv5ICJJdGNcRQ7v/ANyxx2j9d9NsZJnzIBrwam4=";
}; };
vendorHash = null; vendorHash = null;

View File

@ -6,13 +6,13 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "zim-tools"; pname = "zim-tools";
version = "3.3.0"; version = "3.4.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "openzim"; owner = "openzim";
repo = "zim-tools"; repo = "zim-tools";
rev = version; rev = version;
sha256 = "sha256-kPUw13GVYZ1GLb4b4ch64GkJZtf6PW1gae8F/cgyG90="; sha256 = "sha256-A1A0Ri2OwPyqpx0f5CPJL3zAwo2I/AiRKpmk3r4DeTc=";
}; };
nativeBuildInputs = [ meson ninja pkg-config ]; nativeBuildInputs = [ meson ninja pkg-config ];

View File

@ -11,16 +11,16 @@
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "yaydl"; pname = "yaydl";
version = "0.13.0"; version = "0.14.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "dertuxmalwieder"; owner = "dertuxmalwieder";
repo = pname; repo = pname;
rev = "release-${version}"; rev = "release-${version}";
sha256 = "sha256-JwyWWqbUNZyH6gymeScb9tMZoPvn/Igz9iW2pp0XvEI="; sha256 = "sha256-r0Z/dihDaiW/lBLMftLtzLELpKT2twqru1xxI9LnjU8=";
}; };
cargoSha256 = "sha256-jmqO0UvU6s+E5r6VFFjOvSe8oiLiTG5rPNHzoHVftWo="; cargoHash = "sha256-FkOiMeNwYj++gZ1Kl4RZHmsRDVMZQBEYtRpogK6XSFE=";
nativeBuildInputs = [ nativeBuildInputs = [
pkg-config pkg-config

View File

@ -491,8 +491,6 @@ with pkgs;
banana-vera = callPackage ../development/tools/analysis/banana-vera { }; banana-vera = callPackage ../development/tools/analysis/banana-vera { };
chrysalis = callPackage ../applications/misc/chrysalis { };
ciel = callPackage ../tools/package-management/ciel { }; ciel = callPackage ../tools/package-management/ciel { };
circt = callPackage ../development/compilers/circt { }; circt = callPackage ../development/compilers/circt { };
@ -5632,8 +5630,6 @@ with pkgs;
hocr-tools = with python3Packages; toPythonApplication hocr-tools; hocr-tools = with python3Packages; toPythonApplication hocr-tools;
home-manager = callPackage ../tools/package-management/home-manager { };
homepage-dashboard = callPackage ../servers/homepage-dashboard { homepage-dashboard = callPackage ../servers/homepage-dashboard {
inherit (darwin) cctools; inherit (darwin) cctools;
inherit (darwin.apple_sdk.frameworks) IOKit; inherit (darwin.apple_sdk.frameworks) IOKit;
@ -12415,8 +12411,6 @@ with pkgs;
ouch = callPackage ../tools/compression/ouch { }; ouch = callPackage ../tools/compression/ouch { };
outils = callPackage ../tools/misc/outils { };
mpi = openmpi; # this attribute should used to build MPI applications mpi = openmpi; # this attribute should used to build MPI applications
mpiCheckPhaseHook = callPackage ../build-support/setup-hooks/mpi-check-hook { }; mpiCheckPhaseHook = callPackage ../build-support/setup-hooks/mpi-check-hook { };
@ -20123,7 +20117,22 @@ with pkgs;
ttyd = callPackage ../servers/ttyd { }; ttyd = callPackage ../servers/ttyd { };
turbogit = callPackage ../development/tools/turbogit { turbogit = callPackage ../development/tools/turbogit {
libgit2 = libgit2_1_3_0; libgit2 = libgit2.overrideAttrs rec {
version = "1.3.0";
src = pkgs.fetchFromGitHub {
owner = "libgit2";
repo = "libgit2";
rev = "v${version}";
hash = "sha256-7atNkOBzX+nU1gtFQEaE+EF1L+eex+Ajhq2ocoJY920=";
};
patches = [];
# tests fail on old version
doCheck = false;
meta = libgit2.meta // {
maintainers = [];
knownVulnerabilities = [ "CVE-2024-24575" "CVE-2024-24577" "CVE-2022-29187" "CVE 2022-24765" ];
};
};
}; };
tweak = callPackage ../applications/editors/tweak { }; tweak = callPackage ../applications/editors/tweak { };
@ -21346,39 +21355,6 @@ with pkgs;
inherit (darwin.apple_sdk.frameworks) Security; inherit (darwin.apple_sdk.frameworks) Security;
}; };
libgit2_1_3_0 = libgit2.overrideAttrs rec {
version = "1.3.0";
src = pkgs.fetchFromGitHub {
owner = "libgit2";
repo = "libgit2";
rev = "v${version}";
hash = "sha256-7atNkOBzX+nU1gtFQEaE+EF1L+eex+Ajhq2ocoJY920=";
};
patches = [];
};
libgit2_1_5 = libgit2.overrideAttrs rec {
version = "1.5.1";
src = pkgs.fetchFromGitHub {
owner = "libgit2";
repo = "libgit2";
rev = "v${version}";
hash = "sha256-KzBMwpqn6wUFhgB3KDclBS0BvZSVcasM5AG/y+L91xM=";
};
patches = [];
};
libgit2_1_6 = libgit2.overrideAttrs rec {
version = "1.6.5";
src = fetchFromGitHub {
owner = "libgit2";
repo = "libgit2";
rev = "v${version}";
hash = "sha256-2tgXnrB85dEfxu7giETqMuFxfm0RH5MicHZqO3ezGu0=";
};
patches = [ ];
};
libgit2-glib = callPackage ../development/libraries/libgit2-glib { }; libgit2-glib = callPackage ../development/libraries/libgit2-glib { };
libhsts = callPackage ../development/libraries/libhsts { }; libhsts = callPackage ../development/libraries/libhsts { };
@ -31007,8 +30983,6 @@ with pkgs;
inherit (recurseIntoAttrs (callPackage ../applications/editors/ed { })) inherit (recurseIntoAttrs (callPackage ../applications/editors/ed { }))
ed edUnstable; ed edUnstable;
edbrowse = callPackage ../applications/editors/edbrowse { };
edlin = callPackage ../applications/editors/edlin { }; edlin = callPackage ../applications/editors/edlin { };
orbiton = callPackage ../applications/editors/orbiton { orbiton = callPackage ../applications/editors/orbiton {