Merge staging-next into staging

This commit is contained in:
github-actions[bot] 2024-02-24 00:02:31 +00:00 committed by GitHub
commit a118fdbd61
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
95 changed files with 4307 additions and 3569 deletions

View File

@ -439,14 +439,14 @@ gitGraph
Here's an overview of the different branches: Here's an overview of the different branches:
| branch | `master` | `staging` | `staging-next` | | branch | `master` | `staging-next` | `staging` |
| --- | --- | --- | --- | | --- | --- | --- | --- |
| Used for development | ✔️ | ✔️ | ❌ | | Used for development | ✔️ | ❌ | ✔️ |
| Built by Hydra | ✔️ | ❌ | ✔️ | | Built by Hydra | ✔️ | ✔️ | ❌ |
| [Mass rebuilds][mass-rebuild] | ❌ | ✔️ | ⚠️ Only to fix Hydra builds | | [Mass rebuilds][mass-rebuild] | ❌ | ⚠️ Only to fix Hydra builds | ✔️ |
| Critical security fixes | ✔️ for non-mass-rebuilds | ❌ | ✔️ for mass-rebuilds | | Critical security fixes | ✔️ for non-mass-rebuilds | ✔️ for mass-rebuilds | ❌ |
| Automatically merged into | `staging-next` | - | `staging` | | Automatically merged into | `staging-next` | `staging` | - |
| Manually merged into | - | `staging-next` | `master` | | Manually merged into | - | `master` | `staging-next` |
The staging workflow is used for all main branches, `master` and `release-YY.MM`, with corresponding names: The staging workflow is used for all main branches, `master` and `release-YY.MM`, with corresponding names:
- `master`/`release-YY.MM` - `master`/`release-YY.MM`

View File

