Merge branch 'master' into staging-next

This commit is contained in:
Jan Tojnar 2024-04-28 17:32:03 +02:00
commit 1b2ebb8fbb
177 changed files with 1386 additions and 1130 deletions

7
.github/CODEOWNERS vendored
View File

@ -13,7 +13,6 @@
# GitHub actions # GitHub actions
/.github/workflows @NixOS/Security @Mic92 @zowoq /.github/workflows @NixOS/Security @Mic92 @zowoq
/.github/workflows/merge-staging @FRidh
# EditorConfig # EditorConfig
/.editorconfig @Mic92 @zowoq /.editorconfig @Mic92 @zowoq
@ -125,10 +124,8 @@ nixos/modules/installer/tools/nix-fallback-paths.nix @raitobezarius @ma27
/pkgs/common-updater/scripts/update-source-version @jtojnar /pkgs/common-updater/scripts/update-source-version @jtojnar
# Python-related code and docs # Python-related code and docs
/maintainers/scripts/update-python-libraries @FRidh /doc/languages-frameworks/python.section.md @mweinelt
/pkgs/development/interpreters/python @FRidh /pkgs/development/interpreters/python/hooks @jonringer
/doc/languages-frameworks/python.section.md @FRidh @mweinelt
/pkgs/development/interpreters/python/hooks @FRidh @jonringer
# Haskell # Haskell
/doc/languages-frameworks/haskell.section.md @sternenseemann @maralorn @ncfavier /doc/languages-frameworks/haskell.section.md @sternenseemann @maralorn @ncfavier

View File

@ -878,7 +878,6 @@ buildPythonPackage rec {
homepage = "https://github.com/pytoolz/toolz"; homepage = "https://github.com/pytoolz/toolz";
description = "List processing tools and functional utilities"; description = "List processing tools and functional utilities";
license = lib.licenses.bsd3; license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ fridh ];
}; };
} }
``` ```
@ -1013,7 +1012,6 @@ buildPythonPackage rec {
homepage = "https://github.com/ContinuumIO/datashape"; homepage = "https://github.com/ContinuumIO/datashape";
description = "A data description language"; description = "A data description language";
license = lib.licenses.bsd2; license = lib.licenses.bsd2;
maintainers = with lib.maintainers; [ fridh ];
}; };
} }
``` ```
@ -1134,7 +1132,6 @@ buildPythonPackage rec {
description = "A pythonic wrapper around FFTW, the FFT library, presenting a unified interface for all the supported transforms"; description = "A pythonic wrapper around FFTW, the FFT library, presenting a unified interface for all the supported transforms";
homepage = "http://hgomersall.github.com/pyFFTW"; homepage = "http://hgomersall.github.com/pyFFTW";
license = with lib.licenses; [ bsd2 bsd3 ]; license = with lib.licenses; [ bsd2 bsd3 ];
maintainers = with lib.maintainers; [ fridh ];
}; };
} }
``` ```
@ -1494,7 +1491,6 @@ buildPythonPackage rec {
homepage = "https://github.com/pytoolz/toolz/"; homepage = "https://github.com/pytoolz/toolz/";
description = "List processing tools and functional utilities"; description = "List processing tools and functional utilities";
license = lib.licenses.bsd3; license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ fridh ];
}; };
} }
``` ```

View File