@ -1866,12 +1866,6 @@
github = "Atry"; github = "Atry";
githubId = 601530; githubId = 601530;
}; };
attila-lendvai = {
name = "Attila Lendvai";
email = "attila@lendvai.name";
github = "attila-lendvai";
githubId = 840345;
};
auchter = { auchter = {
name = "Michael Auchter"; name = "Michael Auchter";
email = "a@phire.org"; email = "a@phire.org";

View File

@ -900,7 +900,6 @@
./services/networking/autossh.nix ./services/networking/autossh.nix
./services/networking/avahi-daemon.nix ./services/networking/avahi-daemon.nix
./services/networking/babeld.nix ./services/networking/babeld.nix
./services/networking/bee-clef.nix
./services/networking/bee.nix ./services/networking/bee.nix
./services/networking/biboumi.nix ./services/networking/biboumi.nix
./services/networking/bind.nix ./services/networking/bind.nix

View File

@ -33,6 +33,41 @@ let
kubeconfig = top.lib.mkKubeConfig "kubelet" cfg.kubeconfig; kubeconfig = top.lib.mkKubeConfig "kubelet" cfg.kubeconfig;
# Flag based settings are deprecated, use the `--config` flag with a
# `KubeletConfiguration` struct.
# https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/
#
# NOTE: registerWithTaints requires a []core/v1.Taint, therefore requires
# additional work to be put in config format.
#
kubeletConfig = pkgs.writeText "kubelet-config" (builtins.toJSON ({
apiVersion = "kubelet.config.k8s.io/v1beta1";
kind = "KubeletConfiguration";
address = cfg.address;
port = cfg.port;
authentication = {
x509 = lib.optionalAttrs (cfg.clientCaFile != null) { clientCAFile = cfg.clientCaFile; };
webhook = {
enabled = true;
cacheTTL = "10s";
};
};
authorization = {
mode = "Webhook";
};
cgroupDriver = "systemd";
hairpinMode = "hairpin-veth";
registerNode = cfg.registerNode;
containerRuntimeEndpoint = cfg.containerRuntimeEndpoint;
healthzPort = cfg.healthz.port;
healthzBindAddress = cfg.healthz.bind;
} // lib.optionalAttrs (cfg.tlsCertFile != null) { tlsCertFile = cfg.tlsCertFile; }
// lib.optionalAttrs (cfg.tlsKeyFile != null) { tlsPrivateKeyFile = cfg.tlsKeyFile; }
// lib.optionalAttrs (cfg.clusterDomain != "") { clusterDomain = cfg.clusterDomain; }
// lib.optionalAttrs (cfg.clusterDns != "") { clusterDNS = [ cfg.clusterDns ] ; }
// lib.optionalAttrs (cfg.featureGates != []) { featureGates = cfg.featureGates; }
));
manifestPath = "kubernetes/manifests"; manifestPath = "kubernetes/manifests";
taintOptions = with lib.types; { name, ... }: { taintOptions = with lib.types; { name, ... }: {
@ -294,21 +329,7 @@ in
Restart = "on-failure"; Restart = "on-failure";
RestartSec = "1000ms"; RestartSec = "1000ms";
ExecStart = ''${top.package}/bin/kubelet \ ExecStart = ''${top.package}/bin/kubelet \
--address=${cfg.address} \ --config=${kubeletConfig} \
--authentication-token-webhook \
--authentication-token-webhook-cache-ttl="10s" \
--authorization-mode=Webhook \
${optionalString (cfg.clientCaFile != null)
"--client-ca-file=${cfg.clientCaFile}"} \
${optionalString (cfg.clusterDns != "")
"--cluster-dns=${cfg.clusterDns}"} \
${optionalString (cfg.clusterDomain != "")
"--cluster-domain=${cfg.clusterDomain}"} \
${optionalString (cfg.featureGates != [])
"--feature-gates=${concatMapStringsSep "," (feature: "${feature}=true") cfg.featureGates}"} \
--hairpin-mode=hairpin-veth \
--healthz-bind-address=${cfg.healthz.bind} \
--healthz-port=${toString cfg.healthz.port} \
--hostname-override=${cfg.hostname} \ --hostname-override=${cfg.hostname} \
--kubeconfig=${kubeconfig} \ --kubeconfig=${kubeconfig} \
${optionalString (cfg.nodeIp != null) ${optionalString (cfg.nodeIp != null)
@ -316,18 +337,10 @@ in
--pod-infra-container-image=pause \ --pod-infra-container-image=pause \
${optionalString (cfg.manifests != {}) ${optionalString (cfg.manifests != {})
"--pod-manifest-path=/etc/${manifestPath}"} \ "--pod-manifest-path=/etc/${manifestPath}"} \
--port=${toString cfg.port} \
--register-node=${boolToString cfg.registerNode} \
${optionalString (taints != "") ${optionalString (taints != "")
"--register-with-taints=${taints}"} \ "--register-with-taints=${taints}"} \
--root-dir=${top.dataDir} \ --root-dir=${top.dataDir} \
${optionalString (cfg.tlsCertFile != null)
"--tls-cert-file=${cfg.tlsCertFile}"} \
${optionalString (cfg.tlsKeyFile != null)
"--tls-private-key-file=${cfg.tlsKeyFile}"} \
${optionalString (cfg.verbosity != null) "--v=${toString cfg.verbosity}"} \ ${optionalString (cfg.verbosity != null) "--v=${toString cfg.verbosity}"} \
--container-runtime-endpoint=${cfg.containerRuntimeEndpoint} \
--cgroup-driver=systemd \
${cfg.extraOpts} ${cfg.extraOpts}
''; '';
WorkingDirectory = top.dataDir; WorkingDirectory = top.dataDir;

View File

@ -60,6 +60,10 @@ in
systemd.services.hddfancontrol = { systemd.services.hddfancontrol = {
wantedBy = [ "multi-user.target" ]; wantedBy = [ "multi-user.target" ];
environment.HDDFANCONTROL_ARGS = lib.escapeShellArgs args; environment.HDDFANCONTROL_ARGS = lib.escapeShellArgs args;
serviceConfig = {
# Hardening
PrivateNetwork = true;
};
}; };
} }
); );

View File

@ -217,8 +217,13 @@ in {
systemd.services = { systemd.services = {
thinkfan.environment.THINKFAN_ARGS = escapeShellArgs ([ "-c" configFile ] ++ cfg.extraArgs); thinkfan.environment.THINKFAN_ARGS = escapeShellArgs ([ "-c" configFile ] ++ cfg.extraArgs);
thinkfan.serviceConfig.Restart = "on-failure"; thinkfan.serviceConfig = {
thinkfan.serviceConfig.RestartSec = "30s"; Restart = "on-failure";
RestartSec = "30s";
# Hardening
PrivateNetwork = true;
};
# must be added manually, see issue #81138 # must be added manually, see issue #81138
thinkfan.wantedBy = [ "multi-user.target" ]; thinkfan.wantedBy = [ "multi-user.target" ];

View File

@ -1,107 +0,0 @@
{ config, lib, pkgs, ... }:
# NOTE for now nothing is installed into /etc/bee-clef/. the config files are used as read-only from the nix store.
with lib;
let
cfg = config.services.bee-clef;
in {
meta = {
maintainers = with maintainers; [ attila-lendvai ];
};
### interface
options = {
services.bee-clef = {
enable = mkEnableOption (lib.mdDoc "clef external signer instance for Ethereum Swarm Bee");
dataDir = mkOption {
type = types.nullOr types.str;
default = "/var/lib/bee-clef";
description = lib.mdDoc ''
Data dir for bee-clef. Beware that some helper scripts may not work when changed!
The service itself should work fine, though.
'';
};
passwordFile = mkOption {
type = types.nullOr types.str;
default = "/var/lib/bee-clef/password";
description = lib.mdDoc "Password file for bee-clef.";
};
user = mkOption {
type = types.str;
default = "bee-clef";
description = lib.mdDoc ''
User the bee-clef daemon should execute under.
'';
};
group = mkOption {
type = types.str;
default = "bee-clef";
description = lib.mdDoc ''
Group the bee-clef daemon should execute under.
'';
};
};
};
### implementation
config = mkIf cfg.enable {
# if we ever want to have rules.js under /etc/bee-clef/
# environment.etc."bee-clef/rules.js".source = ${pkgs.bee-clef}/rules.js
systemd.packages = [ pkgs.bee-clef ]; # include the upstream bee-clef.service file
systemd.tmpfiles.rules = [
"d '${cfg.dataDir}/' 0750 ${cfg.user} ${cfg.group}"
"d '${cfg.dataDir}/keystore' 0700 ${cfg.user} ${cfg.group}"
];
systemd.services.bee-clef = {
path = [
# these are needed for the ensure-clef-account script
pkgs.coreutils
pkgs.gnused
pkgs.gawk
];
wantedBy = [ "bee.service" "multi-user.target" ];
serviceConfig = {
User = cfg.user;
Group = cfg.group;
ExecStartPre = ''${pkgs.bee-clef}/share/bee-clef/ensure-clef-account "${cfg.dataDir}" "${pkgs.bee-clef}/share/bee-clef/"'';
ExecStart = [
"" # this hides/overrides what's in the original entry
"${pkgs.bee-clef}/share/bee-clef/bee-clef-service start"
];
ExecStop = [
"" # this hides/overrides what's in the original entry
"${pkgs.bee-clef}/share/bee-clef/bee-clef-service stop"
];
Environment = [
"CONFIGDIR=${cfg.dataDir}"
"PASSWORD_FILE=${cfg.passwordFile}"
];
};
};
users.users = optionalAttrs (cfg.user == "bee-clef") {
bee-clef = {
group = cfg.group;
home = cfg.dataDir;
isSystemUser = true;
description = "Daemon user for the bee-clef service";
};
};
users.groups = optionalAttrs (cfg.group == "bee-clef") {
bee-clef = {};
};
};
}

View File

@ -8,7 +8,7 @@ let
in { in {
meta = { meta = {
# doc = ./bee.xml; # doc = ./bee.xml;
maintainers = with maintainers; [ attila-lendvai ]; maintainers = with maintainers; [ ];
}; };
### interface ### interface
@ -73,13 +73,10 @@ in {
} }
]; ];
warnings = optional (! config.services.bee-clef.enable) "The bee service requires an external signer. Consider setting `config.services.bee-clef.enable` = true";
services.bee.settings = { services.bee.settings = {
data-dir = lib.mkDefault "/var/lib/bee"; data-dir = lib.mkDefault "/var/lib/bee";
password-file = lib.mkDefault "/var/lib/bee/password"; password-file = lib.mkDefault "/var/lib/bee/password";
clef-signer-enable = lib.mkDefault true; clef-signer-enable = lib.mkDefault true;
clef-signer-endpoint = lib.mkDefault "/var/lib/bee-clef/clef.ipc";
swap-endpoint = lib.mkDefault "https://rpc.slock.it/goerli"; swap-endpoint = lib.mkDefault "https://rpc.slock.it/goerli";
}; };
@ -90,9 +87,6 @@ in {
]; ];
systemd.services.bee = { systemd.services.bee = {
requires = optional config.services.bee-clef.enable
"bee-clef.service";
wantedBy = [ "multi-user.target" ]; wantedBy = [ "multi-user.target" ];
serviceConfig = { serviceConfig = {
@ -120,7 +114,6 @@ Bee has SWAP enabled by default and it needs ethereum endpoint to operate.
It is recommended to use external signer with bee. It is recommended to use external signer with bee.
Check documentation for more info: Check documentation for more info:
- SWAP https://docs.ethswarm.org/docs/installation/manual#swap-bandwidth-incentives - SWAP https://docs.ethswarm.org/docs/installation/manual#swap-bandwidth-incentives
- External signer https://docs.ethswarm.org/docs/installation/bee-clef
After you finish configuration run 'sudo bee-get-addr'." After you finish configuration run 'sudo bee-get-addr'."
fi fi
@ -133,8 +126,6 @@ After you finish configuration run 'sudo bee-get-addr'."
home = cfg.settings.data-dir; home = cfg.settings.data-dir;
isSystemUser = true; isSystemUser = true;
description = "Daemon user for Ethereum Swarm Bee"; description = "Daemon user for Ethereum Swarm Bee";
extraGroups = optional config.services.bee-clef.enable
config.services.bee-clef.group;
}; };
}; };

View File

@ -346,7 +346,7 @@ There are a few naming guidelines:
- The `pname` attribute _should_ be identical to the upstream package name. - The `pname` attribute _should_ be identical to the upstream package name.
- The `pname` and the `version` attribute _must not_ contain uppercase letters — e.g., `"mplayer" instead of `"MPlayer"`. - The `pname` and the `version` attribute _must not_ contain uppercase letters — e.g., `"mplayer"` instead of `"MPlayer"`.
- The `version` attribute _must_ start with a digit e.g., `"0.3.1rc2"`. - The `version` attribute _must_ start with a digit e.g., `"0.3.1rc2"`.

View File

@ -1,68 +0,0 @@
{ lib
, python3
, fetchFromGitHub
, meson
, ninja
, pkg-config
, gobject-introspection
, glib
, gtk4
, librsvg
, libadwaita
, wrapGAppsHook4
, appstream-glib
, desktop-file-utils
, cava
}:
python3.pkgs.buildPythonApplication rec {
pname = "cavalier";
version = "2023.01.29";
format = "other";
src = fetchFromGitHub {
owner = "fsobolev";
repo = pname;
rev = version;
hash = "sha256-6bvi73cFQHtIyD4d4+mqje0qkmG4wkahZ2ohda5RvRQ=";
};
nativeBuildInputs = [
meson
ninja
pkg-config
gobject-introspection
wrapGAppsHook4
appstream-glib
desktop-file-utils
];
buildInputs = [
glib
gtk4
librsvg
libadwaita
];
propagatedBuildInputs = with python3.pkgs; [
pygobject3
];
# Prevent double wrapping
dontWrapGApps = true;
preFixup = ''
makeWrapperArgs+=(
"''${gappsWrapperArgs[@]}"
--prefix PATH ":" "${lib.makeBinPath [ cava ]}"
)
'';
meta = with lib; {
description = "Audio visualizer based on CAVA with customizable LibAdwaita interface";
homepage = "https://github.com/fsobolev/cavalier";
license = licenses.mit;
platforms = platforms.linux;
maintainers = with maintainers; [ zendo ];
};
}

View File

@ -1,6 +1,6 @@
{ stdenv, lib, fetchFromGitHub, cmake, libuchardet, pkg-config, shntool, flac { stdenv, lib, fetchFromGitHub, cmake, libuchardet, pkg-config, shntool, flac
, opusTools, vorbis-tools, mp3gain, lame, taglib, wavpack, vorbisgain, sox, gtk3 , opusTools, vorbis-tools, mp3gain, lame, taglib, wavpack, vorbisgain
, qtbase, qttools, wrapQtAppsHook }: , monkeysAudio, sox, gtk3, qtbase, qttools, wrapQtAppsHook }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "flacon"; pname = "flacon";
@ -24,6 +24,7 @@ stdenv.mkDerivation rec {
mp3gain mp3gain
lame lame
wavpack wavpack
monkeysAudio
vorbisgain vorbisgain
sox sox
]; ];

View File

@ -8,10 +8,13 @@
, ffmpeg , ffmpeg
, fftw , fftw
, flac , flac
, gbenchmark
, glibcLocales , glibcLocales
, gtest
, hidapi , hidapi
, lame , lame
, libebur128 , libebur128
, libdjinterop
, libGLU , libGLU
, libid3tag , libid3tag
, libkeyfinder , libkeyfinder
@ -26,6 +29,7 @@
, libxcb , libxcb
, lilv , lilv
, lv2 , lv2
, microsoft-gsl
, mp4v2 , mp4v2
, opusfile , opusfile
, pcre , pcre
@ -52,13 +56,13 @@
mkDerivation rec { mkDerivation rec {
pname = "mixxx"; pname = "mixxx";
version = "2.3.6"; version = "2.4.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "mixxxdj"; owner = "mixxxdj";
repo = "mixxx"; repo = "mixxx";
rev = version; rev = version;
hash = "sha256-VdgCsd/7vMFUleOU0ESoZDQ8yhQSsLZADVi4XI76Ouw="; hash = "sha256-JSWUzerm7D6AKq6g/9eRrt3EE2movRdM+VLUg07sLHo=";
}; };
nativeBuildInputs = [ cmake pkg-config ]; nativeBuildInputs = [ cmake pkg-config ];
@ -69,12 +73,15 @@ mkDerivation rec {
ffmpeg ffmpeg
fftw fftw
flac flac
gbenchmark
glibcLocales glibcLocales
gtest
hidapi hidapi
lame lame
libebur128 libebur128
libGLU libGLU
libid3tag libid3tag
libdjinterop
libkeyfinder libkeyfinder
libmad libmad
libmodplug libmodplug
@ -87,6 +94,7 @@ mkDerivation rec {
libxcb libxcb
lilv lilv
lv2 lv2
microsoft-gsl
mp4v2 mp4v2
opusfile opusfile
pcre pcre

View File

@ -1,6 +1,6 @@
{ {
"name": "rust-analyzer", "name": "rust-analyzer",
"version": "0.3.1697", "version": "0.3.1850",
"dependencies": { "dependencies": {
"@hpcc-js/wasm": "^2.13.0", "@hpcc-js/wasm": "^2.13.0",
"anser": "^2.1.1", "anser": "^2.1.1",
@ -9,10 +9,10 @@
"vscode-languageclient": "^8.1.0", "vscode-languageclient": "^8.1.0",
"@tsconfig/strictest": "^2.0.1", "@tsconfig/strictest": "^2.0.1",
"@types/node": "~16.11.7", "@types/node": "~16.11.7",
"@types/vscode": "~1.75", "@types/vscode": "~1.78.1",
"@typescript-eslint/eslint-plugin": "^6.0.0", "@typescript-eslint/eslint-plugin": "^6.0.0",
"@typescript-eslint/parser": "^6.0.0", "@typescript-eslint/parser": "^6.0.0",
"@vscode/test-electron": "^2.3.3", "@vscode/test-electron": "^2.3.8",
"@vscode/vsce": "^2.19.0", "@vscode/vsce": "^2.19.0",
"eslint": "^8.44.0", "eslint": "^8.44.0",
"eslint-config-prettier": "^8.8.0", "eslint-config-prettier": "^8.8.0",

View File

@ -20,13 +20,13 @@ let
# Use the plugin version as in vscode marketplace, updated by update script. # Use the plugin version as in vscode marketplace, updated by update script.
inherit (vsix) version; inherit (vsix) version;
releaseTag = "2023-10-16"; releaseTag = "2024-02-19";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "rust-lang"; owner = "rust-lang";
repo = "rust-analyzer"; repo = "rust-analyzer";
rev = releaseTag; rev = releaseTag;
sha256 = "sha256-PWEdqI+iiHbx4dkIwWHZCGJuTpRfJI3MLSHf3gQEJt4="; sha256 = "sha256-Oj/RPMridKpYt3eRqUIPg9YNrj6npG8THIGuWjsamnE=";
}; };
build-deps = nodePackages."rust-analyzer-build-deps-../../applications/editors/vscode/extensions/rust-lang.rust-analyzer/build-deps"; build-deps = nodePackages."rust-analyzer-build-deps-../../applications/editors/vscode/extensions/rust-lang.rust-analyzer/build-deps";
@ -39,9 +39,12 @@ let
inherit releaseTag; inherit releaseTag;
nativeBuildInputs = [ nativeBuildInputs = [
jq moreutils esbuild jq
moreutils
esbuild
# Required by `keytar`, which is a dependency of `vsce`. # Required by `keytar`, which is a dependency of `vsce`.
pkg-config libsecret pkg-config
libsecret
] ++ lib.optionals stdenv.isDarwin [ ] ++ lib.optionals stdenv.isDarwin [
darwin.apple_sdk.frameworks.AppKit darwin.apple_sdk.frameworks.AppKit
darwin.apple_sdk.frameworks.Security darwin.apple_sdk.frameworks.Security

View File

@ -15,11 +15,11 @@ let
archive_fmt = if stdenv.isDarwin then "zip" else "tar.gz"; archive_fmt = if stdenv.isDarwin then "zip" else "tar.gz";
sha256 = { sha256 = {
x86_64-linux = "0nd9hipz1jhjdv6hrm6q2jpppanh8nmkpy9zpayymy4dwif8a49q"; x86_64-linux = "0mnblhg4mfj2231v344h7m9gm3pd7v79jarifcpskxh23gry3scy";
x86_64-darwin = "1fk146dikiy8dab83v4j6jrnzdg8dxnjvwmdddif130jrpxsp875"; x86_64-darwin = "0iv5hgf60nmfli0w4h3as41bhmsmp8kiynnsjrxp915v6im3jxxj";
aarch64-linux = "0zqm8zl3vhisp6rlb2vhc2i0z4rln38858l07r70jr76zxbbs5xv"; aarch64-linux = "01w3x7syi0m1hk2xm80h3vz4grz462c0fqmgvbflcgdib88wlmj7";
aarch64-darwin = "0i0bsrygdg2ij3wf0jm9n6fci5zrghnvzdw0p528c08rjgkhrmrb"; aarch64-darwin = "0gzha0rp4mdkk23065a17pqjbz3i4p98i4cmfwz476sqssax8sha";
armv7l-linux = "0h0v5irf23ijn21j4sll2ynj12wclm17bh46s1dlpzy73f4h17jb"; armv7l-linux = "05i6x23h6mmaxx2gchb9p928l6mcs69pwxg5mqvi8aq719gr7kd4";
}.${system} or throwSystem; }.${system} or throwSystem;
sourceRoot = lib.optionalString (!stdenv.isDarwin) "."; sourceRoot = lib.optionalString (!stdenv.isDarwin) ".";
@ -29,7 +29,7 @@ in
# Please backport all compatible updates to the stable release. # Please backport all compatible updates to the stable release.
# This is important for the extension ecosystem. # This is important for the extension ecosystem.
version = "1.85.2.24019"; version = "1.86.2.24054";
pname = "vscodium"; pname = "vscodium";
executableName = "codium"; executableName = "codium";

View File

@ -1,8 +1,8 @@
{ lib { lib
, stdenv
, fetchFromGitHub
, SDL2 , SDL2
, alsa-lib , alsa-lib
, darwin
, fetchFromGitHub
, gtk3 , gtk3
, gtksourceview3 , gtksourceview3
, libGL , libGL
@ -10,26 +10,25 @@
, libX11 , libX11
, libXv , libXv
, libao , libao
, libicns
, libpulseaudio , libpulseaudio
, openal , openal
, pkg-config , pkg-config
, runtimeShell , runtimeShell
, stdenv
, udev , udev
# Darwin dependencies
, libicns
, darwin
, unstableGitUpdater , unstableGitUpdater
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation (finalAttrs: {
pname = "higan"; pname = "higan";
version = "115-unstable-2023-11-13"; version = "115-unstable-2024-02-17";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "higan-emu"; owner = "higan-emu";
repo = "higan"; repo = "higan";
rev = "993368d917cb750107390effe2cd394ba8710208"; rev = "ba4b918c0bbcc302e0d5d2ed70f2c56214d62681";
hash = "sha256-D21DFLnYl2J4JhwmVmEKHhtglZWxVBrl/kOcvxJYbnA="; hash = "sha256-M8WaPrOPSRKxhYcf6ffNkDzITkCltNF9c/zl0GmfJrI=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [
@ -71,14 +70,34 @@ stdenv.mkDerivation rec {
enableParallelBuilding = true; enableParallelBuilding = true;
buildPhase = '' buildPhase = let
platform =
if stdenv.isLinux
then "linux"
else if stdenv.isDarwin
then "macos"
else if stdenv.isBSD
then "bsd"
else if stdenv.isWindows
then "windows"
else throw "Unknown platform for higan: ${stdenv.hostPlatform.system}";
in ''
runHook preBuild runHook preBuild
make -j $NIX_BUILD_CORES compiler=${stdenv.cc.targetPrefix}c++ \ make -C higan-ui -j$NIX_BUILD_CORES \
platform=linux openmp=true hiro=gtk3 build=accuracy local=false \ compiler=${stdenv.cc.targetPrefix}c++ \
cores="cv fc gb gba md ms msx ngp pce sfc sg ws" -C higan-ui platform=${platform} \
make -j $NIX_BUILD_CORES compiler=${stdenv.cc.targetPrefix}c++ \ openmp=true \
platform=linux openmp=true hiro=gtk3 -C icarus hiro=gtk3 \
build=accuracy \
local=false \
cores="cv fc gb gba md ms msx ngp pce sfc sg ws"
make -C icarus -j$NIX_BUILD_CORES \
compiler=${stdenv.cc.targetPrefix}c++ \
platform=${platform} \
openmp=true \
hiro=gtk3
runHook postBuild runHook postBuild
''; '';
@ -154,5 +173,5 @@ stdenv.mkDerivation rec {
platforms = platforms.unix; platforms = platforms.unix;
broken = stdenv.isDarwin; broken = stdenv.isDarwin;
}; };
} })
# TODO: select between Qt, GTK2 and GTK3 # TODO: select between Qt and GTK3

View File

@ -11,13 +11,13 @@
buildDotnetModule rec { buildDotnetModule rec {
pname = "ArchiSteamFarm"; pname = "ArchiSteamFarm";
# nixpkgs-update: no auto update # nixpkgs-update: no auto update
version = "5.5.2.3"; version = "5.5.3.4";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "JustArchiNET"; owner = "JustArchiNET";
repo = "ArchiSteamFarm"; repo = "ArchiSteamFarm";
rev = version; rev = version;
hash = "sha256-8MrVeJ4XVU7WdYv0mbwz64hIGglisb6+vUoicl4/WC0="; hash = "sha256-9ISEIKrAK6UTDM3TPizBRMU+wfiinhnaWmS5CkXpkYo=";
}; };
dotnet-runtime = dotnetCorePackages.aspnetcore_8_0; dotnet-runtime = dotnetCorePackages.aspnetcore_8_0;

View File

@ -62,7 +62,7 @@
(fetchNuGet { pname = "Microsoft.AspNetCore.JsonPatch"; version = "7.0.0"; sha256 = "1f13vsfs1rp9bmdp3khk4mk2fif932d72yxm2wszpsr239x4s2bf"; }) (fetchNuGet { pname = "Microsoft.AspNetCore.JsonPatch"; version = "7.0.0"; sha256 = "1f13vsfs1rp9bmdp3khk4mk2fif932d72yxm2wszpsr239x4s2bf"; })
(fetchNuGet { pname = "Microsoft.AspNetCore.Mvc.NewtonsoftJson"; version = "7.0.0"; sha256 = "1w49rg0n5wb1m5wnays2mmym7qy7bsi2b1zxz97af2rkbw3s3hbd"; }) (fetchNuGet { pname = "Microsoft.AspNetCore.Mvc.NewtonsoftJson"; version = "7.0.0"; sha256 = "1w49rg0n5wb1m5wnays2mmym7qy7bsi2b1zxz97af2rkbw3s3hbd"; })
(fetchNuGet { pname = "Microsoft.Bcl.AsyncInterfaces"; version = "6.0.0"; sha256 = "15gqy2m14fdlvy1g59207h5kisznm355kbw010gy19vh47z8gpz3"; }) (fetchNuGet { pname = "Microsoft.Bcl.AsyncInterfaces"; version = "6.0.0"; sha256 = "15gqy2m14fdlvy1g59207h5kisznm355kbw010gy19vh47z8gpz3"; })
(fetchNuGet { pname = "Microsoft.CodeCoverage"; version = "17.8.0"; sha256 = "173wjadp3gan4x2jfjchngnc4ca4mb95h1sbb28jydfkfw0z1zvj"; }) (fetchNuGet { pname = "Microsoft.CodeCoverage"; version = "17.9.0"; sha256 = "1gljgi69k0fz8vy8bn6xlyxabj6q4vls2zza9wz7ng6ix3irm89r"; })
(fetchNuGet { pname = "Microsoft.CSharp"; version = "4.7.0"; sha256 = "0gd67zlw554j098kabg887b5a6pq9kzavpa3jjy5w53ccjzjfy8j"; }) (fetchNuGet { pname = "Microsoft.CSharp"; version = "4.7.0"; sha256 = "0gd67zlw554j098kabg887b5a6pq9kzavpa3jjy5w53ccjzjfy8j"; })
(fetchNuGet { pname = "Microsoft.Extensions.ApiDescription.Server"; version = "6.0.5"; sha256 = "1pi2bm3cm0a7jzqzmfc2r7bpcdkmk3hhjfvb2c81j7wl7xdw3624"; }) (fetchNuGet { pname = "Microsoft.Extensions.ApiDescription.Server"; version = "6.0.5"; sha256 = "1pi2bm3cm0a7jzqzmfc2r7bpcdkmk3hhjfvb2c81j7wl7xdw3624"; })
(fetchNuGet { pname = "Microsoft.Extensions.Configuration.Abstractions"; version = "8.0.0"; sha256 = "1jlpa4ggl1gr5fs7fdcw04li3y3iy05w3klr9lrrlc7v8w76kq71"; }) (fetchNuGet { pname = "Microsoft.Extensions.Configuration.Abstractions"; version = "8.0.0"; sha256 = "1jlpa4ggl1gr5fs7fdcw04li3y3iy05w3klr9lrrlc7v8w76kq71"; })
@ -72,12 +72,12 @@
(fetchNuGet { pname = "Microsoft.Extensions.Logging.Abstractions"; version = "8.0.0"; sha256 = "1klcqhg3hk55hb6vmjiq2wgqidsl81aldw0li2z98lrwx26msrr6"; }) (fetchNuGet { pname = "Microsoft.Extensions.Logging.Abstractions"; version = "8.0.0"; sha256 = "1klcqhg3hk55hb6vmjiq2wgqidsl81aldw0li2z98lrwx26msrr6"; })
(fetchNuGet { pname = "Microsoft.Extensions.Options"; version = "8.0.0"; sha256 = "0p50qn6zhinzyhq9sy5svnmqqwhw2jajs2pbjh9sah504wjvhscz"; }) (fetchNuGet { pname = "Microsoft.Extensions.Options"; version = "8.0.0"; sha256 = "0p50qn6zhinzyhq9sy5svnmqqwhw2jajs2pbjh9sah504wjvhscz"; })
(fetchNuGet { pname = "Microsoft.Extensions.Primitives"; version = "8.0.0"; sha256 = "0aldaz5aapngchgdr7dax9jw5wy7k7hmjgjpfgfv1wfif27jlkqm"; }) (fetchNuGet { pname = "Microsoft.Extensions.Primitives"; version = "8.0.0"; sha256 = "0aldaz5aapngchgdr7dax9jw5wy7k7hmjgjpfgfv1wfif27jlkqm"; })
(fetchNuGet { pname = "Microsoft.IdentityModel.Abstractions"; version = "7.3.0"; sha256 = "1x183b0gz1vcfiljggrn30g6jvixlwks0lfpl4hl9nnjbpg0fdvq"; }) (fetchNuGet { pname = "Microsoft.IdentityModel.Abstractions"; version = "7.3.1"; sha256 = "0dvknvmnzi3jn2kz0fbcb3ilryd75dwyiwqn6cwc6nd5gdz4mdlm"; })
(fetchNuGet { pname = "Microsoft.IdentityModel.JsonWebTokens"; version = "7.3.0"; sha256 = "03nnqmz0w42wiqgf5y0wkn6w0n3m93q8ihqmrrz7rdh85v06f999"; }) (fetchNuGet { pname = "Microsoft.IdentityModel.JsonWebTokens"; version = "7.3.1"; sha256 = "03pd6b35a5j1qxmcf9552rp43fwddn1z3czyb6wlf1w1f95b5fqb"; })
(fetchNuGet { pname = "Microsoft.IdentityModel.Logging"; version = "7.3.0"; sha256 = "1b24pf0ippwbdjc3k1wzr13lr1zqlcbymi2hpvfmxmk4i6vzn4mv"; }) (fetchNuGet { pname = "Microsoft.IdentityModel.Logging"; version = "7.3.1"; sha256 = "0368p59kf6r9dyk511phl65wvk76n8885d2m9812fpj0ifqcdqg8"; })
(fetchNuGet { pname = "Microsoft.IdentityModel.Tokens"; version = "7.3.0"; sha256 = "1qdcqcnczaqfd0cii3bcymbc7rvkypm25idxgx7hfc81h9ysh79h"; }) (fetchNuGet { pname = "Microsoft.IdentityModel.Tokens"; version = "7.3.1"; sha256 = "0i8mqrvzx9xi9pg1c92iy6cr756nnc3lr5cdawj0yh1x919wvx59"; })
(fetchNuGet { pname = "Microsoft.NET.ILLink.Tasks"; version = "8.0.1"; sha256 = "1drbgqdcvbpisjn8mqfgba1pwb6yri80qc4mfvyczqwrcsj5k2ja"; }) (fetchNuGet { pname = "Microsoft.NET.ILLink.Tasks"; version = "8.0.1"; sha256 = "1drbgqdcvbpisjn8mqfgba1pwb6yri80qc4mfvyczqwrcsj5k2ja"; })
(fetchNuGet { pname = "Microsoft.NET.Test.Sdk"; version = "17.8.0"; sha256 = "1syvl3g0hbrcgfi9rq6pld8s8hqqww4dflf1lxn59ccddyyx0gmv"; }) (fetchNuGet { pname = "Microsoft.NET.Test.Sdk"; version = "17.9.0"; sha256 = "1lls1fly2gr1n9n1xyl9k33l2v4pwfmylyzkq8v4v5ldnwkl1zdb"; })
(fetchNuGet { pname = "Microsoft.NETCore.Platforms"; version = "5.0.0"; sha256 = "0mwpwdflidzgzfx2dlpkvvnkgkr2ayaf0s80737h4wa35gaj11rc"; }) (fetchNuGet { pname = "Microsoft.NETCore.Platforms"; version = "5.0.0"; sha256 = "0mwpwdflidzgzfx2dlpkvvnkgkr2ayaf0s80737h4wa35gaj11rc"; })
(fetchNuGet { pname = "Microsoft.OpenApi"; version = "1.2.3"; sha256 = "07b19k89whj69j87afkz86gp9b3iybw8jqwvlgcn43m7fb2y99rr"; }) (fetchNuGet { pname = "Microsoft.OpenApi"; version = "1.2.3"; sha256 = "07b19k89whj69j87afkz86gp9b3iybw8jqwvlgcn43m7fb2y99rr"; })
(fetchNuGet { pname = "Microsoft.Testing.Extensions.Telemetry"; version = "1.0.0"; sha256 = "1b52s7z01wkg83dpkpyg7girjflm84zr65pacsfwm2hvhb9xa2w6"; }) (fetchNuGet { pname = "Microsoft.Testing.Extensions.Telemetry"; version = "1.0.0"; sha256 = "1b52s7z01wkg83dpkpyg7girjflm84zr65pacsfwm2hvhb9xa2w6"; })
@ -86,8 +86,8 @@
(fetchNuGet { pname = "Microsoft.Testing.Platform"; version = "1.0.0"; sha256 = "1qbf922frk4c0cam57d98f3d5q5226pgrgjm7pfcamwy5whvx5sh"; }) (fetchNuGet { pname = "Microsoft.Testing.Platform"; version = "1.0.0"; sha256 = "1qbf922frk4c0cam57d98f3d5q5226pgrgjm7pfcamwy5whvx5sh"; })
(fetchNuGet { pname = "Microsoft.Testing.Platform.MSBuild"; version = "1.0.0"; sha256 = "0my1fihyh86rckfzbrvl5kdcq34yp0ywl8azs2gx3c27sg4pjrp2"; }) (fetchNuGet { pname = "Microsoft.Testing.Platform.MSBuild"; version = "1.0.0"; sha256 = "0my1fihyh86rckfzbrvl5kdcq34yp0ywl8azs2gx3c27sg4pjrp2"; })
(fetchNuGet { pname = "Microsoft.TestPlatform.ObjectModel"; version = "17.5.0"; sha256 = "0qkjyf3ky6xpjg5is2sdsawm99ka7fzgid2bvpglwmmawqgm8gls"; }) (fetchNuGet { pname = "Microsoft.TestPlatform.ObjectModel"; version = "17.5.0"; sha256 = "0qkjyf3ky6xpjg5is2sdsawm99ka7fzgid2bvpglwmmawqgm8gls"; })
(fetchNuGet { pname = "Microsoft.TestPlatform.ObjectModel"; version = "17.8.0"; sha256 = "0b0i7lmkrcfvim8i3l93gwqvkhhhfzd53fqfnygdqvkg6np0cg7m"; }) (fetchNuGet { pname = "Microsoft.TestPlatform.ObjectModel"; version = "17.9.0"; sha256 = "1kgsl9w9fganbm9wvlkqgk0ag9hfi58z88rkfybc6kvg78bx89ca"; })
(fetchNuGet { pname = "Microsoft.TestPlatform.TestHost"; version = "17.8.0"; sha256 = "0f5jah93kjkvxwmhwb78lw11m9pkkq9fvf135hpymmmpxqbdh97q"; }) (fetchNuGet { pname = "Microsoft.TestPlatform.TestHost"; version = "17.9.0"; sha256 = "19ffh31a1jxzn8j69m1vnk5hyfz3dbxmflq77b8x82zybiilh5nl"; })
(fetchNuGet { pname = "Microsoft.Win32.Registry"; version = "5.0.0"; sha256 = "102hvhq2gmlcbq8y2cb7hdr2dnmjzfp2k3asr1ycwrfacwyaak7n"; }) (fetchNuGet { pname = "Microsoft.Win32.Registry"; version = "5.0.0"; sha256 = "102hvhq2gmlcbq8y2cb7hdr2dnmjzfp2k3asr1ycwrfacwyaak7n"; })
(fetchNuGet { pname = "MSTest.TestAdapter"; version = "3.2.0"; sha256 = "0n7iw8ppjyps4sg0rfh5pags4wq58yg1g9vnxfwa73z38jws2c10"; }) (fetchNuGet { pname = "MSTest.TestAdapter"; version = "3.2.0"; sha256 = "0n7iw8ppjyps4sg0rfh5pags4wq58yg1g9vnxfwa73z38jws2c10"; })
(fetchNuGet { pname = "MSTest.TestFramework"; version = "3.2.0"; sha256 = "0n9aab1cxf8w23dl4yw7rqpi47v7gd02csq3zisc5whsrb9i0xbq"; }) (fetchNuGet { pname = "MSTest.TestFramework"; version = "3.2.0"; sha256 = "0n9aab1cxf8w23dl4yw7rqpi47v7gd02csq3zisc5whsrb9i0xbq"; })
@ -102,7 +102,6 @@
(fetchNuGet { pname = "NLog.Extensions.Logging"; version = "5.3.8"; sha256 = "1qnz91099f51vk7f5g2ig0041maw5hcbyqllxvj5zj7zkp0qw9b8"; }) (fetchNuGet { pname = "NLog.Extensions.Logging"; version = "5.3.8"; sha256 = "1qnz91099f51vk7f5g2ig0041maw5hcbyqllxvj5zj7zkp0qw9b8"; })
(fetchNuGet { pname = "NLog.Web.AspNetCore"; version = "5.3.8"; sha256 = "05a6bzvdf63lbnn6sj3yfggxcgv96j91kdbcw0ac5hxl58df58r6"; }) (fetchNuGet { pname = "NLog.Web.AspNetCore"; version = "5.3.8"; sha256 = "05a6bzvdf63lbnn6sj3yfggxcgv96j91kdbcw0ac5hxl58df58r6"; })
(fetchNuGet { pname = "NuGet.Frameworks"; version = "5.11.0"; sha256 = "0wv26gq39hfqw9md32amr5771s73f5zn1z9vs4y77cgynxr73s4z"; }) (fetchNuGet { pname = "NuGet.Frameworks"; version = "5.11.0"; sha256 = "0wv26gq39hfqw9md32amr5771s73f5zn1z9vs4y77cgynxr73s4z"; })
(fetchNuGet { pname = "NuGet.Frameworks"; version = "6.5.0"; sha256 = "0s37d1p4md0k6d4cy6sq36f2dgkd9qfbzapxhkvi8awwh0vrynhj"; })
(fetchNuGet { pname = "protobuf-net"; version = "3.2.26"; sha256 = "1mcg46xnhgqwjacy6j8kvp3rylpi26wjnmhwv8mh5cwjya9nynqb"; }) (fetchNuGet { pname = "protobuf-net"; version = "3.2.26"; sha256 = "1mcg46xnhgqwjacy6j8kvp3rylpi26wjnmhwv8mh5cwjya9nynqb"; })
(fetchNuGet { pname = "protobuf-net.Core"; version = "3.2.26"; sha256 = "1wrr38ygdanf121bkl8b1d4kz1pawm064z69bqf3qbr46h4j575w"; }) (fetchNuGet { pname = "protobuf-net.Core"; version = "3.2.26"; sha256 = "1wrr38ygdanf121bkl8b1d4kz1pawm064z69bqf3qbr46h4j575w"; })
(fetchNuGet { pname = "SteamKit2"; version = "2.5.0"; sha256 = "06rdagrxqws5yq1nrsd8chv3n9kgrb8rg894vcc40a8w6v27222w"; }) (fetchNuGet { pname = "SteamKit2"; version = "2.5.0"; sha256 = "06rdagrxqws5yq1nrsd8chv3n9kgrb8rg894vcc40a8w6v27222w"; })

View File

@ -2,7 +2,7 @@
buildNpmPackage rec { buildNpmPackage rec {
pname = "asf-ui"; pname = "asf-ui";
version = "b341e7f78f1f73fb3a11a3f3cfbfbed929242606"; version = "7406f7126a8351db67aad9f3a0f90c9dc123d80d";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "JustArchiNET"; owner = "JustArchiNET";
@ -10,10 +10,10 @@ buildNpmPackage rec {
# updated by the update script # updated by the update script
# this is always the commit that should be used with asf-ui from the latest asf version # this is always the commit that should be used with asf-ui from the latest asf version
rev = version; rev = version;
hash = "sha256-QrHBmLqvnVfHhBC+AF3YZUOx3ZEKA/FjtjXZW7ust8w="; hash = "sha256-yTBJoihDc4z4+a03S56MQORvz/l6aqBDzLEi0UrM1N4=";
}; };
npmDepsHash = "sha256-MmNckugDMNlBs6dNg/JRE+Qf5P8LbwIesul+7Osd16Y="; npmDepsHash = "sha256-S/OwjmfAyEVZfWQ7vqKFctbJRqED0HVJlWEGXrqB1Ys=";
installPhase = '' installPhase = ''
runHook preInstall runHook preInstall

View File

@ -2,7 +2,6 @@
, lib , lib
, fetchzip , fetchzip
, copyDesktopItems , copyDesktopItems
, makeDesktopItem
, makeWrapper , makeWrapper
, runCommand , runCommand
, appimageTools , appimageTools
@ -24,6 +23,13 @@ let
} }
'' ''
appimage-exec.sh -x $out ${src}/${pname}-${version}/${pname} appimage-exec.sh -x $out ${src}/${pname}-${version}/${pname}
# JetBrains ship a broken desktop file. Despite registering a custom
# scheme handler for jetbrains:// URLs, they never mark the command as
# being suitable for passing URLs to. Ergo, the handler never receives
# its payload. This causes various things to break, including login.
# Reported upstream at: https://youtrack.jetbrains.com/issue/TBX-11478/
sed -Ei '/^Exec=/s/( %U)?$/ %U/' $out/jetbrains-toolbox.desktop
''; '';
appimage = appimageTools.wrapAppImage { appimage = appimageTools.wrapAppImage {
@ -31,19 +37,6 @@ let
src = appimageContents; src = appimageContents;
extraPkgs = pkgs: (appimageTools.defaultFhsEnvArgs.targetPkgs pkgs); extraPkgs = pkgs: (appimageTools.defaultFhsEnvArgs.targetPkgs pkgs);
}; };
desktopItem = makeDesktopItem {
name = "JetBrains Toolbox";
exec = "jetbrains-toolbox";
comment = "JetBrains Toolbox";
desktopName = "JetBrains Toolbox";
type = "Application";
icon = "jetbrains-toolbox";
terminal = false;
categories = [ "Development" ];
startupWMClass = "jetbrains-toolbox";
startupNotify = false;
};
in in
stdenv.mkDerivation { stdenv.mkDerivation {
inherit pname version src appimage; inherit pname version src appimage;
@ -61,7 +54,7 @@ stdenv.mkDerivation {
runHook postInstall runHook postInstall
''; '';
desktopItems = [ desktopItem ]; desktopItems = [ "${appimageContents}/jetbrains-toolbox.desktop" ];
# Disabling the tests, this seems to be very difficult to test this app. # Disabling the tests, this seems to be very difficult to test this app.
doCheck = false; doCheck = false;

View File

@ -12,7 +12,7 @@
let let
inherit (stdenv.hostPlatform) system; inherit (stdenv.hostPlatform) system;
pname = "obsidian"; pname = "obsidian";
version = "1.5.3"; version = "1.5.8";
appname = "Obsidian"; appname = "Obsidian";
meta = with lib; { meta = with lib; {
description = "A powerful knowledge base that works on top of a local folder of plain text Markdown files"; description = "A powerful knowledge base that works on top of a local folder of plain text Markdown files";
@ -25,7 +25,7 @@ let
filename = if stdenv.isDarwin then "Obsidian-${version}-universal.dmg" else "obsidian-${version}.tar.gz"; filename = if stdenv.isDarwin then "Obsidian-${version}-universal.dmg" else "obsidian-${version}.tar.gz";
src = fetchurl { src = fetchurl {
url = "https://github.com/obsidianmd/obsidian-releases/releases/download/v${version}/${filename}"; url = "https://github.com/obsidianmd/obsidian-releases/releases/download/v${version}/${filename}";
hash = if stdenv.isDarwin then "sha256-AXjzQwZxyRaI8mMU2EsNK0fRcXS7UNNBWPXeJzgomlY=" else "sha256-F7nqWOeBGGSmSVNTpcx3lHRejSjNeM2BBqS9tsasTvg="; hash = if stdenv.isDarwin then "sha256-5olNmOLE9AgVUyRY8PylUPGYIMS+KoDG3g2BMCySdyE=" else "sha256-oc2iA2E3ac/uUNv6unzfac5meHqQzmzDVl/M9jNpS/M=";
}; };
icon = fetchurl { icon = fetchurl {

View File

@ -1,44 +0,0 @@
From 04933c578f51aa1f536991318dc5aede57f81c0d Mon Sep 17 00:00:00 2001
From: Attila Lendvai <attila@lendvai.name>
Date: Sat, 30 Jan 2021 14:02:02 +0100
Subject: [PATCH 1/2] clef-service: accept default CONFIGDIR from the
environment
---
packaging/bee-clef-service | 15 ++++++++++-----
1 file changed, 10 insertions(+), 5 deletions(-)
diff --git a/packaging/bee-clef-service b/packaging/bee-clef-service
index 10bcd92..34c7edd 100755
--- a/packaging/bee-clef-service
+++ b/packaging/bee-clef-service
@@ -1,16 +1,21 @@
#!/usr/bin/env sh
start() {
- KEYSTORE=/var/lib/bee-clef/keystore
- CONFIGDIR=/var/lib/bee-clef
+ if [ -z "$CONFIGDIR" ]; then
+ CONFIGDIR=/var/lib/bee-clef
+ fi
+ if [ -z "$PASSWORD_FILE" ]; then
+ PASSWORD_FILE=${CONFIGDIR}/password
+ fi
+ KEYSTORE=${CONFIGDIR}/keystore
+ SECRET=$(cat ${PASSWORD_FILE})
CHAINID=5
- SECRET=$(cat /var/lib/bee-clef/password)
# clef with every start sets permissions back to 600
- (sleep 4; chmod 660 /var/lib/bee-clef/clef.ipc) &
+ (sleep 4; chmod 660 ${CONFIGDIR}/clef.ipc) &
( sleep 2; cat << EOF
{ "jsonrpc": "2.0", "id":1, "result": { "text":"$SECRET" } }
EOF
-) | clef --stdio-ui --keystore $KEYSTORE --configdir $CONFIGDIR --chainid $CHAINID --rules /etc/bee-clef/rules.js --nousb --4bytedb-custom /etc/bee-clef/4byte.json --pcscdpath "" --auditlog "" --loglevel 3 --ipcpath /var/lib/bee-clef
+) | clef --stdio-ui --keystore $KEYSTORE --configdir $CONFIGDIR --chainid $CHAINID --rules /etc/bee-clef/rules.js --nousb --4bytedb-custom /etc/bee-clef/4byte.json --pcscdpath "" --auditlog "" --loglevel 3 --ipcpath ${CONFIGDIR}
}
stop() {
--
2.29.2

View File

@ -1,25 +0,0 @@
From 1a1ab986245e8b74648a1a0adb5d1c7019561d18 Mon Sep 17 00:00:00 2001
From: Attila Lendvai <attila@lendvai.name>
Date: Sat, 30 Jan 2021 15:24:57 +0100
Subject: [PATCH 2/2] nix diff for substituteAll
---
packaging/bee-clef-service | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/packaging/bee-clef-service b/packaging/bee-clef-service
index 34c7edd..31e9d95 100755
--- a/packaging/bee-clef-service
+++ b/packaging/bee-clef-service
@@ -15,7 +15,7 @@ start() {
( sleep 2; cat << EOF
{ "jsonrpc": "2.0", "id":1, "result": { "text":"$SECRET" } }
EOF
-) | clef --stdio-ui --keystore $KEYSTORE --configdir $CONFIGDIR --chainid $CHAINID --rules /etc/bee-clef/rules.js --nousb --4bytedb-custom /etc/bee-clef/4byte.json --pcscdpath "" --auditlog "" --loglevel 3 --ipcpath ${CONFIGDIR}
+) | @clefBinary@ --stdio-ui --keystore $KEYSTORE --configdir $CONFIGDIR --chainid $CHAINID --rules @out@/share/bee-clef/rules.js --nousb --4bytedb-custom @out@/share/bee-clef/4byte.json --pcscdpath "" --auditlog "" --loglevel 3 --ipcpath ${CONFIGDIR}
}
stop() {
--
2.29.2

View File

@ -1,57 +0,0 @@
{ version ? "release", stdenv, lib, fetchFromGitHub, go-ethereum }:
stdenv.mkDerivation rec {
pname = "bee-clef";
version = "0.4.7";
src = fetchFromGitHub {
owner = "ethersphere";
repo = "bee-clef";
rev = "refs/tags/v${version}";
sha256 = "1sfwql0kvnir8b9ggpqcyc0ar995gxgfbhqb1xpfzp6wl0g3g4zz";
};
buildInputs = [ go-ethereum ];
clefBinary = "${go-ethereum}/bin/clef";
patches = [
./0001-clef-service-accept-default-CONFIGDIR-from-the-envir.patch
./0002-nix-diff-for-substituteAll.patch
];
dontBuild = true;
installPhase = ''
mkdir -p $out/bin/
mkdir -p $out/share/bee-clef/
mkdir -p $out/lib/systemd/system/
cp packaging/bee-clef.service $out/lib/systemd/system/
substituteAll packaging/bee-clef-service $out/share/bee-clef/bee-clef-service
substituteAll ${./ensure-clef-account} $out/share/bee-clef/ensure-clef-account
substituteAll packaging/bee-clef-keys $out/bin/bee-clef-keys
cp packaging/rules.js packaging/4byte.json $out/share/bee-clef/
chmod +x $out/bin/bee-clef-keys
chmod +x $out/share/bee-clef/bee-clef-service
chmod +x $out/share/bee-clef/ensure-clef-account
patchShebangs $out/
'';
meta = with lib; {
# homepage = "https://gateway.ethswarm.org/bzz/docs.swarm.eth/docs/installation/bee-clef/";
homepage = "https://docs.ethswarm.org/docs/installation/bee-clef";
description = "External signer for Ethereum Swarm Bee";
longDescription = ''
clef is go-ethereum's external signer.
bee-clef is a package that starts up a vanilla clef instance as a systemd service,
but configured in such a way that is suitable for bee (relaxed security for
automated operation).
This package contains the files necessary to run the bee-clef service.
'';
license = with licenses; [ bsd3 ];
maintainers = with maintainers; [ attila-lendvai ];
platforms = go-ethereum.meta.platforms;
};
}

View File

@ -1,55 +1,34 @@
{ version ? "release", lib, fetchFromGitHub, buildGoModule }: { lib
, fetchFromGitHub
, buildGoModule
}:
let buildGoModule rec {
versionSpec = rec {
unstable = rec {
pname = "bee-unstable";
version = "2021-01-30";
rev = "824636a2c2629c329ab10275cef6a0b7395343ad";
goVersionString = "g" + builtins.substring 0 7 rev; # this seems to be some kind of standard of git describe...
sha256 = "0ly1yqjq29arbak8lchdradf39l5bmxpbfir6ljjc7nyqdxz0sxg";
vendorHash = "sha256-w5ZijaK8Adt1ZHPMmXqRWq0v0jdprRKRu03rePtZLXA=";
};
release = rec {
pname = "bee"; pname = "bee";
version = "0.5.0"; version = "1.18.2";
rev = "refs/tags/v${version}";
sha256 = "sha256-3Oy9RhgMPRFjUs3Dj8XUhAqoxx5BTi32OiK4Y8YEG2Q=";
vendorHash = "sha256-w5ZijaK8Adt1ZHPMmXqRWq0v0jdprRKRu03rePtZLXA=";
};
"0.5.0" = release;
"0.4.1" = rec {
pname = "bee";
version = "0.4.1";
rev = "refs/tags/v${version}";
sha256 = "1bmgbav52pcb5p7cgq9756512fzfqhjybyr0dv538plkqx47mpv7";
vendorHash = "sha256-UGxiCXWlIfnhRZZBMYcWXFj77pqvJkb5wOllSdQeaUg=";
};
}.${version};
in
buildGoModule {
inherit (versionSpec) pname version vendorHash;
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "ethersphere"; owner = "ethersphere";
repo = "bee"; repo = "bee";
inherit (versionSpec) rev sha256; rev = "v${version}";
sha256 = "sha256-LUOKF1073GmQWG2q4w0cTErSHw7ok5N6PQZ45xpjYx4=";
}; };
vendorHash = "sha256-UdsF/otjXqS1NY3PkCimRiD93hGntHG3Xhw6avFtHog=";
subPackages = [ "cmd/bee" ]; subPackages = [ "cmd/bee" ];
# no symbol table, no debug info, and pass the commit for the version string ldflags = [
ldflags = lib.optionals ( lib.hasAttr "goVersionString" versionSpec) "-s"
[ "-s" "-w" "-X=github.com/ethersphere/bee.commit=${versionSpec.goVersionString}" ]; "-w"
"-X github.com/ethersphere/bee.version=${version}"
"-X github.com/ethersphere/bee/pkg/api.Version=5.2.0"
"-X github.com/ethersphere/bee/pkg/api.DebugVersion=4.1.0"
"-X github.com/ethersphere/bee/pkg/p2p/libp2p.reachabilityOverridePublic=false"
"-X github.com/ethersphere/bee/pkg/postage/listener.batchFactorOverridePublic=5"
];
# Mimic the bee Makefile: without disabling CGO, two (transitive and CGO_ENABLED = 0;
# unused) dependencies would fail to compile.
preBuild = ''
export CGO_ENABLED=0
'';
postInstall = '' postInstall = ''
mkdir -p $out/lib/systemd/system mkdir -p $out/lib/systemd/system
@ -65,11 +44,13 @@ buildGoModule {
longDescription = '' longDescription = ''
A decentralised storage and communication system for a sovereign digital society. A decentralised storage and communication system for a sovereign digital society.
Swarm is a system of peer-to-peer networked nodes that create a decentralised storage and communication service. The system is economically self-sustaining due to a built-in incentive system enforced through smart contracts on the Ethereum blockchain. Swarm is a system of peer-to-peer networked nodes that create a decentralised storage
and communication service. The system is economically self-sustaining due to a built-in
incentive system enforced through smart contracts on the Ethereum blockchain.
Bee is a Swarm node implementation, written in Go. Bee is a Swarm node implementation, written in Go.
''; '';
license = with licenses; [ bsd3 ]; license = with licenses; [ bsd3 ];
maintainers = with maintainers; [ attila-lendvai ]; maintainers = with maintainers; [ ];
}; };
} }

View File

@ -1,47 +0,0 @@
#!/usr/bin/env sh
set -e
# NOTE This file is called by the systemd service in its preStart
# hook, but it's not Nix specific in any way. Ideally, the same file
# should be called from the postinst scripts of the other packages,
# but... the world is not ideal.
# What follows was extracted from, and should be in sync with
# https://github.com/ethersphere/bee-clef/tree/master/packaging
DATA_DIR="$1"
CONFIG_DIR="$2"
PASSWORD_FILE=${DATA_DIR}/password
MASTERSEED=${DATA_DIR}/masterseed.json
KEYSTORE=${DATA_DIR}/keystore
echo "ensure-clef-account $DATA_DIR $CONFIG_DIR"
if ! test -f ${PASSWORD_FILE}; then
< /dev/urandom tr -dc _A-Z-a-z-0-9 2> /dev/null | head -c32 > ${PASSWORD_FILE}
chmod 0400 ${PASSWORD_FILE}
echo "Initialized ${PASSWORD_FILE} from /dev/urandom"
fi
if ! test -f ${MASTERSEED}; then
parse_json() { echo $1|sed -e 's/[{}]/''/g'|sed -e 's/", "/'\",\"'/g'|sed -e 's/" ,"/'\",\"'/g'|sed -e 's/" , "/'\",\"'/g'|sed -e 's/","/'\"---SEPERATOR---\"'/g'|awk -F=':' -v RS='---SEPERATOR---' "\$1~/\"$2\"/ {print}"|sed -e "s/\"$2\"://"|tr -d "\n\t"|sed -e 's/\\"/"/g'|sed -e 's/\\\\/\\/g'|sed -e 's/^[ \t]*//g'|sed -e 's/^"//' -e 's/"$//' ; }
SECRET=$(cat ${PASSWORD_FILE})
CLEF="@clefBinary@ --configdir ${DATA_DIR} --keystore ${KEYSTORE} --stdio-ui"
$CLEF init >/dev/null << EOF
$SECRET
$SECRET
EOF
$CLEF newaccount >/dev/null << EOF
$SECRET
EOF
$CLEF setpw 0x$(parse_json $(cat ${KEYSTORE}/*) address) >/dev/null << EOF
$SECRET
$SECRET
$SECRET
EOF
$CLEF attest $(sha256sum ${CONFIG_DIR}/rules.js | cut -d' ' -f1 | tr -d '\n') >/dev/null << EOF
$SECRET
EOF
echo "Clef data dir initialized"
fi

View File

@ -2,7 +2,7 @@
callPackage ./generic.nix {} rec { callPackage ./generic.nix {} rec {
pname = "signal-desktop-beta"; pname = "signal-desktop-beta";
dir = "Signal Beta"; dir = "Signal Beta";
version = "6.48.0-beta.1"; version = "7.0.0-beta.1";
url = "https://updates.signal.org/desktop/apt/pool/s/signal-desktop-beta/signal-desktop-beta_${version}_amd64.deb"; url = "https://updates.signal.org/desktop/apt/pool/s/signal-desktop-beta/signal-desktop-beta_${version}_amd64.deb";
hash = "sha256-lDiab7XMXcg0XI4+7DJr5PWBAWes3cnL6oxiLy63eqY="; hash = "sha256-mMwOQVPihko/+ukEsaSu8l2u7obuY6gkTLAhSoWAVLo=";
} }

View File

@ -20,12 +20,12 @@
buildGoModule rec { buildGoModule rec {
pname = "gitea"; pname = "gitea";
version = "1.21.5"; version = "1.21.6";
# not fetching directly from the git repo, because that lacks several vendor files for the web UI # not fetching directly from the git repo, because that lacks several vendor files for the web UI
src = fetchurl { src = fetchurl {
url = "https://dl.gitea.com/gitea/${version}/gitea-src-${version}.tar.gz"; url = "https://dl.gitea.com/gitea/${version}/gitea-src-${version}.tar.gz";
hash = "sha256-VnJF6CSssQYs8yIKmXvxYHh2CfLiJhuKtjRdqKIQGxw="; hash = "sha256-tixWipiVHugacTzBurdgfiLnKyVDDcqCPlysj2DoWjg=";
}; };
vendorHash = null; vendorHash = null;

View File

@ -9,13 +9,13 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "obs-vertical-canvas"; pname = "obs-vertical-canvas";
version = "1.3.1"; version = "1.4.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "Aitum"; owner = "Aitum";
repo = "obs-vertical-canvas"; repo = "obs-vertical-canvas";
rev = version; rev = version;
sha256 = "sha256-kJJepKUH/tc6iV/zFDtrAa4bM9Gaqc9M7IItytknkGA="; sha256 = "sha256-80yqyfbSFBDLgGzSC8ktJRHFhbD5REWH0Rwrghcu6KY=";
}; };
nativeBuildInputs = [ cmake ]; nativeBuildInputs = [ cmake ];

44
pkgs/by-name/ca/cavalier/deps.nix generated Normal file
View File

@ -0,0 +1,44 @@
# This file was automatically generated by passthru.fetch-deps.
# Please dont edit it manually, your changes might get overwritten!
{ fetchNuGet }: [
(fetchNuGet { pname = "Ace4896.DBus.Services.Secrets"; version = "1.2.0"; sha256 = "1i1rwv8z2dx0mjib7vair2w7ylngmrcpbd012sdlpvdjpx0af0bn"; })
(fetchNuGet { pname = "Cake.Tool"; version = "4.0.0"; sha256 = "11vc5fimi6w465081sqxs4zhw7grr6v8ga7nl1mscdl43wv33ql2"; })
(fetchNuGet { pname = "CommandLineParser"; version = "2.9.1"; sha256 = "1sldkj8lakggn4hnyabjj1fppqh50fkdrr1k99d4gswpbk5kv582"; })
(fetchNuGet { pname = "GetText.NET"; version = "1.9.14"; sha256 = "18z4cf0dldcf41z8xgj3gdlvj9w5a9ikgj72623r0i740ndnl094"; })
(fetchNuGet { pname = "GirCore.Adw-1"; version = "0.5.0-preview.3"; sha256 = "090kg5v99myd7hi49cz933cl36hk5n586ywy78gf5djn5im3v19l"; })
(fetchNuGet { pname = "GirCore.Cairo-1.0"; version = "0.5.0-preview.3"; sha256 = "0bh1h2hr6givrq6096bvzcsg4lab1hlm7r7h4bqifbw0zmmcfb7k"; })
(fetchNuGet { pname = "GirCore.FreeType2-2.0"; version = "0.5.0-preview.3"; sha256 = "194p44gd7r69x70j3qynv5v8awlyxmdazmzpwzgj5ayy2xpdk3hy"; })
(fetchNuGet { pname = "GirCore.Gdk-4.0"; version = "0.5.0-preview.3"; sha256 = "09p097nvs7vi7l14l024m39qyhg1gyqihanq7zv66xqys4hzim1g"; })
(fetchNuGet { pname = "GirCore.GdkPixbuf-2.0"; version = "0.5.0-preview.3"; sha256 = "0lspyra1g1rd8hj3f3daxspin5dhgplzgjh4jwhlgzzn648942j0"; })
(fetchNuGet { pname = "GirCore.Gio-2.0"; version = "0.5.0-preview.3"; sha256 = "090svrddgpliks5r29yncih3572w7gdc552nl16qbviqbmhr0lbs"; })
(fetchNuGet { pname = "GirCore.GLib-2.0"; version = "0.5.0-preview.3"; sha256 = "1wxwf24gabd69yxpnhv30rn7pcv49w885jdw3nqbrakl7pvv9fza"; })
(fetchNuGet { pname = "GirCore.GObject-2.0"; version = "0.5.0-preview.3"; sha256 = "0iajydyx79f3khx0fhv8izbxlzxwn6gpps2xzmi9c4v98ly221j3"; })
(fetchNuGet { pname = "GirCore.Graphene-1.0"; version = "0.5.0-preview.3"; sha256 = "114fbgxils50jdy891nwj70yr43lnwgbq9fzxqzywd1kk70k7mww"; })
(fetchNuGet { pname = "GirCore.Gsk-4.0"; version = "0.5.0-preview.3"; sha256 = "0f5s6f6pwc9vc3nm7xfaa06z2klgpg4rv5cdf0cwis3vlncd7dnj"; })
(fetchNuGet { pname = "GirCore.Gtk-4.0"; version = "0.5.0-preview.3"; sha256 = "1fn0b8lwlrmjm9phjq4amqnq3q70fl214115652cap5rz4rjmpgg"; })
(fetchNuGet { pname = "GirCore.HarfBuzz-0.0"; version = "0.5.0-preview.3"; sha256 = "0xska2l44l0j38mlgmrwly1qal9wzbv2w2jjj8gn90sxbygb8zky"; })
(fetchNuGet { pname = "GirCore.Pango-1.0"; version = "0.5.0-preview.3"; sha256 = "0ccw3bd3kl24mnxbjzhya11i0ln6g1g7q876pyy54cwh48x4mdia"; })
(fetchNuGet { pname = "GirCore.PangoCairo-1.0"; version = "0.5.0-preview.3"; sha256 = "0lds340p5cci7sjp58nh94jxkjvzfky9cbs2h4q98hglxndjm7r9"; })
(fetchNuGet { pname = "Markdig"; version = "0.33.0"; sha256 = "1dj06wgdqmjji4nfr1dysz7hwp5bjgsrk9qjkdq82d7gk6nmhs9r"; })
(fetchNuGet { pname = "Meziantou.Framework.Win32.CredentialManager"; version = "1.4.5"; sha256 = "1ikjxj6wir2jcjwlmd4q7zz0b4g40808gx59alvad31sb2aqp738"; })
(fetchNuGet { pname = "Microsoft.Data.Sqlite.Core"; version = "8.0.0"; sha256 = "05qjnzk1fxybks92y93487l3mj5nghjcwiy360xjgk3jykz3rv39"; })
(fetchNuGet { pname = "Microsoft.NETCore.Targets"; version = "5.0.0"; sha256 = "0z3qyv7qal5irvabc8lmkh58zsl42mrzd1i0sssvzhv4q4kl3cg6"; })
(fetchNuGet { pname = "Microsoft.Win32.SystemEvents"; version = "8.0.0"; sha256 = "05392f41ijgn17y8pbjcx535l1k09krnq3xdp60kyq568sn6xk2i"; })
(fetchNuGet { pname = "Nickvision.Aura"; version = "2023.11.4"; sha256 = "0gasyglp1pgi0s6zqzmbm603j3j36vvr68grv6g93fdj2vjlmkxs"; })
(fetchNuGet { pname = "Octokit"; version = "9.0.0"; sha256 = "0kw49w1hxk4d2x9598012z9q1yr3ml5rm06fy1jnmhy44s3d3jp5"; })
(fetchNuGet { pname = "SkiaSharp"; version = "2.88.6"; sha256 = "0xs11zjw9ha68maw3l825kfwlrid43qwy0mswljxhpjh0y1k6k6b"; })
(fetchNuGet { pname = "SkiaSharp.NativeAssets.Linux"; version = "2.88.6"; sha256 = "0cg38xgddww1y93xrnbfn40sin63yl39j5zm7gm5pdgp5si0cf2n"; })
(fetchNuGet { pname = "SkiaSharp.NativeAssets.macOS"; version = "2.88.6"; sha256 = "1fp9h8c8k6sbsh48b69dc6461isd4dajq7yw5i7j6fhkas78q4zf"; })
(fetchNuGet { pname = "SkiaSharp.NativeAssets.Win32"; version = "2.88.6"; sha256 = "1w2mwcwkqvrg4x4ybc4674xnkqwh1n2ihg520gqgpnqfc11ghc4n"; })
(fetchNuGet { pname = "SQLitePCLRaw.bundle_e_sqlcipher"; version = "2.1.6"; sha256 = "15v2x7y4k7cl47a9jccbvgbwngwi5dz6qhv0cxpcasx4v5i9aila"; })
(fetchNuGet { pname = "SQLitePCLRaw.core"; version = "2.1.6"; sha256 = "1w8zsgz2w2q0a9cw9cl1rzrpv48a04nhyq67ywan6xlgknds65a7"; })
(fetchNuGet { pname = "SQLitePCLRaw.lib.e_sqlcipher"; version = "2.1.6"; sha256 = "0dl5an15whs4yl5hm2wibzbfigzck0flah8a07k99y1bhbmv080z"; })
(fetchNuGet { pname = "SQLitePCLRaw.provider.e_sqlcipher"; version = "2.1.6"; sha256 = "1jx8d4dq5w2951b7w722gnxbfgdklwazc48kcbdzylkglwkrqgrq"; })
(fetchNuGet { pname = "System.Drawing.Common"; version = "8.0.0"; sha256 = "1j4rsm36bnwqmh5br9mzmj0ikjnc39k26q6l9skjlrnw8hlngwy4"; })
(fetchNuGet { pname = "System.IO.Pipelines"; version = "6.0.0"; sha256 = "08211lvckdsdbd67xz4f6cyk76cli565j0dby1grlc4k9bhwby65"; })
(fetchNuGet { pname = "System.Memory"; version = "4.5.3"; sha256 = "0naqahm3wljxb5a911d37mwjqjdxv9l0b49p5dmfyijvni2ppy8a"; })
(fetchNuGet { pname = "System.Memory"; version = "4.5.5"; sha256 = "08jsfwimcarfzrhlyvjjid61j02irx6xsklf32rv57x2aaikvx0h"; })
(fetchNuGet { pname = "Tmds.DBus"; version = "0.15.0"; sha256 = "1bz5j6wfp9hn4fg5vjxl6mr9lva4gx6zqncqyqxrcb8lw7hvhwc6"; })
(fetchNuGet { pname = "Tmds.DBus.Protocol"; version = "0.15.0"; sha256 = "0d99kcs7r9cp6gpyc7z230czkkyx4164x86dhy0mca73f2ykc2g2"; })
]

View File

@ -0,0 +1,74 @@
{ lib
, buildDotnetModule
, dotnetCorePackages
, fetchFromGitHub
, pkg-config
, blueprint-compiler
, glib
, gtk4
, libadwaita
, wrapGAppsHook4
, appstream-glib
, desktop-file-utils
, cava
}:
buildDotnetModule rec {
pname = "cavalier";
version = "2024.1.0";
src = fetchFromGitHub {
owner = "NickvisionApps";
repo = "Cavalier";
rev = "refs/tags/${version}";
hash = "sha256-SFhEKtYrlnkbLMnxU4Uf4jnFsw0MJHstgZgLLnGC2d8=";
};
dotnet-sdk = dotnetCorePackages.sdk_8_0;
dotnet-runtime = dotnetCorePackages.runtime_8_0;
projectFile = "NickvisionCavalier.GNOME/NickvisionCavalier.GNOME.csproj";
nugetDeps = ./deps.nix;
executables = "NickvisionCavalier.GNOME";
nativeBuildInputs = [
pkg-config
blueprint-compiler
wrapGAppsHook4
appstream-glib
desktop-file-utils
];
buildInputs = [
glib
gtk4
libadwaita
];
runtimeDeps = [
glib
gtk4
libadwaita
];
postInstall = ''
substituteInPlace NickvisionCavalier.Shared/Linux/org.nickvision.cavalier.desktop.in \
--replace-fail '@EXEC@' "NickvisionCavalier.GNOME"
install -Dm444 NickvisionCavalier.Shared/Linux/org.nickvision.cavalier.desktop.in -T $out/share/applications/org.nickvision.cavalier.desktop
install -Dm444 NickvisionCavalier.Shared/Resources/org.nickvision.cavalier.svg -t $out/share/icons/hicolor/scalable/apps/
install -Dm444 NickvisionCavalier.Shared/Resources/org.nickvision.cavalier-symbolic.svg -t $out/share/icons/hicolor/symbolic/apps/
'';
makeWrapperArgs = [ "--prefix PATH : ${lib.makeBinPath [ cava ]}" ];
passthru.updateScript = ./update.sh;
meta = {
description = "Visualize audio with CAVA";
homepage = "https://github.com/NickvisionApps/Cavalier";
mainProgram = "NickvisionCavalier.GNOME";
license = lib.licenses.mit;
platforms = lib.platforms.linux;
maintainers = with lib.maintainers; [ zendo ];
};
}

View File

@ -0,0 +1,18 @@
#!/usr/bin/env nix-shell
#!nix-shell -I nixpkgs=./. -i bash -p curl jq common-updater-scripts
#shellcheck shell=bash
set -eu -o pipefail
version=$(curl -s ${GITHUB_TOKEN:+-u ":$GITHUB_TOKEN"} \
https://api.github.com/repos/NickvisionApps/Cavalier/releases/latest | jq -e -r .tag_name)
old_version=$(nix-instantiate --eval -A cavalier.version | jq -e -r)
if [[ $version == "$old_version" ]]; then
echo "New version same as old version, nothing to do." >&2
exit 0
fi
update-source-version cavalier "$version"
$(nix-build -A cavalier.fetch-deps --no-out-link) "$(dirname -- "${BASH_SOURCE[0]}")/deps.nix"

View File

@ -10,27 +10,19 @@
stdenv.mkDerivation (finalAttrs: { stdenv.mkDerivation (finalAttrs: {
pname = "fastcdr"; pname = "fastcdr";
version = "2.1.3"; version = "2.2.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "eProsima"; owner = "eProsima";
repo = "Fast-CDR"; repo = "Fast-CDR";
rev = "v${finalAttrs.version}"; rev = "v${finalAttrs.version}";
hash = "sha256-eSf6LNTVsGEBXjTmTBjjWKBqs68pbnVcw1p2bi1Asgg="; hash = "sha256-hhYNgBLJCTZV/fgHEH7rxlTy+qpShAykxHLbPtPA/Uw=";
}; };
patches = [ patches = [
./0001-Do-not-require-wget-and-unzip.patch ./0001-Do-not-require-wget-and-unzip.patch
]; ];
# Fix doc generation error with doxygen >= 1.10.0
# see https://github.com/eProsima/Fast-CDR/issues/193
postPatch = ''
substituteInPlace ./doxyfile.in --replace \
"WARN_AS_ERROR = YES" \
"WARN_AS_ERROR = NO"
'';
cmakeFlags = lib.optional (stdenv.hostPlatform.isStatic) "-DBUILD_SHARED_LIBS=OFF" cmakeFlags = lib.optional (stdenv.hostPlatform.isStatic) "-DBUILD_SHARED_LIBS=OFF"
# upstream turns BUILD_TESTING=OFF by default and doesn't honor cmake's default (=ON) # upstream turns BUILD_TESTING=OFF by default and doesn't honor cmake's default (=ON)
++ lib.optional (finalAttrs.finalPackage.doCheck) "-DBUILD_TESTING=ON" ++ lib.optional (finalAttrs.finalPackage.doCheck) "-DBUILD_TESTING=ON"

View File

@ -6,16 +6,16 @@
buildGoModule rec { buildGoModule rec {
pname = "gickup"; pname = "gickup";
version = "0.10.26"; version = "0.10.27";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "cooperspencer"; owner = "cooperspencer";
repo = "gickup"; repo = "gickup";
rev = "refs/tags/v${version}"; rev = "refs/tags/v${version}";
hash = "sha256-GYYmoGNYiwarMZw1w8tdH8zKl19XQ2R+EaJFK8iacwI="; hash = "sha256-ExSTvIq5u5Zmep/tipAJOHcXMxtESLQlEVMWnD8/rSI=";
}; };
vendorHash = "sha256-vyDzGho9vcdCmBP7keccp5w3tXWHlSaFoncS1hqnBoc="; vendorHash = "sha256-riRFDhVOMdqwgGd6wowSDNgt8lZPzagCvKPWTHSqm6U=";
ldflags = ["-X main.version=${version}"]; ldflags = ["-X main.version=${version}"];

View File

@ -0,0 +1,45 @@
{ lib
, stdenv
, fetchFromGitHub
, boost
, cmake
, ninja
, pkg-config
, sqlite
, zlib
}:
stdenv.mkDerivation {
name = "libdjinterop";
version = "unstable";
src = fetchFromGitHub {
owner = "xsco";
repo = "libdjinterop";
rev = "0.20.1";
hash = "sha256-/iXSRJVFPWqUTVz7z0BNWCq5LOqdNuTI+wx/34JAZfc=";
};
nativeBuildInputs = [
cmake
ninja
pkg-config
];
outputs = [ "out" "dev" ];
buildInputs = [
boost
sqlite
zlib
];
meta = with lib; {
homepage = "https://github.com/xsco/libdjinterop";
description = "C++ library for access to DJ record libraries";
license = licenses.lgpl3;
maintainers = with maintainers; [ benley ];
platforms = platforms.unix;
};
}

View File

@ -0,0 +1,56 @@
{
lib,
stdenv,
fetchFromGitHub,
pkg-config,
cmake,
glib,
udev,
libevdev,
libconfig,
}:
stdenv.mkDerivation (oldAttrs: {
pname = "logiops";
version = "0.3.3";
src = fetchFromGitHub {
owner = "PixlOne";
repo = "logiops";
rev = "v${oldAttrs.version}";
sha256 = "sha256-9nFTud5szQN8jpG0e/Bkp+I9ELldfo66SdfVCUTuekg=";
# In v0.3.0, the `ipcgull` submodule was added as a dependency
# https://github.com/PixlOne/logiops/releases/tag/v0.3.0
fetchSubmodules = true;
};
patches = [
./pkgs0001-Make-DBUS_SYSTEM_POLICY_INSTALL_DIR-externally-overr.patch
];
nativeBuildInputs = [
cmake
pkg-config
];
buildInputs = [
udev
libevdev
libconfig
glib
];
cmakeFlags = [
"-DLOGIOPS_VERSION=${oldAttrs.version}"
"-DDBUS_SYSTEM_POLICY_INSTALL_DIR=${placeholder "out"}/share/dbus-1/system.d"
];
PKG_CONFIG_SYSTEMD_SYSTEMDSYSTEMUNITDIR = "${placeholder "out"}/lib/systemd/system";
meta = with lib; {
description = "Unofficial userspace driver for HID++ Logitech devices";
homepage = "https://github.com/PixlOne/logiops";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ ckie ];
platforms = with platforms; linux;
};
})

View File

@ -0,0 +1,30 @@
From b7588376e20661c8d79e7472732244c70b8e7d3f Mon Sep 17 00:00:00 2001
From: ckie <git-525ff67@ckie.dev>
Date: Mon, 16 Oct 2023 02:02:38 +0300
Subject: [PATCH] Make DBUS_SYSTEM_POLICY_INSTALL_DIR externally overrideable
---
src/logid/CMakeLists.txt | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/src/logid/CMakeLists.txt b/src/logid/CMakeLists.txt
index b2616c8..58d6719 100644
--- a/src/logid/CMakeLists.txt
+++ b/src/logid/CMakeLists.txt
@@ -111,9 +111,11 @@ elseif (NOT SYSTEMD_FOUND AND SYSTEMD_SERVICES_INSTALL_DIR)
endif ()
# Install DBus conf
-# TODO: Is there a better way of setting the system policy directory?
-set(DBUS_SYSTEM_POLICY_INSTALL_DIR "/usr/share/dbus-1/system.d")
configure_file(logiops-dbus.conf.in ${CMAKE_BINARY_DIR}/pizza.pixl.LogiOps.conf)
+if (NOT DEFINED DBUS_SYSTEM_POLICY_INSTALL_DIR)
+ # TODO: Is there a better way of setting the system policy directory?
+ set(DBUS_SYSTEM_POLICY_INSTALL_DIR "/usr/share/dbus-1/system.d")
+endif ()
message(STATUS "dbus system policy will be installed at ${DBUS_SYSTEM_POLICY_INSTALL_DIR}")
install(FILES ${CMAKE_BINARY_DIR}/pizza.pixl.LogiOps.conf
DESTINATION ${DBUS_SYSTEM_POLICY_INSTALL_DIR}
--
2.42.0

View File

@ -1,6 +1,5 @@
{ lib { lib
, stdenv , stdenv
, mkDerivation
, fetchFromGitHub , fetchFromGitHub
, fetchpatch , fetchpatch
, clipper , clipper
@ -10,14 +9,11 @@
, gdal , gdal
, ninja , ninja
, proj , proj
, qtimageformats , qt5
, qtlocation
, qtsensors
, qttools
, zlib , zlib
}: }:
mkDerivation rec { stdenv.mkDerivation rec {
pname = "OpenOrienteering-Mapper"; pname = "OpenOrienteering-Mapper";
version = "0.9.5"; version = "0.9.5";
@ -36,11 +32,19 @@ mkDerivation rec {
}) })
]; ];
postPatch = ''
substituteInPlace CMakeLists.txt \
--replace "find_package(ClangTidy" "#find_package(ClangTidy"
substituteInPlace packaging/custom_install.cmake.in \
--replace "fixup_bundle_portable(" "#fixup_bundle_portable("
'';
nativeBuildInputs = [ nativeBuildInputs = [
cmake cmake
doxygen doxygen
ninja ninja
qttools qt5.qttools
qt5.wrapQtAppsHook
]; ];
buildInputs = [ buildInputs = [
@ -48,35 +52,34 @@ mkDerivation rec {
cups cups
gdal gdal
proj proj
qtimageformats qt5.qtimageformats
qtlocation qt5.qtlocation
qtsensors qt5.qtsensors
zlib zlib
]; ];
cmakeFlags = [ cmakeFlags = [
# Building the manual and bundling licenses fails # Building the manual and bundling licenses fails
# See https://github.com/NixOS/nixpkgs/issues/85306 # See https://github.com/NixOS/nixpkgs/issues/85306
"-DLICENSING_PROVIDER:BOOL=OFF" (lib.cmakeBool "LICENSING_PROVIDER" false)
"-DMapper_MANUAL_QTHELP:BOOL=OFF" (lib.cmakeBool "Mapper_MANUAL_QTHELP" false)
] ++ lib.optionals stdenv.isDarwin [ ] ++ lib.optionals stdenv.isDarwin [
# FindGDAL is broken and always finds /Library/Framework unless this is # FindGDAL is broken and always finds /Library/Framework unless this is
# specified # specified
"-DGDAL_INCLUDE_DIR=${gdal}/include" (lib.cmakeFeature "GDAL_INCLUDE_DIR" "${gdal}/include")
"-DGDAL_CONFIG=${gdal}/bin/gdal-config" (lib.cmakeFeature "GDAL_CONFIG" "${gdal}/bin/gdal-config")
"-DGDAL_LIBRARY=${gdal}/lib/libgdal.dylib" (lib.cmakeFeature "GDAL_LIBRARY" "${gdal}/lib/libgdal.dylib")
# Don't bundle libraries # Don't bundle libraries
"-DMapper_PACKAGE_PROJ=0" (lib.cmakeBool "Mapper_PACKAGE_PROJ" false)
"-DMapper_PACKAGE_QT=0" (lib.cmakeBool "Mapper_PACKAGE_QT" false)
"-DMapper_PACKAGE_ASSISTANT=0" (lib.cmakeBool "Mapper_PACKAGE_ASSISTANT" false)
"-DMapper_PACKAGE_GDAL=0" (lib.cmakeBool "Mapper_PACKAGE_GDAL" false)
]; ];
postInstall = with stdenv; lib.optionalString isDarwin '' postInstall = with stdenv; lib.optionalString isDarwin ''
mkdir -p $out/Applications mkdir -p $out/{Applications,bin}
mv $out/Mapper.app $out/Applications mv $out/Mapper.app $out/Applications
mkdir -p $out/bin ln -s $out/Applications/Mapper.app/Contents/MacOS/Mapper $out/bin/Mapper
ln -s $out/Applications/Mapper.app/Contents/MacOS/Mapper $out/bin/mapper
''; '';
meta = with lib; { meta = with lib; {
@ -86,7 +89,6 @@ mkDerivation rec {
license = licenses.gpl3Plus; license = licenses.gpl3Plus;
maintainers = with maintainers; [ mpickering sikmir ]; maintainers = with maintainers; [ mpickering sikmir ];
platforms = with platforms; unix; platforms = with platforms; unix;
broken = stdenv.isDarwin;
mainProgram = "Mapper"; mainProgram = "Mapper";
}; };
} }

View File

@ -21,6 +21,8 @@ stdenv.mkDerivation (finalAttrs: {
hash = "sha256-gsNMPNPcfHyOgjJnIrJ5tLYHbCfIfTowEhcaGOUPb2Q="; hash = "sha256-gsNMPNPcfHyOgjJnIrJ5tLYHbCfIfTowEhcaGOUPb2Q=";
}; };
mesonFlags = [ "-Dcpp_std=c++14" ];
buildInputs = [ buildInputs = [
freetype freetype
gtest gtest

View File

@ -2,13 +2,13 @@
php.buildComposerProject (finalAttrs: { php.buildComposerProject (finalAttrs: {
pname = "phpunit"; pname = "phpunit";
version = "11.0.2"; version = "11.0.3";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "sebastianbergmann"; owner = "sebastianbergmann";
repo = "phpunit"; repo = "phpunit";
rev = finalAttrs.version; rev = finalAttrs.version;
hash = "sha256-k0ox4/Djpu6DoWGzQdo7wYSZHSeaCtNVuEwK3bhBgQQ="; hash = "sha256-ASeALfqcDUoK2PSl88AJ3UgrLdesuH1o5UNq+ceGbxI=";
}; };
vendorHash = "sha256-2rG0ERgI5oVW3MuU8yFwgssoWX6zwUwXpro2IVkX7ac="; vendorHash = "sha256-2rG0ERgI5oVW3MuU8yFwgssoWX6zwUwXpro2IVkX7ac=";

View File

@ -6,11 +6,11 @@
let let
pname = "simplex-chat-desktop"; pname = "simplex-chat-desktop";
version = "5.4.4"; version = "5.5.5";
src = fetchurl { src = fetchurl {
url = "https://github.com/simplex-chat/simplex-chat/releases/download/v${version}/simplex-desktop-x86_64.AppImage"; url = "https://github.com/simplex-chat/simplex-chat/releases/download/v${version}/simplex-desktop-x86_64.AppImage";
hash = "sha256-f4P31e099bKBKsavP5f+xBGsqQfM6CYgUtUIOLe+cAE="; hash = "sha256-MD1AbpHlpaMaPlpJmGp0oPbOYPmJEhhIXmexkpCr1wY=";
}; };
appimageContents = appimageTools.extract { appimageContents = appimageTools.extract {

View File

@ -0,0 +1,35 @@
{ lib
, stdenv
, fetchFromGitHub
}:
stdenv.mkDerivation {
pname = "svndumpsanitizer";
version = "2.0.7";
src = fetchFromGitHub {
owner = "dsuni";
repo = "svndumpsanitizer";
# https://github.com/dsuni/svndumpsanitizer/issues/22
rev = "cbf917c000ee42fbb31a8667014a4357bbfdd6a6";
hash = "sha256-lkVX11t0AF4y1EQQFXjPTrJmsfJhgx5Y1xj1VDlsbH0=";
};
buildPhase = ''
runHook preBuild
cc svndumpsanitizer.c -o svndumpsanitizer
runHook postBuild
'';
installPhase = ''
runHook preInstall
install -Dm555 svndumpsanitizer -t $out/bin
runHook postInstall
'';
meta = with lib; {
description = "Alternative to svndumpfilter that discovers which nodes should actually be kept";
homepage = "https://miria.homelinuxserver.org/svndumpsanitizer";
downloadPage = "https://github.com/dsuni/svndumpsanitizer";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ lafrenierejm ];
mainProgram = "svndumpsanitizer";
platforms = platforms.unix;
};
}

View File

@ -0,0 +1,70 @@
{ lib
, fetchurl
, python3
, readline
, stdenv
, enableCurrenciesUpdater ? true
}:
let
pythonEnv = python3.withPackages(p: [
p.requests
]);
in stdenv.mkDerivation (finalAttrs: {
pname = "units";
version = "2.23";
src = fetchurl {
url = "mirror://gnu/units/units-${finalAttrs.version}.tar.gz";
hash = "sha256-2Ve0USRZJcnmFMRRM5dEljDq+SvWK4SVugm741Ghc3A=";
};
outputs = [ "out" "info" "man" ];
buildInputs = [
readline
] ++ lib.optionals enableCurrenciesUpdater [
pythonEnv
];
prePatch = lib.optionalString enableCurrenciesUpdater ''
substituteInPlace units_cur \
--replace "#!/usr/bin/env python" ${pythonEnv}/bin/python
'';
postInstall = lib.optionalString enableCurrenciesUpdater ''
cp units_cur ${placeholder "out"}/bin/
'';
doCheck = true;
meta = {
homepage = "https://www.gnu.org/software/units/";
description = "Unit conversion tool";
longDescription = ''
GNU Units converts quantities expressed in various systems of measurement
to their equivalents in other systems of measurement. Like many similar
programs, it can handle multiplicative scale changes. It can also handle
nonlinear conversions such as Fahrenheit to Celsius or wire gauge, and it
can convert from and to sums of units, such as converting between meters
and feet plus inches.
Beyond simple unit conversions, GNU Units can be used as a general-purpose
scientific calculator that keeps track of units in its calculations. You
can form arbitrary complex mathematical expressions of dimensions
including sums, products, quotients, powers, and even roots of
dimensions. Thus you can ensure accuracy and dimensional consistency when
working with long expressions that involve many different units that may
combine in complex ways.
The units are defined in an external data file. You can use the extensive
data file that comes with this program, or you can provide your own data
file to suit your needs. You can also use your own data file to supplement
the standard data file.
'';
license = with lib.licenses; [ gpl3Plus ];
mainProgram = "units";
maintainers = with lib.maintainers; [ AndersonTorres ];
platforms = lib.platforms.all;
};
})

View File

@ -11,17 +11,17 @@
stdenv.mkDerivation (finalAttrs: { stdenv.mkDerivation (finalAttrs: {
pname = "unison-code-manager"; pname = "unison-code-manager";
version = "0.5.15"; version = "0.5.17";
src = if stdenv.isDarwin then src = if stdenv.isDarwin then
fetchurl { fetchurl {
url = "https://github.com/unisonweb/unison/releases/download/release/${finalAttrs.version}/ucm-macos.tar.gz"; url = "https://github.com/unisonweb/unison/releases/download/release/${finalAttrs.version}/ucm-macos.tar.gz";
hash = "sha256-Umpu9WQhg6ln6aBb6bPVUZSax1Zeh6vcYHwmQuFRx2Y="; hash = "sha256-ymnioW+phbwIshs8DZupfe14oPUuunxSsT8rmifh914=";
} }
else else
fetchurl { fetchurl {
url = "https://github.com/unisonweb/unison/releases/download/release/${finalAttrs.version}/ucm-linux.tar.gz"; url = "https://github.com/unisonweb/unison/releases/download/release/${finalAttrs.version}/ucm-linux.tar.gz";
hash = "sha256-cFucBQcyye4F6Vep6O9buENFzqJ96q8/2cVr9NFvHB8="; hash = "sha256-vaK7dKkjCPCfEb9GvkOiJ3jY/Jxb31sf98de3WTMG/A=";
}; };
# The tarball is just the prebuilt binary, in the archive root. # The tarball is just the prebuilt binary, in the archive root.

View File

@ -1,10 +1,32 @@
{ config, lib, stdenv, fetchurl, zlib, lzo, libtasn1, nettle, pkg-config, lzip { config
, perl, gmp, autoconf, automake, libidn2, libiconv , lib
, stdenv
, fetchurl
, zlib
, lzo
, libtasn1
, nettle
, pkg-config
, lzip
, perl
, gmp
, autoconf
, automake
, libidn2
, libiconv
, texinfo , texinfo
, unbound, dns-root-data, gettext, util-linux , unbound
, dns-root-data
, gettext
, util-linux
, cxxBindings ? !stdenv.hostPlatform.isStatic # tries to link libstdc++.so , cxxBindings ? !stdenv.hostPlatform.isStatic # tries to link libstdc++.so
, tpmSupport ? false, trousers, which, nettools, libunistring , tpmSupport ? false
, withP11-kit ? !stdenv.hostPlatform.isStatic, p11-kit , trousers
, which
, nettools
, libunistring
, withP11-kit ? !stdenv.hostPlatform.isStatic
, p11-kit
, Security # darwin Security.framework , Security # darwin Security.framework
# certificate compression - only zlib now, more possible: zstd, brotli # certificate compression - only zlib now, more possible: zstd, brotli
@ -42,7 +64,9 @@ stdenv.mkDerivation rec {
hash = "sha256-90/FlUsn1Oxt+7Ed6ph4iLWxJCiaNwOvytoO5SD0Fz4="; hash = "sha256-90/FlUsn1Oxt+7Ed6ph4iLWxJCiaNwOvytoO5SD0Fz4=";
}; };
outputs = [ "bin" "dev" "out" "man" "devdoc" ]; outputs = [ "bin" "dev" "out" ]
++ lib.optionals (!stdenv.hostPlatform.isMinGW) [ "man" "devdoc" ];
# Not normally useful docs. # Not normally useful docs.
outputInfo = "devdoc"; outputInfo = "devdoc";
outputDoc = "devdoc"; outputDoc = "devdoc";
@ -76,6 +100,8 @@ stdenv.mkDerivation rec {
"--with-unbound-root-key-file=${dns-root-data}/root.key" "--with-unbound-root-key-file=${dns-root-data}/root.key"
(lib.withFeature withP11-kit "p11-kit") (lib.withFeature withP11-kit "p11-kit")
(lib.enableFeature cxxBindings "cxx") (lib.enableFeature cxxBindings "cxx")
] ++ lib.optionals (stdenv.hostPlatform.isMinGW) [
"--disable-doc"
]; ];
enableParallelBuilding = true; enableParallelBuilding = true;

File diff suppressed because it is too large Load Diff

View File

@ -10,7 +10,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "cloudsmith-api"; pname = "cloudsmith-api";
version = "2.0.7"; version = "2.0.9";
format = "wheel"; format = "wheel";
disabled = pythonOlder "3.7"; disabled = pythonOlder "3.7";
@ -18,7 +18,7 @@ buildPythonPackage rec {
src = fetchPypi { src = fetchPypi {
pname = "cloudsmith_api"; pname = "cloudsmith_api";
inherit format version; inherit format version;
hash = "sha256-Vw5ifMJ+gwXecYjSe8QKkq+RtrBWxx3B/LdA80ZxuxU="; hash = "sha256-i/1Z4W/cwrrgo3h85OWfz2X3Y7Odz9mJdRuXokuky/Q=";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [

View File

@ -1,29 +1,35 @@
{ lib { lib
, buildPythonPackage
, fetchFromGitHub
, agate , agate
, buildPythonPackage
, dbt-core , dbt-core
, fetchFromGitHub
, google-cloud-bigquery , google-cloud-bigquery
, google-cloud-storage
, google-cloud-dataproc , google-cloud-dataproc
, google-cloud-storage
, pytestCheckHook , pytestCheckHook
, pythonOlder
, pythonRelaxDepsHook , pythonRelaxDepsHook
, setuptools
, urllib3
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "dbt-bigquery"; pname = "dbt-bigquery";
version = "1.7.2"; version = "1.7.6";
format = "setuptools"; pyproject = true;
disabled = pythonOlder "3.7";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "dbt-labs"; owner = "dbt-labs";
repo = pname; repo = "dbt-bigquery";
rev = "refs/tags/v${version}"; rev = "refs/tags/v${version}";
hash = "sha256-CzRcnS/aECBq/9L8U+mLuHYo00HyBtKK6jmU8S03feM="; hash = "sha256-bF2++Bs4pvqA3GW2xJkRNa1HkqnHBbMnKHHjo1TWboM=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [
pythonRelaxDepsHook pythonRelaxDepsHook
setuptools
]; ];
pythonRelaxDeps = [ pythonRelaxDeps = [

View File

@ -1,13 +1,12 @@
{ lib { lib
, python3
, buildPythonPackage
, fetchFromGitHub
, agate , agate
, buildPythonPackage
, cffi , cffi
, click , click
, colorama , colorama
, dbt-extractor , dbt-extractor
, dbt-semantic-interfaces , dbt-semantic-interfaces
, fetchFromGitHub
, hologram , hologram
, idna , idna
, isodate , isodate
@ -19,10 +18,13 @@
, packaging , packaging
, pathspec , pathspec
, protobuf , protobuf
, python3
, pythonOlder
, pythonRelaxDepsHook , pythonRelaxDepsHook
, pytz , pytz
, pyyaml , pyyaml
, requests , requests
, setuptools
, sqlparse , sqlparse
, typing-extensions , typing-extensions
, urllib3 , urllib3
@ -31,20 +33,23 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "dbt-core"; pname = "dbt-core";
version = "1.7.4"; version = "1.7.8";
format = "setuptools"; pyproject = true;
disabled = pythonOlder "3.8";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "dbt-labs"; owner = "dbt-labs";
repo = pname; repo = "dbt-core";
rev = "refs/tags/v${version}"; rev = "refs/tags/v${version}";
hash = "sha256-+2tmLclBZrY9SDCKvQ4QNbI4665BtsrEI1sBSY3GVGM="; hash = "sha256-EpKZiSDU5fivG3TIarirPgxRGQ3Sf1hwNvCKdQx25c0=";
}; };
sourceRoot = "${src.name}/core"; sourceRoot = "${src.name}/core";
nativeBuildInputs = [ nativeBuildInputs = [
pythonRelaxDepsHook pythonRelaxDepsHook
setuptools
]; ];
pythonRelaxDeps = [ pythonRelaxDeps = [
@ -53,6 +58,7 @@ buildPythonPackage rec {
"mashumaro" "mashumaro"
"networkx" "networkx"
"logbook" "logbook"
"urllib3"
]; ];
propagatedBuildInputs = [ propagatedBuildInputs = [

View File

@ -4,18 +4,18 @@ version = 3
[[package]] [[package]]
name = "aho-corasick" name = "aho-corasick"
version = "0.7.18" version = "1.0.2"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1e37cfd5e7657ada45f742d6e99ca5788580b5c529dc78faf11ece6dc702656f" checksum = "43f6cb1bf222025340178f382c426f13757b2960e89779dfcb319c32542a5a41"
dependencies = [ dependencies = [
"memchr", "memchr",
] ]
[[package]] [[package]]
name = "autocfg" name = "autocfg"
version = "1.0.1" version = "1.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "cdb031dd78e28731d87d56cc8ffef4a8f36ca26c38fe2de700543e627f8a464a" checksum = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa"
[[package]] [[package]]
name = "bitflags" name = "bitflags"
@ -25,9 +25,9 @@ checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a"
[[package]] [[package]]
name = "cc" name = "cc"
version = "1.0.69" version = "1.0.79"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e70cc2f62c6ce1868963827bd677764c62d07c3d9a3e1fb1177ee1a9ab199eb2" checksum = "50d30906286121d95be3d479533b458f87493b30a4b5f79a607db8f5d11aa91f"
[[package]] [[package]]
name = "cfg-if" name = "cfg-if"
@ -37,9 +37,9 @@ checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"
[[package]] [[package]]
name = "crossbeam-channel" name = "crossbeam-channel"
version = "0.5.1" version = "0.5.8"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "06ed27e177f16d65f0f0c22a213e17c696ace5dd64b14258b52f9417ccb52db4" checksum = "a33c2bf77f2df06183c3aa30d1e96c0695a313d4f9c453cc3762a6db39f99200"
dependencies = [ dependencies = [
"cfg-if", "cfg-if",
"crossbeam-utils", "crossbeam-utils",
@ -47,9 +47,9 @@ dependencies = [
[[package]] [[package]]
name = "crossbeam-deque" name = "crossbeam-deque"
version = "0.8.1" version = "0.8.3"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6455c0ca19f0d2fbf751b908d5c55c1f5cbc65e03c4225427254b46890bdde1e" checksum = "ce6fd6f855243022dcecf8702fef0c297d4338e226845fe067f6341ad9fa0cef"
dependencies = [ dependencies = [
"cfg-if", "cfg-if",
"crossbeam-epoch", "crossbeam-epoch",
@ -58,30 +58,29 @@ dependencies = [
[[package]] [[package]]
name = "crossbeam-epoch" name = "crossbeam-epoch"
version = "0.9.5" version = "0.9.15"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4ec02e091aa634e2c3ada4a392989e7c3116673ef0ac5b72232439094d73b7fd" checksum = "ae211234986c545741a7dc064309f67ee1e5ad243d0e48335adc0484d960bcc7"
dependencies = [ dependencies = [
"autocfg",
"cfg-if", "cfg-if",
"crossbeam-utils", "crossbeam-utils",
"lazy_static",
"memoffset", "memoffset",
"scopeguard", "scopeguard",
] ]
[[package]] [[package]]
name = "crossbeam-utils" name = "crossbeam-utils"
version = "0.8.5" version = "0.8.16"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d82cfc11ce7f2c3faef78d8a684447b40d503d9681acebed6cb728d45940c4db" checksum = "5a22b2d63d4d1dc0b7f1b6b2747dd0088008a9be28b6ddf0b1e7d335e3037294"
dependencies = [ dependencies = [
"cfg-if", "cfg-if",
"lazy_static",
] ]
[[package]] [[package]]
name = "dbt-extractor" name = "dbt-extractor"
version = "0.4.1" version = "0.5.1"
dependencies = [ dependencies = [
"pyo3", "pyo3",
"quickcheck", "quickcheck",
@ -94,9 +93,9 @@ dependencies = [
[[package]] [[package]]
name = "either" name = "either"
version = "1.6.1" version = "1.8.1"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e78d4f1cc4ae33bbfc157ed5d5a5ef3bc29227303d595861deb238fcec4e9457" checksum = "7fcaabb2fef8c910e7f4c7ce9f67a1283a1715879a7c230ca9d6d1ae31f16d91"
[[package]] [[package]]
name = "env_logger" name = "env_logger"
@ -110,9 +109,9 @@ dependencies = [
[[package]] [[package]]
name = "getrandom" name = "getrandom"
version = "0.2.3" version = "0.2.10"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7fcd999463524c52659517fe2cea98493cfe485d10565e7b0fb07dbba7ad2753" checksum = "be4136b2a15dd319360be1c07d9933517ccf0be8f16bf62a3bee4f0d618df427"
dependencies = [ dependencies = [
"cfg-if", "cfg-if",
"libc", "libc",
@ -121,95 +120,58 @@ dependencies = [
[[package]] [[package]]
name = "hermit-abi" name = "hermit-abi"
version = "0.1.19" version = "0.3.2"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "62b467343b94ba476dcb2500d242dadbb39557df889310ac77c5d99100aaac33" checksum = "443144c8cdadd93ebf52ddb4056d257f5b52c04d3c804e657d19eb73fc33668b"
dependencies = [
"libc",
]
[[package]] [[package]]
name = "indoc" name = "indoc"
version = "0.3.6" version = "1.0.9"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "47741a8bc60fb26eb8d6e0238bbb26d8575ff623fdc97b1a2c00c050b9684ed8" checksum = "bfa799dd5ed20a7e349f3b4639aa80d74549c81716d9ec4f994c9b5815598306"
dependencies = [
"indoc-impl",
"proc-macro-hack",
]
[[package]]
name = "indoc-impl"
version = "0.3.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ce046d161f000fffde5f432a0d034d0341dc152643b2598ed5bfce44c4f3a8f0"
dependencies = [
"proc-macro-hack",
"proc-macro2",
"quote",
"syn",
"unindent",
]
[[package]]
name = "instant"
version = "0.1.10"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "bee0328b1209d157ef001c94dd85b4f8f64139adb0eac2659f4b08382b2f474d"
dependencies = [
"cfg-if",
]
[[package]]
name = "lazy_static"
version = "1.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646"
[[package]] [[package]]
name = "libc" name = "libc"
version = "0.2.101" version = "0.2.147"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3cb00336871be5ed2c8ed44b60ae9959dc5b9f08539422ed43f09e34ecaeba21" checksum = "b4668fb0ea861c1df094127ac5f1da3409a82116a4ba74fca2e58ef927159bb3"
[[package]] [[package]]
name = "lock_api" name = "lock_api"
version = "0.4.4" version = "0.4.10"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0382880606dff6d15c9476c416d18690b72742aa7b605bb6dd6ec9030fbf07eb" checksum = "c1cc9717a20b1bb222f333e6a92fd32f7d8a18ddc5a3191a11af45dcbf4dcd16"
dependencies = [ dependencies = [
"autocfg",
"scopeguard", "scopeguard",
] ]
[[package]] [[package]]
name = "log" name = "log"
version = "0.4.14" version = "0.4.19"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "51b9bbe6c47d51fc3e1a9b945965946b4c44142ab8792c50835a980d362c2710" checksum = "b06a4cde4c0f271a446782e3eff8de789548ce57dbc8eca9292c27f4a42004b4"
dependencies = [
"cfg-if",
]
[[package]] [[package]]
name = "memchr" name = "memchr"
version = "2.4.1" version = "2.5.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "308cc39be01b73d0d18f82a0e7b2a3df85245f84af96fdddc5d202d27e47b86a" checksum = "2dffe52ecf27772e601905b7522cb4ef790d2cc203488bbd0e2fe85fcb74566d"
[[package]] [[package]]
name = "memoffset" name = "memoffset"
version = "0.6.4" version = "0.9.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "59accc507f1338036a0477ef61afdae33cde60840f4dfe481319ce3ad116ddf9" checksum = "5a634b1c61a95585bd15607c6ab0c4e5b226e695ff2800ba0cdccddf208c406c"
dependencies = [ dependencies = [
"autocfg", "autocfg",
] ]
[[package]] [[package]]
name = "num_cpus" name = "num_cpus"
version = "1.13.0" version = "1.16.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "05499f3756671c15885fee9034446956fff3f243d6077b91e5767df161f766b3" checksum = "4161fcb6d602d4d2081af7c3a45852d875a03dd337a6bfdd6e06407b61342a43"
dependencies = [ dependencies = [
"hermit-abi", "hermit-abi",
"libc", "libc",
@ -217,115 +179,100 @@ dependencies = [
[[package]] [[package]]
name = "once_cell" name = "once_cell"
version = "1.9.0" version = "1.18.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "da32515d9f6e6e489d7bc9d84c71b060db7247dc035bbe44eac88cf87486d8d5" checksum = "dd8b5dd2ae5ed71462c540258bedcb51965123ad7e7ccf4b9a8cafaa4a63576d"
[[package]] [[package]]
name = "parking_lot" name = "parking_lot"
version = "0.11.1" version = "0.12.1"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6d7744ac029df22dca6284efe4e898991d28e3085c706c972bcd7da4a27a15eb" checksum = "3742b2c103b9f06bc9fff0a37ff4912935851bee6d36f3c02bcc755bcfec228f"
dependencies = [ dependencies = [
"instant",
"lock_api", "lock_api",
"parking_lot_core", "parking_lot_core",
] ]
[[package]] [[package]]
name = "parking_lot_core" name = "parking_lot_core"
version = "0.8.3" version = "0.9.8"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "fa7a782938e745763fe6907fc6ba86946d72f49fe7e21de074e08128a99fb018" checksum = "93f00c865fe7cabf650081affecd3871070f26767e7b2070a3ffae14c654b447"
dependencies = [ dependencies = [
"cfg-if", "cfg-if",
"instant",
"libc", "libc",
"redox_syscall", "redox_syscall",
"smallvec", "smallvec",
"winapi", "windows-targets",
] ]
[[package]]
name = "paste"
version = "0.1.18"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "45ca20c77d80be666aef2b45486da86238fabe33e38306bd3118fe4af33fa880"
dependencies = [
"paste-impl",
"proc-macro-hack",
]
[[package]]
name = "paste-impl"
version = "0.1.18"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d95a7db200b97ef370c8e6de0088252f7e0dfff7d047a28528e47456c0fc98b6"
dependencies = [
"proc-macro-hack",
]
[[package]]
name = "proc-macro-hack"
version = "0.5.19"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "dbf0c48bc1d91375ae5c3cd81e3722dff1abcf81a30960240640d223f59fe0e5"
[[package]] [[package]]
name = "proc-macro2" name = "proc-macro2"
version = "1.0.28" version = "1.0.66"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5c7ed8b8c7b886ea3ed7dde405212185f423ab44682667c8c6dd14aa1d9f6612" checksum = "18fb31db3f9bddb2ea821cde30a9f70117e3f119938b5ee630b7403aa6e2ead9"
dependencies = [ dependencies = [
"unicode-xid", "unicode-ident",
] ]
[[package]] [[package]]
name = "pyo3" name = "pyo3"
version = "0.15.1" version = "0.19.1"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7cf01dbf1c05af0a14c7779ed6f3aa9deac9c3419606ac9de537a2d649005720" checksum = "ffb88ae05f306b4bfcde40ac4a51dc0b05936a9207a4b75b798c7729c4258a59"
dependencies = [ dependencies = [
"cfg-if", "cfg-if",
"indoc", "indoc",
"libc", "libc",
"memoffset",
"parking_lot", "parking_lot",
"paste",
"pyo3-build-config", "pyo3-build-config",
"pyo3-ffi",
"pyo3-macros", "pyo3-macros",
"unindent", "unindent",
] ]
[[package]] [[package]]
name = "pyo3-build-config" name = "pyo3-build-config"
version = "0.15.1" version = "0.19.1"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "dbf9e4d128bfbddc898ad3409900080d8d5095c379632fbbfbb9c8cfb1fb852b" checksum = "554db24f0b3c180a9c0b1268f91287ab3f17c162e15b54caaae5a6b3773396b0"
dependencies = [ dependencies = [
"once_cell", "once_cell",
"target-lexicon",
]
[[package]]
name = "pyo3-ffi"
version = "0.19.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "922ede8759e8600ad4da3195ae41259654b9c55da4f7eec84a0ccc7d067a70a4"
dependencies = [
"libc",
"pyo3-build-config",
] ]
[[package]] [[package]]
name = "pyo3-macros" name = "pyo3-macros"
version = "0.15.1" version = "0.19.1"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "67701eb32b1f9a9722b4bc54b548ff9d7ebfded011c12daece7b9063be1fd755" checksum = "8a5caec6a1dd355964a841fcbeeb1b89fe4146c87295573f94228911af3cc5a2"
dependencies = [ dependencies = [
"proc-macro2",
"pyo3-macros-backend", "pyo3-macros-backend",
"quote", "quote",
"syn", "syn 1.0.109",
] ]
[[package]] [[package]]
name = "pyo3-macros-backend" name = "pyo3-macros-backend"
version = "0.15.1" version = "0.19.1"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f44f09e825ee49a105f2c7b23ebee50886a9aee0746f4dd5a704138a64b0218a" checksum = "e0b78ccbb160db1556cdb6fd96c50334c5d4ec44dc5e0a968d0a1208fa0efa8b"
dependencies = [ dependencies = [
"proc-macro2", "proc-macro2",
"pyo3-build-config",
"quote", "quote",
"syn", "syn 1.0.109",
] ]
[[package]] [[package]]
@ -347,75 +294,84 @@ checksum = "b22a693222d716a9587786f37ac3f6b4faedb5b80c23914e7303ff5a1d8016e9"
dependencies = [ dependencies = [
"proc-macro2", "proc-macro2",
"quote", "quote",
"syn", "syn 1.0.109",
] ]
[[package]] [[package]]
name = "quote" name = "quote"
version = "1.0.9" version = "1.0.31"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c3d0b9745dc2debf507c8422de05d7226cc1f0644216dfdfead988f9b1ab32a7" checksum = "5fe8a65d69dd0808184ebb5f836ab526bb259db23c657efa38711b1072ee47f0"
dependencies = [ dependencies = [
"proc-macro2", "proc-macro2",
] ]
[[package]] [[package]]
name = "rand" name = "rand"
version = "0.8.4" version = "0.8.5"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2e7573632e6454cf6b99d7aac4ccca54be06da05aca2ef7423d22d27d4d4bcd8" checksum = "34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404"
dependencies = [ dependencies = [
"rand_core", "rand_core",
] ]
[[package]] [[package]]
name = "rand_core" name = "rand_core"
version = "0.6.3" version = "0.6.4"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d34f1408f55294453790c48b2f1ebbb1c5b4b7563eb1f418bcfcfdbb06ebb4e7" checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c"
dependencies = [ dependencies = [
"getrandom", "getrandom",
] ]
[[package]] [[package]]
name = "rayon" name = "rayon"
version = "1.5.1" version = "1.7.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c06aca804d41dbc8ba42dfd964f0d01334eceb64314b9ecf7c5fad5188a06d90" checksum = "1d2df5196e37bcc87abebc0053e20787d73847bb33134a69841207dd0a47f03b"
dependencies = [ dependencies = [
"autocfg",
"crossbeam-deque",
"either", "either",
"rayon-core", "rayon-core",
] ]
[[package]] [[package]]
name = "rayon-core" name = "rayon-core"
version = "1.9.1" version = "1.11.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d78120e2c850279833f1dd3582f730c4ab53ed95aeaaaa862a2a5c71b1656d8e" checksum = "4b8f95bd6966f5c87776639160a66bd8ab9895d9d4ab01ddba9fc60661aebe8d"
dependencies = [ dependencies = [
"crossbeam-channel", "crossbeam-channel",
"crossbeam-deque", "crossbeam-deque",
"crossbeam-utils", "crossbeam-utils",
"lazy_static",
"num_cpus", "num_cpus",
] ]
[[package]] [[package]]
name = "redox_syscall" name = "redox_syscall"
version = "0.2.10" version = "0.3.5"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8383f39639269cde97d255a32bdb68c047337295414940c68bdd30c2e13203ff" checksum = "567664f262709473930a4bf9e51bf2ebf3348f2e748ccc50dea20646858f8f29"
dependencies = [ dependencies = [
"bitflags", "bitflags",
] ]
[[package]] [[package]]
name = "regex" name = "regex"
version = "1.5.4" version = "1.9.1"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d07a8629359eb56f1e2fb1652bb04212c072a87ba68546a04065d525673ac461" checksum = "b2eae68fc220f7cf2532e4494aded17545fce192d59cd996e0fe7887f4ceb575"
dependencies = [
"aho-corasick",
"memchr",
"regex-automata",
"regex-syntax",
]
[[package]]
name = "regex-automata"
version = "0.3.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "39354c10dd07468c2e73926b23bb9c2caca74c5501e38a35da70406f1d923310"
dependencies = [ dependencies = [
"aho-corasick", "aho-corasick",
"memchr", "memchr",
@ -424,58 +380,75 @@ dependencies = [
[[package]] [[package]]
name = "regex-syntax" name = "regex-syntax"
version = "0.6.25" version = "0.7.4"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f497285884f3fcff424ffc933e56d7cbca511def0c9831a7f9b5f6153e3cc89b" checksum = "e5ea92a5b6195c6ef2a0295ea818b312502c6fc94dde986c5553242e18fd4ce2"
[[package]] [[package]]
name = "scopeguard" name = "scopeguard"
version = "1.1.0" version = "1.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d29ab0c6d3fc0ee92fe66e2d99f700eab17a8d57d1c1d3b748380fb20baa78cd" checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49"
[[package]] [[package]]
name = "smallvec" name = "smallvec"
version = "1.6.1" version = "1.11.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "fe0f37c9e8f3c5a4a66ad655a93c74daac4ad00c441533bf5c6e7990bb42604e" checksum = "62bb4feee49fdd9f707ef802e22365a35de4b7b299de4763d44bfea899442ff9"
[[package]] [[package]]
name = "syn" name = "syn"
version = "1.0.75" version = "1.0.109"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b7f58f7e8eaa0009c5fec437aabf511bd9933e4b2d7407bd05273c01a8906ea7" checksum = "72b64191b275b66ffe2469e8af2c1cfe3bafa67b529ead792a6d0160888b4237"
dependencies = [ dependencies = [
"proc-macro2", "proc-macro2",
"quote", "quote",
"unicode-xid", "unicode-ident",
] ]
[[package]] [[package]]
name = "thiserror" name = "syn"
version = "1.0.26" version = "2.0.26"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "93119e4feac1cbe6c798c34d3a53ea0026b0b1de6a120deef895137c0529bfe2" checksum = "45c3457aacde3c65315de5031ec191ce46604304d2446e803d71ade03308d970"
dependencies = [
"proc-macro2",
"quote",
"unicode-ident",
]
[[package]]
name = "target-lexicon"
version = "0.12.10"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1d2faeef5759ab89935255b1a4cd98e0baf99d1085e37d36599c625dac49ae8e"
[[package]]
name = "thiserror"
version = "1.0.43"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a35fc5b8971143ca348fa6df4f024d4d55264f3468c71ad1c2f365b0a4d58c42"
dependencies = [ dependencies = [
"thiserror-impl", "thiserror-impl",
] ]
[[package]] [[package]]
name = "thiserror-impl" name = "thiserror-impl"
version = "1.0.26" version = "1.0.43"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "060d69a0afe7796bf42e9e2ff91f5ee691fb15c53d38b4b62a9a53eb23164745" checksum = "463fe12d7993d3b327787537ce8dd4dfa058de32fc2b195ef3cde03dc4771e8f"
dependencies = [ dependencies = [
"proc-macro2", "proc-macro2",
"quote", "quote",
"syn", "syn 2.0.26",
] ]
[[package]] [[package]]
name = "tree-sitter" name = "tree-sitter"
version = "0.19.5" version = "0.20.10"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ad726ec26496bf4c083fff0f43d4eb3a2ad1bba305323af5ff91383c0b6ecac0" checksum = "e747b1f9b7b931ed39a548c1fae149101497de3c1fc8d9e18c62c1a66c683d3d"
dependencies = [ dependencies = [
"cc", "cc",
"regex", "regex",
@ -483,49 +456,84 @@ dependencies = [
[[package]] [[package]]
name = "tree-sitter-jinja2" name = "tree-sitter-jinja2"
version = "0.1.0" version = "0.2.0"
source = "git+https://github.com/dbt-labs/tree-sitter-jinja2?tag=v0.1.0#52da7b0b1480b23381ea84cf5ea3bf058dd6d8c4" source = "git+https://github.com/dbt-labs/tree-sitter-jinja2?tag=v0.2.0#c9b092eff38bd6943254ad0373006d83c100a8c0"
dependencies = [ dependencies = [
"cc", "cc",
"tree-sitter", "tree-sitter",
] ]
[[package]] [[package]]
name = "unicode-xid" name = "unicode-ident"
version = "0.2.2" version = "1.0.11"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8ccb82d61f80a663efe1f787a51b16b5a51e3314d6ac365b08639f52387b33f3" checksum = "301abaae475aa91687eb82514b328ab47a211a533026cb25fc3e519b86adfc3c"
[[package]] [[package]]
name = "unindent" name = "unindent"
version = "0.1.7" version = "0.1.11"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f14ee04d9415b52b3aeab06258a3f07093182b88ba0f9b8d203f211a7a7d41c7" checksum = "e1766d682d402817b5ac4490b3c3002d91dfa0d22812f341609f97b08757359c"
[[package]] [[package]]
name = "wasi" name = "wasi"
version = "0.10.2+wasi-snapshot-preview1" version = "0.11.0+wasi-snapshot-preview1"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "fd6fbd9a79829dd1ad0cc20627bf1ed606756a7f77edff7b66b7064f9cb327c6" checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423"
[[package]] [[package]]
name = "winapi" name = "windows-targets"
version = "0.3.9" version = "0.48.1"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419" checksum = "05d4b17490f70499f20b9e791dcf6a299785ce8af4d709018206dc5b4953e95f"
dependencies = [ dependencies = [
"winapi-i686-pc-windows-gnu", "windows_aarch64_gnullvm",
"winapi-x86_64-pc-windows-gnu", "windows_aarch64_msvc",
"windows_i686_gnu",
"windows_i686_msvc",
"windows_x86_64_gnu",
"windows_x86_64_gnullvm",
"windows_x86_64_msvc",
] ]
[[package]] [[package]]
name = "winapi-i686-pc-windows-gnu" name = "windows_aarch64_gnullvm"
version = "0.4.0" version = "0.48.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6" checksum = "91ae572e1b79dba883e0d315474df7305d12f569b400fcf90581b06062f7e1bc"
[[package]] [[package]]
name = "winapi-x86_64-pc-windows-gnu" name = "windows_aarch64_msvc"
version = "0.4.0" version = "0.48.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" checksum = "b2ef27e0d7bdfcfc7b868b317c1d32c641a6fe4629c171b8928c7b08d98d7cf3"
[[package]]
name = "windows_i686_gnu"
version = "0.48.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "622a1962a7db830d6fd0a69683c80a18fda201879f0f447f065a3b7467daa241"
[[package]]
name = "windows_i686_msvc"
version = "0.48.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4542c6e364ce21bf45d69fdd2a8e455fa38d316158cfd43b3ac1c5b1b19f8e00"
[[package]]
name = "windows_x86_64_gnu"
version = "0.48.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ca2b8a661f7628cbd23440e50b05d705db3686f894fc9580820623656af974b1"
[[package]]
name = "windows_x86_64_gnullvm"
version = "0.48.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7896dbc1f41e08872e9d5e8f8baa8fdd2677f29468c4e156210174edc7f7b953"
[[package]]
name = "windows_x86_64_msvc"
version = "0.48.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1a515f5799fe4961cb532f983ce2b23082366b898e52ffbce459c86f67c8378a"

View File

@ -1,26 +1,29 @@
{ stdenv { lib
, lib , stdenv
, buildPythonPackage , buildPythonPackage
, fetchPypi , fetchPypi
, rustPlatform
, libiconv , libiconv
, pythonOlder
, rustPlatform
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "dbt-extractor"; pname = "dbt-extractor";
version = "0.4.1"; version = "0.5.1";
format = "setuptools"; pyproject = true;
disabled = pythonOlder "3.7";
src = fetchPypi { src = fetchPypi {
pname = "dbt_extractor"; pname = "dbt_extractor";
inherit version; inherit version;
hash = "sha256-dbHGZWmewPH/zhuj13b3386AIVbyLnCnucjwtNfoD0I="; hash = "sha256-zV2VV2qN6kGQJAqvmTajf9dLS3kTymmjw2j8RHK7fhM=";
}; };
cargoDeps = rustPlatform.importCargoLock { cargoDeps = rustPlatform.importCargoLock {
lockFile = ./Cargo.lock; lockFile = ./Cargo.lock;
outputHashes = { outputHashes = {
"tree-sitter-jinja2-0.1.0" = "sha256-lzA2iq4AK0iNwkLvbIt7Jm5WGFbMPFDi6i4AFDm0FOU="; "tree-sitter-jinja2-0.2.0" = "sha256-Hfw85IcxwqFDKjkUxU+Zd9vyL7gaE0u5TZGKol2I9qg=";
}; };
}; };
@ -43,6 +46,7 @@ buildPythonPackage rec {
meta = with lib; { meta = with lib; {
description = "A tool that processes the most common jinja value templates in dbt model files"; description = "A tool that processes the most common jinja value templates in dbt model files";
homepage = "https://github.com/dbt-labs/dbt-extractor"; homepage = "https://github.com/dbt-labs/dbt-extractor";
changelog = "https://github.com/dbt-labs/dbt-extractor/blob/main/CHANGELOG.md";
license = licenses.asl20; license = licenses.asl20;
maintainers = with maintainers; [ mausch tjni ]; maintainers = with maintainers; [ mausch tjni ];
}; };

View File

@ -1,20 +1,28 @@
{ lib { lib
, buildPythonPackage
, agate , agate
, buildPythonPackage
, dbt-core , dbt-core
, psycopg2 , psycopg2
, pythonOlder
, setuptools
}: }:
buildPythonPackage { buildPythonPackage {
pname = "dbt-postgres"; pname = "dbt-postgres";
format = "setuptools"; pyproject = true;
inherit (dbt-core) version src; inherit (dbt-core) version src;
disabled = pythonOlder "3.7";
sourceRoot = "${dbt-core.src.name}/plugins/postgres"; sourceRoot = "${dbt-core.src.name}/plugins/postgres";
env.DBT_PSYCOPG2_NAME = "psycopg2"; env.DBT_PSYCOPG2_NAME = "psycopg2";
nativeBuildInputs = [
setuptools
];
propagatedBuildInputs = [ propagatedBuildInputs = [
agate agate
dbt-core dbt-core

View File

@ -1,29 +1,31 @@
{ lib { lib
, buildPythonPackage
, fetchFromGitHub
, agate , agate
, boto3 , boto3
, buildPythonPackage
, dbt-core , dbt-core
, dbt-postgres , dbt-postgres
, fetchFromGitHub
, pytestCheckHook , pytestCheckHook
, pythonRelaxDepsHook , pythonRelaxDepsHook
, redshift-connector , redshift-connector
, setuptools
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "dbt-redshift"; pname = "dbt-redshift";
version = "1.7.1"; version = "1.7.3";
format = "setuptools"; pyproject = true;
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "dbt-labs"; owner = "dbt-labs";
repo = pname; repo = "dbt-redshift";
rev = "refs/tags/v${version}"; rev = "refs/tags/v${version}";
hash = "sha256-ONXrA8ABTYxkBm56TdFPhzjF/nngUQyecdgr2WO/5mE="; hash = "sha256-3zj3wA1wxUjKSm1n7QE2g/VUuH3UuWlXCC68mOb2eso=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [
pythonRelaxDepsHook pythonRelaxDepsHook
setuptools
]; ];
pythonRelaxDeps = [ pythonRelaxDeps = [

View File

@ -1,23 +1,31 @@
{ lib { lib
, buildPythonPackage , buildPythonPackage
, fetchFromGitHub
, dbt-core , dbt-core
, fetchFromGitHub
, pytestCheckHook , pytestCheckHook
, pythonOlder
, setuptools
, snowflake-connector-python , snowflake-connector-python
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "dbt-snowflake"; pname = "dbt-snowflake";
version = "1.7.0"; version = "1.7.2";
format = "setuptools"; pyproject = true;
disabled = pythonOlder "3.7";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "dbt-labs"; owner = "dbt-labs";
repo = pname; repo = "dbt-snowflake";
rev = "refs/tags/v${version}"; rev = "refs/tags/v${version}";
hash = "sha256-v+9uxHeROZU7vZvvB7UYUFNM6ez97qiZmgDiunUKf04="; hash = "sha256-OyUBqSNHMedCDsY280O8VAmxeyeF5J0snk5o6XhE2V4=";
}; };
nativeBuildInputs = [
setuptools
];
propagatedBuildInputs = [ propagatedBuildInputs = [
dbt-core dbt-core
snowflake-connector-python snowflake-connector-python

View File

@ -14,14 +14,14 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "google-cloud-iam-logging"; pname = "google-cloud-iam-logging";
version = "1.3.1"; version = "1.3.2";
pyproject = true; pyproject = true;
disabled = pythonOlder "3.7"; disabled = pythonOlder "3.7";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
hash = "sha256-4O62hAl6uRz74up/AIwq22VSDQDlTwmm8ywKAik4QrQ="; hash = "sha256-qJcZHghAWG04PogbCY2JHsoPEoifHVOzsfUbemo5pi4=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [

View File

@ -0,0 +1,56 @@
{ lib
, buildPythonPackage
, fetchPypi
, google-api-core
, google-auth
, mock
, proto-plus
, protobuf
, pytest-asyncio
, pytestCheckHook
, pythonOlder
, setuptools
}:
buildPythonPackage rec {
pname = "google-cloud-netapp";
version = "0.3.6";
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchPypi {
inherit pname version;
hash = "sha256-rWsR95I4lXf/xEJ/0HLhTR6V8g46NzmU/PmkAi797rM=";
};
nativeBuildInputs = [
setuptools
];
propagatedBuildInputs = [
google-api-core
google-auth
proto-plus
protobuf
] ++ google-api-core.optional-dependencies.grpc;
nativeCheckInputs = [
mock
pytest-asyncio
pytestCheckHook
];
pythonImportsCheck = [
"google.cloud.netapp"
"google.cloud.netapp_v1"
];
meta = with lib; {
description = "Python Client for NetApp API";
homepage = "https://github.com/googleapis/google-cloud-python/tree/main/packages/google-cloud-netapp";
changelog = "https://github.com/googleapis/google-cloud-python/blob/google-cloud-netapp-v${version}/packages/google-cloud-netapp/CHANGELOG.md";
license = licenses.asl20;
maintainers = with maintainers; [ ];
};
}

View File

@ -0,0 +1,56 @@
{ lib
, buildPythonPackage
, fetchPypi
, google-api-core
, google-auth
, mock
, proto-plus
, protobuf
, pytest-asyncio
, pytestCheckHook
, pythonOlder
, setuptools
}:
buildPythonPackage rec {
pname = "google-cloud-shell";
version = "1.9.2";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-JLQea7+qWjomlQ1cbYJMou7u1eGwHNKgzqiUIUT0otY=";
};
nativeBuildInputs = [
setuptools
];
propagatedBuildInputs = [
google-api-core
google-auth
proto-plus
protobuf
] ++ google-api-core.optional-dependencies.grpc;
nativeCheckInputs = [
mock
pytest-asyncio
pytestCheckHook
];
pythonImportsCheck = [
"google.cloud.shell"
"google.cloud.shell_v1"
];
meta = with lib; {
description = "Python Client for Cloud Shell";
homepage = "https://github.com/googleapis/google-cloud-python/tree/main/packages/google-cloud-shell";
changelog = "https://github.com/googleapis/google-cloud-python/blob/google-cloud-shell-v${version}/packages/google-cloud-shell/CHANGELOG.md";
license = licenses.asl20;
maintainers = with maintainers; [ fab ];
};
}

View File

@ -0,0 +1,56 @@
{ lib
, buildPythonPackage
, fetchPypi
, google-api-core
, google-auth
, mock
, proto-plus
, protobuf
, pytest-asyncio
, pytestCheckHook
, pythonOlder
, setuptools
}:
buildPythonPackage rec {
pname = "google-cloud-vpc-access";
version = "1.10.2";
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchPypi {
inherit pname version;
hash = "sha256-KFOyq/vpfNWaFpKJ0AAupVn3XiTP3V95x/5M6LkJtAQ=";
};
nativeBuildInputs = [
setuptools
];
propagatedBuildInputs = [
google-api-core
google-auth
proto-plus
protobuf
] ++ google-api-core.optional-dependencies.grpc;
nativeCheckInputs = [
mock
pytest-asyncio
pytestCheckHook
];
pythonImportsCheck = [
"google.cloud.vpcaccess"
"google.cloud.vpcaccess_v1"
];
meta = with lib; {
description = "Python Client for Virtual Private Cloud";
homepage = "https://github.com/googleapis/google-cloud-python/tree/main/packages/google-cloud-vpc-access";
changelog = "https://github.com/googleapis/google-cloud-python/blob/google-cloud-vpc-access-v${version}/packages/google-cloud-vpc-access/CHANGELOG.md";
license = licenses.asl20;
maintainers = with maintainers; [ fab ];
};
}

View File

@ -0,0 +1,57 @@
{ lib
, buildPythonPackage
, fetchPypi
, google-api-core
, google-auth
, mock
, proto-plus
, protobuf
, pytest-asyncio
, pytestCheckHook
, pythonOlder
, setuptools
}:
buildPythonPackage rec {
pname = "google-cloud-webrisk";
version = "1.14.2";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-5bRZRPVN6PtAI3yX5ogtxkDeHmz8mSE8ofz8k+VRLkY=";
};
nativeBuildInputs = [
setuptools
];
propagatedBuildInputs = [
google-api-core
google-auth
proto-plus
protobuf
] ++ google-api-core.optional-dependencies.grpc;
nativeCheckInputs = [
mock
pytest-asyncio
pytestCheckHook
];
pythonImportsCheck = [
"google.cloud.webrisk"
"google.cloud.webrisk_v1"
"google.cloud.webrisk_v1beta1"
];
meta = with lib; {
description = "Python Client for Web Risk";
homepage = "https://github.com/googleapis/google-cloud-python/tree/main/packages/google-cloud-webrisk";
changelog = "https://github.com/googleapis/google-cloud-python/blob/google-cloud-webrisk-v${version}/packages/google-cloud-webrisk/CHANGELOG.md";
license = licenses.asl20;
maintainers = with maintainers; [ fab ];
};
}

View File

@ -0,0 +1,55 @@
{ lib
, buildPythonPackage
, fetchPypi
, google-api-core
, mock
, proto-plus
, protobuf
, pytest-asyncio
, pytestCheckHook
, pythonOlder
, setuptools
}:
buildPythonPackage rec {
pname = "google-cloud-workflows";
version = "1.14.2";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-L1gL3r+HzywvsbfWk28Rthwm8lqz0S9ekTcWUh8FcLM=";
};
nativeBuildInputs = [
setuptools
];
propagatedBuildInputs = [
google-api-core
proto-plus
protobuf
] ++ google-api-core.optional-dependencies.grpc;
nativeCheckInputs = [
mock
pytestCheckHook
pytest-asyncio
];
pythonImportsCheck = [
"google.cloud.workflows"
"google.cloud.workflows_v1"
"google.cloud.workflows_v1beta"
];
meta = with lib; {
description = "Python Client for Cloud Workflows";
homepage = "https://github.com/googleapis/google-cloud-python/tree/main/packages/google-cloud-workflows";
changelog = "https://github.com/googleapis/google-cloud-python/blob/google-cloud-workflows-v${version}/packages/google-cloud-workflows/CHANGELOG.md";
license = licenses.asl20;
maintainers = with maintainers; [ fab ];
};
}

View File

@ -0,0 +1,59 @@
{ lib
, buildPythonPackage
, fetchPypi
, google-api-core
, google-auth
, grpc-google-iam-v1
, mock
, proto-plus
, protobuf
, pytest-asyncio
, pytestCheckHook
, pythonOlder
, setuptools
}:
buildPythonPackage rec {
pname = "google-cloud-workstations";
version = "0.5.5";
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchPypi {
inherit pname version;
hash = "sha256-N6A+dpgQpVhCTor4FbjPAafyDsgB8pRrJcVGABpJCuE=";
};
nativeBuildInputs = [
setuptools
];
propagatedBuildInputs = [
google-api-core
google-auth
grpc-google-iam-v1
proto-plus
protobuf
] ++ google-api-core.optional-dependencies.grpc;
nativeCheckInputs = [
mock
pytest-asyncio
pytestCheckHook
];
pythonImportsCheck = [
"google.cloud.workstations"
"google.cloud.workstations_v1"
"google.cloud.workstations_v1beta"
];
meta = with lib; {
description = "Python Client for Cloud Workstations";
homepage = "https://github.com/googleapis/google-cloud-python/tree/main/packages/google-cloud-workstations";
changelog = "https://github.com/googleapis/google-cloud-python/blob/google-cloud-workstations-v${version}/packages/google-cloud-workstations/CHANGELOG.md";
license = licenses.asl20;
maintainers = with maintainers; [ fab ];
};
}

View File

@ -1,19 +1,20 @@
{ lib { lib
, buildPythonPackage , buildPythonPackage
, fetchFromGitHub , fetchFromGitHub
, httpx
, pyjwt
, pytest-asyncio
, pytest-httpx
, pytestCheckHook
, pythonOlder , pythonOlder
, setuptools , setuptools
, setuptools-scm , setuptools-scm
, wheel , time-machine
, httpx
, pyjwt
, pytest-httpx
, pytestCheckHook
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "httpx-auth"; pname = "httpx-auth";
version = "0.19.0"; version = "0.21.0";
pyproject = true; pyproject = true;
disabled = pythonOlder "3.9"; disabled = pythonOlder "3.9";
@ -22,13 +23,12 @@ buildPythonPackage rec {
owner = "Colin-b"; owner = "Colin-b";
repo = "httpx_auth"; repo = "httpx_auth";
rev = "refs/tags/v${version}"; rev = "refs/tags/v${version}";
hash = "sha256-ptxM0gabr+NmfkXqYlWd+G0c0yClJawRNKjbtPKSGFY="; hash = "sha256-tKEYFoIHxiBG18JWyCHzQEwUvrWk/zuCWqj1uYsmh84=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [
setuptools setuptools
setuptools-scm setuptools-scm
wheel
]; ];
propagatedBuildInputs = [ propagatedBuildInputs = [
@ -37,11 +37,15 @@ buildPythonPackage rec {
nativeCheckInputs = [ nativeCheckInputs = [
pyjwt pyjwt
pytest-asyncio
pytest-httpx pytest-httpx
pytestCheckHook pytestCheckHook
time-machine
]; ];
pythonImportsCheck = [ "httpx_auth" ]; pythonImportsCheck = [
"httpx_auth"
];
__darwinAllowLocalNetworking = true; __darwinAllowLocalNetworking = true;

View File

@ -17,7 +17,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "langchain-community"; pname = "langchain-community";
version = "0.0.21"; version = "0.0.24";
pyproject = true; pyproject = true;
disabled = pythonOlder "3.8"; disabled = pythonOlder "3.8";
@ -25,7 +25,7 @@ buildPythonPackage rec {
src = fetchPypi { src = fetchPypi {
pname = "langchain_community"; pname = "langchain_community";
inherit version; inherit version;
hash = "sha256-HDEKfiZj1fZGSkM5gVBIlPl8Eng8vri99BWaV0+IwY0="; hash = "sha256-/WCfbJYsykt7dfIVnx+/dLFP3UUBHuK+U+ldtOZ4g38=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [

View File

@ -16,7 +16,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "langchain-core"; pname = "langchain-core";
version = "0.1.24"; version = "0.1.26";
pyproject = true; pyproject = true;
disabled = pythonOlder "3.8"; disabled = pythonOlder "3.8";
@ -24,7 +24,7 @@ buildPythonPackage rec {
src = fetchPypi { src = fetchPypi {
pname = "langchain_core"; pname = "langchain_core";
inherit version; inherit version;
hash = "sha256-znD0uXaV61VjfgDuM9SA//xtsflXJvmbB2tVyxpCkn0="; hash = "sha256-YYZ1jWIBVyOqxn7xogVWldA+gsTdQHQheXWwxi+vSxc=";
}; };
pythonRelaxDeps = [ pythonRelaxDeps = [

View File

@ -51,7 +51,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "langchain"; pname = "langchain";
version = "0.1.8"; version = "0.1.9";
pyproject = true; pyproject = true;
disabled = pythonOlder "3.8"; disabled = pythonOlder "3.8";
@ -60,7 +60,7 @@ buildPythonPackage rec {
owner = "langchain-ai"; owner = "langchain-ai";
repo = "langchain"; repo = "langchain";
rev = "refs/tags/v${version}"; rev = "refs/tags/v${version}";
hash = "sha256-zZkz7KlRikUySLlGyoc2a+DRhPahjytV5AowpU8yiRg="; hash = "sha256-AgEze4JUo3i6HCg541tz/gV6g+zrueyOljy/TXUYBV4=";
}; };
sourceRoot = "${src.name}/libs/langchain"; sourceRoot = "${src.name}/libs/langchain";

View File

@ -3,17 +3,19 @@
, buildPythonPackage , buildPythonPackage
, fetchFromGitHub , fetchFromGitHub
, freezegun , freezegun
, orjson
, poetry-core , poetry-core
, pydantic , pydantic
, pytest-asyncio , pytest-asyncio
, pytestCheckHook , pytestCheckHook
, pythonOlder , pythonOlder
, pythonRelaxDepsHook
, requests , requests
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "langsmith"; pname = "langsmith";
version = "0.1.3"; version = "0.1.6";
pyproject = true; pyproject = true;
disabled = pythonOlder "3.8"; disabled = pythonOlder "3.8";
@ -22,16 +24,22 @@ buildPythonPackage rec {
owner = "langchain-ai"; owner = "langchain-ai";
repo = "langsmith-sdk"; repo = "langsmith-sdk";
rev = "refs/tags/v${version}"; rev = "refs/tags/v${version}";
hash = "sha256-apczSNhj39Av5gsIM0QPF9eus3Z4eCv/ztxjHDgG8E0="; hash = "sha256-IjKlyfYA7HH+fXPsV5lWd8BOXooJFZy0WxkUy2lm4bI=";
}; };
sourceRoot = "${src.name}/python"; sourceRoot = "${src.name}/python";
pythonRelaxDeps = [
"orjson"
];
nativeBuildInputs = [ nativeBuildInputs = [
poetry-core poetry-core
pythonRelaxDepsHook
]; ];
propagatedBuildInputs = [ propagatedBuildInputs = [
orjson
pydantic pydantic
requests requests
]; ];

View File

@ -11,13 +11,13 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "ledger-bitcoin"; pname = "ledger-bitcoin";
version = "0.2.2"; version = "0.3.0";
format = "pyproject"; format = "pyproject";
src = fetchPypi { src = fetchPypi {
inherit version; inherit version;
pname = "ledger_bitcoin"; pname = "ledger_bitcoin";
hash = "sha256-MEZuwIthIOwBkRdR7dEsEznO+GVBeOf7/5xmwNW1SvI="; hash = "sha256-rZzerzOkVWK71brmdRAluGmi+B1usCZ90GKgH1klpNU=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [

View File

@ -0,0 +1,57 @@
{
lib
, buildPythonPackage
, fetchFromGitHub
, pytestCheckHook
, requests
, ruamel-yaml
, setuptools
}:
buildPythonPackage rec {
pname = "osc-sdk-python";
version = "0.27.0";
pyproject = true;
src = fetchFromGitHub {
owner = "outscale";
repo = "osc-sdk-python";
rev = "v${version}";
hash = "sha256-dp4yE8cTeXAPoixJ6ZtsvcTSKdYpDIebHkddUiqJe5Q=";
fetchSubmodules = true;
};
nativeBuildInputs = [
setuptools
];
propagatedBuildInputs = [
requests
ruamel-yaml
];
nativeCheckInputs = [
pytestCheckHook
];
postPatch = ''
substituteInPlace setup.py \
--replace "ruamel.yaml==0.17.32" "ruamel.yaml"
'';
# Only keep test not requiring access and secret keys
pytestFlagsArray = [
"tests/test_net.py"
];
pythonImportsCheck = [
"osc_sdk_python"
];
meta = with lib; {
description = "SDK to perform actions on Outscale API";
homepage = "http://github.com/outscale/osc-sdk-python";
license = licenses.bsd3;
maintainers = with maintainers; [ nicolas-goudry ];
};
}

View File

@ -17,7 +17,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "oslo-log"; pname = "oslo-log";
version = "5.4.0"; version = "5.5.0";
format = "setuptools"; format = "setuptools";
disabled = pythonOlder "3.8"; disabled = pythonOlder "3.8";
@ -25,7 +25,7 @@ buildPythonPackage rec {
src = fetchPypi { src = fetchPypi {
pname = "oslo.log"; pname = "oslo.log";
inherit version; inherit version;
hash = "sha256-LrNVtYVw8lgR2nb6gUU7h1x8lEoZoj0sMFtKTf670iM="; hash = "sha256-TO3RZpx94o2OZrZ6X21sb+g5KFNfqHzWm/ZhG1n1Z+c=";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [

View File

@ -5,6 +5,7 @@
, coloredlogs , coloredlogs
, fastapi , fastapi
, fetchFromGitHub , fetchFromGitHub
, hatchling
, pillow , pillow
, psutil , psutil
, pytestCheckHook , pytestCheckHook
@ -18,8 +19,8 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "pytelegrambotapi"; pname = "pytelegrambotapi";
version = "4.15.2"; version = "4.16.0";
format = "setuptools"; pyproject = true;
disabled = pythonOlder "3.7"; disabled = pythonOlder "3.7";
@ -27,9 +28,13 @@ buildPythonPackage rec {
owner = "eternnoir"; owner = "eternnoir";
repo = "pyTelegramBotAPI"; repo = "pyTelegramBotAPI";
rev = "refs/tags/${version}"; rev = "refs/tags/${version}";
hash = "sha256-Xw+edPs2CKJdpgDp+JB3L2W4oAIAk/IpQAD7c2kF3gk="; hash = "sha256-w039aPK+PdOiiOj5ZZAUfyHQ6QDrKySVIijcOw+GIOk=";
}; };
nativeBuildInputs = [
hatchling
];
passthru.optional-dependencies = { passthru.optional-dependencies = {
json = [ json = [
ujson ujson

View File

@ -359,6 +359,7 @@ let
jqr = [ pkgs.jq.dev ]; jqr = [ pkgs.jq.dev ];
KFKSDS = [ pkgs.gsl ]; KFKSDS = [ pkgs.gsl ];
kza = [ pkgs.fftw.dev ]; kza = [ pkgs.fftw.dev ];
Libra = [ pkgs.gsl ];
LOMAR = [ pkgs.gmp.dev ]; LOMAR = [ pkgs.gmp.dev ];
lpsymphony = with pkgs; [ pkg-config gfortran gettext ]; lpsymphony = with pkgs; [ pkg-config gfortran gettext ];
lwgeom = with pkgs; [ proj geos gdal ]; lwgeom = with pkgs; [ proj geos gdal ];

View File

@ -7,16 +7,16 @@
buildGoModule rec { buildGoModule rec {
pname = "bearer"; pname = "bearer";
version = "1.37.0"; version = "1.39.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "bearer"; owner = "bearer";
repo = "bearer"; repo = "bearer";
rev = "refs/tags/v${version}"; rev = "refs/tags/v${version}";
hash = "sha256-b4EQAAPYMoL1MP5sVr3Fu0/znWxlVzpeGbghommCpUg="; hash = "sha256-GgdEOTrzaTsSTRW2NUzdxzUxGI1UCIk/6mAoyRysRVc=";
}; };
vendorHash = "sha256-jE1DUANd1PgSWbwz/PV1pIMgzvRm0ApaJaLCljMw4ig="; vendorHash = "sha256-fCSgRjsioXyt9mxQoZxyA+F63FAwlmwJAjquR+zAgQg=";
subPackages = [ subPackages = [
"cmd/bearer" "cmd/bearer"

View File

@ -12,16 +12,16 @@
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "biome"; pname = "biome";
version = "1.4.1"; version = "1.5.3";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "biomejs"; owner = "biomejs";
repo = "biome"; repo = "biome";
rev = "cli/v${version}"; rev = "cli/v${version}";
hash = "sha256-lzY1Eh1jZixsKi+ObQlhzV4KSV7ZSGPBJtaO9ZiJjEk="; hash = "sha256-70LHsmS01ssD4yCbHfBouV+NyhMIlBbX0jcHFu8aLMw=";
}; };
cargoHash = "sha256-Hy5UH2VwqboRD+akl1FxBZoXr2+SmVH5Jx0lSAB/P7w="; cargoHash = "sha256-wf6X6aY1O9EABQ6sDNAb3XsVrC0lgUtpgoieiPZ7r3k=";
nativeBuildInputs = [ nativeBuildInputs = [
pkg-config pkg-config
@ -40,7 +40,10 @@ rustPlatform.buildRustPackage rec {
]; ];
cargoBuildFlags = [ "-p=biome_cli" ]; cargoBuildFlags = [ "-p=biome_cli" ];
cargoTestFlags = cargoBuildFlags; cargoTestFlags = cargoBuildFlags ++
# skip a broken test from v1.5.3 release
# this will be removed on the next version
[ "-- --skip=diagnostics::test::termination_diagnostic_size" ];
env = { env = {
BIOME_VERSION = version; BIOME_VERSION = version;

View File

@ -4,11 +4,11 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "jenkins"; pname = "jenkins";
version = "2.426.3"; version = "2.440.1";
src = fetchurl { src = fetchurl {
url = "https://get.jenkins.io/war-stable/${version}/jenkins.war"; url = "https://get.jenkins.io/war-stable/${version}/jenkins.war";
hash = "sha256-q0OSQ6agfi54/nw0CMWWCfe+O/JolHrCFGV6+Wq60QY="; hash = "sha256-Ck3uMnaGcyl0W8nSU9rYVl+rALTC8G4aItSS1tRkSV0=";
}; };
nativeBuildInputs = [ makeWrapper ]; nativeBuildInputs = [ makeWrapper ];
@ -69,7 +69,8 @@ stdenv.mkDerivation rec {
homepage = "https://jenkins.io/"; homepage = "https://jenkins.io/";
sourceProvenance = with sourceTypes; [ binaryBytecode ]; sourceProvenance = with sourceTypes; [ binaryBytecode ];
license = licenses.mit; license = licenses.mit;
maintainers = with maintainers; [ coconnor earldouglas nequissimus ] ++ teams.helsinki-systems.members; maintainers = with maintainers;
[ coconnor earldouglas nequissimus ] ++ teams.helsinki-systems.members;
changelog = "https://www.jenkins.io/changelog-stable/#v${version}"; changelog = "https://www.jenkins.io/changelog-stable/#v${version}";
mainProgram = "jenkins-cli"; mainProgram = "jenkins-cli";
platforms = platforms.all; platforms = platforms.all;

View File

@ -14,47 +14,47 @@ assert lib.assertMsg (!php.ztsSupport) "blackfire only supports non zts versions
let let
phpMajor = lib.versions.majorMinor php.version; phpMajor = lib.versions.majorMinor php.version;
version = "1.92.9"; version = "1.92.10";
hashes = { hashes = {
"x86_64-linux" = { "x86_64-linux" = {
system = "amd64"; system = "amd64";
hash = { hash = {
"8.1" = "sha256-pvJHzqhpKdLyWexqCdynOXIoIkb6WPFogQzzdGSl0Go="; "8.1" = "sha256-U2vcgqnpz1+pS4aE3usj/ktrbnXw70+xpedx1LkbTvI=";
"8.2" = "sha256-M2ihNS2IK0tO+lXXSrJZLguRzyrV8q/45gmK0pfxjuo="; "8.2" = "sha256-rX57nPA6Fduzv5t/lGYnIPXSbW8ddlpQrDDqj3CUzQ0=";
"8.3" = "sha256-v4vt0GkM8pbZ+zJrNqu+h1TM680RpnCQwNDyFFD/vuE="; "8.3" = "sha256-DXlMHZvGZMdzVRVe7Mv80sGHwUkWcr99hsWl7VnOrb0=";
}; };
}; };
"i686-linux" = { "i686-linux" = {
system = "i386"; system = "i386";
hash = { hash = {
"8.1" = "sha256-+IrL8OGjny+FPLNNj0N0oJGSuUA9nZFBkalW6qbBtbI="; "8.1" = "sha256-Czua15eOomeIwaVll6THoKWlg2KSoj8TZn/kmpik8no=";
"8.2" = "sha256-z5oFFh+0spuku+nZf9ICL17upLHoA2k6StAmVpKIxyw="; "8.2" = "sha256-oFqbLJUD8IlhdM3qT1zZUqPs/eikDJB7UqEc5RdPWGk=";
"8.3" = "sha256-1maDNZb92ptbbiIUZxwEBNk6oQPf6f2LVHvsXrpmdQ8="; "8.3" = "sha256-/ueCOSPGdLDUQpaPOkiOkk1+xKYAFQoRPVUjrbGjkgI=";
}; };
}; };
"aarch64-linux" = { "aarch64-linux" = {
system = "arm64"; system = "arm64";
hash = { hash = {
"8.1" = "sha256-apIHM85SDtdrNy2zkgue4nLS+IYg0aqO67tjt3iPMvQ="; "8.1" = "sha256-F3bxCPvlXnBNXcp1ia47HdEfrronRqftTUQkvV2yeew=";
"8.2" = "sha256-vafJYIXksjQXNOufSNsRCBOkhh9Da1sp0X1JJtH0wNM="; "8.2" = "sha256-dLUfo13RILacTgHhfLvzFOz8OvwO+Nv6L6hQ7XE2o5c=";
"8.3" = "sha256-JTfFszym+zq4U2V1HOkGB41OR/mt7GotHo1HThjLEV0="; "8.3" = "sha256-NO6n3euYq0Ind6oxLaSRmj6FkmeWJme+ZcIfumQtEgE=";
}; };
}; };
"aarch64-darwin" = { "aarch64-darwin" = {
system = "arm64"; system = "arm64";
hash = { hash = {
"8.1" = "sha256-zj4oSpW2ubEdk5n8FjQF4oOWcjMd5V1G5ul8kHj/fyU="; "8.1" = "sha256-DNkRaUD+/MsK8K1i48LnekooKjYen/SRMcYNgVTxRfU=";
"8.2" = "sha256-aedyASZs4Sy0CEX9Y5qjJnzzcvUdO9eYg9nZXrOcVnI="; "8.2" = "sha256-4MwsaqFozn6ybkjDIj+FUQv42I5YyV7gKXyTmNuLdRg=";
"8.3" = "sha256-Sla+W+dz2foTnF3ys4MIcnP0FnSjiyWHfsMW0+Vhkpw="; "8.3" = "sha256-KZR0oO53S1cdao6JQJKsNGIUk7bqR1xYcJeXUL7RW6g=";
}; };
}; };
"x86_64-darwin" = { "x86_64-darwin" = {
system = "amd64"; system = "amd64";
hash = { hash = {
"8.1" = "sha256-YorZctBEUgPHnoXtcf8xkn6DfhM1BZnBNpfi5o7y0AM="; "8.1" = "sha256-6rglM9HYhNdN4kumAOQibYt95oa5imgnfkhYDuC3Iso=";
"8.2" = "sha256-5zmwJu1Ux5vebFeu1WMHRCKalB/qgm3/G74OPrd7nhc="; "8.2" = "sha256-+Mi+xWdWYFwrKPL9szo4C0jZn+FMPSmdKiVAiH9MxtY=";
"8.3" = "sha256-vm2VK3jPR25ICxiKMqzh9DyzG9EVJ/rX3i7LQMox3gs="; "8.3" = "sha256-0CwhF/z0phPYuOSZ0PRTG90DjjXKFKFEtAovCHYtRFw=";
}; };
}; };
}; };

View File

@ -51,6 +51,6 @@ llvmPackages.stdenv.mkDerivation {
homepage = "https://github.com/rpav/c2ffi"; homepage = "https://github.com/rpav/c2ffi";
description = "An LLVM based tool for extracting definitions from C, C++, and Objective C header files for use with foreign function call interfaces"; description = "An LLVM based tool for extracting definitions from C, C++, and Objective C header files for use with foreign function call interfaces";
license = licenses.lgpl21Only; license = licenses.lgpl21Only;
maintainers = with maintainers; [ attila-lendvai ]; maintainers = with maintainers; [ ];
}; };
} }

View File

@ -12,7 +12,7 @@
let let
inherit (darwin.apple_sdk.frameworks) CoreServices; inherit (darwin.apple_sdk.frameworks) CoreServices;
pname = "cargo-mobile2"; pname = "cargo-mobile2";
version = "0.10.0"; version = "0.10.2";
in in
rustPlatform.buildRustPackage { rustPlatform.buildRustPackage {
inherit pname version; inherit pname version;
@ -20,14 +20,14 @@ rustPlatform.buildRustPackage {
owner = "tauri-apps"; owner = "tauri-apps";
repo = pname; repo = pname;
rev = "cargo-mobile2-v${version}"; rev = "cargo-mobile2-v${version}";
hash = "sha256-5Z2ztRe4SBiqR2hQELVXBLtvTLspTbBMIMZab8gQMzo="; hash = "sha256-LRQfntEbY8K1kepgn2Gww1ixWmvKHuw6DPT9j9MG118=";
}; };
# Manually specify the sourceRoot since this crate depends on other crates in the workspace. Relevant info at # Manually specify the sourceRoot since this crate depends on other crates in the workspace. Relevant info at
# https://discourse.nixos.org/t/difficulty-using-buildrustpackage-with-a-src-containing-multiple-cargo-workspaces/10202 # https://discourse.nixos.org/t/difficulty-using-buildrustpackage-with-a-src-containing-multiple-cargo-workspaces/10202
# sourceRoot = "${src.name}/tooling/cli"; # sourceRoot = "${src.name}/tooling/cli";
cargoHash = "sha256-mOdtIJfnn8neOQIiiYNITlKrG2Qst0Jl4rTI3fo/JdU="; cargoHash = "sha256-yWkyIwZ3KPMhlVajCIAYonFveGFqzB5qBGO5WdzjxNs=";
preBuild = '' preBuild = ''
mkdir -p $out/share/ mkdir -p $out/share/

View File

@ -4,7 +4,7 @@ let
# The x86-64-modern may need to be refined further in the future # The x86-64-modern may need to be refined further in the future
# but stdenv.hostPlatform CPU flags do not currently work on Darwin # but stdenv.hostPlatform CPU flags do not currently work on Darwin
# https://discourse.nixos.org/t/darwin-system-and-stdenv-hostplatform-features/9745 # https://discourse.nixos.org/t/darwin-system-and-stdenv-hostplatform-features/9745
archDarwin = if stdenv.isx86_64 then "x86-64-modern" else "x86-64"; archDarwin = if stdenv.isx86_64 then "x86-64-modern" else "apple-silicon";
arch = if stdenv.isDarwin then archDarwin else arch = if stdenv.isDarwin then archDarwin else
if stdenv.isx86_64 then "x86-64" else if stdenv.isx86_64 then "x86-64" else
if stdenv.isi686 then "x86-32" else if stdenv.isi686 then "x86-32" else
@ -55,7 +55,7 @@ stdenv.mkDerivation rec {
much stronger than the best human chess grandmasters. much stronger than the best human chess grandmasters.
''; '';
maintainers = with maintainers; [ luispedro siraben ]; maintainers = with maintainers; [ luispedro siraben ];
platforms = ["x86_64-linux" "i686-linux" "x86_64-darwin" "aarch64-linux"]; platforms = ["x86_64-linux" "i686-linux" "x86_64-darwin" "aarch64-linux" "aarch64-darwin"];
license = licenses.gpl3Only; license = licenses.gpl3Only;
}; };

View File

@ -17,7 +17,7 @@
let let
pname = "yabai"; pname = "yabai";
version = "6.0.13"; version = "6.0.15";
test-version = testers.testVersion { test-version = testers.testVersion {
package = yabai; package = yabai;
@ -53,7 +53,7 @@ in
src = fetchzip { src = fetchzip {
url = "https://github.com/koekeishiya/yabai/releases/download/v${version}/yabai-v${version}.tar.gz"; url = "https://github.com/koekeishiya/yabai/releases/download/v${version}/yabai-v${version}.tar.gz";
hash = "sha256-71Dw/5wqoHE6HEhGA/CJA2WVgN3EifdyBO0gLFOwfJA="; hash = "sha256-L82N0IaC2OAZVhmu9NALencK78FeCZI2cWJyNkGH2vQ=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [
@ -89,7 +89,7 @@ in
owner = "koekeishiya"; owner = "koekeishiya";
repo = "yabai"; repo = "yabai";
rev = "v${version}"; rev = "v${version}";
hash = "sha256-jt1PwMkhWBWAFYXJ1HxVLwJY9OmNDzlohB5krIsvWfg="; hash = "sha256-buX6FRIXdM5VmYpA80eESDMPf+xeMfJJj0ulyx2g94M=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [

View File

@ -18,11 +18,11 @@ let
''; '';
in stdenv.mkDerivation rec { in stdenv.mkDerivation rec {
pname = "keycloak"; pname = "keycloak";
version = "23.0.6"; version = "23.0.7";
src = fetchzip { src = fetchzip {
url = "https://github.com/keycloak/keycloak/releases/download/${version}/keycloak-${version}.zip"; url = "https://github.com/keycloak/keycloak/releases/download/${version}/keycloak-${version}.zip";
hash = "sha256-Sw+6UloKSvYjkm7qYROmsZxKk/sky4DKvgupo+S61Q8="; hash = "sha256-9Hx7pX4m60u1UZAqXiafqEPMTvDVNdGLZfsSCktF84Q=";
}; };
nativeBuildInputs = [ makeWrapper jre ]; nativeBuildInputs = [ makeWrapper jre ];
@ -84,7 +84,7 @@ in stdenv.mkDerivation rec {
sourceProvenance = with sourceTypes; [ binaryBytecode ]; sourceProvenance = with sourceTypes; [ binaryBytecode ];
license = licenses.asl20; license = licenses.asl20;
platforms = jre.meta.platforms; platforms = jre.meta.platforms;
maintainers = with maintainers; [ ngerstle talyz ]; maintainers = with maintainers; [ ngerstle talyz nickcao ];
}; };
} }

View File

@ -6,8 +6,8 @@ let
}; };
variants = if stdenv.isLinux then variants = if stdenv.isLinux then
{ {
version = "5.0.23"; version = "5.0.24";
sha256 = "sha256-URIOBsR64ppZP4DiDg3hXnOGEUwRXhA1P5ZuecsT2mE="; sha256 = "sha256-6CVQOHN3yFTq6OyVkZMYEjIKfFbQZ6M5KAa3k7qv4Gc=";
patches = [ ./fix-build-with-boost-1.79-5_0-linux.patch ]; patches = [ ./fix-build-with-boost-1.79-5_0-linux.patch ];
} }
else lib.optionalAttrs stdenv.isDarwin else lib.optionalAttrs stdenv.isDarwin

View File

@ -6,8 +6,8 @@ let
}; };
in in
buildMongoDB { buildMongoDB {
version = "6.0.12"; version = "6.0.13";
sha256 = "sha256-5orVFio+4HIzhs63KJdZ1RHOPoOMa9Uk/8bygRs1JoY="; sha256 = "sha256-BD3XrTdv4sCa3h37o1A2s3/R0R8zHiR59a4pY0RxLGU=";
patches = [ patches = [
(fetchpatch { (fetchpatch {
name = "mongodb-6.1.0-rc-more-specific-cache-alignment-types.patch"; name = "mongodb-6.1.0-rc-more-specific-cache-alignment-types.patch";

View File

@ -11,11 +11,11 @@
stdenvNoCC.mkDerivation (finalAttrs: { stdenvNoCC.mkDerivation (finalAttrs: {
pname = "opensearch"; pname = "opensearch";
version = "2.11.1"; version = "2.12.0";
src = fetchurl { src = fetchurl {
url = "https://artifacts.opensearch.org/releases/bundle/opensearch/${finalAttrs.version}/opensearch-${finalAttrs.version}-linux-x64.tar.gz"; url = "https://artifacts.opensearch.org/releases/bundle/opensearch/${finalAttrs.version}/opensearch-${finalAttrs.version}-linux-x64.tar.gz";
hash = "sha256-km6z+Z9ZLnUY1dweJQrhHRu0XvdmqQIiqN8Ruy7jWpw="; hash = "sha256-t9s633qDzxvG1x+VVATpczzvD+ojnfTiwB/EambMKtA=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [

View File

@ -2,13 +2,13 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "dolibarr"; pname = "dolibarr";
version = "18.0.5"; version = "19.0.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "Dolibarr"; owner = "Dolibarr";
repo = "dolibarr"; repo = "dolibarr";
rev = version; rev = version;
hash = "sha256-DMy5GrQ6xKwMqJtJv3IW0CuLVq85pDCF9qJBs+1B5H4="; hash = "sha256-Guq3CHdVqGfprXo0O3VriWSfWR/sIgj3Znso1BUeLNY=";
}; };
dontBuild = true; dontBuild = true;

View File

@ -1,46 +0,0 @@
{
stdenv,
lib,
fetchurl,
readline,
enableCurrenciesUpdater ? true,
pythonPackages ? null
}:
assert enableCurrenciesUpdater -> pythonPackages != null;
let pythonEnv = pythonPackages.python.withPackages(ps: [
ps.requests
]);
in stdenv.mkDerivation rec {
pname = "units";
version = "2.22";
src = fetchurl {
url = "mirror://gnu/units/${pname}-${version}.tar.gz";
sha256 = "sha256-XRPhIHch/ncm2Qa6HZLcDt2qn8JnWe0i47jRp5MSWEg=";
};
buildInputs = [ readline ]
++ lib.optionals enableCurrenciesUpdater [
pythonEnv
]
;
prePatch = lib.optionalString enableCurrenciesUpdater ''
substituteInPlace units_cur \
--replace "#!/usr/bin/env python" ${pythonEnv}/bin/python
'';
postInstall = ''
cp units_cur ${placeholder "out"}/bin/
'';
doCheck = true;
meta = with lib; {
description = "Unit conversion tool";
homepage = "https://www.gnu.org/software/units/";
license = [ licenses.gpl3Plus ];
platforms = platforms.all;
maintainers = [ maintainers.vrthra ];
};
}

View File

@ -9,14 +9,14 @@ with python3.pkgs;
buildPythonApplication rec { buildPythonApplication rec {
pname = "yutto"; pname = "yutto";
version = "2.0.0b33"; version = "2.0.0b35";
format = "pyproject"; format = "pyproject";
disabled = pythonOlder "3.9"; disabled = pythonOlder "3.9";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
hash = "sha256-TUyjppAHmWCZxifeQeOpFMPBksqLRSYdqgG7NEMVILY="; hash = "sha256-r4Lc5PMkhwLMC6nKArvpf9M4N+eoV6OmZK2uhY6xZxA=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [
@ -24,12 +24,13 @@ buildPythonApplication rec {
]; ];
propagatedBuildInputs = [ propagatedBuildInputs = [
aiohttp httpx
aiofiles aiofiles
biliass biliass
dict2xml dict2xml
colorama colorama
]; typing-extensions
] ++ (with httpx.optional-dependencies; http2 ++ socks);
preFixup = '' preFixup = ''
makeWrapperArgs+=(--prefix PATH : ${lib.makeBinPath [ ffmpeg ]}) makeWrapperArgs+=(--prefix PATH : ${lib.makeBinPath [ ffmpeg ]})

View File

@ -2,7 +2,7 @@
buildGoModule rec { buildGoModule rec {
pname = "spire"; pname = "spire";
version = "1.8.7"; version = "1.9.0";
outputs = [ "out" "agent" "server" ]; outputs = [ "out" "agent" "server" ];
@ -10,10 +10,10 @@ buildGoModule rec {
owner = "spiffe"; owner = "spiffe";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-D6NNG//1rM7EIzawKdMA/8nloqMNAkF75YyFpHvxUkI="; sha256 = "sha256-0gV4s5MsA5+QhDpceRH20/KjPJi5YF4HsN3HF1u7vBo=";
}; };
vendorHash = "sha256-bSQitqXTY1LMnpGkXAmDiDsMd0xZHrcr/Ms1F6avBKM="; vendorHash = "sha256-X8/R2u7mAJuwfltIZV5NrgbzR0U6Ty092Wlbs3u9oIw=";
subPackages = [ "cmd/spire-agent" "cmd/spire-server" ]; subPackages = [ "cmd/spire-agent" "cmd/spire-server" ];

View File

@ -97,6 +97,8 @@ mapAliases ({
bash_5 = bash; # Added 2021-08-20 bash_5 = bash; # Added 2021-08-20
bazel_3 = throw "bazel 3 is past end of life as it is not an lts version"; # Added 2023-02-02 bazel_3 = throw "bazel 3 is past end of life as it is not an lts version"; # Added 2023-02-02
bedup = throw "bedup was removed because it was broken and abandoned upstream"; # added 2023-02-04 bedup = throw "bedup was removed because it was broken and abandoned upstream"; # added 2023-02-04
bee-unstable = throw "bee-unstable has been removed, use 'bee' instead"; # Added 2024-02-12
bee-clef = throw "bee-clef has been removed as the upstream project was archived"; # Added 2024-02-12
beignet = throw "beignet was removed as it was never ported from old llvmPackages_6 upstream"; # added 2024-01-08 beignet = throw "beignet was removed as it was never ported from old llvmPackages_6 upstream"; # added 2024-01-08
binance = throw "binance has been removed, because it depends on a very outdated and insecure version of electron"; # Added 2023-11-09 binance = throw "binance has been removed, because it depends on a very outdated and insecure version of electron"; # Added 2023-11-09
bird2 = bird; # Added 2022-02-21 bird2 = bird; # Added 2022-02-21

View File

@ -6614,15 +6614,7 @@ with pkgs;
beanstalkd = callPackage ../servers/beanstalkd { }; beanstalkd = callPackage ../servers/beanstalkd { };
bee = callPackage ../applications/networking/bee/bee.nix { bee = callPackage ../applications/networking/bee/bee.nix { };
version = "release";
};
bee-unstable = bee.override {
version = "unstable";
};
bee-clef = callPackage ../applications/networking/bee/bee-clef.nix { };
beetsPackages = lib.recurseIntoAttrs (callPackage ../tools/audio/beets { }); beetsPackages = lib.recurseIntoAttrs (callPackage ../tools/audio/beets { });
inherit (beetsPackages) beets beets-unstable; inherit (beetsPackages) beets beets-unstable;
@ -8637,7 +8629,6 @@ with pkgs;
jdk = graalvm-ce; jdk = graalvm-ce;
}; };
gnucap = callPackage ../applications/science/electronics/gnucap { };
gnucap-full = gnucap.withPlugins(p: [ p.verilog ]); gnucap-full = gnucap.withPlugins(p: [ p.verilog ]);
gnu-cim = callPackage ../development/compilers/gnu-cim { }; gnu-cim = callPackage ../development/compilers/gnu-cim { };
@ -14715,11 +14706,6 @@ with pkgs;
inherit (darwin) cctools; inherit (darwin) cctools;
}; };
units = callPackage ../tools/misc/units {
enableCurrenciesUpdater = true;
pythonPackages = python3Packages;
};
unittest-cpp = callPackage ../development/libraries/unittest-cpp { }; unittest-cpp = callPackage ../development/libraries/unittest-cpp { };
unnaturalscrollwheels = callPackage ../tools/inputmethods/unnaturalscrollwheels { }; unnaturalscrollwheels = callPackage ../tools/inputmethods/unnaturalscrollwheels { };
@ -21055,8 +21041,6 @@ with pkgs;
autoreconfHook = buildPackages.autoreconfHook269; autoreconfHook = buildPackages.autoreconfHook269;
}; };
fastcdr = callPackage ../development/libraries/fastcdr { };
fbthrift = darwin.apple_sdk_11_0.callPackage ../development/libraries/fbthrift { }; fbthrift = darwin.apple_sdk_11_0.callPackage ../development/libraries/fbthrift { };
fb303 = darwin.apple_sdk_11_0.callPackage ../development/libraries/fb303 { }; fb303 = darwin.apple_sdk_11_0.callPackage ../development/libraries/fb303 { };
@ -29388,8 +29372,6 @@ with pkgs;
lmodern = callPackage ../data/fonts/lmodern { }; lmodern = callPackage ../data/fonts/lmodern { };
logiops = callPackage ../misc/drivers/logiops { };
# ltunifi and solaar both provide udev rules but solaar's rules are more # ltunifi and solaar both provide udev rules but solaar's rules are more
# up-to-date so we simply use that instead of having to maintain our own rules # up-to-date so we simply use that instead of having to maintain our own rules
logitech-udev-rules = solaar.udev; logitech-udev-rules = solaar.udev;
@ -30078,8 +30060,6 @@ with pkgs;
stdenv = if stdenv.isDarwin then overrideSDK stdenv "11.0" else stdenv; stdenv = if stdenv.isDarwin then overrideSDK stdenv "11.0" else stdenv;
}; };
openorienteering-mapper = libsForQt5.callPackage ../applications/gis/openorienteering-mapper { };
qgis-ltr = callPackage ../applications/gis/qgis/ltr.nix { }; qgis-ltr = callPackage ../applications/gis/qgis/ltr.nix { };
qgis = callPackage ../applications/gis/qgis { }; qgis = callPackage ../applications/gis/qgis { };
@ -30634,8 +30614,6 @@ with pkgs;
cava = callPackage ../applications/audio/cava { }; cava = callPackage ../applications/audio/cava { };
cavalier = callPackage ../applications/audio/cavalier { };
cb2bib = libsForQt5.callPackage ../applications/office/cb2bib { }; cb2bib = libsForQt5.callPackage ../applications/office/cb2bib { };
cbatticon = callPackage ../applications/misc/cbatticon { }; cbatticon = callPackage ../applications/misc/cbatticon { };
@ -34175,7 +34153,7 @@ with pkgs;
wrapOBS = callPackage ../applications/video/obs-studio/wrapper.nix { }; wrapOBS = callPackage ../applications/video/obs-studio/wrapper.nix { };
obsidian = callPackage ../applications/misc/obsidian { obsidian = callPackage ../applications/misc/obsidian {
electron = electron_25; electron = electron_28;
}; };
octoprint = callPackage ../applications/misc/octoprint { }; octoprint = callPackage ../applications/misc/octoprint { };

View File

@ -4790,6 +4790,8 @@ self: super: with self; {
google-cloud-monitoring = callPackage ../development/python-modules/google-cloud-monitoring { }; google-cloud-monitoring = callPackage ../development/python-modules/google-cloud-monitoring { };
google-cloud-netapp = callPackage ../development/python-modules/google-cloud-netapp { };
google-cloud-org-policy = callPackage ../development/python-modules/google-cloud-org-policy { }; google-cloud-org-policy = callPackage ../development/python-modules/google-cloud-org-policy { };
google-cloud-os-config = callPackage ../development/python-modules/google-cloud-os-config { }; google-cloud-os-config = callPackage ../development/python-modules/google-cloud-os-config { };
@ -4806,6 +4808,8 @@ self: super: with self; {
google-cloud-securitycenter = callPackage ../development/python-modules/google-cloud-securitycenter { }; google-cloud-securitycenter = callPackage ../development/python-modules/google-cloud-securitycenter { };
google-cloud-shell = callPackage ../development/python-modules/google-cloud-shell { };
google-cloud-spanner = callPackage ../development/python-modules/google-cloud-spanner { }; google-cloud-spanner = callPackage ../development/python-modules/google-cloud-spanner { };
google-cloud-speech = callPackage ../development/python-modules/google-cloud-speech { }; google-cloud-speech = callPackage ../development/python-modules/google-cloud-speech { };
@ -4826,8 +4830,16 @@ self: super: with self; {
google-cloud-vision = callPackage ../development/python-modules/google-cloud-vision { }; google-cloud-vision = callPackage ../development/python-modules/google-cloud-vision { };
google-cloud-vpc-access = callPackage ../development/python-modules/google-cloud-vpc-access { };
google-cloud-webrisk = callPackage ../development/python-modules/google-cloud-webrisk { };
google-cloud-websecurityscanner = callPackage ../development/python-modules/google-cloud-websecurityscanner { }; google-cloud-websecurityscanner = callPackage ../development/python-modules/google-cloud-websecurityscanner { };
google-cloud-workflows = callPackage ../development/python-modules/google-cloud-workflows { };
google-cloud-workstations = callPackage ../development/python-modules/google-cloud-workstations { };
google-compute-engine = callPackage ../tools/virtualization/google-compute-engine { }; google-compute-engine = callPackage ../tools/virtualization/google-compute-engine { };
google-crc32c = callPackage ../development/python-modules/google-crc32c { google-crc32c = callPackage ../development/python-modules/google-crc32c {
@ -8962,6 +8974,8 @@ self: super: with self; {
osc-lib = callPackage ../development/python-modules/osc-lib { }; osc-lib = callPackage ../development/python-modules/osc-lib { };
osc-sdk-python = callPackage ../development/python-modules/osc-sdk-python { };
oscpy = callPackage ../development/python-modules/oscpy { }; oscpy = callPackage ../development/python-modules/oscpy { };
oscrypto = callPackage ../development/python-modules/oscrypto { }; oscrypto = callPackage ../development/python-modules/oscrypto { };