@ -1168,6 +1168,11 @@ in mkLicense lset) ({
# channel and NixOS images. # channel and NixOS images.
}; };
unicode-30 = {
spdxId = "Unicode-3.0";
fullName = "Unicode License v3";
};
unicode-dfs-2015 = { unicode-dfs-2015 = {
spdxId = "Unicode-DFS-2015"; spdxId = "Unicode-DFS-2015";
fullName = "Unicode License Agreement - Data Files and Software (2015)"; fullName = "Unicode License Agreement - Data Files and Software (2015)";

View File

@ -1791,11 +1791,6 @@
fingerprint = "409D 201E 9450 8732 A49E D0FC 6BDA F874 0068 08DF"; fingerprint = "409D 201E 9450 8732 A49E D0FC 6BDA F874 0068 08DF";
}]; }];
}; };
ashvith-shetty = {
github = "Ashvith10";
githubId = 113123021;
name = "Ashvith Shetty";
};
asininemonkey = { asininemonkey = {
email = "nixpkgs@asininemonkey.com"; email = "nixpkgs@asininemonkey.com";
github = "asininemonkey"; github = "asininemonkey";
@ -14633,12 +14628,6 @@
githubId = 126072875; githubId = 126072875;
name = "nova madeline"; name = "nova madeline";
}; };
novenary = {
email = "streetwalkermc@gmail.com";
github = "9ary";
githubId = 1155030;
name = "novenary";
};
novoxd = { novoxd = {
email = "radnovox@gmail.com"; email = "radnovox@gmail.com";
github = "novoxd"; github = "novoxd";

View File

@ -826,7 +826,6 @@ with lib.maintainers; {
python = { python = {
members = [ members = [
fridh
hexa hexa
jonringer jonringer
tjni tjni

View File

@ -203,6 +203,20 @@ The pre-existing [services.ankisyncd](#opt-services.ankisyncd.enable) has been m
- `himalaya` was updated to v1.0.0-beta.4, which introduces breaking changes. Check out the [release note](https://github.com/soywod/himalaya/releases/tag/v1.0.0-beta.4) for details. - `himalaya` was updated to v1.0.0-beta.4, which introduces breaking changes. Check out the [release note](https://github.com/soywod/himalaya/releases/tag/v1.0.0-beta.4) for details.
- `security.pam.enableSSHAgentAuth` was replaced by the `sshAgentAuth` attrset, and **only**
`authorized_keys` files listed in [`sshAgentAuth.authorizedKeysFiles`] are trusted,
defaulting to `/etc/ssh/authorized_keys.d/%u`.
::: {.warning}
Users of {manpage}`pam_ssh_agent_auth(8)` must take care that the pubkeys they use (for instance with `sudo`)
are listed in [`sshAgentAuth.authorizedKeysFiles`]..
:::
::: {.note}
Previously, all `services.openssh.authorizedKeysFiles` were trusted, including `~/.ssh/authorized_keys`,
which results in an **insecure** configuration; see [#31611](https://github.com/NixOS/nixpkgs/issues/31611).
:::
[`sshAgentAuth.authorizedKeysFiles`]: #opt-security.pam.sshAgentAuth.authorizedKeysFiles
- The `power.ups` module now generates `upsd.conf`, `upsd.users` and `upsmon.conf` automatically from a set of new configuration options. This breaks compatibility with existing `power.ups` setups where these files were created manually. Back up these files before upgrading NixOS. - The `power.ups` module now generates `upsd.conf`, `upsd.users` and `upsmon.conf` automatically from a set of new configuration options. This breaks compatibility with existing `power.ups` setups where these files were created manually. Back up these files before upgrading NixOS.
- `programs.nix-ld.libraries` no longer sets `baseLibraries` via the option's default but in config and now merges any additional libraries with the default ones. - `programs.nix-ld.libraries` no longer sets `baseLibraries` via the option's default but in config and now merges any additional libraries with the default ones.
@ -307,6 +321,10 @@ The pre-existing [services.ankisyncd](#opt-services.ankisyncd.enable) has been m
- `services.vikunja.setupNginx` setting has been removed. Users now need to setup the webserver configuration on their own with a proxy pass to the vikunja service. - `services.vikunja.setupNginx` setting has been removed. Users now need to setup the webserver configuration on their own with a proxy pass to the vikunja service.
- `services.vmagent` module deprecates `dataDir`, `group` and `user` setting in favor of systemd provided CacheDirectory and DynamicUser.
- `services.vmagent.remoteWriteUrl` setting has been renamed to `services.vmagent.remoteWrite.url` and now defaults to `null`.
- `woodpecker-*` packages have been updated to v2 which includes [breaking changes](https://woodpecker-ci.org/docs/next/migrations#200). - `woodpecker-*` packages have been updated to v2 which includes [breaking changes](https://woodpecker-ci.org/docs/next/migrations#200).
- `services.nginx` will no longer advertise HTTP/3 availability automatically. This must now be manually added, preferably to each location block. - `services.nginx` will no longer advertise HTTP/3 availability automatically. This must now be manually added, preferably to each location block.
@ -576,10 +594,6 @@ The pre-existing [services.ankisyncd](#opt-services.ankisyncd.enable) has been m
- `mockgen` package source has changed to the [go.uber.org/mock](https://github.com/uber-go/mock) fork because [the original repository is no longer maintained](https://github.com/golang/mock#gomock). - `mockgen` package source has changed to the [go.uber.org/mock](https://github.com/uber-go/mock) fork because [the original repository is no longer maintained](https://github.com/golang/mock#gomock).
- `security.pam.enableSSHAgentAuth` was renamed to `security.pam.sshAgentAuth.enable` and an `authorizedKeysFiles`
option was added, to control which `authorized_keys` files are trusted. It defaults to the previous behaviour,
**which is insecure**: see [#31611](https://github.com/NixOS/nixpkgs/issues/31611).
- [](#opt-boot.kernel.sysctl._net.core.wmem_max_) changed from a string to an integer because of the addition of a custom merge option (taking the highest value defined to avoid conflicts between 2 services trying to set that value), just as [](#opt-boot.kernel.sysctl._net.core.rmem_max_) since 22.11. - [](#opt-boot.kernel.sysctl._net.core.wmem_max_) changed from a string to an integer because of the addition of a custom merge option (taking the highest value defined to avoid conflicts between 2 services trying to set that value), just as [](#opt-boot.kernel.sysctl._net.core.rmem_max_) since 22.11.
- [TODO: reword to place an attribute at the front] A new top-level package set, `pkgsExtraHardening` is added. This is a set of packages built with stricter hardening flags - those that have not yet received enough testing to be applied universally, those that are more likely to cause build failures or those that have drawbacks to their use (e.g. performance or required hardware features). - [TODO: reword to place an attribute at the front] A new top-level package set, `pkgsExtraHardening` is added. This is a set of packages built with stricter hardening flags - those that have not yet received enough testing to be applied universally, those that are more likely to cause build failures or those that have drawbacks to their use (e.g. performance or required hardware features).

View File

@ -1044,9 +1044,7 @@ in
See [issue #31611](https://github.com/NixOS/nixpkgs/issues/31611) See [issue #31611](https://github.com/NixOS/nixpkgs/issues/31611)
::: :::
''; '';
example = [ "/etc/ssh/authorized_keys.d/%u" ]; default = [ "/etc/ssh/authorized_keys.d/%u" ];
default = config.services.openssh.authorizedKeysFiles;
defaultText = literalExpression "config.services.openssh.authorizedKeysFiles";
}; };
}; };

View File

@ -1,63 +1,62 @@
{ config, pkgs, lib, ... }: { config, pkgs, lib, ... }:
with lib;
let let
cfg = config.services.vmagent; cfg = config.services.vmagent;
settingsFormat = pkgs.formats.json { }; settingsFormat = pkgs.formats.json { };
in { in {
imports = [
(lib.mkRemovedOptionModule [ "services" "vmagent" "dataDir" ] "dataDir has been deprecated in favor of systemd provided CacheDirectory")
(lib.mkRemovedOptionModule [ "services" "vmagent" "user" ] "user has been deprecated in favor of systemd DynamicUser")
(lib.mkRemovedOptionModule [ "services" "vmagent" "group" ] "group has been deprecated in favor of systemd DynamicUser")
(lib.mkRenamedOptionModule [ "services" "vmagent" "remoteWriteUrl" ] [ "services" "vmagent" "remoteWrite" "url" ])
];
options.services.vmagent = { options.services.vmagent = {
enable = mkEnableOption "vmagent"; enable = lib.mkEnableOption "vmagent";
user = mkOption { package = lib.mkPackageOption pkgs "vmagent" { };
default = "vmagent";
type = types.str; remoteWrite = {
description = '' url = lib.mkOption {
User account under which vmagent runs. default = null;
''; type = lib.types.nullOr lib.types.str;
description = ''
Endpoint for prometheus compatible remote_write
'';
};
basicAuthUsername = lib.mkOption {
default = null;
type = lib.types.nullOr lib.types.str;
description = ''
Basic Auth username used to connect to remote_write endpoint
'';
};
basicAuthPasswordFile = lib.mkOption {
default = null;
type = lib.types.nullOr lib.types.str;
description = ''
File that contains the Basic Auth password used to connect to remote_write endpoint
'';
};
}; };
group = mkOption { prometheusConfig = lib.mkOption {
type = types.str;
default = "vmagent";
description = ''
Group under which vmagent runs.
'';
};
package = mkPackageOption pkgs "vmagent" { };
dataDir = mkOption {
type = types.str;
default = "/var/lib/vmagent";
description = ''
The directory where vmagent stores its data files.
'';
};
remoteWriteUrl = mkOption {
default = "http://localhost:8428/api/v1/write";
type = types.str;
description = ''
The storage endpoint such as VictoriaMetrics
'';
};
prometheusConfig = mkOption {
type = lib.types.submodule { freeformType = settingsFormat.type; }; type = lib.types.submodule { freeformType = settingsFormat.type; };
description = '' description = ''
Config for prometheus style metrics Config for prometheus style metrics
''; '';
}; };
openFirewall = mkOption { openFirewall = lib.mkOption {
type = types.bool; type = lib.types.bool;
default = false; default = false;
description = '' description = ''
Whether to open the firewall for the default ports. Whether to open the firewall for the default ports.
''; '';
}; };
extraArgs = mkOption { extraArgs = lib.mkOption {
type = types.listOf types.str; type = lib.types.listOf lib.types.str;
default = []; default = [];
description = '' description = ''
Extra args to pass to `vmagent`. See the docs: Extra args to pass to `vmagent`. See the docs:
@ -67,37 +66,36 @@ in {
}; };
}; };
config = mkIf cfg.enable { config = lib.mkIf cfg.enable {
users.groups = mkIf (cfg.group == "vmagent") { vmagent = { }; }; networking.firewall.allowedTCPPorts = lib.mkIf cfg.openFirewall [ 8429 ];
users.users = mkIf (cfg.user == "vmagent") {
vmagent = {
group = cfg.group;
description = "vmagent daemon user";
home = cfg.dataDir;
isSystemUser = true;
};
};
networking.firewall.allowedTCPPorts = mkIf cfg.openFirewall [ 8429 ];
systemd.services.vmagent = let systemd.services.vmagent = let
prometheusConfig = settingsFormat.generate "prometheusConfig.yaml" cfg.prometheusConfig; prometheusConfig = settingsFormat.generate "prometheusConfig.yaml" cfg.prometheusConfig;
startCommandLine = lib.concatStringsSep " " ([
"${cfg.package}/bin/vmagent"
"-promscrape.config=${prometheusConfig}"
] ++ cfg.extraArgs
++ lib.optionals (cfg.remoteWrite.url != null) [
"-remoteWrite.url=${cfg.remoteWrite.url}"
"-remoteWrite.tmpDataPath=%C/vmagent/remote_write_tmp"
] ++ lib.optional (cfg.remoteWrite.basicAuthUsername != null) "-remoteWrite.basicAuth.username=${cfg.remoteWrite.basicAuthUsername}"
++ lib.optional (cfg.remoteWrite.basicAuthPasswordFile != null) "-remoteWrite.basicAuth.passwordFile=\${CREDENTIALS_DIRECTORY}/remote_write_basic_auth_password");
in { in {
wantedBy = [ "multi-user.target" ]; wantedBy = [ "multi-user.target" ];
after = [ "network.target" ]; after = [ "network.target" ];
description = "vmagent system service"; description = "vmagent system service";
serviceConfig = { serviceConfig = {
User = cfg.user; DynamicUser = true;
Group = cfg.group; User = "vmagent";
Group = "vmagent";
Type = "simple"; Type = "simple";
Restart = "on-failure"; Restart = "on-failure";
WorkingDirectory = cfg.dataDir; CacheDirectory = "vmagent";
ExecStart = "${cfg.package}/bin/vmagent -remoteWrite.url=${cfg.remoteWriteUrl} -promscrape.config=${prometheusConfig} ${escapeShellArgs cfg.extraArgs}"; ExecStart = startCommandLine;
LoadCredential = lib.optional (cfg.remoteWrite.basicAuthPasswordFile != null) [
"remote_write_basic_auth_password:${cfg.remoteWrite.basicAuthPasswordFile}"
];
}; };
}; };
systemd.tmpfiles.rules =
[ "d '${cfg.dataDir}' 0755 ${cfg.user} ${cfg.group} -" ];
}; };
} }

View File

@ -226,7 +226,7 @@ in {
}; };
settings = mkOption { settings = mkOption {
type = types.submodule { freeformType = types.attrs; }; type = (pkgs.formats.yaml {}).type;
default = {}; default = {};
description = '' description = ''
Extra configuration as nix values. Extra configuration as nix values.

View File

@ -42,7 +42,6 @@ stdenv.mkDerivation rec {
meta = { meta = {
description = "User-friendly TeX/LaTeX authoring tool for the KDE desktop environment"; description = "User-friendly TeX/LaTeX authoring tool for the KDE desktop environment";
homepage = "https://www.kde.org/applications/office/kile/"; homepage = "https://www.kde.org/applications/office/kile/";
maintainers = with lib.maintainers; [ fridh ];
license = lib.licenses.gpl2Plus; license = lib.licenses.gpl2Plus;
mainProgram = "kile"; mainProgram = "kile";
}; };

View File

@ -20,7 +20,7 @@ mkDerivation {
mainProgram = "filelight"; mainProgram = "filelight";
homepage = "https://apps.kde.org/filelight/"; homepage = "https://apps.kde.org/filelight/";
license = with lib.licenses; [ gpl2 ]; license = with lib.licenses; [ gpl2 ];
maintainers = with lib.maintainers; [ fridh vcunat ]; maintainers = with lib.maintainers; [ vcunat ];
}; };
nativeBuildInputs = [ extra-cmake-modules kdoctools ]; nativeBuildInputs = [ extra-cmake-modules kdoctools ];
propagatedBuildInputs = [ propagatedBuildInputs = [

View File

@ -12,7 +12,6 @@ mkDerivation {
description = "Scientific calculator"; description = "Scientific calculator";
mainProgram = "kcalc"; mainProgram = "kcalc";
license = with lib.licenses; [ gpl2 ]; license = with lib.licenses; [ gpl2 ];
maintainers = [ lib.maintainers.fridh ];
}; };
nativeBuildInputs = [ extra-cmake-modules kdoctools ]; nativeBuildInputs = [ extra-cmake-modules kdoctools ];
buildInputs = [ buildInputs = [

View File

@ -77,7 +77,6 @@ mkDerivation {
description = "KDE Connect provides several features to integrate your phone and your computer"; description = "KDE Connect provides several features to integrate your phone and your computer";
homepage = "https://community.kde.org/KDEConnect"; homepage = "https://community.kde.org/KDEConnect";
license = with licenses; [ gpl2 ]; license = with licenses; [ gpl2 ];
maintainers = with maintainers; [ fridh ];
mainProgram = "kdeconnect-app"; mainProgram = "kdeconnect-app";
}; };
} }

View File

@ -20,7 +20,6 @@ mkDerivation {
homepage = "https://apps.kde.org/kolourpaint/"; homepage = "https://apps.kde.org/kolourpaint/";
description = "Paint program"; description = "Paint program";
mainProgram = "kolourpaint"; mainProgram = "kolourpaint";
maintainers = [ lib.maintainers.fridh ];
license = with lib.licenses; [ gpl2 ]; license = with lib.licenses; [ gpl2 ];
}; };
} }

View File

@ -19,7 +19,6 @@ mkDerivation {
description = "KDE wallet management tool"; description = "KDE wallet management tool";
mainProgram = "kwalletmanager5"; mainProgram = "kwalletmanager5";
license = with lib.licenses; [ gpl2 ]; license = with lib.licenses; [ gpl2 ];
maintainers = with lib.maintainers; [ fridh ];
}; };
nativeBuildInputs = [ extra-cmake-modules kdoctools ]; nativeBuildInputs = [ extra-cmake-modules kdoctools ];
buildInputs = [ buildInputs = [

View File

@ -29,7 +29,6 @@ mkDerivation {
homepage = "https://yakuake.kde.org"; homepage = "https://yakuake.kde.org";
description = "Quad-style terminal emulator for KDE"; description = "Quad-style terminal emulator for KDE";
mainProgram = "yakuake"; mainProgram = "yakuake";
maintainers = with lib.maintainers; [ fridh ];
license = lib.licenses.gpl2; license = lib.licenses.gpl2;
}; };
} }

View File

@ -2,11 +2,11 @@
mkDerivation rec { mkDerivation rec {
pname = "confclerk"; pname = "confclerk";
version = "0.7.1"; version = "0.7.2";
src = fetchurl { src = fetchurl {
url = "https://www.toastfreeware.priv.at/tarballs/confclerk/confclerk-${version}.tar.gz"; url = "https://www.toastfreeware.priv.at/tarballs/confclerk/confclerk-${version}.tar.gz";
sha256 = "0l5i4d6lymh0k6gzihs41x4i8v1dz0mrwpga096af0vchpvlcarg"; sha256 = "sha256-GgWvPHcQnQrK9SOC8U9F2P8kuPCn8I2EhoWEEMtKBww=";
}; };
buildInputs = [ qtbase ]; buildInputs = [ qtbase ];

View File

@ -17,14 +17,14 @@
buildPythonApplication rec { buildPythonApplication rec {
pname = "rofi-rbw"; pname = "rofi-rbw";
version = "1.3.0"; version = "1.4.0";
format = "pyproject"; format = "pyproject";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "fdw"; owner = "fdw";
repo = "rofi-rbw"; repo = "rofi-rbw";
rev = "refs/tags/${version}"; rev = "refs/tags/${version}";
hash = "sha256-aTMKwb4BLupY0UmvPC86RnElZ9DFep8sApaMrlGbJ0M="; hash = "sha256-1xbdZlZa3YPz+33AMgvhiMO12vc/ej0RybypQUzEn+8=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [

View File

@ -1,20 +1,20 @@
{ {
beta = import ./browser.nix { beta = import ./browser.nix {
channel = "beta"; channel = "beta";
version = "124.0.2478.51"; version = "124.0.2478.67";
revision = "1"; revision = "1";
hash = "sha256-qQTRPkQBLRZhOqBT8U0PGcmmR2zNRxJiFl3N2UPwoSo="; hash = "sha256-EywgM3G0Yph3dofullSVZpXSvT2MHc4uPyGAoaXCgN8=";
}; };
dev = import ./browser.nix { dev = import ./browser.nix {
channel = "dev"; channel = "dev";
version = "125.0.2518.0"; version = "125.0.2535.6";
revision = "1"; revision = "1";
hash = "sha256-q4TVpO0SxSSLMv/NtmJIOzClT2WqUss2qfE5vgj4O7E="; hash = "sha256-iD/e7AuPG0uNZY20wFQRbvAaKmaUw2RKeRJADU1MFRI=";
}; };
stable = import ./browser.nix { stable = import ./browser.nix {
channel = "stable"; channel = "stable";
version = "124.0.2478.51"; version = "124.0.2478.67";
revision = "1"; revision = "1";
hash = "sha256-dAiTS+KvKVwL6tNp4YsQfH4wdNIJoBJngcLBXgHArjE="; hash = "sha256-PRL2aiebCoK0eGJWlvI+Gsk14FltV+GaQdojLuDFimU=";
}; };
} }

View File

@ -13,16 +13,16 @@
buildGoModule rec { buildGoModule rec {
pname = "chart-testing"; pname = "chart-testing";
version = "3.10.1"; version = "3.11.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "helm"; owner = "helm";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
hash = "sha256-btrnfL9U8k7jwo6ltVfbiSJFCX52zjfgf4E+IsWTYi4="; hash = "sha256-eiU8omDEGDJVmumHwZkNix7qMVkoR6Irg0x9dTBzadA=";
}; };
vendorHash = "sha256-E+7ndvXWzsU896/eWyupbvqkLed2ly91osptZKT79fk="; vendorHash = "sha256-o9oZnQPztrK6HvclPt33Y05GQFWDsnUYti5x8R7aWS8=";
postPatch = '' postPatch = ''
substituteInPlace pkg/config/config.go \ substituteInPlace pkg/config/config.go \

View File

@ -2,13 +2,13 @@
buildGoModule rec { buildGoModule rec {
pname = "kubedb-cli"; pname = "kubedb-cli";
version = "0.44.0"; version = "0.45.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "kubedb"; owner = "kubedb";
repo = "cli"; repo = "cli";
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-ppsGSzgJvAHRGs6PGPNgE7nDbK8SPYBPNbAlGwocAZs="; sha256 = "sha256-4kmXz8dTxCaGbuAo3zK27BhUrecInwJCu9XOuiQY48A=";
}; };
vendorHash = null; vendorHash = null;

View File

@ -2,12 +2,12 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "chatterino2"; pname = "chatterino2";
version = "2.5.0"; version = "2.5.1";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "Chatterino"; owner = "Chatterino";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-uR2X0NNSLyOx5n3mZcp6+wW/7L7rHHH2MlOF+c0Uzm0="; sha256 = "sha256-c3Vhzes54xLjKV0Of7D1eFpQvIWJwcUBXvLT2p6VwBE=";
fetchSubmodules = true; fetchSubmodules = true;
}; };
nativeBuildInputs = [ cmake pkg-config qt6.wrapQtAppsHook ]; nativeBuildInputs = [ cmake pkg-config qt6.wrapQtAppsHook ];

View File

@ -10,14 +10,14 @@
python3.pkgs.buildPythonApplication rec { python3.pkgs.buildPythonApplication rec {
pname = "maestral-qt"; pname = "maestral-qt";
version = "1.9.2"; version = "1.9.3";
disabled = python3.pythonOlder "3.7"; disabled = python3.pythonOlder "3.7";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "SamSchott"; owner = "SamSchott";
repo = "maestral-qt"; repo = "maestral-qt";
rev = "refs/tags/v${version}"; rev = "refs/tags/v${version}";
hash = "sha256-dgiVSwCTNDncbPJ+f0grjtq822TvtG0PhC9gDOKhwRI="; hash = "sha256-7Lt0Neobtofd1JDoz8BhGn+nFKaMLbM/6z0QQmtEKpA=";
}; };
format = "pyproject"; format = "pyproject";

View File

@ -5,16 +5,16 @@
buildNpmPackage rec { buildNpmPackage rec {
pname = "flood"; pname = "flood";
version = "unstable-2023-06-03"; version = "4.8.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "jesec"; owner = "jesec";
repo = pname; repo = pname;
rev = "2b652f8148dab7134eeeb201b9d81dd6b8bda074"; rev = "v${version}";
hash = "sha256-wI6URPGUZUbydSgNaHN2C5IA2x/HHjBWIRT6H6iZU/0="; hash = "sha256-hth8tk2DHuBGNAXdjknbdQinuwWJ//QF0e23neeTExw=";
}; };
npmDepsHash = "sha256-XmDnvq+ni5TOf3UQFc4JvGI3LiGpjbrLAocRvrW8qgk="; npmDepsHash = "sha256-WlQ/u7yIbuFETsmbW7ddAOO7OVrNPOXR3ja3N0aFWRE=";
meta = with lib; { meta = with lib; {
description = "Modern web UI for various torrent clients with a Node.js backend and React frontend"; description = "Modern web UI for various torrent clients with a Node.js backend and React frontend";

View File

@ -3,23 +3,23 @@
{ {
"kicad" = { "kicad" = {
kicadVersion = { kicadVersion = {
version = "8.0.1"; version = "8.0.2";
src = { src = {
rev = "20421d65e5a7ede894345d337ab47b469f5ba154"; rev = "55a4d4f5e2f54be6ccf74a8919d04684c9df4c50";
sha256 = "096kvmm96ccxir1rspgzzjkp6y2j80l3w2vphg9iv3drxmjp7qjv"; sha256 = "069ycii9zvdxwxd73afd6bp975r1555yvifi9zdb77qyvn0d9nr9";
}; };
}; };
libVersion = { libVersion = {
version = "8.0.1"; version = "8.0.2";
libSources = { libSources = {
symbols.rev = "d6aff3948edfca2bacf36900ff080f6b3f65fe4c"; symbols.rev = "099ac0c8ac402a685fde00b1369e34a116e29661";
symbols.sha256 = "00xnvikmqd1zkg9p1f89kvryvkybl5f20baij6babqyc29nbzkwy"; symbols.sha256 = "0w333f89yw2m0zlpkg0k6hfwlj10snm8laihdjnsb22asyz4pbhn";
templates.rev = "0a6c4f798a68a5c639d54b4d3093460ab9267816"; templates.rev = "2e2da58e02707d327d59d4101c401a82dc9a26f6";
templates.sha256 = "0m9bggz3cm27kqpjjwxy19mqzk0c69bywcjkqcni7kafr21c6k4z"; templates.sha256 = "073a6cyvzzy0vmkj3ip4ziq7b7pcizs70nm5acw838dxghjfyv3v";
footprints.rev = "226b4f3d5c10a4126d88b895188bdab629fe60b0"; footprints.rev = "e8c30550cde4945cbe1bf30cccf0b3c1e2bda6c6";
footprints.sha256 = "1bb3mb2a7vkridgmqqm9ib3hv2m4zx1i14mglb11sribypy0ma5p"; footprints.sha256 = "10j8qjljc1fv8k4zp3zn0da33g57hn6pgrgmbgp18dsa539xvxcz";
packages3d.rev = "49c1cd4017499b8a7f6dedbe7ede834d1713eb28"; packages3d.rev = "249f7947587529026e1676cd70c8d7493a8d8162";
packages3d.sha256 = "0b5jwr5bbd0kzb75nj3028knjrv0872dk54sbsnxaz669q8zaxap"; packages3d.sha256 = "04gvfb54jhnww2qwrxc27wpyrvmjasdc4xhr0ridl7dglh4qcp35";
}; };
}; };
}; };

View File

@ -7,13 +7,13 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "eigenmath"; pname = "eigenmath";
version = "unstable-2024-04-19"; version = "unstable-2024-04-26";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "georgeweigt"; owner = "georgeweigt";
repo = pname; repo = pname;
rev = "5d5a538e7c378e9e2d9fabdf88fa2c6dd6d13e2c"; rev = "14a55ff60d078b752033b4ae29d332b04b6e8912";
hash = "sha256-vPj3YKNJAZgdhw/VVrJIo2P7IyHrt7hVpnUQCUCZmR8="; hash = "sha256-p7wcLmssTqs3LCkZWB9rhCXEc4IVgZJNBvRhS51oH5E=";
}; };
checkPhase = let emulator = stdenv.hostPlatform.emulator buildPackages; in '' checkPhase = let emulator = stdenv.hostPlatform.emulator buildPackages; in ''

View File

@ -2,13 +2,13 @@
buildGoModule rec { buildGoModule rec {
pname = "ghorg"; pname = "ghorg";
version = "1.9.10"; version = "1.9.11";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "gabrie30"; owner = "gabrie30";
repo = "ghorg"; repo = "ghorg";
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-UU8iOpfM5RMwlDceDXofs3Nzyy93zcsUOuTGw/kzVe8="; sha256 = "sha256-22/HM/DYkNh8V1v09fca6/3TLwzYudpH/VNbh+3+iyE=";
}; };
doCheck = false; doCheck = false;

View File

@ -11,13 +11,13 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "git-quick-stats"; pname = "git-quick-stats";
version = "2.5.4"; version = "2.5.5";
src = fetchFromGitHub { src = fetchFromGitHub {
repo = "git-quick-stats"; repo = "git-quick-stats";
owner = "arzzen"; owner = "arzzen";
rev = version; rev = version;
sha256 = "sha256-dbi48rq3ijPa45xtTi6kAly/IwkX4aK1P9hmcPNQEqM="; sha256 = "sha256-7riA3yYw2D8+x/wzzbv0RF+zHCtqVC1ZpVANZp9x2AQ=";
}; };
nativeBuildInputs = [ makeWrapper ]; nativeBuildInputs = [ makeWrapper ];

View File

@ -22,7 +22,7 @@ rustPlatform.buildRustPackage rec {
description = "Simple Git prompt"; description = "Simple Git prompt";
homepage = "https://github.com/9ary/gitprompt-rs"; homepage = "https://github.com/9ary/gitprompt-rs";
license = with licenses; [ mpl20 ]; license = with licenses; [ mpl20 ];
maintainers = with maintainers; [ novenary ]; maintainers = with maintainers; [ ];
mainProgram = "gitprompt-rs"; mainProgram = "gitprompt-rs";
}; };
} }

File diff suppressed because it is too large Load Diff

View File

@ -2,27 +2,25 @@
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "cloud-hypervisor"; pname = "cloud-hypervisor";
version = "38.0"; version = "39.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "cloud-hypervisor"; owner = "cloud-hypervisor";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
hash = "sha256-Lhug7DCa+QutlvksL6EFQa04UK/sWebDIkqQmwPUpX4="; hash = "sha256-sMnfeICo/PhpljstTIj4CiE4QBuyVKYD9oWvWf0Ouew=";
}; };
cargoLock = { cargoLock = {
lockFile = ./Cargo.lock; lockFile = ./Cargo.lock;
outputHashes = { outputHashes = {
"acpi_tables-0.1.0" = "sha256-syDq+db1hTne6QoP0vMGUv4tB0J9arQG2Ea2hHW1k3M="; "acpi_tables-0.1.0" = "sha256-a6ojB2XVeH+YzzXRle0agg+ljn0Jsgyaf6TJZAGt8sQ=";
"igvm-0.1.0" = "sha256-l+Qyhdy3b8h8hPLHg5M0os8aSkjM55hAP5nqi0AGmjo="; "igvm-0.1.9" = "sha256-OztgRiv+//27MS9SqSBJPbrVlXihK2m9UkG4REZ9Vn0=";
"kvm-bindings-0.7.0" = "sha256-hXv5N3TTwGQaVxdQ/DTzLt+uwLxFnstJwNhxRD2K8TM="; "micro_http-0.1.0" = "sha256-yIgcoEfc7eeS1+bijzkifaBxVNHa71Y+Vn79owMaKvM=";
"micro_http-0.1.0" = "sha256-gyeOop6AMXEIbLXhJMN/oYGGU8Un8Y0nFZc9ucCa0y4="; "mshv-bindings-0.1.1" = "sha256-US/AzS7iRUQijkGs1EG04Hk4Q7dPz65BeTMsI8rtMqw=";
"mshv-bindings-0.1.1" = "sha256-yWvkpOcW3lV47s+rWnN4Bki8tt8CkiPVZ0I36nrWMi4="; "vfio-bindings-0.4.0" = "sha256-k8Hf5y8MiTnd3k2iEgnnX/o8VdVS7prKlnssyEerVRM=";
"versionize_derive-0.1.6" = "sha256-eI9fM8WnEBZvskPhU67IWeN6QAPg2u5EBT+AOxfb/fY=";
"vfio-bindings-0.4.0" = "sha256-Dk4T2dMzPZ+Aoq1YSXX2z1Nky8zvyDl7b+A8NH57Hkc=";
"vfio_user-0.1.0" = "sha256-LJ84k9pMkSAaWkuaUd+2LnPXnNgrP5LdbPOc1Yjz5xA="; "vfio_user-0.1.0" = "sha256-LJ84k9pMkSAaWkuaUd+2LnPXnNgrP5LdbPOc1Yjz5xA=";
"vm-fdt-0.2.0" = "sha256-lKW4ZUraHomSDyxgNlD5qTaBTZqM0Fwhhh/08yhrjyE="; "vm-fdt-0.3.0" = "sha256-9PywgSnSL+8gT6lcl9t6w7X4fEINa+db+H1vWS+gDOI=";
}; };
}; };

View File

@ -55,11 +55,11 @@ stdenv.mkDerivation (finalAttrs: {
+ lib.optionalString hostCpuOnly "-host-cpu-only" + lib.optionalString hostCpuOnly "-host-cpu-only"
+ lib.optionalString nixosTestRunner "-for-vm-tests" + lib.optionalString nixosTestRunner "-for-vm-tests"
+ lib.optionalString toolsOnly "-utils"; + lib.optionalString toolsOnly "-utils";
version = "8.2.2"; version = "8.2.3";
src = fetchurl { src = fetchurl {
url = "https://download.qemu.org/qemu-${finalAttrs.version}.tar.xz"; url = "https://download.qemu.org/qemu-${finalAttrs.version}.tar.xz";
hash = "sha256-hHNGwbgsGlSyw49u29hVSe3rF0MLfU09oSYg4pYrxPM="; hash = "sha256-d1sRjKpjZiCnr0saFWRFoaKA9a1Ss7y7F/jilkhB21g=";
}; };
depsBuildBuild = [ buildPackages.stdenv.cc ] depsBuildBuild = [ buildPackages.stdenv.cc ]

View File

@ -7,20 +7,20 @@
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "csvlens"; pname = "csvlens";
version = "0.8.1"; version = "0.9.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "YS-L"; owner = "YS-L";
repo = "csvlens"; repo = "csvlens";
rev = "refs/tags/v${version}"; rev = "refs/tags/v${version}";
hash = "sha256-4lKiqojBF8mqAp56eTDfJcK276IzEDLA3pORKIZpC94="; hash = "sha256-Qpda9qADnj3eGz+nvD6VgxUOwTXrFI1rMam6+sfK6MQ=";
}; };
buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [ buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [
darwin.apple_sdk.frameworks.AppKit darwin.apple_sdk.frameworks.AppKit
]; ];
cargoHash = "sha256-EzM7qGor/B17N4KDTsQzgiV4pgXE2D47RZcrmKVkPu8="; cargoHash = "sha256-PDOuAz+ov1S7i7TpRp4YaeoQQJ4paal6FI0VU25d4zU=";
meta = with lib; { meta = with lib; {
description = "Command line csv viewer"; description = "Command line csv viewer";

View File

@ -6,16 +6,16 @@
buildNpmPackage rec { buildNpmPackage rec {
pname = "gitlab-ci-local"; pname = "gitlab-ci-local";
version = "4.47.0"; version = "4.48.2";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "firecow"; owner = "firecow";
repo = "gitlab-ci-local"; repo = "gitlab-ci-local";
rev = version; rev = version;
hash = "sha256-AMqifAdC4aPra/KfM0Z8L1mF6+lA0dv9tt/cXSd3Ov4="; hash = "sha256-QdbVI6aby/UQCR3G25nvmvoXNMDndgLYz/hOTmj5dnc=";
}; };
npmDepsHash = "sha256-GVqGA4aMfA08j/+fy+DA6udi52lmfDeAkE59d9CMAqg="; npmDepsHash = "sha256-ebrdMbSAsughHCuV86s6WA12a8hqA2yyC/rJUyViOrI=";
postPatch = '' postPatch = ''
# remove cleanup which runs git commands # remove cleanup which runs git commands

View File

@ -7,6 +7,7 @@
fetchYarnDeps, fetchYarnDeps,
makeDesktopItem, makeDesktopItem,
copyDesktopItems, copyDesktopItems,
makeWrapper,
wrapGAppsHook3, wrapGAppsHook3,
electron, electron,
}: }:
@ -37,6 +38,7 @@ mkYarnPackage rec {
nativeBuildInputs = [ nativeBuildInputs = [
copyDesktopItems copyDesktopItems
makeWrapper
wrapGAppsHook3 wrapGAppsHook3
]; ];
@ -77,8 +79,9 @@ mkYarnPackage rec {
runHook postInstall runHook postInstall
''; '';
# we use makeShellWrapper instead of the makeBinaryWrapper provided by wrapGAppsHook for proper shell variable expansion
postFixup = '' postFixup = ''
makeWrapper ${electron}/bin/electron $out/bin/koodo-reader \ makeShellWrapper ${electron}/bin/electron $out/bin/koodo-reader \
--add-flags $out/share/lib/koodo-reader/resources/app.asar \ --add-flags $out/share/lib/koodo-reader/resources/app.asar \
"''${gappsWrapperArgs[@]}" \ "''${gappsWrapperArgs[@]}" \
--add-flags "\''${NIXOS_OZONE_WL:+\''${WAYLAND_DISPLAY:+--ozone-platform-hint=auto --enable-features=WaylandWindowDecorations}}" \ --add-flags "\''${NIXOS_OZONE_WL:+\''${WAYLAND_DISPLAY:+--ozone-platform-hint=auto --enable-features=WaylandWindowDecorations}}" \

View File

@ -18,11 +18,11 @@
stdenv.mkDerivation (finalAttrs: { stdenv.mkDerivation (finalAttrs: {
pname = "lunacy"; pname = "lunacy";
version = "9.5.0"; version = "9.6.0";
src = fetchurl { src = fetchurl {
url = "https://lcdn.icons8.com/setup/Lunacy_${finalAttrs.version}.deb"; url = "https://lcdn.icons8.com/setup/Lunacy_${finalAttrs.version}.deb";
hash = "sha256-dG2xLoqRQJsaR7v00iN46GP4jB8WVrxayn2CSQLCUlQ="; hash = "sha256-PvQGDUC9BsIql4xMM1OH45gq3YtJMKJcYg4N2o18hno=";
}; };
unpackCmd = '' unpackCmd = ''

View File

@ -0,0 +1,88 @@
{ lib
, stdenv
, fetchurl
, makeWrapper
, dpkg
, libGL
, systemd
, electron_28
, commandLineArgs ? ""
}:
let
pname = "lx-music-desktop";
version = "2.7.0";
buildUrl = version: arch: "https://github.com/lyswhut/lx-music-desktop/releases/download/v${version}/lx-music-desktop_${version}_${arch}.deb";
srcs = {
x86_64-linux = fetchurl {
url = buildUrl version "amd64";
hash = "sha256-+mCAFfiJwa+RQ/9vnSPDrC1LoLIoZyFUEJAF6sXdqRM=";
};
aarch64-linux = fetchurl {
url = buildUrl version "arm64";
hash = "sha256-fDlgHJqoZLGnUuZeZGdocYLbsE02QBrWPKS31fbGThk=";
};
armv7l-linux = fetchurl {
url = buildUrl version "armv7l";
hash = "sha256-X6EXsBvTbPGXCJ+ektMCMGDG2zqGKBvWT/TwjGFL3ug=";
};
};
host = stdenv.hostPlatform.system;
src = srcs.${host} or (throw "Unsupported system: ${host}");
runtimeLibs = lib.makeLibraryPath [
libGL
stdenv.cc.cc.lib
];
in
stdenv.mkDerivation {
inherit pname version src;
nativeBuildInputs = [
dpkg
makeWrapper
];
runtimeDependencies = map lib.getLib [
systemd
];
installPhase = ''
runHook preInstall
mkdir -p $out/bin $out/opt/lx-music-desktop
cp -r opt/lx-music-desktop/{resources,locales} $out/opt/lx-music-desktop
cp -r usr/share $out/share
substituteInPlace $out/share/applications/lx-music-desktop.desktop \
--replace-fail "/opt/lx-music-desktop/lx-music-desktop" "$out/bin/lx-music-desktop" \
runHook postInstall
'';
postFixup = ''
makeWrapper ${electron_28}/bin/electron $out/bin/lx-music-desktop \
--add-flags $out/opt/lx-music-desktop/resources/app.asar \
--prefix LD_LIBRARY_PATH : "${runtimeLibs}" \
--add-flags "\''${NIXOS_OZONE_WL:+\''${WAYLAND_DISPLAY:+--ozone-platform-hint=auto --enable-features=WaylandWindowDecorations}}" \
--add-flags ${lib.escapeShellArg commandLineArgs} \
'';
meta = with lib; {
description = "A music software based on Electron and Vue";
homepage = "https://github.com/lyswhut/lx-music-desktop";
changelog = "https://github.com/lyswhut/lx-music-desktop/releases/tag/v${version}";
license = licenses.asl20;
platforms = [ "x86_64-linux" "aarch64-linux" "armv7l-linux" ];
sourceProvenance = with sourceTypes; [ binaryNativeCode ];
mainProgram = "lx-music-desktop";
maintainers = with maintainers; [ oo-infty ];
};
}

View File

@ -13,6 +13,7 @@
enableSass ? true, enableSass ? true,
enableX11 ? true, enableX11 ? true,
}: }:
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "mixxc"; pname = "mixxc";
version = "0.2.2"; version = "0.2.2";
@ -26,10 +27,11 @@ rustPlatform.buildRustPackage rec {
cargoHash = "sha256-l9inqqUiLObrqd/8pNobwBbLaiPJD39YK/38CWfDh+Q="; cargoHash = "sha256-l9inqqUiLObrqd/8pNobwBbLaiPJD39YK/38CWfDh+Q=";
cargoBuildFlags = [ "--locked" ]; cargoBuildFlags = [ "--locked" ];
buildFeatures = with lib; [
(optionals enableWayland "Wayland") buildFeatures = [
(optionals enableX11 "X11") (lib.optionals enableWayland "Wayland")
(optionals enableSass "Sass") (lib.optionals enableX11 "X11")
(lib.optionals enableSass "Sass")
]; ];
nativeBuildInputs = [ nativeBuildInputs = [
@ -37,11 +39,12 @@ rustPlatform.buildRustPackage rec {
installShellFiles installShellFiles
wrapGAppsHook4 wrapGAppsHook4
]; ];
buildInputs = with lib; [
buildInputs = [
libpulseaudio libpulseaudio
gtk4 gtk4
(optionals enableWayland gtk4-layer-shell) (lib.optionals enableWayland gtk4-layer-shell)
(optionals enableX11 libxcb) (lib.optionals enableX11 libxcb)
]; ];
outputs = [ outputs = [
@ -53,12 +56,12 @@ rustPlatform.buildRustPackage rec {
installManPage $src/doc/mixxc.1 installManPage $src/doc/mixxc.1
''; '';
meta = with lib; { meta = {
description = "A minimalistic and customizable volume mixer"; description = "A minimalistic and customizable volume mixer";
homepage = "https://github.com/Elvyria/mixxc"; homepage = "https://github.com/Elvyria/mixxc";
license = with licenses; [ mit ]; license = with lib.licenses; [ mit ];
maintainers = with maintainers; [ daru-san ]; maintainers = with lib.maintainers; [ daru-san ];
mainProgram = "mixxc"; mainProgram = "mixxc";
platforms = platforms.linux; platforms = lib.platforms.linux;
}; };
} }

View File

@ -6,13 +6,13 @@
python3.pkgs.buildPythonApplication rec { python3.pkgs.buildPythonApplication rec {
pname = "oelint-adv"; pname = "oelint-adv";
version = "5.3.0"; version = "5.3.1";
format = "setuptools"; format = "setuptools";
src = fetchPypi { src = fetchPypi {
inherit version; inherit version;
pname = "oelint_adv"; pname = "oelint_adv";
hash = "sha256-EAYHxp7pXXYNYRGsQ3XckRxDM1pFHgiZr+gj8fJLqa0="; hash = "sha256-8fftHQpv2GZhi3ZDXYUG7uAiWuuX79dntGAbKIvv4Kc=";
}; };
propagatedBuildInputs = with python3.pkgs; [ propagatedBuildInputs = with python3.pkgs; [

View File

@ -8,16 +8,16 @@
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "qrtool"; pname = "qrtool";
version = "0.10.9"; version = "0.10.10";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "sorairolake"; owner = "sorairolake";
repo = "qrtool"; repo = "qrtool";
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-wLi2lb48+leH7AfpIj0/vDxPZhBjvuacVit8U8zArjs="; sha256 = "sha256-2gUvnQjAA0nTeJL4IbsfCmeSD+mGKjywJCCi914f5mM=";
}; };
cargoHash = "sha256-igbRsNWPtE/KcSLqzKIFEm3lmdkIxj/22yo/8Gye96k="; cargoHash = "sha256-M5G5f+aycpIbFaPbkUNalMK3if1PIAXD7MaNsLzdvI4=";
nativeBuildInputs = [ asciidoctor installShellFiles ]; nativeBuildInputs = [ asciidoctor installShellFiles ];

View File

@ -11,13 +11,13 @@
stdenv.mkDerivation (finalAttrs: { stdenv.mkDerivation (finalAttrs: {
pname = "stirling-pdf"; pname = "stirling-pdf";
version = "0.23.0"; version = "0.23.1";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "Stirling-Tools"; owner = "Stirling-Tools";
repo = "Stirling-PDF"; repo = "Stirling-PDF";
rev = "v${finalAttrs.version}"; rev = "v${finalAttrs.version}";
hash = "sha256-MKNXjQSSjpGeIBeXUy42vQkCf3zEQyR3q1/j3xWVFvw="; hash = "sha256-71caSM4J0sNMqWX0ok8aO3wdpVcjfrn/yVGLWeO5fOk=";
}; };
patches = [ patches = [

View File

@ -21,7 +21,7 @@
}: }:
let let
version = "0.10.1"; version = "0.10.2";
in in
stdenv.mkDerivation { stdenv.mkDerivation {
pname = "taler-exchange"; pname = "taler-exchange";
@ -31,14 +31,7 @@ stdenv.mkDerivation {
url = "https://git.taler.net/exchange.git"; url = "https://git.taler.net/exchange.git";
rev = "v${version}"; rev = "v${version}";
fetchSubmodules = true; fetchSubmodules = true;
hash = "sha256-SKnMep8bMQaJt4r3u0SrzwYSuFbzv4RnflbutSqwtPg="; hash = "sha256-dl8lZ7uKUr+KSUaT4xlkaX3W5UoW2Zfu/0iVXvLejnA=";
# When fetching submodules without the .git folder we get the following error:
# "Server does not allow request for unadvertised object"
leaveDotGit = true;
postFetch = ''
rm -rf $out/.git
'';
}; };
nativeBuildInputs = [ nativeBuildInputs = [

View File

@ -12,12 +12,12 @@
}: }:
let let
version = "0.10.1"; version = "0.10.2";
taler-wallet-core = fetchgit { taler-wallet-core = fetchgit {
url = "https://git.taler.net/wallet-core.git"; url = "https://git.taler.net/wallet-core.git";
rev = "v${version}"; rev = "v${version}";
hash = "sha256-sgiJd1snN9JDqS7IUeORKL60Gcm7XwL/JCX3sNRDTdY="; hash = "sha256-jC8XhcHZxv7ww+wspJUqTq6x6FIeEehQmE03ttJZWT4=";
}; };
in in
stdenv.mkDerivation { stdenv.mkDerivation {
@ -28,7 +28,7 @@ stdenv.mkDerivation {
url = "https://git.taler.net/merchant.git"; url = "https://git.taler.net/merchant.git";
rev = "v${version}"; rev = "v${version}";
fetchSubmodules = true; fetchSubmodules = true;
hash = "sha256-8VpoyloLpd/HckSIRU6IclWUXQyEHqlcNdoJI9U3t0Y="; hash = "sha256-WY5Fk5HcVjxsnqt69m8E9ikW+nQDkCuKtT1CTsupz5c=";
}; };
postUnpack = '' postUnpack = ''

View File

@ -6,6 +6,8 @@
, freetype , freetype
, lib , lib
, libglvnd , libglvnd
, libxkbcommon
, wayland
, makeWrapper , makeWrapper
, mold , mold
, pkg-config , pkg-config
@ -47,7 +49,7 @@ rustPlatform.buildRustPackage rec {
postInstall = '' postInstall = ''
wrapProgram $out/bin/uad-ng \ wrapProgram $out/bin/uad-ng \
--prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath [ fontconfig freetype libglvnd xorg.libX11 xorg.libXcursor xorg.libXi xorg.libXrandr ]} \ --prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath [ fontconfig freetype libglvnd libxkbcommon wayland xorg.libX11 xorg.libXcursor xorg.libXi xorg.libXrandr ]} \
--suffix PATH : ${lib.makeBinPath [ android-tools ]} --suffix PATH : ${lib.makeBinPath [ android-tools ]}
''; '';
@ -57,7 +59,7 @@ rustPlatform.buildRustPackage rec {
homepage = "https://github.com/Universal-Debloater-Alliance/universal-android-debloater-next-generation"; homepage = "https://github.com/Universal-Debloater-Alliance/universal-android-debloater-next-generation";
license = licenses.gpl3Only; license = licenses.gpl3Only;
mainProgram = "uad-ng"; mainProgram = "uad-ng";
maintainers = with maintainers; [ ]; maintainers = with maintainers; [ lavafroth ];
platforms = platforms.linux; platforms = platforms.linux;
}; };
} }

View File

@ -1,12 +1,12 @@
{ {
"name": "vencord", "name": "vencord",
"version": "1.7.8", "version": "1.7.9",
"lockfileVersion": 3, "lockfileVersion": 3,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "vencord", "name": "vencord",
"version": "1.7.8", "version": "1.7.9",
"license": "GPL-3.0-or-later", "license": "GPL-3.0-or-later",
"dependencies": { "dependencies": {
"@sapphi-red/web-noise-suppressor": "0.3.3", "@sapphi-red/web-noise-suppressor": "0.3.3",
@ -54,15 +54,6 @@
"pnpm": ">=8" "pnpm": ">=8"
} }
}, },
"node_modules/@aashutoshrathi/word-wrap": {
"version": "1.2.6",
"resolved": "https://registry.npmjs.org/@aashutoshrathi/word-wrap/-/word-wrap-1.2.6.tgz",
"integrity": "sha512-1Yjs2SvM8TflER/OD3cOjhWWOZb58A2t7wpE2S9XfBYTiIl+XFhQG2bjy4Pu1I+EAlCNUzRDYDdFwFYUKvXcIA==",
"dev": true,
"engines": {
"node": ">=0.10.0"
}
},
"node_modules/@babel/code-frame": { "node_modules/@babel/code-frame": {
"version": "7.24.2", "version": "7.24.2",
"resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.24.2.tgz", "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.24.2.tgz",
@ -779,9 +770,9 @@
} }
}, },
"node_modules/@types/diff": { "node_modules/@types/diff": {
"version": "5.0.9", "version": "5.2.0",
"resolved": "https://registry.npmjs.org/@types/diff/-/diff-5.0.9.tgz", "resolved": "https://registry.npmjs.org/@types/diff/-/diff-5.2.0.tgz",
"integrity": "sha512-RWVEhh/zGXpAVF/ZChwNnv7r4rvqzJ7lYNSmZSVTxjV0PBLf6Qu7RNg+SUtkpzxmiNkjCx0Xn2tPp7FIkshJwQ==", "integrity": "sha512-pjJH+02ukgJRW0mViDUA1cdC+wzSgRu0e4cPuogPLAw0i66y62iMP0ZlXoJAmoXrKRZnF3pMDwyKZsgNVlMX4A==",
"dev": true "dev": true
}, },
"node_modules/@types/filesystem": { "node_modules/@types/filesystem": {
@ -845,9 +836,9 @@
"dev": true "dev": true
}, },
"node_modules/@types/react": { "node_modules/@types/react": {
"version": "18.2.79", "version": "18.3.1",
"resolved": "https://registry.npmjs.org/@types/react/-/react-18.2.79.tgz", "resolved": "https://registry.npmjs.org/@types/react/-/react-18.3.1.tgz",
"integrity": "sha512-RwGAGXPl9kSXwdNTafkOEuFrTBD5SA2B3iEB96xi8+xu5ddUa/cpvyVCSNn+asgLCTHkb5ZxN8gbuibYJi4s1w==", "integrity": "sha512-V0kuGBX3+prX+DQ/7r2qsv1NsdfnCLnTgnRJ1pYnxykBhGMz+qj+box5lq7XsO5mtZsBqpjwwTu/7wszPfMBcw==",
"dev": true, "dev": true,
"dependencies": { "dependencies": {
"@types/prop-types": "*", "@types/prop-types": "*",
@ -855,9 +846,9 @@
} }
}, },
"node_modules/@types/react-dom": { "node_modules/@types/react-dom": {
"version": "18.2.25", "version": "18.3.0",
"resolved": "https://registry.npmjs.org/@types/react-dom/-/react-dom-18.2.25.tgz", "resolved": "https://registry.npmjs.org/@types/react-dom/-/react-dom-18.3.0.tgz",
"integrity": "sha512-o/V48vf4MQh7juIKZU2QGDfli6p1+OOi5oXx36Hffpc9adsHeXjVp8rHuPkjd8VT8sOJ2Zp05HR7CdpGTIUFUA==", "integrity": "sha512-EhwApuTmMBmXuFOikhQLIBUn6uFg81SwLMOAUgodJF14SOBOCMdU04gDoYi0WOJJHD144TL32z4yDqCW3dnkQg==",
"dev": true, "dev": true,
"dependencies": { "dependencies": {
"@types/react": "*" "@types/react": "*"
@ -1658,9 +1649,9 @@
} }
}, },
"node_modules/css-functions-list": { "node_modules/css-functions-list": {
"version": "3.2.1", "version": "3.2.2",
"resolved": "https://registry.npmjs.org/css-functions-list/-/css-functions-list-3.2.1.tgz", "resolved": "https://registry.npmjs.org/css-functions-list/-/css-functions-list-3.2.2.tgz",
"integrity": "sha512-Nj5YcaGgBtuUmn1D7oHqPW0c9iui7xsTsj5lIX8ZgevdfhmjFfKB3r8moHJtNJnctnYXJyYX5I1pp90HM4TPgQ==", "integrity": "sha512-c+N0v6wbKVxTu5gOBBFkr9BEdBWaqqjQeiJ8QvSRIJOf+UxlJh930m8e6/WNeODIK0mYLFkoONrnj16i2EcvfQ==",
"dev": true, "dev": true,
"engines": { "engines": {
"node": ">=12 || >=16" "node": ">=12 || >=16"
@ -2779,8 +2770,7 @@
"node_modules/gifenc": { "node_modules/gifenc": {
"version": "1.0.3", "version": "1.0.3",
"resolved": "git+ssh://git@github.com/mattdesl/gifenc.git#64842fca317b112a8590f8fef2bf3825da8f6fe3", "resolved": "git+ssh://git@github.com/mattdesl/gifenc.git#64842fca317b112a8590f8fef2bf3825da8f6fe3",
"integrity": "sha512-TCgWVyjxLxM20WaQQT5neiMbdt2cuFL0BngwxcK8sV9x+M6IF0x3RIETc3VRVxfmRUxzZk+Yfv1b9cLdDnTRIw==", "integrity": "sha512-TCgWVyjxLxM20WaQQT5neiMbdt2cuFL0BngwxcK8sV9x+M6IF0x3RIETc3VRVxfmRUxzZk+Yfv1b9cLdDnTRIw=="
"license": "MIT"
}, },
"node_modules/glob": { "node_modules/glob": {
"version": "7.2.3", "version": "7.2.3",
@ -3823,17 +3813,17 @@
} }
}, },
"node_modules/optionator": { "node_modules/optionator": {
"version": "0.9.3", "version": "0.9.4",
"resolved": "https://registry.npmjs.org/optionator/-/optionator-0.9.3.tgz", "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.9.4.tgz",
"integrity": "sha512-JjCoypp+jKn1ttEFExxhetCKeJt9zhAgAve5FXHixTvFDW/5aEktX9bufBKLRRMdU7bNtpLfcGu94B3cdEJgjg==", "integrity": "sha512-6IpQ7mKUxRcZNLIObR0hz7lxsapSSIYNZJwXPGeF0mTVqGKFIXj1DQcMoT22S3ROcLyY/rz0PWaWZ9ayWmad9g==",
"dev": true, "dev": true,
"dependencies": { "dependencies": {
"@aashutoshrathi/word-wrap": "^1.2.3",
"deep-is": "^0.1.3", "deep-is": "^0.1.3",
"fast-levenshtein": "^2.0.6", "fast-levenshtein": "^2.0.6",
"levn": "^0.4.1", "levn": "^0.4.1",
"prelude-ls": "^1.2.1", "prelude-ls": "^1.2.1",
"type-check": "^0.4.0" "type-check": "^0.4.0",
"word-wrap": "^1.2.5"
}, },
"engines": { "engines": {
"node": ">= 0.8.0" "node": ">= 0.8.0"
@ -5435,6 +5425,15 @@
"node": ">= 8" "node": ">= 8"
} }
}, },
"node_modules/word-wrap": {
"version": "1.2.5",
"resolved": "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.5.tgz",
"integrity": "sha512-BN22B5eaMMI9UMtjrGd5g5eCYPpCPDUy0FJXbYsaT5zYxjFOckS53SQDE3pWkVoWpHXVb3BrYcEN4Twa55B5cA==",
"dev": true,
"engines": {
"node": ">=0.10.0"
}
},
"node_modules/wrap-ansi": { "node_modules/wrap-ansi": {
"version": "7.0.0", "version": "7.0.0",
"resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz",

View File

@ -5,8 +5,8 @@
, buildWebExtension ? false , buildWebExtension ? false
}: }:
let let
version = "1.7.8"; version = "1.7.9";
gitHash = "97ce410"; gitHash = "d294128";
in in
buildNpmPackage rec { buildNpmPackage rec {
pname = "vencord"; pname = "vencord";
@ -16,7 +16,7 @@ buildNpmPackage rec {
owner = "Vendicated"; owner = "Vendicated";
repo = "Vencord"; repo = "Vencord";
rev = "v${version}"; rev = "v${version}";
hash = "sha256-5kMBUdFupVxmlQ7NVJ7qzFoyQieDGHrFNkrzhlhEzJ0="; hash = "sha256-iXcWz/ZqhCQnqS37LVTXYW+1eeos0AUA0O5URb2FELU=";
}; };
ESBUILD_BINARY_PATH = lib.getExe (esbuild.overrideAttrs (final: _: { ESBUILD_BINARY_PATH = lib.getExe (esbuild.overrideAttrs (final: _: {
@ -34,7 +34,7 @@ buildNpmPackage rec {
npmRebuildFlags = [ "|| true" ]; npmRebuildFlags = [ "|| true" ];
makeCacheWritable = true; makeCacheWritable = true;
npmDepsHash = "sha256-LdLPNM2yCUXh0PxAbzI2YNF6QoX1iG2TixMh6XdVuX0="; npmDepsHash = "sha256-G3adLiSrEyAShTsNEaYLEPYACHoXTISiNp/9jru0mUc=";
npmFlags = [ "--legacy-peer-deps" ]; npmFlags = [ "--legacy-peer-deps" ];
npmBuildScript = if buildWebExtension then "buildWeb" else "build"; npmBuildScript = if buildWebExtension then "buildWeb" else "build";
npmBuildFlags = [ "--" "--standalone" "--disable-updater" ]; npmBuildFlags = [ "--" "--standalone" "--disable-updater" ];

View File

@ -1,7 +1,6 @@
{ lib { lib
, stdenv , stdenv
, fetchFromGitHub , fetchFromGitHub
, fetchpatch
, meson , meson
, ninja , ninja
, pkg-config , pkg-config
@ -12,23 +11,15 @@
stdenv.mkDerivation (finalAttrs: { stdenv.mkDerivation (finalAttrs: {
pname = "xclicker"; pname = "xclicker";
version = "1.5.0"; version = "1.5.1";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "robiot"; owner = "robiot";
repo = "xclicker"; repo = "xclicker";
rev = "v${finalAttrs.version}"; rev = "v${finalAttrs.version}";
hash = "sha256-3D49iMzCCT9Z2Pf5INHYFZusG0BQI7La7lLaSVM/4mc="; hash = "sha256-zVbOfqh21+/41N3FcAFajcZCrQ8iNqedZjgNQO0Zj04=";
}; };
patches = [
(fetchpatch {
name = "fix-malloc-size.patch";
url = "https://github.com/robiot/xclicker/commit/c99f69a747e9df75fb3676be20a3ec805526d022.patch";
hash = "sha256-ESbMBusJVNfbGxlEn1Kby00mnXvM5H0r03bX5ofC6Fg=";
})
];
nativeBuildInputs = [ nativeBuildInputs = [
meson meson
ninja ninja
@ -57,7 +48,7 @@ stdenv.mkDerivation (finalAttrs: {
homepage = "https://xclicker.xyz/"; homepage = "https://xclicker.xyz/";
license = lib.licenses.gpl3Only; license = lib.licenses.gpl3Only;
mainProgram = "xclicker"; mainProgram = "xclicker";
maintainers = with lib.maintainers; [ tomasajt ]; maintainers = with lib.maintainers; [ gepbird tomasajt ];
platforms = lib.platforms.linux; platforms = lib.platforms.linux;
}; };
}) })

View File

@ -2,11 +2,11 @@
buildGraalvmNativeImage rec { buildGraalvmNativeImage rec {
pname = "yamlscript"; pname = "yamlscript";
version = "0.1.57"; version = "0.1.58";
src = fetchurl { src = fetchurl {
url = "https://github.com/yaml/yamlscript/releases/download/${version}/yamlscript.cli-${version}-standalone.jar"; url = "https://github.com/yaml/yamlscript/releases/download/${version}/yamlscript.cli-${version}-standalone.jar";
hash = "sha256-nuYfYz1Q7PtVb9A2KEN2XGeINifEjsM4IqGiUBbTGFM="; hash = "sha256-rARUkbVq77uPrQZwfQ0NNM4XwYaVhSinLi0sCoVR63E=";
}; };
executable = "ys"; executable = "ys";

View File

@ -31,6 +31,6 @@ stdenv.mkDerivation (finalAttrs: {
homepage = "https://github.com/tau-OS/tau-hydrogen"; homepage = "https://github.com/tau-OS/tau-hydrogen";
license = licenses.gpl3Only; license = licenses.gpl3Only;
platforms = platforms.unix; platforms = platforms.unix;
maintainers = with maintainers; [ ashvith-shetty ]; maintainers = [ ];
}; };
}) })

View File

@ -2,12 +2,12 @@
stdenvNoCC.mkDerivation rec { stdenvNoCC.mkDerivation rec {
pname = "cldr-annotations"; pname = "cldr-annotations";
version = "44.0"; version = "45.0";
src = fetchzip { src = fetchzip {
url = "https://unicode.org/Public/cldr/${lib.versions.major version}/cldr-common-${version}.zip"; url = "https://unicode.org/Public/cldr/${lib.versions.major version}/cldr-common-${version}.zip";
stripRoot = false; stripRoot = false;
hash = "sha256-oK+NlzuRF45laEMJKhNDzr12RF4CHIfDFNBFsIjJh1I="; hash = "sha256-8Id9thc3LWSw87aNpuSjQuLmFsx+XvXcz8Ox1Ua3sJw=";
}; };
installPhase = '' installPhase = ''
@ -22,7 +22,7 @@ stdenvNoCC.mkDerivation rec {
meta = with lib; { meta = with lib; {
description = "Names and keywords for Unicode characters from the Common Locale Data Repository"; description = "Names and keywords for Unicode characters from the Common Locale Data Repository";
homepage = "https://cldr.unicode.org"; homepage = "https://cldr.unicode.org";
license = licenses.unicode-dfs-2016; license = licenses.unicode-30;
platforms = platforms.all; platforms = platforms.all;
maintainers = with maintainers; [ DeeUnderscore ]; maintainers = with maintainers; [ DeeUnderscore ];
}; };

View File

@ -2,7 +2,7 @@
let let
themeName = "Dracula"; themeName = "Dracula";
version = "unstable-2024-04-16"; version = "unstable-2024-04-24";
in in
stdenvNoCC.mkDerivation { stdenvNoCC.mkDerivation {
pname = "dracula-theme"; pname = "dracula-theme";
@ -11,8 +11,8 @@ stdenvNoCC.mkDerivation {
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "dracula"; owner = "dracula";
repo = "gtk"; repo = "gtk";
rev = "557e276b41b00bbdc981c32f22ce6adc062d7c1e"; rev = "5e9a46b7610da0944a8131bbf08487861cae2c46";
hash = "sha256-il9zpzJeszGJ1gLkG73mtaMD8nBUFCfCXjcJV1fizxg="; hash = "sha256-pKKEZ/GheyIf6pPb+Sz4AfF8oRlf1Jk4cl0tub5Ye10=";
}; };
propagatedUserEnvPkgs = [ propagatedUserEnvPkgs = [

View File

@ -1,4 +1,4 @@
{ lib, stdenv, callPackage, clisp, coreutils, fetchurl, strace, texinfo, which, writeText, zstd { lib, stdenv, callPackage, ecl, coreutils, fetchurl, strace, texinfo, which, writeText, zstd
, threadSupport ? (stdenv.hostPlatform.isx86 || "aarch64-linux" == stdenv.hostPlatform.system || "aarch64-darwin" == stdenv.hostPlatform.system) , threadSupport ? (stdenv.hostPlatform.isx86 || "aarch64-linux" == stdenv.hostPlatform.system || "aarch64-darwin" == stdenv.hostPlatform.system)
, linkableRuntime ? stdenv.hostPlatform.isx86 , linkableRuntime ? stdenv.hostPlatform.isx86
, disableImmobileSpace ? false , disableImmobileSpace ? false
@ -6,14 +6,14 @@
# Note that the created binaries still need `patchelf --set-interpreter ...` # Note that the created binaries still need `patchelf --set-interpreter ...`
# to get rid of ${glibc} dependency. # to get rid of ${glibc} dependency.
, purgeNixReferences ? false , purgeNixReferences ? false
, coreCompression ? lib.versionAtLeast version "2.2.6" , coreCompression ? true
, markRegionGC ? lib.versionAtLeast version "2.4.0" , markRegionGC ? true
, version , version
# Set this to a lisp binary to use a custom bootstrap lisp compiler for # Set this to a lisp binary to use a custom bootstrap lisp compiler for SBCL.
# SBCL. Leave as null to use the default. This is useful for local development # Leave as null to use the default. This is useful for local development of
# of SBCL, because you can use your existing stock SBCL as a boostrap. On Hydra # SBCL, because you can use your existing stock SBCL as a boostrap. On Hydra
# of course we cant do that because SBCL hasnt been built yet, so we use # of course we cant do that because SBCL hasnt been built yet, so we use
# CLISP, but thats much slower. # ECL but thats much slower.
, bootstrapLisp ? null , bootstrapLisp ? null
}: }:
@ -27,16 +27,10 @@ let
}; };
}; };
# Collection of pre-built SBCL binaries for platforms that need them for # Collection of pre-built SBCL binaries for platforms that need them for
# bootstrapping. Ideally these are to be avoided. If CLISP (or any other # bootstrapping. Ideally these are to be avoided. If ECL (or any other
# non-binary-distributed Lisp) can run on any of these systems, that entry # non-binary-distributed Lisp) can run on any of these systems, that entry
# should be removed from this list. # should be removed from this list.
bootstrapBinaries = rec { bootstrapBinaries = rec {
# This build segfaults using CLISP.
x86_64-darwin = {
version = "2.2.9";
system = "x86-64-darwin";
sha256 = "sha256-b1BLkoLIOELAYBYA9eBmMgm1OxMxJewzNP96C9ADfKY=";
};
i686-linux = { i686-linux = {
version = "1.2.7"; version = "1.2.7";
system = "x86-linux"; system = "x86-linux";
@ -67,7 +61,7 @@ let
then bootstrapLisp then bootstrapLisp
else if (builtins.hasAttr stdenv.hostPlatform.system bootstrapBinaries) else if (builtins.hasAttr stdenv.hostPlatform.system bootstrapBinaries)
then "${sbclBootstrap}/bin/sbcl --disable-debugger --no-userinit --no-sysinit" then "${sbclBootstrap}/bin/sbcl --disable-debugger --no-userinit --no-sysinit"
else "${clisp}/bin/clisp -E UTF-8 --silent -norc"; else "${lib.getExe ecl} --norc";
in in
@ -173,15 +167,8 @@ stdenv.mkDerivation (self: rec {
"--arch=arm64" "--arch=arm64"
]; ];
env.NIX_CFLAGS_COMPILE = toString (lib.optionals (lib.versionOlder self.version "2.1.10") [ # Fails to find `O_LARGEFILE` otherwise.
# Workaround build failure on -fno-common toolchains like upstream env.NIX_CFLAGS_COMPILE = "-D_GNU_SOURCE";
# clang-13. Without the change build fails as:
# duplicate symbol '_static_code_space_free_pointer' in: alloc.o traceroot.o
# Should be fixed past 2.1.10 release.
"-fcommon"
]
# Fails to find `O_LARGEFILE` otherwise.
++ [ "-D_GNU_SOURCE" ]);
buildPhase = '' buildPhase = ''
runHook preBuild runHook preBuild
@ -241,6 +228,7 @@ stdenv.mkDerivation (self: rec {
platforms = attrNames bootstrapBinaries ++ [ platforms = attrNames bootstrapBinaries ++ [
# These arent bootstrapped using the binary distribution but compiled # These arent bootstrapped using the binary distribution but compiled
# using a separate (lisp) host # using a separate (lisp) host
"x86_64-darwin"
"x86_64-linux" "x86_64-linux"
"aarch64-darwin" "aarch64-darwin"
"aarch64-linux" "aarch64-linux"

View File

@ -350,7 +350,6 @@ in with passthru; stdenv.mkDerivation ({
''; '';
license = lib.licenses.psfl; license = lib.licenses.psfl;
platforms = lib.platforms.all; platforms = lib.platforms.all;
maintainers = with lib.maintainers; [ fridh ];
knownVulnerabilities = [ knownVulnerabilities = [
"Python 2.7 has reached its end of life after 2020-01-01. See https://www.python.org/doc/sunset-python-2/." "Python 2.7 has reached its end of life after 2020-01-01. See https://www.python.org/doc/sunset-python-2/."
# Quote: That means that we will not improve it anymore after that day, # Quote: That means that we will not improve it anymore after that day,

View File

@ -662,7 +662,6 @@ in with passthru; stdenv.mkDerivation (finalAttrs: {
license = licenses.psfl; license = licenses.psfl;
pkgConfigModules = [ "python3" ]; pkgConfigModules = [ "python3" ];
platforms = platforms.linux ++ platforms.darwin ++ platforms.windows; platforms = platforms.linux ++ platforms.darwin ++ platforms.windows;
maintainers = with maintainers; [ fridh ];
mainProgram = executable; mainProgram = executable;
}; };
}) })

View File

@ -1,8 +1,8 @@
{ lib { lib
, config , config
, stdenv
, fetchFromGitHub , fetchFromGitHub
, cmake , cmake
, darwin
, libiconv , libiconv
, llvmPackages , llvmPackages
, ninja , ninja
@ -13,18 +13,22 @@
, zlib , zlib
, cudaSupport ? config.cudaSupport , cudaSupport ? config.cudaSupport
, cudaPackages ? {} , cudaPackages ? {}
, llvmPackages_12
, pythonSupport ? false , pythonSupport ? false
}: }:
let
inherit (llvmPackages) stdenv;
in
stdenv.mkDerivation (finalAttrs: { stdenv.mkDerivation (finalAttrs: {
pname = "catboost"; pname = "catboost";
version = "1.2.2"; version = "1.2.3";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "catboost"; owner = "catboost";
repo = "catboost"; repo = "catboost";
rev = "refs/tags/v${finalAttrs.version}"; rev = "refs/tags/v${finalAttrs.version}";
hash = "sha256-A1zCIqPOW21dHKBQHRtS+/sstZ2o6F8k71lmJFGn0+g="; hash = "sha256-wn9STnpqX3zmdxPmMYAz9JPdg13Goux76CMaCiqohk8=";
}; };
patches = [ patches = [
@ -33,8 +37,8 @@ stdenv.mkDerivation (finalAttrs: {
postPatch = '' postPatch = ''
substituteInPlace cmake/common.cmake \ substituteInPlace cmake/common.cmake \
--replace "\''${RAGEL_BIN}" "${ragel}/bin/ragel" \ --replace-fail "\''${RAGEL_BIN}" "${ragel}/bin/ragel" \
--replace "\''${YASM_BIN}" "${yasm}/bin/yasm" --replace-fail "\''${YASM_BIN}" "${yasm}/bin/yasm"
shopt -s globstar shopt -s globstar
for cmakelists in **/CMakeLists.*; do for cmakelists in **/CMakeLists.*; do
@ -55,6 +59,8 @@ stdenv.mkDerivation (finalAttrs: {
(python3Packages.python.withPackages (ps: with ps; [ six ])) (python3Packages.python.withPackages (ps: with ps; [ six ]))
ragel ragel
yasm yasm
] ++ lib.optionals stdenv.hostPlatform.isDarwin [
darwin.cctools
] ++ lib.optionals cudaSupport (with cudaPackages; [ ] ++ lib.optionals cudaSupport (with cudaPackages; [
cuda_nvcc cuda_nvcc
]); ]);
@ -71,17 +77,19 @@ stdenv.mkDerivation (finalAttrs: {
]); ]);
env = { env = {
CUDAHOSTCXX = lib.optionalString cudaSupport "${stdenv.cc}/bin/cc"; # catboost requires clang 14+ for build, but does clang 12 for cuda build.
# after bumping the default version of llvm, check for compatibility with the cuda backend and pin it.
# see https://catboost.ai/en/docs/installation/build-environment-setup-for-cmake#compilers,-linkers-and-related-tools
CUDAHOSTCXX = lib.optionalString cudaSupport "${llvmPackages_12.stdenv.cc}/bin/cc";
NIX_CFLAGS_LINK = lib.optionalString stdenv.isLinux "-fuse-ld=lld"; NIX_CFLAGS_LINK = lib.optionalString stdenv.isLinux "-fuse-ld=lld";
NIX_LDFLAGS = "-lc -lm"; NIX_LDFLAGS = "-lc -lm";
}; };
cmakeFlags = [ cmakeFlags = [
"-DCMAKE_BINARY_DIR=$out" (lib.cmakeFeature "CMAKE_BINARY_DIR" "$out")
"-DCMAKE_POSITION_INDEPENDENT_CODE=on" (lib.cmakeBool "CMAKE_POSITION_INDEPENDENT_CODE" true)
"-DCATBOOST_COMPONENTS=app;libs${lib.optionalString pythonSupport ";python-package"}" (lib.cmakeFeature "CATBOOST_COMPONENTS" "app;libs${lib.optionalString pythonSupport ";python-package"}")
] ++ lib.optionals cudaSupport [ (lib.cmakeBool "HAVE_CUDA" cudaSupport)
"-DHAVE_CUDA=on"
]; ];
installPhase = '' installPhase = ''

View File

@ -1,26 +1,26 @@
diff --git a/CMakeLists.txt b/CMakeLists.txt diff --git a/CMakeLists.txt b/CMakeLists.txt
index becd2ad03c..7e3c8c99b1 100644 index ed6c53b220..5c6fb8f157 100644
--- a/CMakeLists.txt --- a/CMakeLists.txt
+++ b/CMakeLists.txt +++ b/CMakeLists.txt
@@ -27,7 +27,6 @@ cmake_policy(SET CMP0104 OLD) @@ -29,7 +29,6 @@ include(cmake/global_flags.cmake)
include(cmake/global_vars.cmake)
include(cmake/archive.cmake) include(cmake/archive.cmake)
include(cmake/common.cmake) include(cmake/common.cmake)
-include(cmake/conan.cmake) -include(cmake/conan.cmake)
include(cmake/cuda.cmake) include(cmake/cuda.cmake)
include(cmake/cython.cmake) include(cmake/cython.cmake)
include(cmake/fbs.cmake) include(cmake/fbs.cmake)
@@ -37,21 +36,6 @@ include(cmake/recursive_library.cmake) @@ -38,21 +37,6 @@ include(cmake/recursive_library.cmake)
include(cmake/shared_libs.cmake)
include(cmake/swig.cmake) include(cmake/swig.cmake)
include(cmake/global_vars.cmake)
-if (CMAKE_CROSSCOMPILING) -if (CMAKE_CROSSCOMPILING)
- include(${CMAKE_BINARY_DIR}/conan_paths.cmake) - include(${PROJECT_BINARY_DIR}/conan_paths.cmake)
-else() -else()
- conan_cmake_autodetect(settings) - conan_cmake_autodetect(settings)
- conan_cmake_install( - conan_cmake_install(
- PATH_OR_REFERENCE ${CMAKE_SOURCE_DIR} - PATH_OR_REFERENCE ${PROJECT_SOURCE_DIR}
- INSTALL_FOLDER ${CMAKE_BINARY_DIR} - INSTALL_FOLDER ${PROJECT_BINARY_DIR}
- BUILD missing - BUILD missing
- REMOTE conancenter - REMOTE conancenter
- SETTINGS ${settings} - SETTINGS ${settings}

View File

@ -52,7 +52,12 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ pkg-config ]; nativeBuildInputs = [ pkg-config ];
buildInputs = [ dbus glib expat ]; buildInputs = [ dbus glib expat ];
configureFlags = [ "--disable-ecore" "--disable-tests" ]; configureFlags = [
"--disable-ecore"
"--disable-tests"
] ++ lib.optionals (!stdenv.buildPlatform.canExecute stdenv.hostPlatform) [
"--disable-examples"
];
meta = with lib; { meta = with lib; {
homepage = "https://dbus-cplusplus.sourceforge.net"; homepage = "https://dbus-cplusplus.sourceforge.net";

View File

@ -18,6 +18,7 @@
, doxygen , doxygen
, python3 , python3
, lcms2 , lcms2
, enablePlugins ? stdenv.buildPlatform.canExecute stdenv.hostPlatform
}: }:
let let
@ -106,7 +107,7 @@ stdenv.mkDerivation rec {
# TODO: Update this package to enable this (overridably via an option): # TODO: Update this package to enable this (overridably via an option):
# Viewer tools for evaluation. # Viewer tools for evaluation.
# "-DJPEGXL_ENABLE_VIEWERS=ON" # "-DJPEGXL_ENABLE_VIEWERS=ON"
] ++ lib.optionals enablePlugins [
# Enable plugins, such as: # Enable plugins, such as:
# * the `gdk-pixbuf` one, which allows applications like `eog` to load jpeg-xl files # * the `gdk-pixbuf` one, which allows applications like `eog` to load jpeg-xl files
# * the `gimp` one, which allows GIMP to load jpeg-xl files # * the `gimp` one, which allows GIMP to load jpeg-xl files
@ -122,7 +123,7 @@ stdenv.mkDerivation rec {
--replace '/usr/bin/gdk-pixbuf-thumbnailer' "$out/libexec/gdk-pixbuf-thumbnailer-jxl" --replace '/usr/bin/gdk-pixbuf-thumbnailer' "$out/libexec/gdk-pixbuf-thumbnailer-jxl"
''; '';
postInstall = '' postInstall = lib.optionalString enablePlugins ''
GDK_PIXBUF_MODULEDIR="$out/${gdk-pixbuf.moduleDir}" \ GDK_PIXBUF_MODULEDIR="$out/${gdk-pixbuf.moduleDir}" \
GDK_PIXBUF_MODULE_FILE="$out/${loadersPath}" \ GDK_PIXBUF_MODULE_FILE="$out/${loadersPath}" \
gdk-pixbuf-query-loaders --update-cache gdk-pixbuf-query-loaders --update-cache

View File

@ -11,13 +11,13 @@ let
in in
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "librime"; pname = "librime";
version = "1.11.0"; version = "1.11.2";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "rime"; owner = "rime";
repo = pname; repo = pname;
rev = version; rev = version;
sha256 = "sha256-yP7YmmeA3k0/NI4XPsC/k2BX4mMnyMJvguiFZIWo8I8="; sha256 = "sha256-QHuzpitxSYQ4EcBPY1f0R5zl4UFtefu0bFXA76Iv+j0=";
}; };
nativeBuildInputs = [ cmake pkg-config ]; nativeBuildInputs = [ cmake pkg-config ];

View File

@ -47,6 +47,9 @@ stdenv.mkDerivation rec {
configureFlags = lib.optionals (stdenv.hostPlatform != stdenv.buildPlatform) [ configureFlags = lib.optionals (stdenv.hostPlatform != stdenv.buildPlatform) [
# Remove once "sdl-cross-prereq.patch" patch above is removed. # Remove once "sdl-cross-prereq.patch" patch above is removed.
"--disable-lv-tool" "--disable-lv-tool"
] ++ lib.optionals (!stdenv.buildPlatform.canExecute stdenv.hostPlatform) [
"ac_cv_func_malloc_0_nonnull=yes"
"ac_cv_func_realloc_0_nonnull=yes"
]; ];
meta = { meta = {

View File

@ -112,8 +112,8 @@ let
in in
{ {
ogre_14 = common { ogre_14 = common {
version = "14.2.2"; version = "14.2.4";
hash = "sha256-85hpujmlM3N81mkiA80xx2C4GsdzWkP61bwdfmw1zt8="; hash = "sha256-Gr72KNjxZPZtFrgsbevPYiVog/fQNvJHvQEH0WA2DW4=";
# https://github.com/OGRECave/ogre/blob/v14.2.2/Components/Overlay/CMakeLists.txt # https://github.com/OGRECave/ogre/blob/v14.2.2/Components/Overlay/CMakeLists.txt
imguiVersion = "1.90.4"; imguiVersion = "1.90.4";
imguiHash = "sha256-7+Ay7H97tIO6CUsEyaQv4i9q2FCw98eQUq/KYZyfTAw="; imguiHash = "sha256-7+Ay7H97tIO6CUsEyaQv4i9q2FCw98eQUq/KYZyfTAw=";

View File

@ -53,7 +53,6 @@ buildPythonPackage rec {
meta = with lib; { meta = with lib; {
description = "Python package for acousticians"; description = "Python package for acousticians";
maintainers = with maintainers; [ fridh ];
license = with licenses; [ bsd3 ]; license = with licenses; [ bsd3 ];
homepage = "https://github.com/python-acoustics/python-acoustics"; homepage = "https://github.com/python-acoustics/python-acoustics";
}; };

View File

@ -49,6 +49,5 @@ buildPythonPackage rec {
description = "File support for asyncio"; description = "File support for asyncio";
homepage = "https://github.com/Tinche/aiofiles"; homepage = "https://github.com/Tinche/aiofiles";
license = with licenses; [ asl20 ]; license = with licenses; [ asl20 ];
maintainers = with maintainers; [ fridh ];
}; };
} }

View File

@ -1,48 +1,43 @@
{ lib {
, aiohttp lib,
, beautifulsoup4 aiohttp,
, buildPythonPackage beautifulsoup4,
, fetchFromGitHub buildPythonPackage,
, poetry-core fetchFromGitHub,
, pytestCheckHook poetry-core,
, pythonOlder pytestCheckHook,
pythonOlder,
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "aiovodafone"; pname = "aiovodafone";
version = "0.5.4"; version = "0.6.0";
pyproject = true; pyproject = true;
disabled = pythonOlder "3.10"; disabled = pythonOlder "3.11";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "chemelli74"; owner = "chemelli74";
repo = "aiovodafone"; repo = "aiovodafone";
rev = "refs/tags/v${version}"; rev = "refs/tags/v${version}";
hash = "sha256-J2VdRxCzIjRUOqQW4YzOC8RRth9tibBS9YuizveqhhI="; hash = "sha256-sy7/nCthmfI0WdBkwBU83fifcYTe9zUBOpxV7RX9F6w=";
}; };
postPatch = '' postPatch = ''
substituteInPlace pyproject.toml \ substituteInPlace pyproject.toml \
--replace " --cov=aiovodafone --cov-report=term-missing:skip-covered" "" --replace-fail " --cov=aiovodafone --cov-report=term-missing:skip-covered" ""
''; '';
nativeBuildInputs = [ build-system = [ poetry-core ];
poetry-core
];
propagatedBuildInputs = [ dependencies = [
aiohttp aiohttp
beautifulsoup4 beautifulsoup4
]; ];
nativeCheckInputs = [ nativeCheckInputs = [ pytestCheckHook ];
pytestCheckHook
];
pythonImportsCheck = [ pythonImportsCheck = [ "aiovodafone" ];
"aiovodafone"
];
meta = with lib; { meta = with lib; {
description = "Library to control Vodafon Station"; description = "Library to control Vodafon Station";

View File

@ -21,7 +21,7 @@
let let
pname = "ansible"; pname = "ansible";
version = "9.4.0"; version = "9.5.1";
in in
buildPythonPackage { buildPythonPackage {
inherit pname version; inherit pname version;
@ -31,7 +31,7 @@ buildPythonPackage {
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
hash = "sha256-3UMcYzgOGMP6yjKI696M4vT5kjY6tVijwRyPIDLZCGc="; hash = "sha256-PCeLyWQrl/yVOyugW5nNgIAedb81Z9+qHLUTH+DsHs0=";
}; };
postPatch = '' postPatch = ''

View File

@ -36,6 +36,5 @@ buildPythonPackage rec {
description = "Bibtex parser for Python"; description = "Bibtex parser for Python";
homepage = "https://github.com/sciunto-org/python-bibtexparser"; homepage = "https://github.com/sciunto-org/python-bibtexparser";
license = with licenses; [ lgpl3Only /* or */ bsd3 ]; license = with licenses; [ lgpl3Only /* or */ bsd3 ];
maintainers = with maintainers; [ fridh ];
}; };
} }

View File

@ -12,7 +12,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "clarifai-grpc"; pname = "clarifai-grpc";
version = "10.3.2"; version = "10.3.4";
pyproject = true; pyproject = true;
disabled = pythonOlder "3.8"; disabled = pythonOlder "3.8";
@ -21,7 +21,7 @@ buildPythonPackage rec {
owner = "Clarifai"; owner = "Clarifai";
repo = "clarifai-python-grpc"; repo = "clarifai-python-grpc";
rev = "refs/tags/${version}"; rev = "refs/tags/${version}";
hash = "sha256-rymu9BUbU8d0BgBpE/1bOAqGxVN3ksyvq6Wy0KZ+KkY="; hash = "sha256-1Yx00g2Cd9/41DZYK5cRwcFQv2qD6B4cl4cpVZ6slTA=";
}; };
build-system = [ setuptools ]; build-system = [ setuptools ];

View File

@ -1,40 +1,43 @@
{ lib { lib
, buildPythonPackage , buildPythonPackage
, fetchpatch
, fetchPypi , fetchPypi
, poetry-core , poetry-core
, pythonOlder , pythonOlder
, aiohttp
, backoff
, fastavro , fastavro
, importlib-metadata , httpx
, httpx-sse
, pydantic
, requests , requests
, urllib3 , tokenizers
, types-requests
, typing-extensions
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "cohere"; pname = "cohere";
version = "4.57"; version = "5.3.3";
pyproject = true; pyproject = true;
disabled = pythonOlder "3.7"; disabled = pythonOlder "3.7";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
hash = "sha256-cazgIEqS0aKo1LlJuIs1O08i/GRUhoUZJChMxaDrcA0="; hash = "sha256-+/WcC6sN7U0oCR+gwZOhFtgwPEwLCaQnId2KEjDqJ8M=";
}; };
nativeBuildInputs = [ build-system = [
poetry-core poetry-core
]; ];
propagatedBuildInputs = [ dependencies = [
aiohttp
backoff
fastavro fastavro
importlib-metadata httpx
httpx-sse
pydantic
requests requests
urllib3 tokenizers
types-requests
typing-extensions
]; ];
# tests require CO_API_KEY # tests require CO_API_KEY
@ -47,7 +50,7 @@ buildPythonPackage rec {
meta = with lib; { meta = with lib; {
description = "Simplify interfacing with the Cohere API"; description = "Simplify interfacing with the Cohere API";
homepage = "https://docs.cohere.com/docs"; homepage = "https://docs.cohere.com/docs";
changelog = "https://github.com/cohere-ai/cohere-python/blob/main/CHANGELOG.md#${builtins.replaceStrings ["."] [""] version}"; changelog = "https://github.com/cohere-ai/cohere-python/releases/tag/${version}";
license = licenses.mit; license = licenses.mit;
maintainers = with maintainers; [ natsukium ]; maintainers = with maintainers; [ natsukium ];
}; };

View File

@ -36,6 +36,5 @@ buildPythonPackage rec {
description = "Composable style cycles"; description = "Composable style cycles";
homepage = "https://github.com/matplotlib/cycler"; homepage = "https://github.com/matplotlib/cycler";
license = lib.licenses.bsd3; license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ fridh ];
}; };
} }

View File

@ -86,6 +86,5 @@ in buildPythonPackage rec {
description = "An optimising static compiler for both the Python programming language and the extended Cython programming language"; description = "An optimising static compiler for both the Python programming language and the extended Cython programming language";
homepage = "https://cython.org"; homepage = "https://cython.org";
license = lib.licenses.asl20; license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ fridh ];
}; };
} }

View File

@ -66,6 +66,5 @@ in buildPythonPackage rec {
description = "An optimising static compiler for both the Python programming language and the extended Cython programming language"; description = "An optimising static compiler for both the Python programming language and the extended Cython programming language";
homepage = "https://cython.org"; homepage = "https://cython.org";
license = lib.licenses.asl20; license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ fridh ];
}; };
} }

View File

@ -47,6 +47,5 @@ buildPythonPackage rec {
homepage = "https://github.com/pytoolz/cytoolz/"; homepage = "https://github.com/pytoolz/cytoolz/";
description = "Cython implementation of Toolz: High performance functional utilities"; description = "Cython implementation of Toolz: High performance functional utilities";
license = licenses.bsd3; license = licenses.bsd3;
maintainers = with lib.maintainers; [ fridh ];
}; };
} }

View File

@ -191,6 +191,5 @@ let self = buildPythonPackage rec {
homepage = "https://dask.org/"; homepage = "https://dask.org/";
changelog = "https://docs.dask.org/en/latest/changelog.html"; changelog = "https://docs.dask.org/en/latest/changelog.html";
license = licenses.bsd3; license = licenses.bsd3;
maintainers = with maintainers; [ fridh ];
}; };
}; in self }; in self

View File

@ -46,6 +46,5 @@ in buildPythonPackage rec {
homepage = "https://github.com/ContinuumIO/datashape"; homepage = "https://github.com/ContinuumIO/datashape";
description = "A data description language"; description = "A data description language";
license = lib.licenses.bsd2; license = lib.licenses.bsd2;
maintainers = with lib.maintainers; [ fridh ];
}; };
} }

View File

@ -30,7 +30,7 @@ buildPythonPackage rec {
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "jelmer"; owner = "jelmer";
repo = "dulwich"; repo = "dulwich";
rev = "refs/tags/${version}"; rev = "refs/tags/${pname}-${version}";
hash = "sha256-bf3ZUMX4afpdTBpFnx0HMyzCNG6V/p4eOl36djxGbtk="; hash = "sha256-bf3ZUMX4afpdTBpFnx0HMyzCNG6V/p4eOl36djxGbtk=";
}; };

View File

@ -0,0 +1,58 @@
{
lib,
buildPythonPackage,
fetchPypi,
fetchFromGitHub,
unittestCheckHook,
setuptools,
regex,
panphon,
marisa-trie,
requests,
}:
buildPythonPackage rec {
pname = "epitran";
version = "1.24";
pyproject = true;
src = fetchFromGitHub {
owner = "dmort27";
repo = "epitran";
rev = "refs/tags/${version}";
hash = "sha256-AH4q8J5oMaUVJ559qe/ZlJXlCcGdxWnxMhnZKCH5Rlk=";
};
build-system = [ setuptools ];
dependencies = [
regex
panphon
marisa-trie
requests
];
nativeCheckInputs = [ unittestCheckHook ];
unittestFlagsArray = [
"-s"
"test"
];
pythonImportsCheck = [
"epitran"
"epitran.backoff"
"epitran.vector"
];
meta = with lib; {
description = "Tools for transcribing languages into IPA";
homepage = "https://github.com/dmort27/epitran";
changelog = "https://github.com/dmort27/epitran/releases/tag/${version}";
license = licenses.mit;
maintainers = with maintainers; [ vizid ];
};
}

View File

@ -56,6 +56,5 @@ buildPythonPackage rec {
mainProgram = "flit"; mainProgram = "flit";
homepage = "https://github.com/pypa/flit"; homepage = "https://github.com/pypa/flit";
license = licenses.bsd3; license = licenses.bsd3;
maintainers = with maintainers; [ fridh ];
}; };
} }

View File

@ -75,6 +75,5 @@ buildPythonPackage rec {
homepage = "https://github.com/python-visualization/folium"; homepage = "https://github.com/python-visualization/folium";
changelog = "https://github.com/python-visualization/folium/blob/v${version}/CHANGES.txt"; changelog = "https://github.com/python-visualization/folium/blob/v${version}/CHANGES.txt";
license = with lib.licenses; [ mit ]; license = with lib.licenses; [ mit ];
maintainers = with lib.maintainers; [ fridh ];
}; };
} }

View File

@ -0,0 +1,54 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
setuptools-scm,
wheel,
httpx,
pytest-asyncio,
pytestCheckHook,
sse-starlette,
}:
buildPythonPackage rec {
pname = "httpx-sse";
version = "0.4.0";
pyproject = true;
src = fetchFromGitHub {
owner = "florimondmanca";
repo = "httpx-sse";
rev = "refs/tags/${version}";
hash = "sha256-nU8vkmV/WynzQrSrq9+FQXtfAJPVLpMsRSuntU0HWrE=";
};
# pytest-cov configuration is not necessary for packaging
postPatch = ''
rm setup.cfg
'';
build-system = [
setuptools
setuptools-scm
wheel
];
dependencies = [ httpx ];
pythonImportsCheck = [ "httpx_sse" ];
nativeCheckInputs = [
pytest-asyncio
pytestCheckHook
sse-starlette
];
meta = with lib; {
description = "Consume Server-Sent Event (SSE) messages with HTTPX";
homepage = "https://github.com/florimondmanca/httpx-sse";
changelog = "https://github.com/florimondmanca/httpx-sse/blob/${src.rev}/CHANGELOG.md";
license = licenses.mit;
maintainers = with maintainers; [ natsukium ];
};
}

View File

@ -70,6 +70,6 @@ buildPythonPackage rec {
homepage = "https://ipython.org/"; homepage = "https://ipython.org/";
changelog = "https://github.com/ipython/ipykernel/releases/tag/v${version}"; changelog = "https://github.com/ipython/ipykernel/releases/tag/v${version}";
license = lib.licenses.bsd3; license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ fridh ] ++ lib.teams.jupyter.members; maintainers = lib.teams.jupyter.members;
}; };
} }

View File

@ -66,6 +66,5 @@ buildPythonPackage rec {
homepage = "https://ipyparallel.readthedocs.io/"; homepage = "https://ipyparallel.readthedocs.io/";
changelog = "https://github.com/ipython/ipyparallel/blob/${version}/docs/source/changelog.md"; changelog = "https://github.com/ipython/ipyparallel/blob/${version}/docs/source/changelog.md";
license = licenses.bsd3; license = licenses.bsd3;
maintainers = with maintainers; [ fridh ];
}; };
} }

View File

@ -44,6 +44,5 @@ buildPythonPackage rec {
description = "Vestigial utilities from IPython"; description = "Vestigial utilities from IPython";
homepage = "https://ipython.org/"; homepage = "https://ipython.org/";
license = lib.licenses.bsd3; license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ fridh ];
}; };
} }

View File

@ -112,6 +112,6 @@ buildPythonPackage rec {
homepage = "https://ipython.org/"; homepage = "https://ipython.org/";
changelog = "https://github.com/ipython/ipython/blob/${version}/docs/source/whatsnew/version${lib.versions.major version}.rst"; changelog = "https://github.com/ipython/ipython/blob/${version}/docs/source/whatsnew/version${lib.versions.major version}.rst";
license = licenses.bsd3; license = licenses.bsd3;
maintainers = with maintainers; [ bjornfor fridh ]; maintainers = with maintainers; [ bjornfor ];
}; };
} }

View File

@ -48,6 +48,5 @@ buildPythonPackage rec {
description = "IPython HTML widgets for Jupyter"; description = "IPython HTML widgets for Jupyter";
homepage = "https://github.com/jupyter-widgets/ipywidgets"; homepage = "https://github.com/jupyter-widgets/ipywidgets";
license = lib.licenses.bsd3; license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ fridh ];
}; };
} }

View File

@ -48,6 +48,5 @@ buildPythonPackage rec {
homepage = "https://github.com/jupyter/jupyter_client"; homepage = "https://github.com/jupyter/jupyter_client";
changelog = "https://github.com/jupyter/jupyter_client/blob/v${version}/CHANGELOG.md"; changelog = "https://github.com/jupyter/jupyter_client/blob/v${version}/CHANGELOG.md";
license = lib.licenses.bsd3; license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ fridh ];
}; };
} }

View File

@ -17,7 +17,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "langchain-core"; pname = "langchain-core";
version = "0.1.44"; version = "0.1.46";
pyproject = true; pyproject = true;
disabled = pythonOlder "3.8"; disabled = pythonOlder "3.8";
@ -25,7 +25,7 @@ buildPythonPackage rec {
src = fetchPypi { src = fetchPypi {
pname = "langchain_core"; pname = "langchain_core";
inherit version; inherit version;
hash = "sha256-4xOXXZrikmNC5vKtdgM40x8YsSI+m4tNxAja7q3kaoM="; hash = "sha256-F8QWNJ9cepgI5w43JXSaOi31CI8ezKBFyIOHGqlfnJ4=";
}; };
pythonRelaxDeps = [ pythonRelaxDeps = [

View File

@ -47,6 +47,6 @@ buildPythonPackage rec {
homepage = "https://lark-parser.readthedocs.io/"; homepage = "https://lark-parser.readthedocs.io/";
changelog = "https://github.com/lark-parser/lark/releases/tag/${version}"; changelog = "https://github.com/lark-parser/lark/releases/tag/${version}";
license = licenses.mit; license = licenses.mit;
maintainers = with maintainers; [ fridh drewrisinger ]; maintainers = with maintainers; [ drewrisinger ];
}; };
} }

View File

@ -60,6 +60,5 @@ buildPythonPackage rec {
homepage = "https://github.com/pyutils/line_profiler"; homepage = "https://github.com/pyutils/line_profiler";
changelog = "https://github.com/pyutils/line_profiler/blob/v${version}/CHANGELOG.rst"; changelog = "https://github.com/pyutils/line_profiler/blob/v${version}/CHANGELOG.rst";
license = licenses.bsd3; license = licenses.bsd3;
maintainers = with maintainers; [ fridh ];
}; };
} }

View File

@ -61,6 +61,5 @@ buildPythonPackage rec {
downloadPage = "https://github.com/numba/llvmlite"; downloadPage = "https://github.com/numba/llvmlite";
homepage = "http://llvmlite.pydata.org/"; homepage = "http://llvmlite.pydata.org/";
license = licenses.bsd2; license = licenses.bsd2;
maintainers = with maintainers; [ fridh ];
}; };
} }

View File

@ -28,7 +28,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "maestral"; pname = "maestral";
version = "1.9.2"; version = "1.9.3";
format = "pyproject"; format = "pyproject";
disabled = pythonOlder "3.8"; disabled = pythonOlder "3.8";
@ -37,7 +37,7 @@ buildPythonPackage rec {
owner = "SamSchott"; owner = "SamSchott";
repo = "maestral"; repo = "maestral";
rev = "refs/tags/v${version}"; rev = "refs/tags/v${version}";
hash = "sha256-Bb0yE2OKdlZd6ZsTEWOD+hMuV41fZanesY49L+v4BBE="; hash = "sha256-h7RDaCVICi3wl6/b1s01cINhFirDOpOXoxTPZIBH3jE=";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [

View File

@ -48,6 +48,6 @@ buildPythonPackage rec {
description = "Meson Python build backend (PEP 517)"; description = "Meson Python build backend (PEP 517)";
homepage = "https://github.com/mesonbuild/meson-python"; homepage = "https://github.com/mesonbuild/meson-python";
license = [ lib.licenses.mit ]; license = [ lib.licenses.mit ];
maintainers = with lib.maintainers; [ fridh doronbehar ]; maintainers = with lib.maintainers; [ doronbehar ];
}; };
} }

View File

@ -41,6 +41,5 @@ buildPythonPackage rec {
description = "Create pep517 compliant packages from the meson build system"; description = "Create pep517 compliant packages from the meson build system";
homepage = "https://gitlab.com/thiblahute/mesonpep517"; homepage = "https://gitlab.com/thiblahute/mesonpep517";
license = lib.licenses.asl20; license = lib.licenses.asl20;
maintainers = [ lib.maintainers.fridh ];
}; };
} }

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