Merge master into haskell-updates

This commit is contained in:
github-actions[bot] 2024-06-03 00:13:54 +00:00 committed by GitHub
commit ac1903efd3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
374 changed files with 5282 additions and 1440 deletions

View file

@ -2195,15 +2195,6 @@
fingerprint = "6309 E212 29D4 DA30 AF24 BDED 754B 5C09 63C4 2C50"; fingerprint = "6309 E212 29D4 DA30 AF24 BDED 754B 5C09 63C4 2C50";
}]; }];
}; };
babariviere = {
email = "me@babariviere.com";
github = "babariviere";
githubId = 12128029;
name = "Bastien Rivière";
keys = [{
fingerprint = "74AA 9AB4 E6FF 872B 3C5A CB3E 3903 5CC0 B75D 1142";
}];
};
babbaj = { babbaj = {
name = "babbaj"; name = "babbaj";
email = "babbaj45@gmail.com"; email = "babbaj45@gmail.com";
@ -8396,6 +8387,12 @@
githubId = 896431; githubId = 896431;
name = "Chris Hodapp"; name = "Chris Hodapp";
}; };
hogcycle = {
email = "nate@gysli.ng";
github = "hogcycle";
githubId = 57007241;
name = "hogcycle";
};
holgerpeters = { holgerpeters = {
name = "Holger Peters"; name = "Holger Peters";
email = "holger.peters@posteo.de"; email = "holger.peters@posteo.de";
@ -9807,6 +9804,12 @@
githubId = 54179289; githubId = 54179289;
name = "Jason Miller"; name = "Jason Miller";
}; };
jn-sena = {
email = "jn-sena@proton.me";
github = "jn-sena";
githubId = 45771313;
name = "Sena";
};
jnsgruk = { jnsgruk = {
email = "jon@sgrs.uk"; email = "jon@sgrs.uk";
github = "jnsgruk"; github = "jnsgruk";
@ -9990,6 +9993,12 @@
githubId = 25030997; githubId = 25030997;
name = "Yuki Okushi"; name = "Yuki Okushi";
}; };
johnylpm = {
email = "joaoluisparreira@gmail.com";
github = "Johny-LPM";
githubId = 168684553;
name = "João Marques";
};
jojosch = { jojosch = {
name = "Johannes Schleifenbaum"; name = "Johannes Schleifenbaum";
email = "johannes@js-webcoding.de"; email = "johannes@js-webcoding.de";
@ -18179,6 +18188,12 @@
githubId = 6022042; githubId = 6022042;
name = "Sam Parkinson"; name = "Sam Parkinson";
}; };
samemrecebi = {
name = "Emre Çebi";
email = "emre@cebi.io";
github = "samemrecebi";
githubId = 64419750;
};
samhug = { samhug = {
email = "s@m-h.ug"; email = "s@m-h.ug";
github = "samhug"; github = "samhug";

View file

@ -428,7 +428,6 @@ with lib.maintainers; {
bandresen bandresen
hlolli hlolli
glittershark glittershark
babariviere
ericdallo ericdallo
thiagokokada thiagokokada
]; ];

View file

@ -55,7 +55,7 @@ In addition to numerous new and upgraded packages, this release has the followin
- Similarly, please use the `services.xserver.desktopManager.mate.extraCajaExtensions` option for installing Caja extensions. - Similarly, please use the `services.xserver.desktopManager.mate.extraCajaExtensions` option for installing Caja extensions.
- To use the Wayland session, enable `services.xserver.desktopManager.mate.enableWaylandSession`. This is opt-in for now as it is in early an stage and introduces a new set of Wayfire closures. Due to [known issues with LightDM](https://github.com/canonical/lightdm/issues/63), we suggest using SDDM as the display manager. - To use the Wayland session, enable `services.xserver.desktopManager.mate.enableWaylandSession`. This is opt-in for now as it is in early an stage and introduces a new set of Wayfire closures. Due to [known issues with LightDM](https://github.com/canonical/lightdm/issues/63), we suggest using SDDM as the display manager.
- Plasma 6 is now available and can be installed with `services.xserver.desktopManager.plasma6.enable = true;`. Plasma 5 will likely be deprecated in the next release (24.11). Note that Plasma 6 runs as Wayland by default, and the X11 session needs to be explicitly selected if necessary. - Plasma 6 is now available and can be installed with `services.desktopManager.plasma6.enable = true;`. Plasma 5 will likely be deprecated in the next release (24.11). Note that Plasma 6 runs as Wayland by default, and the X11 session needs to be explicitly selected if necessary.
## New Services {#sec-release-24.05-new-services} ## New Services {#sec-release-24.05-new-services}

View file

@ -38,6 +38,15 @@
for `stateVersion` ≥ 24.11. (It was previously using SQLite for structured for `stateVersion` ≥ 24.11. (It was previously using SQLite for structured
data and the filesystem for blobs). data and the filesystem for blobs).
- The `portunus` package and service do not support weak password hashes anymore.
If you installed Portunus on NixOS 23.11 or earlier, upgrade to NixOS 24.05 first to get support for strong password hashing.
Then, follow the instructions on the [upstream release notes](https://github.com/majewsky/portunus/releases/tag/v2.0.0) to upgrade all existing user accounts to strong password hashes.
If you need to upgrade to 24.11 without having completed the migration, consider the security implications of weak password hashes on your user accounts, and add the following to your configuration:
```nix
services.portunus.package = pkgs.portunus.override { libxcrypt = pkgs.libxcrypt-legacy; };
services.portunus.ldap.package = pkgs.openldap.override { libxcrypt = pkgs.libxcrypt-legacy; };
```
## Other Notable Changes {#sec-release-24.11-notable-changes} ## Other Notable Changes {#sec-release-24.11-notable-changes}
<!-- To avoid merge conflicts, consider adding your item at an arbitrary place in the list instead. --> <!-- To avoid merge conflicts, consider adding your item at an arbitrary place in the list instead. -->

View file

@ -71,9 +71,8 @@ in {
''; '';
zfsBuilder = import ../../../lib/make-multi-disk-zfs-image.nix { zfsBuilder = import ../../../lib/make-multi-disk-zfs-image.nix {
inherit lib config configFile; inherit lib config configFile pkgs;
inherit (cfg) contents format name; inherit (cfg) contents format name;
pkgs = import ../../../.. { inherit (pkgs) system; }; # ensure we use the regular qemu-kvm package
includeChannel = true; includeChannel = true;
@ -120,10 +119,9 @@ in {
}; };
extBuilder = import ../../../lib/make-disk-image.nix { extBuilder = import ../../../lib/make-disk-image.nix {
inherit lib config configFile; inherit lib config configFile pkgs;
inherit (cfg) contents format name; inherit (cfg) contents format name;
pkgs = import ../../../.. { inherit (pkgs) system; }; # ensure we use the regular qemu-kvm package
fsType = "ext4"; fsType = "ext4";
partitionTableType = if config.ec2.efi then "efi" else "legacy+gpt"; partitionTableType = if config.ec2.efi then "efi" else "legacy+gpt";

View file

@ -13,7 +13,7 @@ let
} // optionalAttrs (p.description != null) { } // optionalAttrs (p.description != null) {
D = p.description; D = p.description;
} // optionalAttrs (p.ppdOptions != {}) { } // optionalAttrs (p.ppdOptions != {}) {
o = mapAttrsToList (name: value: "'${name}'='${value}'") p.ppdOptions; o = mapAttrsToList (name: value: "${name}=${value}") p.ppdOptions;
}); });
in '' in ''
${pkgs.cups}/bin/lpadmin ${args} -E ${pkgs.cups}/bin/lpadmin ${args} -E

View file

@ -285,7 +285,7 @@ in
KERNEL=="nvidia_uvm", RUN+="${pkgs.runtimeShell} -c 'mknod -m 666 /dev/nvidia-uvm-tools c $$(grep nvidia-uvm /proc/devices | cut -d \ -f 1) 1'" KERNEL=="nvidia_uvm", RUN+="${pkgs.runtimeShell} -c 'mknod -m 666 /dev/nvidia-uvm-tools c $$(grep nvidia-uvm /proc/devices | cut -d \ -f 1) 1'"
''; '';
hardware.opengl = { hardware.opengl = {
extraPackages = [ nvidia_x11.out nvidia_x11.settings.libXNVCtrl ]; extraPackages = [ nvidia_x11.out ] ++ (lib.optional (builtins.hasAttr "libXNVCtrl" nvidia_x11.settings) nvidia_x11.settings.libXNVCtrl);
extraPackages32 = [ nvidia_x11.lib32 ]; extraPackages32 = [ nvidia_x11.lib32 ];
}; };
environment.systemPackages = [ nvidia_x11.bin ]; environment.systemPackages = [ nvidia_x11.bin ];

View file

@ -6,8 +6,7 @@ let
cfg = config.services.emacs; cfg = config.services.emacs;
editorScript = pkgs.writeScriptBin "emacseditor" '' editorScript = pkgs.writeShellScriptBin "emacseditor" ''
#!${pkgs.runtimeShell}
if [ -z "$1" ]; then if [ -z "$1" ]; then
exec ${cfg.package}/bin/emacsclient --create-frame --alternate-editor ${cfg.package}/bin/emacs exec ${cfg.package}/bin/emacsclient --create-frame --alternate-editor ${cfg.package}/bin/emacs
else else
@ -70,8 +69,8 @@ in
description = "Emacs: the extensible, self-documenting text editor"; description = "Emacs: the extensible, self-documenting text editor";
serviceConfig = { serviceConfig = {
Type = "forking"; Type = "notify";
ExecStart = "${pkgs.bash}/bin/bash -c 'source ${config.system.build.setEnvironment}; exec ${cfg.package}/bin/emacs --daemon'"; ExecStart = "${pkgs.runtimeShell} -c 'source ${config.system.build.setEnvironment}; exec ${cfg.package}/bin/emacs --fg-daemon'";
ExecStop = "${cfg.package}/bin/emacsclient --eval (kill-emacs)"; ExecStop = "${cfg.package}/bin/emacsclient --eval (kill-emacs)";
Restart = "always"; Restart = "always";
}; };

View file

@ -11,7 +11,7 @@ in {
meta.maintainers = [lib.maintainers.sils]; meta.maintainers = [lib.maintainers.sils];
options.services.invidious-router = { options.services.invidious-router = {
enable = lib.mkEnableOption "Enables the invidious-router service"; enable = lib.mkEnableOption "the invidious-router service";
port = lib.mkOption { port = lib.mkOption {
type = lib.types.port; type = lib.types.port;
default = 8050; default = 8050;

View file

@ -115,10 +115,7 @@ in
ldap = { ldap = {
package = mkOption { package = mkOption {
type = types.package; type = types.package;
# needs openldap built with a libxcrypt that support crypt sha256 until users have had time to migrate to newer hashes default = pkgs.openldap;
# Ref: <https://github.com/majewsky/portunus/issues/2>
# TODO: remove in NixOS 24.11 (cf. same note on pkgs/servers/portunus/default.nix)
default = pkgs.openldap.override { libxcrypt = pkgs.libxcrypt-legacy; };
defaultText = lib.literalExpression "pkgs.openldap.override { libxcrypt = pkgs.libxcrypt-legacy; }"; defaultText = lib.literalExpression "pkgs.openldap.override { libxcrypt = pkgs.libxcrypt-legacy; }";
description = "The OpenLDAP package to use."; description = "The OpenLDAP package to use.";
}; };

View file

@ -140,7 +140,7 @@ in {
{ {
assertion = cfg.settings != null assertion = cfg.settings != null
-> !(hasAttrByPath [ "bind_port" ] cfg.settings); -> !(hasAttrByPath [ "bind_port" ] cfg.settings);
message = "AdGuard option `settings.bind_host' has been superseded by `services.adguardhome.port'"; message = "AdGuard option `settings.bind_port' has been superseded by `services.adguardhome.port'";
} }
{ {
assertion = settings != null -> cfg.mutableSettings assertion = settings != null -> cfg.mutableSettings

View file

@ -27,6 +27,8 @@ in
''; '';
}; };
package = mkPackageOption pkgs "git" { };
basePath = mkOption { basePath = mkOption {
type = types.str; type = types.str;
default = ""; default = "";
@ -119,7 +121,7 @@ in
systemd.services.git-daemon = { systemd.services.git-daemon = {
after = [ "network.target" ]; after = [ "network.target" ];
wantedBy = [ "multi-user.target" ]; wantedBy = [ "multi-user.target" ];
script = "${pkgs.git}/bin/git daemon --reuseaddr " script = "${getExe cfg.package} daemon --reuseaddr "
+ (optionalString (cfg.basePath != "") "--base-path=${cfg.basePath} ") + (optionalString (cfg.basePath != "") "--base-path=${cfg.basePath} ")
+ (optionalString (cfg.listenAddress != "") "--listen=${cfg.listenAddress} ") + (optionalString (cfg.listenAddress != "") "--listen=${cfg.listenAddress} ")
+ "--port=${toString cfg.port} --user=${cfg.user} --group=${cfg.group} ${cfg.options} " + "--port=${toString cfg.port} --user=${cfg.user} --group=${cfg.group} ${cfg.options} "

View file

@ -119,7 +119,7 @@ let
-o ${escapeShellArg cfg.user } \ -o ${escapeShellArg cfg.user } \
-g ${escapeShellArg cfg.group} \ -g ${escapeShellArg cfg.group} \
<(hexdump -n 16 -e '"%02x"' /dev/urandom) \ <(hexdump -n 16 -e '"%02x"' /dev/urandom) \
"$RUNTIME_DIRECTORY/cookie" "''${RUNTIME_DIRECTORY%%:*}/cookie"
''; '';
}; };
@ -131,7 +131,7 @@ let
-o ${escapeShellArg cfg.user} \ -o ${escapeShellArg cfg.user} \
-g ${escapeShellArg cfg.group} \ -g ${escapeShellArg cfg.group} \
${escapeShellArg cfg.dist.cookie._secret} \ ${escapeShellArg cfg.dist.cookie._secret} \
"$RUNTIME_DIRECTORY/cookie" "''${RUNTIME_DIRECTORY%%:*}/cookie"
''; '';
}; };
@ -181,7 +181,7 @@ let
name = "akkoma-config"; name = "akkoma-config";
runtimeInputs = with pkgs; [ coreutils replace-secret ]; runtimeInputs = with pkgs; [ coreutils replace-secret ];
text = '' text = ''
cd "$RUNTIME_DIRECTORY" cd "''${RUNTIME_DIRECTORY%%:*}"
tmp="$(mktemp config.exs.XXXXXXXXXX)" tmp="$(mktemp config.exs.XXXXXXXXXX)"
trap 'rm -f "$tmp"' EXIT TERM trap 'rm -f "$tmp"' EXIT TERM
@ -279,7 +279,7 @@ let
cd "${cfg.package}" cd "${cfg.package}"
RUNTIME_DIRECTORY="''${RUNTIME_DIRECTORY:-/run/akkoma}" RUNTIME_DIRECTORY="''${RUNTIME_DIRECTORY:-/run/akkoma}"
AKKOMA_CONFIG_PATH="$RUNTIME_DIRECTORY/config.exs" \ AKKOMA_CONFIG_PATH="''${RUNTIME_DIRECTORY%%:*}/config.exs" \
ERL_EPMD_ADDRESS="${cfg.dist.address}" \ ERL_EPMD_ADDRESS="${cfg.dist.address}" \
ERL_EPMD_PORT="${toString cfg.dist.epmdPort}" \ ERL_EPMD_PORT="${toString cfg.dist.epmdPort}" \
ERL_FLAGS=${lib.escapeShellArg (lib.escapeShellArgs ([ ERL_FLAGS=${lib.escapeShellArg (lib.escapeShellArgs ([
@ -287,7 +287,7 @@ let
"-kernel" "inet_dist_listen_min" (toString cfg.dist.portMin) "-kernel" "inet_dist_listen_min" (toString cfg.dist.portMin)
"-kernel" "inet_dist_listen_max" (toString cfg.dist.portMax) "-kernel" "inet_dist_listen_max" (toString cfg.dist.portMax)
] ++ cfg.dist.extraFlags))} \ ] ++ cfg.dist.extraFlags))} \
RELEASE_COOKIE="$(<"$RUNTIME_DIRECTORY/cookie")" \ RELEASE_COOKIE="$(<"''${RUNTIME_DIRECTORY%%:*}/cookie")" \
RELEASE_NAME="akkoma" \ RELEASE_NAME="akkoma" \
exec "${cfg.package}/bin/$(basename "$0")" "$@" exec "${cfg.package}/bin/$(basename "$0")" "$@"
''; '';
@ -984,7 +984,7 @@ in {
RemainAfterExit = true; RemainAfterExit = true;
UMask = "0077"; UMask = "0077";
RuntimeDirectory = "akkoma"; RuntimeDirectory = mkBefore "akkoma";
ExecStart = mkMerge [ ExecStart = mkMerge [
(mkIf (cfg.dist.cookie == null) [ genScript ]) (mkIf (cfg.dist.cookie == null) [ genScript ])
@ -1072,7 +1072,7 @@ in {
ProtectProc = "noaccess"; ProtectProc = "noaccess";
ProcSubset = "pid"; ProcSubset = "pid";
ProtectSystem = mkIf (!isConfined) "strict"; ProtectSystem = "strict";
ProtectHome = true; ProtectHome = true;
PrivateTmp = true; PrivateTmp = true;
PrivateDevices = true; PrivateDevices = true;

View file

@ -90,7 +90,7 @@ in
export DATABASE_PASSWORD="$(<"${cfg.dbpassFile}")" export DATABASE_PASSWORD="$(<"${cfg.dbpassFile}")"
'' + '' '' + ''
export DATABASE_URL="${dbUrl}" export DATABASE_URL="${dbUrl}"
${cfg.package}/bin/notify_push '${cfgN.datadir}/config/config.php' exec ${cfg.package}/bin/notify_push '${cfgN.datadir}/config/config.php'
''; '';
serviceConfig = { serviceConfig = {
User = "nextcloud"; User = "nextcloud";
@ -98,6 +98,7 @@ in
RuntimeDirectory = [ "nextcloud-notify_push" ]; RuntimeDirectory = [ "nextcloud-notify_push" ];
Restart = "on-failure"; Restart = "on-failure";
RestartSec = "5s"; RestartSec = "5s";
Type = "notify";
}; };
}; };

View file

@ -84,7 +84,6 @@ in
# "limits" defined below are adopted from upstream: https://github.com/containerd/containerd/blob/master/containerd.service # "limits" defined below are adopted from upstream: https://github.com/containerd/containerd/blob/master/containerd.service
LimitNPROC = "infinity"; LimitNPROC = "infinity";
LimitCORE = "infinity"; LimitCORE = "infinity";
LimitNOFILE = "infinity";
TasksMax = "infinity"; TasksMax = "infinity";
OOMScoreAdjust = "-999"; OOMScoreAdjust = "-999";

View file

@ -16,7 +16,7 @@ with lib;
}; };
scsihw = mkOption { scsihw = mkOption {
type = types.str; type = types.str;
default = "virtio-scsi-pci"; default = "virtio-scsi-single";
example = "lsi"; example = "lsi";
description = '' description = ''
SCSI controller type. Must be one of the supported values given in SCSI controller type. Must be one of the supported values given in
@ -158,6 +158,31 @@ with lib;
any specific VMID. any specific VMID.
''; '';
}; };
cloudInit = {
enable = mkOption {
type = types.bool;
default = true;
description = ''
Whether the VM should accept cloud init configurations from PVE.
'';
};
defaultStorage = mkOption {
default = "local-lvm";
example = "tank";
type = types.str;
description = ''
Default storage name for cloud init drive.
'';
};
device = mkOption {
default = "ide2";
example = "scsi0";
type = types.str;
description = ''
Bus/device to which the cloud init drive is attached.
'';
};
};
}; };
config = let config = let
@ -216,37 +241,21 @@ with lib;
seccompSupport = false; seccompSupport = false;
guestAgentSupport = false; guestAgentSupport = false;
}).overrideAttrs ( super: rec { }).overrideAttrs ( super: rec {
# Check https://github.com/proxmox/pve-qemu/tree/master for the version
version = "7.2.1"; # of qemu and patch to use
version = "8.1.5";
src = pkgs.fetchurl { src = pkgs.fetchurl {
url = "https://download.qemu.org/qemu-${version}.tar.xz"; url = "https://download.qemu.org/qemu-${version}.tar.xz";
sha256 = "sha256-jIVpms+dekOl/immTN1WNwsMLRrQdLr3CYqCTReq1zs="; hash = "sha256-l2Ox7+xP1JeWtQgNCINRLXDLY4nq1lxmHMNoalIjKJY=";
}; };
patches = [ patches = [
# Proxmox' VMA tool is published as a particular patch upon QEMU # Proxmox' VMA tool is published as a particular patch upon QEMU
(pkgs.fetchpatch { "${pkgs.fetchFromGitHub {
url = owner = "proxmox";
let repo = "pve-qemu";
rev = "abb04bb6272c1202ca9face0827917552b9d06f6"; rev = "71dd2d48f9122e60e4c0a8480122a27aab15dc70";
path = "debian/patches/pve/0027-PVE-Backup-add-vma-backup-format-code.patch"; hash = "sha256-Q8AxNv4geDdlbVIWphRO5P3ESo0SGgvUpVPmPJzubJM=";
in "https://git.proxmox.com/?p=pve-qemu.git;a=blob_plain;hb=${rev};f=${path}"; }}/debian/patches/pve/0027-PVE-Backup-add-vma-backup-format-code.patch"
hash = "sha256-3d0HHdvaExCry6zcULnziYnWIAnn24vECkI4sjj2BMg=";
})
# Proxmox' VMA tool uses O_DIRECT which fails on tmpfs
# Filed to upstream issue tracker: https://bugzilla.proxmox.com/show_bug.cgi?id=4710
(pkgs.writeText "inline.patch" ''
--- a/vma-writer.c 2023-05-01 15:11:13.361341177 +0200
+++ b/vma-writer.c 2023-05-01 15:10:51.785293129 +0200
@@ -306,7 +306,7 @@
/* try to use O_NONBLOCK */
fcntl(vmaw->fd, F_SETFL, fcntl(vmaw->fd, F_GETFL)|O_NONBLOCK);
} else {
- oflags = O_NONBLOCK|O_DIRECT|O_WRONLY|O_EXCL;
+ oflags = O_NONBLOCK|O_WRONLY|O_EXCL;
vmaw->fd = qemu_create(filename, oflags, 0644, errp);
}
'')
]; ];
buildInputs = super.buildInputs ++ [ pkgs.libuuid ]; buildInputs = super.buildInputs ++ [ pkgs.libuuid ];
@ -262,7 +271,7 @@ with lib;
mv "vzdump-qemu-${cfg.filenameSuffix}.vma.zst" $out/ mv "vzdump-qemu-${cfg.filenameSuffix}.vma.zst" $out/
mkdir -p $out/nix-support mkdir -p $out/nix-support
echo "file vma $out/vzdump-qemu-${cfg.filenameSuffix}.vma.zst" >> $out/nix-support/hydra-build-products echo "file vma $out/vzdump-qemu-${cfg.filenameSuffix}.vma.zst" > $out/nix-support/hydra-build-products
''; '';
inherit (cfg.qemuConf) additionalSpace diskSize bootSize; inherit (cfg.qemuConf) additionalSpace diskSize bootSize;
format = "raw"; format = "raw";
@ -298,6 +307,20 @@ with lib;
fsType = "vfat"; fsType = "vfat";
}; };
services.qemuGuest.enable = lib.mkDefault true; networking = mkIf cfg.cloudInit.enable {
hostName = mkForce "";
useDHCP = false;
};
services = {
cloud-init = mkIf cfg.cloudInit.enable {
enable = true;
network.enable = true;
};
sshd.enable = mkDefault true;
qemuGuest.enable = true;
};
proxmox.qemuExtraConf.${cfg.cloudInit.device} = "${cfg.cloudInit.defaultStorage}:vm-9999-cloudinit,media=cdrom";
}; };
} }

View file

@ -55,6 +55,8 @@ with lib;
loader.initScript.enable = true; loader.initScript.enable = true;
}; };
console.enable = true;
networking = mkIf (!cfg.manageNetwork) { networking = mkIf (!cfg.manageNetwork) {
useDHCP = false; useDHCP = false;
useHostResolvConf = false; useHostResolvConf = false;
@ -68,8 +70,13 @@ with lib;
startWhenNeeded = mkDefault true; startWhenNeeded = mkDefault true;
}; };
systemd.mounts = mkIf (!cfg.privileged) systemd = {
[{ where = "/sys/kernel/debug"; enable = false; }]; mounts = mkIf (!cfg.privileged) [{
enable = false;
where = "/sys/kernel/debug";
}];
services."getty@".unitConfig.ConditionPathExists = [ "" "/dev/%I" ];
};
}; };
} }

View file

@ -24,12 +24,10 @@ in
engine = "redis"; engine = "redis";
# Connect to local Redis shard via Unix socket. # Connect to local Redis shard via Unix socket.
redis_address = redis_address =
let let toRedisAddresses = map (name: "${name}:${toString redisPort}"); in
otherNodes = lib.take index nodes ++ lib.drop (index + 1) nodes; toRedisAddresses (lib.take index nodes) ++ [
in
map (name: "${name}:${toString redisPort}") otherNodes ++ [
"unix://${config.services.redis.servers.centrifugo.unixSocket}" "unix://${config.services.redis.servers.centrifugo.unixSocket}"
]; ] ++ toRedisAddresses (lib.drop (index + 1) nodes);
usage_stats_disable = true; usage_stats_disable = true;
api_insecure = true; api_insecure = true;
}; };

View file

@ -2,11 +2,11 @@
appimageTools.wrapType2 rec { appimageTools.wrapType2 rec {
pname = "cider"; pname = "cider";
version = "1.6.2"; version = "1.6.3";
src = fetchurl { src = fetchurl {
url = "https://github.com/ciderapp/Cider/releases/download/v${version}/Cider-${version}.AppImage"; url = "https://github.com/ciderapp/Cider/releases/download/v${version}/Cider-${version}.AppImage";
sha256 = "sha256-43QmTnFp8raEyZO5NK/UlRM8Ykd0y4iaYlL3MpROmsk="; sha256 = "sha256-NwoV1eeAN0u9VXWpu5mANXhmgqe8u3h7BlsREP1f/pI=";
}; };
extraInstallCommands = extraInstallCommands =

View file

@ -28,13 +28,13 @@ let
in in
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "reaper"; pname = "reaper";
version = "7.15"; version = "7.16";
src = fetchurl { src = fetchurl {
url = url_for_platform version stdenv.hostPlatform.qemuArch; url = url_for_platform version stdenv.hostPlatform.qemuArch;
hash = if stdenv.isDarwin then "sha256-7tWgbHIkARgsPi0buvbQb4qTqndyPwRRqut1Gj4WNZE=" else { hash = if stdenv.isDarwin then "sha256-UMliD9tk8VDpeQ4tBC31peemv7HAKHW0xtqoSkzYG4Y=" else {
x86_64-linux = "sha256-O1xh+DKwPKTcQrNhWMX5ErKa1hXq0yeyt/XJMQav11c="; x86_64-linux = "sha256-sK0GVK29SGkLBILeWcFjcvQ956NCPb1HvqmXLeLbgP8=";
aarch64-linux = "sha256-rQE8Aa+iFWpA18udCXm4JW8BPTEDeEQAupy353Sbcl8="; aarch64-linux = "sha256-mJ/UtrWaPq3Oar8rMvRFm8iafK1I7bL42deIQyiHVMk=";
}.${stdenv.hostPlatform.system}; }.${stdenv.hostPlatform.system};
}; };

View file

@ -7,16 +7,16 @@
buildGoModule rec { buildGoModule rec {
pname = "lnd"; pname = "lnd";
version = "0.17.5-beta"; version = "0.18.0-beta";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "lightningnetwork"; owner = "lightningnetwork";
repo = "lnd"; repo = "lnd";
rev = "v${version}"; rev = "v${version}";
hash = "sha256-q/mzF6LPW/ThgqfGgjtax8GvoC3JEpg0IetfSTo1XYk="; hash = "sha256-LkVlsmL/NjWtKUnerqTiT/jNfxazYw0B0GhBDCTGmao=";
}; };
vendorHash = "sha256-unT0zJrOEmKHpoUsrBHKfn5IziGlaqEtMfkeo/74Rfc="; vendorHash = "sha256-T7jPuhAEeQ0U43J9gTQ+0/BdLAn4BOupAkmmmofhHtY=";
subPackages = [ "cmd/lncli" "cmd/lnd" ]; subPackages = [ "cmd/lncli" "cmd/lnd" ];

View file

@ -8,7 +8,7 @@
let let
pname = "trezor-suite"; pname = "trezor-suite";
version = "24.5.2"; version = "24.5.3";
name = "${pname}-${version}"; name = "${pname}-${version}";
suffix = { suffix = {
@ -20,7 +20,7 @@ let
url = "https://github.com/trezor/${pname}/releases/download/v${version}/Trezor-Suite-${version}-${suffix}.AppImage"; url = "https://github.com/trezor/${pname}/releases/download/v${version}/Trezor-Suite-${version}-${suffix}.AppImage";
hash = { # curl -Lfs https://github.com/trezor/trezor-suite/releases/latest/download/latest-linux{-arm64,}.yml | grep ^sha512 | sed 's/: /-/' hash = { # curl -Lfs https://github.com/trezor/trezor-suite/releases/latest/download/latest-linux{-arm64,}.yml | grep ^sha512 | sed 's/: /-/'
aarch64-linux = "sha512-U3Az5MtsHup+aNO6lVHeAXRAnNLUbQkL5qMTpYZTaLgiZEFQCUigBJXNPaiUiHA1rJAsFh6wpv20iRMcqRr9gA=="; aarch64-linux = "sha512-U3Az5MtsHup+aNO6lVHeAXRAnNLUbQkL5qMTpYZTaLgiZEFQCUigBJXNPaiUiHA1rJAsFh6wpv20iRMcqRr9gA==";
x86_64-linux = "sha512-9Gz0T9/GpTEzZDNk8tV7dg4QvQIB4IoEcOLIjrig6kmlaUoPwwoWFuJP0BH5WW2AhOZ+CEWBP6zFD7uw6VVDnA=="; x86_64-linux = "sha512-JgcnCiq/ozrYDMH7zIns5c6x7TwtpJ6VVg6PUkcoDDgmr9ngIJmAdb+/v9mJUv98WNAPKmhCt0/H9DY2qWJ2Bg==";
}.${stdenv.hostPlatform.system} or (throw "Unsupported system: ${stdenv.hostPlatform.system}"); }.${stdenv.hostPlatform.system} or (throw "Unsupported system: ${stdenv.hostPlatform.system}");
}; };

View file

@ -25,11 +25,11 @@ let
in in
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "wasabiwallet"; pname = "wasabiwallet";
version = "2.0.7.2"; version = "2.0.8";
src = fetchurl { src = fetchurl {
url = "https://github.com/zkSNACKs/WalletWasabi/releases/download/v${version}/Wasabi-${version}.tar.gz"; url = "https://github.com/zkSNACKs/WalletWasabi/releases/download/v${version}/Wasabi-${version}.tar.gz";
sha256 = "sha256-s/rzjlPsOylbuQx7gDnctvl1tms95RqErk0vVlzhouw="; sha256 = "sha256-9iNaEvTHvmE4DEh/5jHEOJuTnr2yAZSRR/L/v0ZUZDk=";
}; };
dontBuild = true; dontBuild = true;

View file

@ -35,6 +35,8 @@ in
emacs-conflict = callPackage ./manual-packages/emacs-conflict { }; emacs-conflict = callPackage ./manual-packages/emacs-conflict { };
enlight = callPackage ./manual-packages/enlight { };
ess-R-object-popup = callPackage ./manual-packages/ess-R-object-popup { }; ess-R-object-popup = callPackage ./manual-packages/ess-R-object-popup { };
evil-markdown = callPackage ./manual-packages/evil-markdown { }; evil-markdown = callPackage ./manual-packages/evil-markdown { };
@ -45,6 +47,8 @@ in
git-undo = callPackage ./manual-packages/git-undo { }; git-undo = callPackage ./manual-packages/git-undo { };
grid = callPackage ./manual-packages/grid { };
haskell-unicode-input-method = callPackage ./manual-packages/haskell-unicode-input-method { }; haskell-unicode-input-method = callPackage ./manual-packages/haskell-unicode-input-method { };
helm-words = callPackage ./manual-packages/helm-words { }; helm-words = callPackage ./manual-packages/helm-words { };

View file

@ -2,22 +2,22 @@
, melpaBuild , melpaBuild
, fetchFromGitHub , fetchFromGitHub
, writeText , writeText
, unstableGitUpdater , writeScript
, gzip , gzip
}: }:
let let
rev = "de68851724072c6695e675f090b33a8abec040c9"; rev = "13c9fa22155066acfb5a2e444fe76245738e7fb7";
in in
melpaBuild { melpaBuild {
pname = "edraw"; pname = "edraw";
version = "1.1.0"; version = "20240529.1009";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "misohena"; owner = "misohena";
repo = "el-easydraw"; repo = "el-easydraw";
inherit rev; inherit rev;
hash = "sha256-l9i+HCRKnKiDqID+bfAOPE7LpVBZp1AOPkceX8KbDXM="; hash = "sha256-h2auwVIWjrOBPHPCuLdJv5y3FpoV4V+MEOPf4xprfYg=";
}; };
commit = rev; commit = rev;
@ -33,7 +33,19 @@ melpaBuild {
"msg")) "msg"))
''; '';
passthru.updateScript = unstableGitUpdater { }; passthru.updateScript = writeScript "update.sh" ''
#!/usr/bin/env nix-shell
#!nix-shell -i bash -p common-updater-scripts coreutils git gnused
set -eu -o pipefail
tmpdir="$(mktemp -d)"
git clone --depth=1 https://github.com/misohena/el-easydraw.git "$tmpdir"
pushd "$tmpdir"
commit=$(git show -s --pretty='format:%H')
# Based on: https://github.com/melpa/melpa/blob/2d8716906a0c9e18d6c979d8450bf1d15dd785eb/package-build/package-build.el#L523-L533
version=$(TZ=UTC git show -s --pretty='format:%cd' --date='format-local:%Y%m%d.%H%M' | sed 's|\.0*|.|')
popd
update-source-version emacsPackages.el-easydraw $version --rev="$commit"
'';
meta = { meta = {
homepage = "https://github.com/misohena/el-easydraw"; homepage = "https://github.com/misohena/el-easydraw";

View file

@ -0,0 +1,27 @@
{
lib,
compat,
fetchFromGitHub,
melpaBuild,
}:
melpaBuild {
pname = "enlight";
version = "20240601.1150";
src = fetchFromGitHub {
owner = "ichernyshovvv";
repo = "enlight";
rev = "76753736da1777c8f9ebbeb08beec15b330a5878";
hash = "sha256-Ccfv4Ud5B4L4FfIOI2PDKikV9x8x3a7VeHYDyLV7t4g=";
};
packageRequires = [ compat ];
meta = {
homepage = "https://github.com/ichernyshovvv/enlight";
description = "Highly customizable startup screen for Emacs";
license = lib.licenses.gpl3Plus;
maintainers = with lib.maintainers; [ AndersonTorres ];
};
}

View file

@ -0,0 +1,24 @@
{
lib,
fetchFromGitHub,
melpaBuild,
}:
melpaBuild {
pname = "grid";
version = "20240526.1305";
src = fetchFromGitHub {
owner = "ichernyshovvv";
repo = "grid.el";
rev = "564eccf4e009955f1a6c268382d00e157d4eb302";
hash = "sha256-3QDw4W3FbFvb2zpkDHAo9BJKxs3LaehyvUVJPKqS9RE=";
};
meta = {
homepage = "https://github.com/ichernyshovvv/grid.el";
description = "A library to put text data into boxes and manipulate them";
license = lib.licenses.gpl3Plus;
maintainers = with lib.maintainers; [ AndersonTorres ];
};
}

View file

@ -63,8 +63,7 @@ let
ids); ids);
in in {
rec {
# Only use if you know what youre doing # Only use if you know what youre doing
raw = { inherit files byId byName; }; raw = { inherit files byId byName; };
@ -96,14 +95,10 @@ rec {
inherit (ide) meta; inherit (ide) meta;
buildPhase = buildPhase = ''
let
pluginCmdsLines = map (plugin: "ln -s ${plugin} \"$out\"/${meta.mainProgram}/plugins/${baseNameOf plugin}") plugins;
pluginCmds = builtins.concatStringsSep "\n" pluginCmdsLines;
in
''
cp -r ${ide} $out cp -r ${ide} $out
chmod +w -R $out chmod +w -R $out
rm -f $out/${meta.mainProgram}/plugins/plugin-classpath.txt
IFS=' ' read -ra pluginArray <<< "$newPlugins" IFS=' ' read -ra pluginArray <<< "$newPlugins"
for plugin in "''${pluginArray[@]}" for plugin in "''${pluginArray[@]}"
do do

View file

@ -100,7 +100,7 @@ let
sourceRoot = "source/native/fsNotifier/linux"; sourceRoot = "source/native/fsNotifier/linux";
buildPhase = '' buildPhase = ''
runHook preBuild runHook preBuild
cc -O2 -Wall -Wextra -Wpedantic -D "VERSION=\"${buildVer}\"" -std=c11 main.c inotify.c util.c -o fsnotifier $CC -O2 -Wall -Wextra -Wpedantic -D "VERSION=\"${buildVer}\"" -std=c11 main.c inotify.c util.c -o fsnotifier
runHook postBuild runHook postBuild
''; '';
installPhase = '' installPhase = ''

View file

@ -5,13 +5,13 @@
stdenv.mkDerivation (finalAttrs: { stdenv.mkDerivation (finalAttrs: {
pname = "texstudio"; pname = "texstudio";
version = "4.7.3"; version = "4.8.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "texstudio-org"; owner = "texstudio-org";
repo = "texstudio"; repo = "texstudio";
rev = finalAttrs.version; rev = finalAttrs.version;
hash = "sha256-hAuNjlFr23l5ztfoa2RTHKZtH2aXF1EuWTd/ZyKuyHg="; hash = "sha256-oPC0HJgBWCAGZ1pVTiHyDO3NQ3u/+1fA2KrxuBCB+IY=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [

View file

@ -109,7 +109,7 @@ checksum = "c980ee35e870bd1a4d2c8294d4c04d0499e67bca1e4b5cefcc693c2fa00caea9"
dependencies = [ dependencies = [
"proc-macro2", "proc-macro2",
"quote", "quote",
"syn 2.0.52", "syn",
] ]
[[package]] [[package]]
@ -126,7 +126,7 @@ checksum = "3a6c9af12842a67734c9a2e355436e5d03b22383ed60cf13cd0c18fbfe3dcbcf"
dependencies = [ dependencies = [
"async-trait", "async-trait",
"axum-core", "axum-core",
"base64 0.21.7", "base64",
"bytes", "bytes",
"futures-util", "futures-util",
"http 1.1.0", "http 1.1.0",
@ -214,12 +214,6 @@ dependencies = [
"rustc-demangle", "rustc-demangle",
] ]
[[package]]
name = "base64"
version = "0.13.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9e1b586273c5702936fe7b7d6896644d8be71e6314cfe09d3167c95f712589e8"
[[package]] [[package]]
name = "base64" name = "base64"
version = "0.21.7" version = "0.21.7"
@ -324,7 +318,7 @@ checksum = "031718ddb8f78aa5def78a09e90defe30151d1f6c672f937af4dd916429ed996"
dependencies = [ dependencies = [
"semver", "semver",
"serde", "serde",
"toml", "toml 0.5.11",
"url", "url",
] ]
@ -461,7 +455,7 @@ dependencies = [
"heck", "heck",
"proc-macro2", "proc-macro2",
"quote", "quote",
"syn 2.0.52", "syn",
] ]
[[package]] [[package]]
@ -472,7 +466,7 @@ checksum = "98cc8fbded0c607b7ba9dd60cd98df59af97e84d24e49c8557331cfc26d301ce"
[[package]] [[package]]
name = "cli" name = "cli"
version = "0.1.53" version = "0.1.54"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"clap", "clap",
@ -509,7 +503,7 @@ dependencies = [
[[package]] [[package]]
name = "code_tools" name = "code_tools"
version = "0.1.53" version = "0.1.54"
dependencies = [ dependencies = [
"cargo_metadata", "cargo_metadata",
"maple_config", "maple_config",
@ -520,7 +514,7 @@ dependencies = [
"serde", "serde",
"serde_json", "serde_json",
"tokio", "tokio",
"toml", "toml 0.8.12",
"tracing", "tracing",
"which", "which",
] ]
@ -713,7 +707,7 @@ dependencies = [
"proc-macro2", "proc-macro2",
"quote", "quote",
"strsim 0.10.0", "strsim 0.10.0",
"syn 2.0.52", "syn",
] ]
[[package]] [[package]]
@ -724,7 +718,7 @@ checksum = "a668eda54683121533a393014d8692171709ff57a7d61f187b6e782719f8933f"
dependencies = [ dependencies = [
"darling_core", "darling_core",
"quote", "quote",
"syn 2.0.52", "syn",
] ]
[[package]] [[package]]
@ -763,7 +757,7 @@ dependencies = [
[[package]] [[package]]
name = "dirs" name = "dirs"
version = "0.1.53" version = "0.1.54"
dependencies = [ dependencies = [
"directories", "directories",
] ]
@ -808,8 +802,8 @@ dependencies = [
"itertools 0.12.1", "itertools 0.12.1",
"maple_config", "maple_config",
"quote", "quote",
"syn 1.0.109", "syn",
"toml", "toml 0.8.12",
"toml_edit", "toml_edit",
] ]
@ -867,11 +861,11 @@ dependencies = [
[[package]] [[package]]
name = "extracted_fzy" name = "extracted_fzy"
version = "0.1.53" version = "0.1.54"
[[package]] [[package]]
name = "filter" name = "filter"
version = "0.1.53" version = "0.1.54"
dependencies = [ dependencies = [
"icon", "icon",
"matcher", "matcher",
@ -966,7 +960,7 @@ checksum = "87750cf4b7a4c0625b1529e4c543c2182106e4dedc60a2a6455e00d212c489ac"
dependencies = [ dependencies = [
"proc-macro2", "proc-macro2",
"quote", "quote",
"syn 2.0.52", "syn",
] ]
[[package]] [[package]]
@ -1173,7 +1167,7 @@ version = "0.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "322106e6bd0cba2d5ead589ddb8150a13d7c4217cf80d7c4f682ca994ccc6aa9" checksum = "322106e6bd0cba2d5ead589ddb8150a13d7c4217cf80d7c4f682ca994ccc6aa9"
dependencies = [ dependencies = [
"base64 0.21.7", "base64",
"bytes", "bytes",
"headers-core", "headers-core",
"http 1.1.0", "http 1.1.0",
@ -1378,7 +1372,7 @@ dependencies = [
[[package]] [[package]]
name = "icon" name = "icon"
version = "0.1.53" version = "0.1.54"
dependencies = [ dependencies = [
"itertools 0.10.5", "itertools 0.10.5",
"pattern", "pattern",
@ -1566,7 +1560,18 @@ checksum = "85c833ca1e66078851dba29046874e38f08b2c883700aa29a03ddd3b23814ee8"
dependencies = [ dependencies = [
"bitflags 2.4.2", "bitflags 2.4.2",
"libc", "libc",
"redox_syscall 0.4.1", "redox_syscall",
]
[[package]]
name = "libredox"
version = "0.0.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3af92c55d7d839293953fcd0fda5ecfe93297cfde6ffbdec13b41d99c0ba6607"
dependencies = [
"bitflags 2.4.2",
"libc",
"redox_syscall",
] ]
[[package]] [[package]]
@ -1669,30 +1674,30 @@ dependencies = [
[[package]] [[package]]
name = "maple_config" name = "maple_config"
version = "0.1.53" version = "0.1.54"
dependencies = [ dependencies = [
"dirs 0.1.53", "dirs 0.1.54",
"once_cell", "once_cell",
"paths", "paths",
"serde", "serde",
"serde_json", "serde_json",
"toml", "toml 0.8.12",
"types", "types",
] ]
[[package]] [[package]]
name = "maple_core" name = "maple_core"
version = "0.1.53" version = "0.1.54"
dependencies = [ dependencies = [
"async-trait", "async-trait",
"base64 0.13.1", "base64",
"chrono", "chrono",
"chrono-humanize", "chrono-humanize",
"clap", "clap",
"code_tools", "code_tools",
"colors-transform", "colors-transform",
"copypasta", "copypasta",
"dirs 0.1.53", "dirs 0.1.54",
"filter", "filter",
"futures", "futures",
"git2 0.15.0", "git2 0.15.0",
@ -1717,12 +1722,12 @@ dependencies = [
"rpc", "rpc",
"serde", "serde",
"serde_json", "serde_json",
"strsim 0.10.0", "strsim 0.11.0",
"sublime_syntax", "sublime_syntax",
"subprocess", "subprocess",
"thiserror", "thiserror",
"tokio", "tokio",
"toml", "toml 0.8.12",
"tracing", "tracing",
"tree_sitter", "tree_sitter",
"types", "types",
@ -1732,7 +1737,7 @@ dependencies = [
[[package]] [[package]]
name = "maple_derive" name = "maple_derive"
version = "0.1.53" version = "0.1.54"
dependencies = [ dependencies = [
"async-trait", "async-trait",
"darling", "darling",
@ -1740,15 +1745,15 @@ dependencies = [
"once_cell", "once_cell",
"proc-macro2", "proc-macro2",
"quote", "quote",
"syn 2.0.52", "syn",
"types", "types",
] ]
[[package]] [[package]]
name = "maple_lsp" name = "maple_lsp"
version = "0.1.53" version = "0.1.54"
dependencies = [ dependencies = [
"dirs 0.1.53", "dirs 0.1.54",
"futures-util", "futures-util",
"lsp-types", "lsp-types",
"parking_lot", "parking_lot",
@ -1758,14 +1763,14 @@ dependencies = [
"serde_json", "serde_json",
"thiserror", "thiserror",
"tokio", "tokio",
"toml", "toml 0.8.12",
"tracing", "tracing",
"which", "which",
] ]
[[package]] [[package]]
name = "maple_markdown" name = "maple_markdown"
version = "0.1.53" version = "0.1.54"
dependencies = [ dependencies = [
"axum", "axum",
"axum-extra", "axum-extra",
@ -1782,7 +1787,7 @@ dependencies = [
[[package]] [[package]]
name = "matcher" name = "matcher"
version = "0.1.53" version = "0.1.54"
dependencies = [ dependencies = [
"code_tools", "code_tools",
"extracted_fzy", "extracted_fzy",
@ -2043,16 +2048,16 @@ checksum = "4c42a9226546d68acdd9c0a280d17ce19bfe27a46bf68784e4066115788d008e"
dependencies = [ dependencies = [
"cfg-if", "cfg-if",
"libc", "libc",
"redox_syscall 0.4.1", "redox_syscall",
"smallvec", "smallvec",
"windows-targets 0.48.5", "windows-targets 0.48.5",
] ]
[[package]] [[package]]
name = "paths" name = "paths"
version = "0.1.53" version = "0.1.54"
dependencies = [ dependencies = [
"dirs 0.1.53", "dirs 0.1.54",
"dunce", "dunce",
"itertools 0.10.5", "itertools 0.10.5",
"serde", "serde",
@ -2061,7 +2066,7 @@ dependencies = [
[[package]] [[package]]
name = "pattern" name = "pattern"
version = "0.1.53" version = "0.1.54"
dependencies = [ dependencies = [
"once_cell", "once_cell",
"regex", "regex",
@ -2090,7 +2095,7 @@ checksum = "2f38a4412a78282e09a2cf38d195ea5420d15ba0602cb375210efbc877243965"
dependencies = [ dependencies = [
"proc-macro2", "proc-macro2",
"quote", "quote",
"syn 2.0.52", "syn",
] ]
[[package]] [[package]]
@ -2117,7 +2122,7 @@ version = "1.6.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e5699cc8a63d1aa2b1ee8e12b9ad70ac790d65788cd36101fa37f87ea46c4cef" checksum = "e5699cc8a63d1aa2b1ee8e12b9ad70ac790d65788cd36101fa37f87ea46c4cef"
dependencies = [ dependencies = [
"base64 0.21.7", "base64",
"indexmap", "indexmap",
"line-wrap", "line-wrap",
"quick-xml", "quick-xml",
@ -2167,7 +2172,7 @@ checksum = "5b40af805b3121feab8a3c29f04d8ad262fa8e0561883e7653e024ae4479e6de"
[[package]] [[package]]
name = "printer" name = "printer"
version = "0.1.53" version = "0.1.54"
dependencies = [ dependencies = [
"filter", "filter",
"icon", "icon",
@ -2283,15 +2288,6 @@ dependencies = [
"crossbeam-utils", "crossbeam-utils",
] ]
[[package]]
name = "redox_syscall"
version = "0.2.16"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "fb5a58c1855b4b6819d59012155603f0b22ad30cad752600aadfcb695265519a"
dependencies = [
"bitflags 1.3.2",
]
[[package]] [[package]]
name = "redox_syscall" name = "redox_syscall"
version = "0.4.1" version = "0.4.1"
@ -2314,7 +2310,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a18479200779601e498ada4e8c1e1f50e3ee19deb0259c25825a98b5603b2cb4" checksum = "a18479200779601e498ada4e8c1e1f50e3ee19deb0259c25825a98b5603b2cb4"
dependencies = [ dependencies = [
"getrandom", "getrandom",
"libredox", "libredox 0.0.1",
"thiserror", "thiserror",
] ]
@ -2368,7 +2364,7 @@ version = "0.11.26"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "78bf93c4af7a8bb7d879d51cebe797356ff10ae8516ace542b5182d9dcac10b2" checksum = "78bf93c4af7a8bb7d879d51cebe797356ff10ae8516ace542b5182d9dcac10b2"
dependencies = [ dependencies = [
"base64 0.21.7", "base64",
"bytes", "bytes",
"encoding_rs", "encoding_rs",
"futures-core", "futures-core",
@ -2426,7 +2422,7 @@ dependencies = [
[[package]] [[package]]
name = "rpc" name = "rpc"
version = "0.1.53" version = "0.1.54"
dependencies = [ dependencies = [
"serde", "serde",
"serde_json", "serde_json",
@ -2472,7 +2468,7 @@ version = "1.0.4"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1c74cae0a4cf6ccbbf5f359f08efdf8ee7e1dc532573bf0db71968cb56b1448c" checksum = "1c74cae0a4cf6ccbbf5f359f08efdf8ee7e1dc532573bf0db71968cb56b1448c"
dependencies = [ dependencies = [
"base64 0.21.7", "base64",
] ]
[[package]] [[package]]
@ -2554,7 +2550,7 @@ checksum = "7eb0b34b42edc17f6b7cac84a52a1c5f0e1bb2227e997ca9011ea3dd34e8610b"
dependencies = [ dependencies = [
"proc-macro2", "proc-macro2",
"quote", "quote",
"syn 2.0.52", "syn",
] ]
[[package]] [[package]]
@ -2586,7 +2582,16 @@ checksum = "0b2e6b945e9d3df726b65d6ee24060aff8e3533d431f677a9695db04eff9dfdb"
dependencies = [ dependencies = [
"proc-macro2", "proc-macro2",
"quote", "quote",
"syn 2.0.52", "syn",
]
[[package]]
name = "serde_spanned"
version = "0.6.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "eb3622f419d1296904700073ea6cc23ad690adbd66f13ea683df73298736f0c1"
dependencies = [
"serde",
] ]
[[package]] [[package]]
@ -2690,7 +2695,7 @@ checksum = "5ee073c9e4cd00e28217186dbe12796d692868f432bf2e97ee73bed0c56dfa01"
[[package]] [[package]]
name = "sublime_syntax" name = "sublime_syntax"
version = "0.1.53" version = "0.1.54"
dependencies = [ dependencies = [
"colors-transform", "colors-transform",
"rgb2ansi256", "rgb2ansi256",
@ -2708,17 +2713,6 @@ dependencies = [
"winapi", "winapi",
] ]
[[package]]
name = "syn"
version = "1.0.109"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "72b64191b275b66ffe2469e8af2c1cfe3bafa67b529ead792a6d0160888b4237"
dependencies = [
"proc-macro2",
"quote",
"unicode-ident",
]
[[package]] [[package]]
name = "syn" name = "syn"
version = "2.0.52" version = "2.0.52"
@ -2787,13 +2781,13 @@ dependencies = [
[[package]] [[package]]
name = "termion" name = "termion"
version = "1.5.6" version = "3.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "077185e2eac69c3f8379a4298e1e07cd36beb962290d4a51199acf0fdc10607e" checksum = "417813675a504dfbbf21bfde32c03e5bf9f2413999962b479023c02848c1c7a5"
dependencies = [ dependencies = [
"libc", "libc",
"libredox 0.0.2",
"numtoa", "numtoa",
"redox_syscall 0.2.16",
"redox_termios", "redox_termios",
] ]
@ -2814,7 +2808,7 @@ checksum = "c61f3ba182994efc43764a46c018c347bc492c79f024e705f46567b418f6d4f7"
dependencies = [ dependencies = [
"proc-macro2", "proc-macro2",
"quote", "quote",
"syn 2.0.52", "syn",
] ]
[[package]] [[package]]
@ -2930,7 +2924,7 @@ checksum = "5b8a1e28f2deaa14e508979454cb3a223b10b938b45af148bc0986de36f1923b"
dependencies = [ dependencies = [
"proc-macro2", "proc-macro2",
"quote", "quote",
"syn 2.0.52", "syn",
] ]
[[package]] [[package]]
@ -2978,19 +2972,36 @@ dependencies = [
"serde", "serde",
] ]
[[package]]
name = "toml"
version = "0.8.12"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e9dd1545e8208b4a5af1aa9bbd0b4cf7e9ea08fabc5d0a5c67fcaafa17433aa3"
dependencies = [
"serde",
"serde_spanned",
"toml_datetime",
"toml_edit",
]
[[package]] [[package]]
name = "toml_datetime" name = "toml_datetime"
version = "0.6.5" version = "0.6.5"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3550f4e9685620ac18a50ed434eb3aec30db8ba93b0287467bca5826ea25baf1" checksum = "3550f4e9685620ac18a50ed434eb3aec30db8ba93b0287467bca5826ea25baf1"
dependencies = [
"serde",
]
[[package]] [[package]]
name = "toml_edit" name = "toml_edit"
version = "0.21.1" version = "0.22.12"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6a8534fd7f78b5405e860340ad6575217ce99f38d4d5c8f2442cb5ecb50090e1" checksum = "d3328d4f68a705b2a4498da1d580585d39a6510f98318a2cec3018a7ec61ddef"
dependencies = [ dependencies = [
"indexmap", "indexmap",
"serde",
"serde_spanned",
"toml_datetime", "toml_datetime",
"winnow", "winnow",
] ]
@ -3055,7 +3066,7 @@ checksum = "34704c8d6ebcbc939824180af020566b01a7c01f80641264eba0999f6c2b6be7"
dependencies = [ dependencies = [
"proc-macro2", "proc-macro2",
"quote", "quote",
"syn 2.0.52", "syn",
] ]
[[package]] [[package]]
@ -3250,14 +3261,14 @@ dependencies = [
[[package]] [[package]]
name = "tree_sitter" name = "tree_sitter"
version = "0.1.53" version = "0.1.54"
dependencies = [ dependencies = [
"cc", "cc",
"criterion", "criterion",
"once_cell", "once_cell",
"rand", "rand",
"serde", "serde",
"toml", "toml 0.8.12",
"tracing", "tracing",
"tree-sitter", "tree-sitter",
"tree-sitter-bash", "tree-sitter-bash",
@ -3309,7 +3320,7 @@ checksum = "42ff0bf0c66b8238c6f3b578df37d0b7848e55df8577b3f74f92a69acceeb825"
[[package]] [[package]]
name = "types" name = "types"
version = "0.1.53" version = "0.1.54"
dependencies = [ dependencies = [
"icon", "icon",
"pattern", "pattern",
@ -3365,7 +3376,7 @@ checksum = "8ecb6da28b8a351d773b68d5825ac39017e680750f980f3a1a85cd8dd28a47c1"
[[package]] [[package]]
name = "upgrade" name = "upgrade"
version = "0.1.53" version = "0.1.54"
dependencies = [ dependencies = [
"indicatif", "indicatif",
"reqwest", "reqwest",
@ -3399,7 +3410,7 @@ checksum = "711b9620af191e0cdc7468a8d14e709c3dcdb115b36f838e601583af800a370a"
[[package]] [[package]]
name = "utils" name = "utils"
version = "0.1.53" version = "0.1.54"
dependencies = [ dependencies = [
"bytecount", "bytecount",
"memchr", "memchr",
@ -3470,7 +3481,7 @@ dependencies = [
"once_cell", "once_cell",
"proc-macro2", "proc-macro2",
"quote", "quote",
"syn 2.0.52", "syn",
"wasm-bindgen-shared", "wasm-bindgen-shared",
] ]
@ -3504,7 +3515,7 @@ checksum = "e94f17b526d0a461a191c78ea52bbce64071ed5c04c9ffe424dcb38f74171bb7"
dependencies = [ dependencies = [
"proc-macro2", "proc-macro2",
"quote", "quote",
"syn 2.0.52", "syn",
"wasm-bindgen-backend", "wasm-bindgen-backend",
"wasm-bindgen-shared", "wasm-bindgen-shared",
] ]
@ -3801,9 +3812,9 @@ checksum = "32b752e52a2da0ddfbdbcc6fceadfeede4c939ed16d13e648833a61dfb611ed8"
[[package]] [[package]]
name = "winnow" name = "winnow"
version = "0.5.40" version = "0.6.7"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f593a95398737aeed53e489c785df13f3618e41dbcd6718c6addbf1395aa6876" checksum = "14b9415ee827af173ebb3f15f9083df5a122eb93572ec28741fb153356ea2578"
dependencies = [ dependencies = [
"memchr", "memchr",
] ]
@ -3868,7 +3879,7 @@ checksum = "7e2c411759b501fb9501aac2b1b2d287a6e93e5bdcf13c25306b23e1b716dd0e"
[[package]] [[package]]
name = "xtask" name = "xtask"
version = "0.1.53" version = "0.1.54"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"chrono", "chrono",

View file

@ -11,13 +11,13 @@
}: }:
let let
version = "0.53"; version = "0.54";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "liuchengxu"; owner = "liuchengxu";
repo = "vim-clap"; repo = "vim-clap";
rev = "v${version}"; rev = "v${version}";
hash = "sha256-0D9HMFh0G9Dq78v/Aau7VXN9jBad6ZevqTCjx7FT9Yw="; hash = "sha256-rhCum59GCIAwdi5QgSaPfrALelAIMncNetu81i53Q8c=";
}; };
meta = with lib; { meta = with lib; {

View file

@ -88,6 +88,7 @@ stdenv.mkDerivation (finalAttrs: {
rev = "v${finalAttrs.version}"; rev = "v${finalAttrs.version}";
hash = "sha256-58nNTOLund/KeDlNwzwwihjFVigs/P0K8SN07zExE2c="; hash = "sha256-58nNTOLund/KeDlNwzwwihjFVigs/P0K8SN07zExE2c=";
}; };
updateScript = ./update.sh;
}; };
# Some libraries are loaded dynamically, but QLibrary doesn't seem to search # Some libraries are loaded dynamically, but QLibrary doesn't seem to search

View file

@ -0,0 +1,12 @@
#!/usr/bin/env nix-shell
#!nix-shell -i bash -p jq nix-prefetch-github common-updater-scripts
set -euo pipefail
latest_release=$(curl --silent https://api.github.com/repos/86Box/86Box/releases/latest)
version=$(jq -r '.tag_name' <<<"$latest_release" | cut -c2-)
main_hash=$(nix-prefetch-github --json --rev "v$version" 86Box 86Box | jq -r '.hash')
roms_hash=$(nix-prefetch-github --json --rev "v$version" 86Box roms | jq -r '.hash')
update-source-version _86Box "_$version" "$main_hash"
update-source-version _86Box "$version" "$roms_hash" --source-key=roms

View file

@ -1,16 +1,23 @@
{ lib {
, stdenv lib,
, fetchFromGitHub stdenv,
, gitUpdater fetchFromGitHub,
, cmake gitUpdater,
, python3 cmake,
, withDynarec ? (stdenv.hostPlatform.isAarch64 || stdenv.hostPlatform.isRiscV64) python3,
, runCommand withDynarec ? (
, hello-x86_64 stdenv.hostPlatform.isAarch64 || stdenv.hostPlatform.isRiscV64 || stdenv.hostPlatform.isLoongArch64
),
runCommand,
hello-x86_64,
}: }:
# Currently only supported on ARM & RISC-V # Currently only supported on specific archs
assert withDynarec -> (stdenv.hostPlatform.isAarch64 || stdenv.hostPlatform.isRiscV64); assert
withDynarec
-> (
stdenv.hostPlatform.isAarch64 || stdenv.hostPlatform.isRiscV64 || stdenv.hostPlatform.isLoongArch64
);
stdenv.mkDerivation (finalAttrs: { stdenv.mkDerivation (finalAttrs: {
pname = "box64"; pname = "box64";
@ -28,22 +35,26 @@ stdenv.mkDerivation (finalAttrs: {
python3 python3
]; ];
cmakeFlags = [ cmakeFlags =
"-DNOGIT=ON" [
(lib.cmakeBool "NOGIT" true)
# Arch mega-option # Arch mega-option
"-DARM64=${lib.boolToString stdenv.hostPlatform.isAarch64}" (lib.cmakeBool "ARM64" stdenv.hostPlatform.isAarch64)
"-DRV64=${lib.boolToString stdenv.hostPlatform.isRiscV64}" (lib.cmakeBool "RV64" stdenv.hostPlatform.isRiscV64)
"-DPPC64LE=${lib.boolToString (stdenv.hostPlatform.isPower64 && stdenv.hostPlatform.isLittleEndian)}" (lib.cmakeBool "PPC64LE" (stdenv.hostPlatform.isPower64 && stdenv.hostPlatform.isLittleEndian))
"-DLARCH64=${lib.boolToString stdenv.hostPlatform.isLoongArch64}" (lib.cmakeBool "LARCH64" stdenv.hostPlatform.isLoongArch64)
] ++ lib.optionals stdenv.hostPlatform.isx86_64 [ ]
++ lib.optionals stdenv.hostPlatform.isx86_64 [
# x86_64 has no arch-specific mega-option, manually enable the options that apply to it # x86_64 has no arch-specific mega-option, manually enable the options that apply to it
"-DLD80BITS=ON" (lib.cmakeBool "LD80BITS" true)
"-DNOALIGN=ON" (lib.cmakeBool "NOALIGN" true)
] ++ [ ]
++ [
# Arch dynarec # Arch dynarec
"-DARM_DYNAREC=${lib.boolToString (withDynarec && stdenv.hostPlatform.isAarch64)}" (lib.cmakeBool "ARM_DYNAREC" (withDynarec && stdenv.hostPlatform.isAarch64))
"-DRV64_DYNAREC=${lib.boolToString (withDynarec && stdenv.hostPlatform.isRiscV64)}" (lib.cmakeBool "RV64_DYNAREC" (withDynarec && stdenv.hostPlatform.isRiscV64))
(lib.cmakeBool "LARCH64_DYNAREC" (withDynarec && stdenv.hostPlatform.isLoongArch64))
]; ];
installPhase = '' installPhase = ''
@ -71,24 +82,33 @@ stdenv.mkDerivation (finalAttrs: {
''; '';
passthru = { passthru = {
updateScript = gitUpdater { updateScript = gitUpdater { rev-prefix = "v"; };
rev-prefix = "v"; tests.hello =
}; runCommand "box64-test-hello" { nativeBuildInputs = [ finalAttrs.finalPackage ]; }
tests.hello = runCommand "box64-test-hello" {
nativeBuildInputs = [ finalAttrs.finalPackage ];
} ''
# There is no actual "Hello, world!" with any of the logging enabled, and with all logging disabled it's hard to # There is no actual "Hello, world!" with any of the logging enabled, and with all logging disabled it's hard to
# tell what problems the emulator has run into. # tell what problems the emulator has run into.
BOX64_NOBANNER=0 BOX64_LOG=1 box64 ${hello-x86_64}/bin/hello --version | tee $out ''
BOX64_NOBANNER=0 BOX64_LOG=1 box64 ${lib.getExe hello-x86_64} --version | tee $out
''; '';
}; };
meta = with lib; { meta = {
homepage = "https://box86.org/"; homepage = "https://box86.org/";
description = "Lets you run x86_64 Linux programs on non-x86_64 Linux systems"; description = "Lets you run x86_64 Linux programs on non-x86_64 Linux systems";
license = licenses.mit; changelog = "https://github.com/ptitSeb/box64/releases/tag/v${finalAttrs.version}";
maintainers = with maintainers; [ gador OPNA2608 ]; license = lib.licenses.mit;
maintainers = with lib.maintainers; [
gador
OPNA2608
];
mainProgram = "box64"; mainProgram = "box64";
platforms = [ "x86_64-linux" "aarch64-linux" "riscv64-linux" "powerpc64le-linux" "loongarch64-linux" "mips64el-linux" ]; platforms = [
"x86_64-linux"
"aarch64-linux"
"riscv64-linux"
"powerpc64le-linux"
"loongarch64-linux"
"mips64el-linux"
];
}; };
}) })

View file

@ -46,13 +46,13 @@ let
in stdenv.mkDerivation rec { in stdenv.mkDerivation rec {
pname = "cemu"; pname = "cemu";
version = "2.0-82"; version = "2.0-85";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "cemu-project"; owner = "cemu-project";
repo = "Cemu"; repo = "Cemu";
rev = "v${version}"; rev = "v${version}";
hash = "sha256-rmlkit7ZNUM0ErqoclivfBHolV0tRWyToLmsvoTslbI="; hash = "sha256-uMVbKJhdHLLKsJnj7YFIG+S5pm7rSZfBSWebhTP01Y8=";
}; };
patches = [ patches = [

View file

@ -69,9 +69,9 @@ in rec {
unstable = fetchurl rec { unstable = fetchurl rec {
# NOTE: Don't forget to change the hash for staging as well. # NOTE: Don't forget to change the hash for staging as well.
version = "9.9"; version = "9.10";
url = "https://dl.winehq.org/wine/source/9.x/wine-${version}.tar.xz"; url = "https://dl.winehq.org/wine/source/9.x/wine-${version}.tar.xz";
hash = "sha256-TWengSxKvUo96SMjjmD1qGsWrH+yD2KU4Nxu+ei+yjY="; hash = "sha256-r8NLSRv6FMYsP99ifdK13Kxefp8/FFrbFDMleK+M8cA=";
inherit (stable) patches; inherit (stable) patches;
## see http://wiki.winehq.org/Gecko ## see http://wiki.winehq.org/Gecko
@ -117,7 +117,7 @@ in rec {
staging = fetchFromGitLab rec { staging = fetchFromGitLab rec {
# https://gitlab.winehq.org/wine/wine-staging # https://gitlab.winehq.org/wine/wine-staging
inherit (unstable) version; inherit (unstable) version;
hash = "sha256-JJrt2zTCjI8Zectoa5B0eZm2BLQm9u5cHbqVEHygwd0="; hash = "sha256-ZqajfgPSKTcNBiDWEc9UgZWWmvkJvTA0S+j98Qz/y08=";
domain = "gitlab.winehq.org"; domain = "gitlab.winehq.org";
owner = "wine"; owner = "wine";
repo = "wine-staging"; repo = "wine-staging";

View file

@ -4,11 +4,11 @@
lib, lib,
}: let }: let
pname = "upscayl"; pname = "upscayl";
version = "2.11.0"; version = "2.11.5";
src = fetchurl { src = fetchurl {
url = "https://github.com/upscayl/upscayl/releases/download/v${version}/upscayl-${version}-linux.AppImage"; url = "https://github.com/upscayl/upscayl/releases/download/v${version}/upscayl-${version}-linux.AppImage";
hash = "sha256-XhvOzARP8Ytlf23vNMYZ5x1UKvKOlM/69yhysasW3dA="; hash = "sha256-owxSm8t7rHM5ywJPp8sJQ5aAyNKgrbyJY6qFp78/UhM=";
}; };
appimageContents = appimageTools.extractType2 { appimageContents = appimageTools.extractType2 {

View file

@ -32,11 +32,11 @@
stdenv.mkDerivation (finalAttrs: { stdenv.mkDerivation (finalAttrs: {
pname = "calibre"; pname = "calibre";
version = "7.10.0"; version = "7.11.0";
src = fetchurl { src = fetchurl {
url = "https://download.calibre-ebook.com/${finalAttrs.version}/calibre-${finalAttrs.version}.tar.xz"; url = "https://download.calibre-ebook.com/${finalAttrs.version}/calibre-${finalAttrs.version}.tar.xz";
hash = "sha256-GvvvoqLBzapveKFSqlED471pUyRjLoYqU5YjN/L/nEs="; hash = "sha256-JSQ8BpZf7ZvLld3GM5/yfLS+zRiFGi0r7V67Xb662Os=";
}; };
patches = [ patches = [

View file

@ -1,4 +1,4 @@
{ lib, stdenv, writeScript, callPackage, buildFHSEnv, unwrapped ? callPackage ./runtime.nix {} }: { lib, stdenv, writeScript, ncurses5, callPackage, buildFHSEnv, unwrapped ? callPackage ./runtime.nix {} }:
buildFHSEnv rec { buildFHSEnv rec {
name = "houdini-${unwrapped.version}"; name = "houdini-${unwrapped.version}";
@ -30,7 +30,6 @@ buildFHSEnv rec {
bintools # needed for ld and other tools, so ctypes can find/load sos from python bintools # needed for ld and other tools, so ctypes can find/load sos from python
ocl-icd # needed for opencl ocl-icd # needed for opencl
numactl # needed by hfs ocl backend numactl # needed by hfs ocl backend
ncurses5 # needed by hfs ocl backend
zstd # needed from 20.0 zstd # needed from 20.0
] ++ (with xorg; [ ] ++ (with xorg; [
libICE libICE
@ -83,7 +82,7 @@ buildFHSEnv rec {
mkdir -p $out/$(dirname $executable) mkdir -p $out/$(dirname $executable)
echo "#!${stdenv.shell}" >> $out/$executable echo "#!${stdenv.shell}" >> $out/$executable
echo "$WRAPPER ${unwrapped}/$executable \"\$@\"" >> $out/$executable echo "exec $WRAPPER ${unwrapped}/$executable \"\$@\"" >> $out/$executable
done done
cd $out cd $out
@ -96,6 +95,9 @@ buildFHSEnv rec {
]; ];
runScript = writeScript "${name}-wrapper" '' runScript = writeScript "${name}-wrapper" ''
# ncurses5 is needed by hfs ocl backend
# workaround for this issue: https://github.com/NixOS/nixpkgs/issues/89769
export LD_LIBRARY_PATH=${lib.makeLibraryPath [ncurses5]}:$LD_LIBRARY_PATH
exec "$@" exec "$@"
''; '';
} }

View file

@ -1,11 +1,11 @@
{ lib, stdenv, requireFile, callPackage}: { lib, stdenv, requireFile, callPackage}:
callPackage ./runtime-build.nix rec { callPackage ./runtime-build.nix rec {
version = "20.0.506"; version = "20.0.688";
eulaDate = "2021-10-13"; eulaDate = "2021-10-13";
src = requireFile rec { src = requireFile rec {
name = "houdini-${version}-linux_x86_64_gcc11.2.tar.gz"; name = "houdini-${version}-linux_x86_64_gcc11.2.tar.gz";
sha256 = "10dcb695bf9bb6407ccfd91c67858d69864208ee97e1e9afe216abf99db549f5"; sha256 = "99f9088824c328de9d351f037f26ff1cba960fbd9b4e2ed1d52601680d3512a6";
url = "https://www.sidefx.com/download/daily-builds/?production=true"; url = "https://www.sidefx.com/download/daily-builds/?production=true";
}; };
} }

View file

@ -41,13 +41,13 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "keepassxc"; pname = "keepassxc";
version = "2.7.7"; version = "2.7.8";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "keepassxreboot"; owner = "keepassxreboot";
repo = "keepassxc"; repo = "keepassxc";
rev = version; rev = version;
hash = "sha256-HjDzb1H3eMSraKbfHgg9S+w4TXNt40lQkDz+EChb5Ks="; hash = "sha256-Gb5/CPhn/phVVvz9BFv7rb12n/P3rPNl5r2gA+E5b0o=";
}; };
env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.cc.isClang (toString [ env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.cc.isClang (toString [

View file

@ -1,33 +1,35 @@
{ lib {
, fetchFromGitHub lib,
, bash fetchFromGitHub,
, glib bash,
, gdk-pixbuf glib,
, gettext gdk-pixbuf,
, imagemagick gettext,
, ninja imagemagick,
, meson ninja,
, sassc meson,
, python3Packages sassc,
, gobject-introspection python3Packages,
, wrapGAppsHook3 gobject-introspection,
, libappindicator-gtk3 wrapGAppsHook3,
, libxcb libayatana-appindicator,
, qt5 libxcb,
, ibus qt6,
, usbutils ibus,
usbutils,
psmisc,
}: }:
python3Packages.buildPythonApplication rec { python3Packages.buildPythonApplication rec {
name = "polychromatic"; name = "polychromatic";
version = "0.8.0"; version = "0.9.1";
format = "other"; format = "other";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "polychromatic"; owner = "polychromatic";
repo = "polychromatic"; repo = "polychromatic";
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-ym2pcGUWM5zCUx/lYs+WECj+wbyBtWnx04W/NRXNKlw="; sha256 = "sha256-3Pt1Z8G0xDWlFD7LxJILPUifMBTN4OvPNHZv80umO1s=";
}; };
postPatch = '' postPatch = ''
@ -49,22 +51,30 @@ python3Packages.buildPythonApplication rec {
ninja ninja
sassc sassc
wrapGAppsHook3 wrapGAppsHook3
qt5.wrapQtAppsHook qt6.wrapQtAppsHook
qt6.qtbase
]; ];
propagatedBuildInputs = with python3Packages; [ buildInputs = [ qt6.qtwayland ];
propagatedBuildInputs =
with python3Packages;
[
colorama colorama
colour colour
openrazer openrazer
pyqt5 pyqt6
pyqtwebengine pyqt6-webengine
requests requests
setproctitle setproctitle
libxcb libxcb
openrazer-daemon openrazer-daemon
libappindicator-gtk3
ibus ibus
usbutils usbutils
]
++ [
libayatana-appindicator
psmisc
]; ];
dontWrapGapps = true; dontWrapGapps = true;

View file

@ -7,16 +7,16 @@
buildGoModule rec { buildGoModule rec {
pname = "avalanchego"; pname = "avalanchego";
version = "1.11.5"; version = "1.11.6";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "ava-labs"; owner = "ava-labs";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
hash = "sha256-IZ4Q67b+VsmBN/NEBPDzN2PYO8cVfLpHBU0tCo+v3Xc="; hash = "sha256-XEFmcdkuCA8a6rCwh9G01gs1uAkNbv0CxHbXWTzrrKg=";
}; };
vendorHash = "sha256-z6MF/Kb///BSirdRycNs+7SMThv+yS7WmcrIcgiwBNg="; vendorHash = "sha256-odqP5FtQ5F7EMrDN9tL0M8sJR6WdzAJZZcOky8IRuOE=";
# go mod vendor has a bug, see: https://github.com/golang/go/issues/57529 # go mod vendor has a bug, see: https://github.com/golang/go/issues/57529
proxyVendor = true; proxyVendor = true;

View file

@ -6,16 +6,16 @@
buildGoModule rec { buildGoModule rec {
pname = "glooctl"; pname = "glooctl";
version = "1.16.11"; version = "1.16.14";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "solo-io"; owner = "solo-io";
repo = "gloo"; repo = "gloo";
rev = "v${version}"; rev = "v${version}";
hash = "sha256-3GTSIZRELj8Pdm02SUKSCk6/Q7Hkuggvq+XjJAH9qU0="; hash = "sha256-yLtwCsS7ZkmmtEjkXsZrsWCJWW0b38Z0yuaBL4M/hvU=";
}; };
vendorHash = "sha256-UyzqKpF2WBj25Bm4MtkF6yjl87A61vGsteBNCjJV178="; vendorHash = "sha256-wLB+sUaSOBb1VLx/iwlU4U6LKakUP+GbhdWfjlvCu84=";
subPackages = [ "projects/gloo/cli/cmd" ]; subPackages = [ "projects/gloo/cli/cmd" ];

View file

@ -2,13 +2,13 @@
buildGoModule rec { buildGoModule rec {
pname = "kube-router"; pname = "kube-router";
version = "2.1.2"; version = "2.1.3";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "cloudnativelabs"; owner = "cloudnativelabs";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
hash = "sha256-BjL91c+yfpscb0q62eWfiqg1aLkXztXowTj4k8jdTQs="; hash = "sha256-H+jPHf7sMrMlqLWa3L34U8nbBgqeX+MqChiuSsVdx6A=";
}; };
vendorHash = "sha256-BrpjG9DhDQSsbeJ+1MRAwXyKVULK3KHjvLydduTb024="; vendorHash = "sha256-BrpjG9DhDQSsbeJ+1MRAwXyKVULK3KHjvLydduTb024=";

View file

@ -2,18 +2,18 @@
buildGoModule rec { buildGoModule rec {
pname = "kubelogin"; pname = "kubelogin";
version = "1.28.0"; version = "1.28.1";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "int128"; owner = "int128";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-8atEUJLXSbLHdxo1wKtAHAFrZkQYWdW6tP2oKoxahXA="; sha256 = "sha256-sFEFvWizQeQp9VE1guO9xMZl9+cFk6jV43TVCbD8pas=";
}; };
subPackages = ["."]; subPackages = ["."];
vendorHash = "sha256-rLpXBFNBJG3H0+2inCG4wN0I2LuKUhuqozeafUD3aMI="; vendorHash = "sha256-Mel9fH13iXSpB2kClJsH0SM+/gIzu2rPt2q0fjQwumw=";
# Rename the binary instead of symlinking to avoid conflict with the # Rename the binary instead of symlinking to avoid conflict with the
# Azure version of kubelogin # Azure version of kubelogin

View file

@ -2,13 +2,13 @@
buildGoModule rec { buildGoModule rec {
pname = "kubeshark"; pname = "kubeshark";
version = "52.3.59"; version = "52.3.62";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "kubeshark"; owner = "kubeshark";
repo = "kubeshark"; repo = "kubeshark";
rev = "v${version}"; rev = "v${version}";
hash = "sha256-7IpI9iyeS/2Z4QXomstT4EtNjBl6ud3g2ChC8UmkmZM="; hash = "sha256-mYFjs/6aO7tzopOZij9rNoOu2a/UUQqpDg16gCoeR8w=";
}; };
vendorHash = "sha256-0WRmAqslZj63m+kCFKIBgoRX47ZyRuU7ZihmF6wmZy4="; vendorHash = "sha256-0WRmAqslZj63m+kCFKIBgoRX47ZyRuU7ZihmF6wmZy4=";

View file

@ -15,14 +15,14 @@
buildGoModule rec { buildGoModule rec {
inherit pname; inherit pname;
version = "2.7.2"; version = "2.7.3";
tags = lib.optionals enableGateway [ "gateway" ]; tags = lib.optionals enableGateway [ "gateway" ];
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "kumahq"; owner = "kumahq";
repo = "kuma"; repo = "kuma";
rev = version; rev = version;
hash = "sha256-Y9JejIKENIyn2EyRHXLm6CZqlP4MwvPSMRlciYl+a30="; hash = "sha256-b3qQ3lFaQvkmP3HYPwQi2TxSeKmWzGbp01OCnjULJ4k=";
}; };
vendorHash = "sha256-ne62twZXac5GfQ8JcWElIMqc+Vpvn0Y9XSNgAtF62q0="; vendorHash = "sha256-ne62twZXac5GfQ8JcWElIMqc+Vpvn0Y9XSNgAtF62q0=";

View file

@ -2,7 +2,7 @@
(callPackage ./generic.nix { }) { (callPackage ./generic.nix { }) {
channel = "edge"; channel = "edge";
version = "24.5.3"; version = "24.5.5";
sha256 = "0dwbaqd4k8yx8n2aqvg7l1ydjqbdxv0n0wnm1bsi7cxj7yn5kzp5"; sha256 = "0lgpqx672ics998830y8qklchdmbj272xfbs5r414hqlznbbi8w1";
vendorHash = "sha256-tXe1dQMKb96SDU4gn9hyVEl2vI1ISaffzCy1gHd1unM="; vendorHash = "sha256-PV0HbsIcO6FjdczCWJgR6X5THUREDht2R4NJ7HxkBNw=";
} }

View file

@ -2,13 +2,13 @@
buildGoModule rec { buildGoModule rec {
pname = "node-problem-detector"; pname = "node-problem-detector";
version = "0.8.18"; version = "0.8.19";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "kubernetes"; owner = "kubernetes";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-/AfEnYBoCFc/XP5U6oxGDFU63q8llaeR91OPzZU7zm8="; sha256 = "sha256-foVMmRgxy0A62EzmDiGUd2/x5zOpMAMUzXitpxuSIU0=";
}; };
vendorHash = null; vendorHash = null;

View file

@ -23,7 +23,30 @@ buildGoModule rec {
postInstall = '' postInstall = ''
echo "complete -C $out/bin/tk tk" > tk.bash echo "complete -C $out/bin/tk tk" > tk.bash
installShellCompletion tk.bash
cat >tk.fish <<EOF
function __complete_tk
set -lx COMP_LINE (commandline -cp)
test -z (commandline -ct)
and set COMP_LINE "\$COMP_LINE "
$out/bin/tk
end
complete -f -c tk -a "(__complete_tk)"
EOF
cat >tk.zsh <<EOF
#compdef tk
autoload -U +X bashcompinit && bashcompinit
complete -o nospace -C $out/bin/tk tk
EOF
installShellCompletion \
--cmd tk \
--bash tk.bash \
--fish tk.fish \
--zsh tk.zsh
''; '';
meta = with lib; { meta = with lib; {

View file

@ -56,7 +56,6 @@ let
license = licenses.bsl11; license = licenses.bsl11;
maintainers = with maintainers; [ maintainers = with maintainers; [
Chili-Man Chili-Man
babariviere
kalbasit kalbasit
timstott timstott
zimbatm zimbatm

View file

@ -2,13 +2,13 @@
buildGoModule rec { buildGoModule rec {
pname = "deck"; pname = "deck";
version = "1.37.0"; version = "1.38.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "Kong"; owner = "Kong";
repo = "deck"; repo = "deck";
rev = "v${version}"; rev = "v${version}";
hash = "sha256-gbbNeG0WzXiPE20XPtg4x57kvcNuHsxN57aLK+OUpv8="; hash = "sha256-9bEPkEeKOVFETSo5HEFWbuhx7+mWwogGm1jN18Vj/Sw=";
}; };
nativeBuildInputs = [ installShellFiles ]; nativeBuildInputs = [ installShellFiles ];
@ -21,7 +21,7 @@ buildGoModule rec {
]; ];
proxyVendor = true; # darwin/linux hash mismatch proxyVendor = true; # darwin/linux hash mismatch
vendorHash = "sha256-c5kq5vql3KSv8gkm4Wrp1llUhUOWZuuhkzNXDYrgUhw="; vendorHash = "sha256-eWDnZNNXgvIiDiKEpkVEL/JpEfy7WKtSAUA6riCrMdc=";
postInstall = '' postInstall = ''
installShellCompletion --cmd deck \ installShellCompletion --cmd deck \

View file

@ -5,11 +5,11 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "alfaview"; pname = "alfaview";
version = "9.10.1"; version = "9.11.0";
src = fetchurl { src = fetchurl {
url = "https://assets.alfaview.com/stable/linux/deb/${pname}_${version}.deb"; url = "https://assets.alfaview.com/stable/linux/deb/${pname}_${version}.deb";
hash = "sha256-k58v8l/LE0lWQFbQ6p2XGiRjMMwzArW3KVbIxlKC1SA="; hash = "sha256-VnIMcpTlJT6E4DhGuKos2STbwAfdRNFs2XnodcqB+L8=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [

View file

@ -10,11 +10,11 @@
}: }:
let let
pname = "beeper"; pname = "beeper";
version = "3.104.7"; version = "3.105.2";
name = "${pname}-${version}"; name = "${pname}-${version}";
src = fetchurl { src = fetchurl {
url = "https://download.todesktop.com/2003241lzgn20jd/beeper-3.104.7-build-2405024h1b4qoap-x86_64.AppImage"; url = "https://download.todesktop.com/2003241lzgn20jd/beeper-3.105.2-build-240521yxdjizhu0-x86_64.AppImage";
hash = "sha256-VjN9bKxFokExEjMGz42d/VVwVWJzowI42ONsNyXEbnc="; hash = "sha256-Ov2Kii4f4zg/9OyUfm/qhyiqK6C6CC3DgETTx1HqIZ4=";
}; };
appimage = appimageTools.wrapType2 { appimage = appimageTools.wrapType2 {
inherit version pname src; inherit version pname src;

View file

@ -4,11 +4,11 @@ let
in in
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "rocketchat-desktop"; pname = "rocketchat-desktop";
version = "3.9.14"; version = "3.9.15";
src = fetchurl { src = fetchurl {
url = "https://github.com/RocketChat/Rocket.Chat.Electron/releases/download/${version}/rocketchat-${version}-linux-amd64.deb"; url = "https://github.com/RocketChat/Rocket.Chat.Electron/releases/download/${version}/rocketchat-${version}-linux-amd64.deb";
hash = "sha256-1ZNxdzkkhsDPbwyTTTKmF7p10VgGRvRw31W91m1H4YM="; hash = "sha256-fMnr7RCNoYVyV+CzKOIqaGd6T6+3fJxMuPjNdFAZdX0=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [

View file

@ -1,6 +1,6 @@
{ stdenv { stdenv
, lib , lib
, buildFHSEnvChroot , buildFHSEnv
, copyDesktopItems , copyDesktopItems
, fetchurl , fetchurl
, gsettings-desktop-schemas , gsettings-desktop-schemas
@ -67,7 +67,7 @@ let
''; '';
}; };
vmwareFHSUserEnv = name: buildFHSEnvChroot { vmwareFHSUserEnv = name: buildFHSEnv {
inherit name; inherit name;
runScript = "${vmwareHorizonClientFiles}/bin/${name}_wrapper"; runScript = "${vmwareHorizonClientFiles}/bin/${name}_wrapper";

View file

@ -28,13 +28,13 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "planify"; pname = "planify";
version = "4.7.4"; version = "4.8";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "alainm23"; owner = "alainm23";
repo = "planify"; repo = "planify";
rev = version; rev = version;
hash = "sha256-x76HasjETqXqE5yXE69/69NAYEWAksHSt0nYRq8/P0k="; hash = "sha256-uzZYrn1nbDoLSYyO1Y2YJk35+1WfVckSgGproaHKTOQ=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [

View file

@ -12,14 +12,14 @@
stdenv.mkDerivation (finalAttrs: { stdenv.mkDerivation (finalAttrs: {
pname = "bowtie2"; pname = "bowtie2";
version = "2.5.3"; version = "2.5.4";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "BenLangmead"; owner = "BenLangmead";
repo = "bowtie2"; repo = "bowtie2";
rev = "refs/tags/v${finalAttrs.version}"; rev = "refs/tags/v${finalAttrs.version}";
fetchSubmodules = true; fetchSubmodules = true;
hash = "sha256-vjJRA9KFfJChxxg2wxBkwsnDw7fx5SNH3JhRXQw+7XA="; hash = "sha256-ZbmVOItfAgKdsMrvQIXgKiPtoQJZYfGblCGDoNPjvTU=";
}; };
# because of this flag, gcc on aarch64 cannot find the Threads # because of this flag, gcc on aarch64 cannot find the Threads

View file

@ -13,13 +13,13 @@
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "kent"; pname = "kent";
version = "446"; version = "465";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "ucscGenomeBrowser"; owner = "ucscGenomeBrowser";
repo = pname; repo = pname;
rev = "v${version}_base"; rev = "v${version}_base";
hash = "sha256-d8gcoyMwINdHoD6xaNKt4rCKrKir99+i4KIzJ2YnxRw="; hash = "sha256-QeHqXSbad5LCmQ8DfLxl2pyXJvKV4G7uLXBtRd7LME0=";
}; };
buildInputs = [ libpng libuuid zlib bzip2 xz openssl curl libmysqlclient ]; buildInputs = [ libpng libuuid zlib bzip2 xz openssl curl libmysqlclient ];

View file

@ -2,11 +2,11 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "prooftree"; pname = "prooftree";
version = "0.13"; version = "0.14";
src = fetchurl { src = fetchurl {
url = "https://askra.de/software/prooftree/releases/prooftree-${version}.tar.gz"; url = "https://askra.de/software/prooftree/releases/prooftree-${version}.tar.gz";
sha256 = "0z1z4wqbqwgppkh2bm89fgy07a0y2m6g4lvcyzs09sm1ysklk2dh"; sha256 = "sha256-nekV2UnjibOk4h0jZ1jV7W5pE/hXWb3fUoLTJb3Jzc0=";
}; };
strictDeps = true; strictDeps = true;

View file

@ -7,11 +7,11 @@ assert enablePython -> (python != null);
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "gmsh"; pname = "gmsh";
version = "4.12.2"; version = "4.13.1";
src = fetchurl { src = fetchurl {
url = "https://gmsh.info/src/gmsh-${version}-source.tgz"; url = "https://gmsh.info/src/gmsh-${version}-source.tgz";
hash = "sha256-E+CdnKgQLlxAFx1u4VDGaHQrmMOmylf4N/e2Th4q9I8="; hash = "sha256-d5chRfQxcmAm1QWWpqRPs8HJXCElUhjWaVWAa4btvo0=";
}; };
buildInputs = [ buildInputs = [

View file

@ -31,20 +31,20 @@
with python3Packages; with python3Packages;
buildPythonApplication rec { buildPythonApplication rec {
pname = "kitty"; pname = "kitty";
version = "0.35.0"; version = "0.35.1";
format = "other"; format = "other";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "kovidgoyal"; owner = "kovidgoyal";
repo = "kitty"; repo = "kitty";
rev = "refs/tags/v${version}"; rev = "refs/tags/v${version}";
hash = "sha256-d/pPoa+bY7FAjFcd+32aXKDevJRoCGA209uLZ/4WRpQ="; hash = "sha256-Hp8phZIVvg1oH6ajSmpcQ0uDXRzMQjVBIRYqpgro/24=";
}; };
goModules = (buildGo122Module { goModules = (buildGo122Module {
pname = "kitty-go-modules"; pname = "kitty-go-modules";
inherit src version; inherit src version;
vendorHash = "sha256-rEG3mmghvEih2swm+2gp/G9EC2YdyjaOnvq+tALC3jo="; vendorHash = "sha256-mpyotGzv8UU9pg/3UNZBx0Rkm5kzMzIlDSHuhtNALfw=";
}).goModules; }).goModules;
buildInputs = [ buildInputs = [

View file

@ -1,20 +1,149 @@
GEM GEM
remote: https://rubygems.org/ remote: https://rubygems.org/
specs: specs:
git_fame (2.5.2) git_fame (3.1.1)
hirb (~> 0.7.3) activesupport (~> 7.0)
memoist (~> 0.14.0) dry-initializer (~> 3.0)
method_profiler (~> 2.0.1) dry-struct (~> 1.0)
progressbar (~> 0.21.0) dry-types (~> 1.0)
scrub_rb (~> 1.0.1) neatjson (~> 0.9)
trollop (~> 2.1.2) rugged (~> 1.0)
hirb (0.7.3) tty-box (~> 0.5)
memoist (0.14.0) tty-option (~> 0.2)
method_profiler (2.0.1) tty-screen (~> 0.5)
hirb (>= 0.6.0) tty-spinner (~> 0.9)
progressbar (0.21.0) tty-table (~> 0.9, <= 0.10.0)
scrub_rb (1.0.1) zeitwerk (~> 2.0)
trollop (2.1.2) activesupport (7.0.6)
concurrent-ruby (~> 1.0, >= 1.0.2)
i18n (>= 1.6, < 2)
minitest (>= 5.1)
tzinfo (~> 2.0)
ast (2.4.2)
coderay (1.1.3)
concurrent-ruby (1.2.2)
diff-lcs (1.5.0)
docile (1.4.0)
dry-core (1.0.0)
concurrent-ruby (~> 1.0)
zeitwerk (~> 2.6)
dry-inflector (1.0.0)
dry-initializer (3.1.1)
dry-logic (1.5.0)
concurrent-ruby (~> 1.0)
dry-core (~> 1.0, < 2)
zeitwerk (~> 2.6)
dry-struct (1.6.0)
dry-core (~> 1.0, < 2)
dry-types (>= 1.7, < 2)
ice_nine (~> 0.11)
zeitwerk (~> 2.6)
dry-types (1.7.1)
concurrent-ruby (~> 1.0)
dry-core (~> 1.0)
dry-inflector (~> 1.0)
dry-logic (~> 1.4)
zeitwerk (~> 2.6)
equatable (0.5.0)
factory_bot (6.2.1)
activesupport (>= 5.0.0)
faker (3.1.1)
i18n (>= 1.8.11, < 2)
i18n (1.14.1)
concurrent-ruby (~> 1.0)
ice_nine (0.11.2)
method_source (1.0.0)
minitest (5.18.1)
neatjson (0.10.5)
necromancer (0.4.0)
parallel (1.22.1)
parser (3.2.1.1)
ast (~> 2.4.1)
pastel (0.7.2)
equatable (~> 0.5.0)
tty-color (~> 0.4.0)
pry (0.14.2)
coderay (~> 1.1)
method_source (~> 1.0)
rainbow (3.1.1)
rake (13.0.6)
regexp_parser (2.7.0)
rexml (3.2.5)
rspec (3.12.0)
rspec-core (~> 3.12.0)
rspec-expectations (~> 3.12.0)
rspec-mocks (~> 3.12.0)
rspec-core (3.12.1)
rspec-support (~> 3.12.0)
rspec-expectations (3.12.2)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.12.0)
rspec-github (2.4.0)
rspec-core (~> 3.0)
rspec-its (1.3.0)
rspec-core (>= 3.0.0)
rspec-expectations (>= 3.0.0)
rspec-mocks (3.12.4)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.12.0)
rspec-support (3.12.0)
rubocop (1.24.1)
parallel (~> 1.10)
parser (>= 3.0.0.0)
rainbow (>= 2.2.2, < 4.0)
regexp_parser (>= 1.8, < 3.0)
rexml
rubocop-ast (>= 1.15.1, < 2.0)
ruby-progressbar (~> 1.7)
unicode-display_width (>= 1.4.0, < 3.0)
rubocop-ast (1.28.0)
parser (>= 3.2.1.0)
rubocop-md (1.2.0)
rubocop (>= 1.0)
rubocop-performance (1.16.0)
rubocop (>= 1.7.0, < 2.0)
rubocop-ast (>= 0.4.0)
rubocop-rake (0.6.0)
rubocop (~> 1.0)
rubocop-rspec (2.11.1)
rubocop (~> 1.19)
ruby-progressbar (1.13.0)
rugged (1.6.3)
simplecov (0.22.0)
docile (~> 1.1)
simplecov-html (~> 0.11)
simplecov_json_formatter (~> 0.1)
simplecov-cobertura (2.1.0)
rexml
simplecov (~> 0.19)
simplecov-html (0.12.3)
simplecov_json_formatter (0.1.4)
strings (0.1.8)
strings-ansi (~> 0.1)
unicode-display_width (~> 1.5)
unicode_utils (~> 1.4)
strings-ansi (0.2.0)
tty-box (0.5.0)
pastel (~> 0.7.2)
strings (~> 0.1.6)
tty-cursor (~> 0.7)
tty-color (0.4.3)
tty-cursor (0.7.1)
tty-option (0.2.0)
tty-screen (0.6.5)
tty-spinner (0.9.3)
tty-cursor (~> 0.7)
tty-table (0.10.0)
equatable (~> 0.5.0)
necromancer (~> 0.4.0)
pastel (~> 0.7.2)
strings (~> 0.1.0)
tty-screen (~> 0.6.4)
tzinfo (2.0.6)
concurrent-ruby (~> 1.0)
unicode-display_width (1.8.0)
unicode_utils (1.4.0)
zeitwerk (2.6.7)
PLATFORMS PLATFORMS
ruby ruby
@ -23,4 +152,4 @@ DEPENDENCIES
git_fame git_fame
BUNDLED WITH BUNDLED WITH
2.1.4 2.3.3

View file

@ -1,60 +1,653 @@
{ {
activesupport = {
dependencies = ["concurrent-ruby" "i18n" "minitest" "tzinfo"];
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "1cjsf26656996hv48wgv2mkwxf0fy1qc68ikgzq7mzfq2mmvmayk";
type = "gem";
};
version = "7.0.6";
};
ast = {
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "04nc8x27hlzlrr5c2gn7mar4vdr0apw5xg22wp6m8dx3wqr04a0y";
type = "gem";
};
version = "2.4.2";
};
coderay = {
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "0jvxqxzply1lwp7ysn94zjhh57vc14mcshw1ygw14ib8lhc00lyw";
type = "gem";
};
version = "1.1.3";
};
concurrent-ruby = {
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "0krcwb6mn0iklajwngwsg850nk8k9b35dhmc2qkbdqvmifdi2y9q";
type = "gem";
};
version = "1.2.2";
};
diff-lcs = {
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "0rwvjahnp7cpmracd8x732rjgnilqv2sx7d1gfrysslc3h039fa9";
type = "gem";
};
version = "1.5.0";
};
docile = {
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "1lxqxgq71rqwj1lpl9q1mbhhhhhhdkkj7my341f2889pwayk85sz";
type = "gem";
};
version = "1.4.0";
};
dry-core = {
dependencies = ["concurrent-ruby" "zeitwerk"];
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "01gks2hrp7nl3pzb487azvd25dlbrc40d5cpk4n0szwnf2c0k4ks";
type = "gem";
};
version = "1.0.0";
};
dry-inflector = {
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "09hnvna3lg2x36li63988kv664d0zvy7y0z33803yvrdr9hj7lka";
type = "gem";
};
version = "1.0.0";
};
dry-initializer = {
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "1v3dah1r96b10m8xjixmdmymg7dr16wn5715id4vxjkw6vm7s9jd";
type = "gem";
};
version = "3.1.1";
};
dry-logic = {
dependencies = ["concurrent-ruby" "dry-core" "zeitwerk"];
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "05nldkc154r0qzlhss7n5klfiyyz05x2fkq08y13s34py6023vcr";
type = "gem";
};
version = "1.5.0";
};
dry-struct = {
dependencies = ["dry-core" "dry-types" "ice_nine" "zeitwerk"];
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "1rnlgn4wif0dvkvi10xwh1vd1q6mp35q6a7lwva0zmbc79dh4drp";
type = "gem";
};
version = "1.6.0";
};
dry-types = {
dependencies = ["concurrent-ruby" "dry-core" "dry-inflector" "dry-logic" "zeitwerk"];
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "1f6dz0hm67rhybh6xq2s3vvr700cp43kf50z2lids62s2i0mh5hj";
type = "gem";
};
version = "1.7.1";
};
equatable = {
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "1sjm9zjakyixyvsqziikdrsqfzis6j3fq23crgjkp6fwkfgndj7x";
type = "gem";
};
version = "0.5.0";
};
factory_bot = {
dependencies = ["activesupport"];
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "1pfk942d6qwhw151hxaz7n4knk6whyxqvvywdx2cdw9yhykyaqzq";
type = "gem";
};
version = "6.2.1";
};
faker = {
dependencies = ["i18n"];
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "1b8772jybi0vxzbcs5zw17k40z661c8adn2rd6vqqr7ay71bzl09";
type = "gem";
};
version = "3.1.1";
};
git_fame = { git_fame = {
dependencies = ["hirb" "memoist" "method_profiler" "progressbar" "scrub_rb" "trollop"]; dependencies = ["activesupport" "dry-initializer" "dry-struct" "dry-types" "neatjson" "rugged" "tty-box" "tty-option" "tty-screen" "tty-spinner" "tty-table" "zeitwerk"];
groups = ["default"];
platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "02k5ls5zyif8skdbnym6zw9y76whlnksw2m94jsh2n1ygk98izdd"; sha256 = "1jqvhzwgvr2bpi4ldqidbcs9prb0xsikp50xx4r8dwhf8m9mh26h";
type = "gem"; type = "gem";
}; };
version = "2.5.2"; version = "3.1.1";
}; };
hirb = { i18n = {
dependencies = ["concurrent-ruby"];
groups = ["default"];
platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "0mzch3c2lvmf8gskgzlx6j53d10j42ir6ik2dkrl27sblhy76cji"; sha256 = "0qaamqsh5f3szhcakkak8ikxlzxqnv49n2p7504hcz2l0f4nj0wx";
type = "gem"; type = "gem";
}; };
version = "0.7.3"; version = "1.14.1";
}; };
memoist = { ice_nine = {
groups = ["default"];
platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "03d3h6kp16bf0crqg1cxdgp1d2iyzn53d3phbmjh4pjybqls0gcm"; sha256 = "1nv35qg1rps9fsis28hz2cq2fx1i96795f91q4nmkm934xynll2x";
type = "gem"; type = "gem";
}; };
version = "0.14.0"; version = "0.11.2";
}; };
method_profiler = { method_source = {
dependencies = ["hirb"]; groups = ["default"];
platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "1ax04qrrv7fqp5ayxaxhn72660pybdkpkvmgiwbg7bs7x5ijjzd8"; sha256 = "1pnyh44qycnf9mzi1j6fywd5fkskv3x7nmsqrrws0rjn5dd4ayfp";
type = "gem"; type = "gem";
}; };
version = "2.0.1"; version = "1.0.0";
}; };
progressbar = { minitest = {
groups = ["default"];
platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "17haw9c6c9q6imsn83pii32jnihpg76jgd09x7y4hjqq45n3qcdh"; sha256 = "1kg9wh7jlc9zsr3hkhpzkbn0ynf4np5ap9m2d8xdrb8shy0y6pmb";
type = "gem"; type = "gem";
}; };
version = "0.21.0"; version = "5.18.1";
}; };
scrub_rb = { neatjson = {
groups = ["default"];
platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "0dwg33w83w17aiij9kcbi7irj7lh045nh9prjgkzjya3f1j60d3x"; sha256 = "0wm1lq8yl6rzysh3wg6fa55w5534k6ppiz0qb7jyvdy582mk5i0s";
type = "gem"; type = "gem";
}; };
version = "1.0.1"; version = "0.10.5";
}; };
trollop = { necromancer = {
groups = ["default"];
platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "0415y63df86sqj43c0l82and65ia5h64if7n0znkbrmi6y0jwhl8"; sha256 = "0v9nhdkv6zrp7cn48xv7n2vjhsbslpvs0ha36mfkcd56cp27pavz";
type = "gem"; type = "gem";
}; };
version = "2.1.2"; version = "0.4.0";
};
parallel = {
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "07vnk6bb54k4yc06xnwck7php50l09vvlw1ga8wdz0pia461zpzb";
type = "gem";
};
version = "1.22.1";
};
parser = {
dependencies = ["ast"];
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "1a2v5f8fw7nxm41xp422p1pbr41hafy62bp95m7vg42cqp5y4grc";
type = "gem";
};
version = "3.2.1.1";
};
pastel = {
dependencies = ["equatable" "tty-color"];
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "1yf30d9kzpm96gw9kwbv31p0qigwfykn8qdis5950plnzgc1vlp1";
type = "gem";
};
version = "0.7.2";
};
pry = {
dependencies = ["coderay" "method_source"];
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "0k9kqkd9nps1w1r1rb7wjr31hqzkka2bhi8b518x78dcxppm9zn4";
type = "gem";
};
version = "0.14.2";
};
rainbow = {
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "0smwg4mii0fm38pyb5fddbmrdpifwv22zv3d3px2xx497am93503";
type = "gem";
};
version = "3.1.1";
};
rake = {
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "15whn7p9nrkxangbs9hh75q585yfn66lv0v2mhj6q6dl6x8bzr2w";
type = "gem";
};
version = "13.0.6";
};
regexp_parser = {
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "0d6241adx6drsfzz74nx1ld3394nm6fjpv3ammzr0g659krvgf7q";
type = "gem";
};
version = "2.7.0";
};
rexml = {
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "08ximcyfjy94pm1rhcx04ny1vx2sk0x4y185gzn86yfsbzwkng53";
type = "gem";
};
version = "3.2.5";
};
rspec = {
dependencies = ["rspec-core" "rspec-expectations" "rspec-mocks"];
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "171rc90vcgjl8p1bdrqa92ymrj8a87qf6w20x05xq29mljcigi6c";
type = "gem";
};
version = "3.12.0";
};
rspec-core = {
dependencies = ["rspec-support"];
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "0da45cvllbv39sdbsl65vp5djb2xf5m10mxc9jm7rsqyyxjw4h1f";
type = "gem";
};
version = "3.12.1";
};
rspec-expectations = {
dependencies = ["diff-lcs" "rspec-support"];
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "03ba3lfdsj9zl00v1yvwgcx87lbadf87livlfa5kgqssn9qdnll6";
type = "gem";
};
version = "3.12.2";
};
rspec-github = {
dependencies = ["rspec-core"];
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "0kqjmd85v2fpb06d0rx43dc51f0igc1gmm8y3nz0wvmy7zg02njm";
type = "gem";
};
version = "2.4.0";
};
rspec-its = {
dependencies = ["rspec-core" "rspec-expectations"];
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "15zafd70gxly5i0s00nky14sj2n92dnj3xpj83ysl3c2wx0119ad";
type = "gem";
};
version = "1.3.0";
};
rspec-mocks = {
dependencies = ["diff-lcs" "rspec-support"];
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "1dcfh85m3ksir6n8gydsal4d85chpww1b2nahb05nl8xhgh0r2ij";
type = "gem";
};
version = "3.12.4";
};
rspec-support = {
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "12y52zwwb3xr7h91dy9k3ndmyyhr3mjcayk0nnarnrzz8yr48kfx";
type = "gem";
};
version = "3.12.0";
};
rubocop = {
dependencies = ["parallel" "parser" "rainbow" "regexp_parser" "rexml" "rubocop-ast" "ruby-progressbar" "unicode-display_width"];
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "1sn7ag295blmhpwv6x472m3fd0n25swz9imqwpk0hg21rdcdw7p0";
type = "gem";
};
version = "1.24.1";
};
rubocop-ast = {
dependencies = ["parser"];
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "0n2gsafg6p7nr1z8i1hkvp2qqkkbg842ba183dnl0h08xd9ms6q5";
type = "gem";
};
version = "1.28.0";
};
rubocop-md = {
dependencies = ["rubocop"];
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "11j802r5r022vxzycvwvzhyg24g8dky4slbvid24xi0ji73q444z";
type = "gem";
};
version = "1.2.0";
};
rubocop-performance = {
dependencies = ["rubocop" "rubocop-ast"];
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "1n7g0vg06ldjaq4f8c11c7yqy99zng1qdrkkk4kfziippy24yxnc";
type = "gem";
};
version = "1.16.0";
};
rubocop-rake = {
dependencies = ["rubocop"];
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "1nyq07sfb3vf3ykc6j2d5yq824lzq1asb474yka36jxgi4hz5djn";
type = "gem";
};
version = "0.6.0";
};
rubocop-rspec = {
dependencies = ["rubocop"];
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "0ivc9kgz18cn32iqi9wv5aj903yhamwddw84l7nklbl9xxvwz603";
type = "gem";
};
version = "2.11.1";
};
ruby-progressbar = {
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "0cwvyb7j47m7wihpfaq7rc47zwwx9k4v7iqd9s1xch5nm53rrz40";
type = "gem";
};
version = "1.13.0";
};
rugged = {
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "016bawsahkhxx7p8azxirpl7y2y7i8a027pj8910gwf6ipg329in";
type = "gem";
};
version = "1.6.3";
};
simplecov = {
dependencies = ["docile" "simplecov-html" "simplecov_json_formatter"];
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "198kcbrjxhhzca19yrdcd6jjj9sb51aaic3b0sc3pwjghg3j49py";
type = "gem";
};
version = "0.22.0";
};
simplecov-cobertura = {
dependencies = ["rexml" "simplecov"];
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "00izmp202y48qvmvwrh5x56cc5ivbjhgkkkjklvqmqzj9pik4r9c";
type = "gem";
};
version = "2.1.0";
};
simplecov-html = {
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "0yx01bxa8pbf9ip4hagqkp5m0mqfnwnw2xk8kjraiywz4lrss6jb";
type = "gem";
};
version = "0.12.3";
};
simplecov_json_formatter = {
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "0a5l0733hj7sk51j81ykfmlk2vd5vaijlq9d5fn165yyx3xii52j";
type = "gem";
};
version = "0.1.4";
};
strings = {
dependencies = ["strings-ansi" "unicode-display_width" "unicode_utils"];
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "111876lcqrykh30w7zzkrl06d6rj9lq24y625m28674vgfxkkcz0";
type = "gem";
};
version = "0.1.8";
};
strings-ansi = {
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "120wa6yjc63b84lprglc52f40hx3fx920n4dmv14rad41rv2s9lh";
type = "gem";
};
version = "0.2.0";
};
tty-box = {
dependencies = ["pastel" "strings" "tty-cursor"];
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "14g63v0jx87hba50rlv3c521zg9rw0f5d31cihcvym19xxa7v3l5";
type = "gem";
};
version = "0.5.0";
};
tty-color = {
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "0zz5xa6xbrj69h334d8nx7z732fz80s1a0b02b53mim95p80s7bk";
type = "gem";
};
version = "0.4.3";
};
tty-cursor = {
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "0j5zw041jgkmn605ya1zc151bxgxl6v192v2i26qhxx7ws2l2lvr";
type = "gem";
};
version = "0.7.1";
};
tty-option = {
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "0xibs7kgbsw401ywfw67wg47fmm7sdcypy85m25af9r2q2hbq7gb";
type = "gem";
};
version = "0.2.0";
};
tty-screen = {
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "0azpjgyhdm8ycblnx9crq3dgb2x8yg454a13n60zfpsc0n138sw1";
type = "gem";
};
version = "0.6.5";
};
tty-spinner = {
dependencies = ["tty-cursor"];
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "0hh5awmijnzw9flmh5ak610x1d00xiqagxa5mbr63ysggc26y0qf";
type = "gem";
};
version = "0.9.3";
};
tty-table = {
dependencies = ["equatable" "necromancer" "pastel" "strings" "tty-screen"];
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "05krrj1x5pmfbz74paszrsr1316w9b9jlc4wpd9s9gpzqfzwjzcg";
type = "gem";
};
version = "0.10.0";
};
tzinfo = {
dependencies = ["concurrent-ruby"];
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "16w2g84dzaf3z13gxyzlzbf748kylk5bdgg3n1ipvkvvqy685bwd";
type = "gem";
};
version = "2.0.6";
};
unicode-display_width = {
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "1204c1jx2g89pc25qk5150mk7j5k90692i7ihgfzqnad6qni74h2";
type = "gem";
};
version = "1.8.0";
};
unicode_utils = {
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "0h1a5yvrxzlf0lxxa1ya31jcizslf774arnsd89vgdhk4g7x08mr";
type = "gem";
};
version = "1.4.0";
};
zeitwerk = {
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "028ld9qmgdllxrl7d0qkl65s58wb1n3gv8yjs28g43a8b1hplxk1";
type = "gem";
};
version = "2.6.7";
}; };
} }

View file

@ -10,7 +10,7 @@ targetVersion="${1:-$latestTag}"
if [ ! "${oldVersion}" = "${targetVersion}" ]; then if [ ! "${oldVersion}" = "${targetVersion}" ]; then
update-source-version git "${targetVersion}" update-source-version git "${targetVersion}"
nixpkgs="$(git rev-parse --show-toplevel)" nixpkgs="$(git rev-parse --show-toplevel)"
default_nix="$nixpkgs/pkgs/applications/version-management/git-and-tools/git/default.nix" default_nix="$nixpkgs/pkgs/applications/version-management/git/default.nix"
nix-build -A git nix-build -A git
git add "${default_nix}" git add "${default_nix}"
git commit -m "git: ${oldVersion} -> ${targetVersion}" git commit -m "git: ${oldVersion} -> ${targetVersion}"

View file

@ -18,11 +18,11 @@
buildPythonApplication rec { buildPythonApplication rec {
pname = "jellyfin-mpv-shim"; pname = "jellyfin-mpv-shim";
version = "2.6.0"; version = "2.7.0.post2";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "sha256-90Z2vgYT/9hBQZgfXeY7l6sGwT5KEY8X4rZMgrbTwrM="; sha256 = "sha256-N41soGiEdRJDDYTEJb/wG0enigH+UL35xNz52u/wjDo=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [

View file

@ -7,13 +7,13 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "obs-move-transition"; pname = "obs-move-transition";
version = "2.12.0"; version = "3.0.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "exeldro"; owner = "exeldro";
repo = "obs-move-transition"; repo = "obs-move-transition";
rev = version; rev = version;
sha256 = "sha256-Y0FTNxwpCOp/3XkHxZ4H0ja840R7/c2dTDImUf5iZQE="; sha256 = "sha256-wvPtcYW++PmDvCpgTIppvwg4Zibrg384yth9da11fMk=";
}; };
nativeBuildInputs = [ cmake ]; nativeBuildInputs = [ cmake ];

View file

@ -10,13 +10,13 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "obs-text-pthread"; pname = "obs-text-pthread";
version = "2.0.3"; version = "2.0.4";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "norihiro"; owner = "norihiro";
repo = "obs-text-pthread"; repo = "obs-text-pthread";
rev = version; rev = version;
sha256 = "sha256-iwPoFbXkWzwE3smWJ+//ZUayD5OO/3iMSoYUTR3LVks="; sha256 = "sha256-3Y++zpy5TEp8AtyRw+1fZDEFY9AuN7JpUNqUhM7h04U=";
}; };
nativeBuildInputs = [ cmake pkg-config ]; nativeBuildInputs = [ cmake pkg-config ];

View file

@ -2,13 +2,13 @@
buildGoModule rec { buildGoModule rec {
pname = "docker-compose"; pname = "docker-compose";
version = "2.27.0"; version = "2.27.1";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "docker"; owner = "docker";
repo = "compose"; repo = "compose";
rev = "v${version}"; rev = "v${version}";
hash = "sha256-YM/9ijwxDAjFZk/ku33b/pMYri5V1h0wPd2YS7qJgCw="; hash = "sha256-miAfEllN7/qDBD8UQZIfUeXSezEhmSwMo6oTDfiw2Bk=";
}; };
postPatch = '' postPatch = ''
@ -16,7 +16,7 @@ buildGoModule rec {
rm -rf e2e/ rm -rf e2e/
''; '';
vendorHash = "sha256-ztqWSoDsN8qdm6Jq8Wo7r16zuXENQDp2JvwSN+6Jbxw="; vendorHash = "sha256-5HJ4qaPD1pbBFKgAArW0CKNBuP7pjxswZe3rHgjsgLg=";
ldflags = [ "-X github.com/docker/compose/v2/internal.Version=${version}" "-s" "-w" ]; ldflags = [ "-X github.com/docker/compose/v2/internal.Version=${version}" "-s" "-w" ];
@ -35,6 +35,6 @@ buildGoModule rec {
mainProgram = "docker-compose"; mainProgram = "docker-compose";
homepage = "https://github.com/docker/compose"; homepage = "https://github.com/docker/compose";
license = licenses.asl20; license = licenses.asl20;
maintainers = with maintainers; [ babariviere ]; maintainers = with maintainers; [ ];
}; };
} }

View file

@ -2,13 +2,13 @@
buildGoModule rec { buildGoModule rec {
pname = "amazon-ecs-agent"; pname = "amazon-ecs-agent";
version = "1.82.3"; version = "1.82.4";
src = fetchFromGitHub { src = fetchFromGitHub {
rev = "v${version}"; rev = "v${version}";
owner = "aws"; owner = "aws";
repo = pname; repo = pname;
hash = "sha256-dn7aAH5Huul02WHoPm9VOjAdhMmtUXwnoGa2nSOa8UI="; hash = "sha256-bM/K3fxkeDwsXKsgZaEkurgYdSHnOgIQ2oUKc5atvZk=";
}; };
vendorHash = null; vendorHash = null;

View file

@ -11,16 +11,16 @@
buildGoModule rec { buildGoModule rec {
pname = "lima"; pname = "lima";
version = "0.21.0"; version = "0.22.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "lima-vm"; owner = "lima-vm";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-D7HpRM0bYUELNUG8/CMKjowqBJzEJS2unuA5YdRFToo="; sha256 = "sha256-ZX2FSZz9q56zWPSHPvXUOf2lzBupjgdTXgWpH1SBJY8=";
}; };
vendorHash = "sha256-CkXO6d3ricm+CclIByx2SUXlklM5XmEjTgipKP0wCLY="; vendorHash = "sha256-P0Qnfu/cqLveAwz9jf/wTXxkoh0jvazlE5C/PcUrWsA=";
nativeBuildInputs = [ makeWrapper installShellFiles ] nativeBuildInputs = [ makeWrapper installShellFiles ]
++ lib.optionals stdenv.isDarwin [ xcbuild.xcrun sigtool ]; ++ lib.optionals stdenv.isDarwin [ xcbuild.xcrun sigtool ];

View file

@ -2,13 +2,13 @@
buildGoModule rec { buildGoModule rec {
pname = "podman-tui"; pname = "podman-tui";
version = "1.0.1"; version = "1.1.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "containers"; owner = "containers";
repo = "podman-tui"; repo = "podman-tui";
rev = "v${version}"; rev = "v${version}";
hash = "sha256-t1vrUXv0ZP+vmOcUIue/yvB34DP+gduopuN0U9oixBQ="; hash = "sha256-my/y2cgF7F0wk5VJKfmqotBrV3HPmRQGPjlSdMe7wXk=";
}; };
vendorHash = null; vendorHash = null;

View file

@ -76,7 +76,7 @@ stdenv.mkDerivation (finalAttrs: {
++ lib.optionals hexagonSupport [ glib ] ++ lib.optionals hexagonSupport [ glib ]
++ lib.optionals stdenv.isDarwin [ sigtool ]; ++ lib.optionals stdenv.isDarwin [ sigtool ];
buildInputs = [ zlib glib pixman buildInputs = [ dtc zlib glib pixman
vde2 texinfo lzo snappy libtasn1 vde2 texinfo lzo snappy libtasn1
gnutls nettle curl libslirp gnutls nettle curl libslirp
] ]

View file

@ -44,6 +44,7 @@ in
gpgme, gpgme,
libseccomp, libseccomp,
libuuid, libuuid,
mount,
# This is for nvidia-container-cli # This is for nvidia-container-cli
nvidia-docker, nvidia-docker,
openssl, openssl,
@ -79,6 +80,20 @@ in
externalLocalStateDir ? null, externalLocalStateDir ? null,
# Remove the symlinks to `singularity*` when projectName != "singularity" # Remove the symlinks to `singularity*` when projectName != "singularity"
removeCompat ? false, removeCompat ? false,
# The defaultPath values to substitute in each source files.
#
# `defaultPath` are PATH variables hard-coded inside Apptainer/Singularity
# binaries to search for third-party utilities, as a hardening for
# `$out/bin/starter-suid`.
#
# The upstream provided values are suitable for FHS-conformant environment.
# We substitute them and insert Nixpkgs-specific values.
#
# Example:
# {
# "path/to/source/file1" = [ "<originalDefaultPath11>" "<originalDefaultPath12>" ... ];
# }
sourceFilesWithDefaultPaths ? { },
# Workaround #86349 # Workaround #86349
# should be removed when the issue is resolved # should be removed when the issue is resolved
vendorHash ? _defaultGoVendorArgs.vendorHash, vendorHash ? _defaultGoVendorArgs.vendorHash,
@ -87,7 +102,6 @@ in
}: }:
let let
defaultPathOriginal = "/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin:/usr/local/sbin";
privileged-un-utils = privileged-un-utils =
if ((newuidmapPath == null) && (newgidmapPath == null)) then if ((newuidmapPath == null) && (newgidmapPath == null)) then
null null
@ -97,6 +111,12 @@ let
ln -s ${lib.escapeShellArg newuidmapPath} "$out/bin/newuidmap" ln -s ${lib.escapeShellArg newuidmapPath} "$out/bin/newuidmap"
ln -s ${lib.escapeShellArg newgidmapPath} "$out/bin/newgidmap" ln -s ${lib.escapeShellArg newgidmapPath} "$out/bin/newgidmap"
''); '');
concatMapStringAttrsSep =
sep: f: attrs:
lib.concatMapStringsSep sep (name: f name attrs.${name}) (lib.attrNames attrs);
addShellDoubleQuotes = s: lib.escapeShellArg ''"'' + s + lib.escapeShellArg ''"'';
in in
(buildGoModule { (buildGoModule {
inherit pname version src; inherit pname version src;
@ -185,6 +205,7 @@ in
fakeroot fakeroot
fuse2fs # Mount ext3 filesystems fuse2fs # Mount ext3 filesystems
go go
mount # mount
privileged-un-utils privileged-un-utils
squashfsTools # mksquashfs unsquashfs # Make / unpack squashfs image squashfsTools # mksquashfs unsquashfs # Make / unpack squashfs image
squashfuse # squashfuse_ll squashfuse # Mount (without unpacking) a squashfs image without privileges squashfuse # squashfuse_ll squashfuse # Mount (without unpacking) a squashfs image without privileges
@ -199,8 +220,19 @@ in
patchShebangs --build "$configureScript" makeit e2e scripts mlocal/scripts patchShebangs --build "$configureScript" makeit e2e scripts mlocal/scripts
# Patching the hard-coded defaultPath by prefixing the packages in defaultPathInputs # Patching the hard-coded defaultPath by prefixing the packages in defaultPathInputs
substituteInPlace cmd/internal/cli/actions.go \ ${concatMapStringAttrsSep "\n" (fileName: originalDefaultPaths: ''
--replace "defaultPath = \"${defaultPathOriginal}\"" "defaultPath = \"''${defaultPathInputs// /\/bin:}''${defaultPathInputs:+/bin:}${defaultPathOriginal}\"" substituteInPlace ${lib.escapeShellArg fileName} \
${
lib.concatMapStringsSep " \\\n " (
originalDefaultPath:
lib.concatStringsSep " " [
"--replace-fail"
(addShellDoubleQuotes (lib.escapeShellArg originalDefaultPath))
(addShellDoubleQuotes ''$inputsDefaultPath''${inputsDefaultPath:+:}${lib.escapeShellArg originalDefaultPath}'')
]
) originalDefaultPaths
}
'') sourceFilesWithDefaultPaths}
substituteInPlace internal/pkg/util/gpu/nvidia.go \ substituteInPlace internal/pkg/util/gpu/nvidia.go \
--replace \ --replace \
@ -236,7 +268,7 @@ in
substituteInPlace "$out/bin/run-singularity" \ substituteInPlace "$out/bin/run-singularity" \
--replace "/usr/bin/env ${projectName}" "$out/bin/${projectName}" --replace "/usr/bin/env ${projectName}" "$out/bin/${projectName}"
wrapProgram "$out/bin/${projectName}" \ wrapProgram "$out/bin/${projectName}" \
--prefix PATH : "''${defaultPathInputs// /\/bin:}''${defaultPathInputs:+/bin:}" --prefix PATH : "$inputsDefaultPath"
# Make changes in the config file # Make changes in the config file
${lib.optionalString forceNvcCli '' ${lib.optionalString forceNvcCli ''
substituteInPlace "$out/etc/${projectName}/${projectName}.conf" \ substituteInPlace "$out/etc/${projectName}/${projectName}.conf" \
@ -294,7 +326,9 @@ in
}).overrideAttrs }).overrideAttrs
( (
finalAttrs: prevAttrs: { finalAttrs: prevAttrs: {
inputsDefaultPath = lib.makeBinPath finalAttrs.defaultPathInputs;
passthru = prevAttrs.passthru or { } // { passthru = prevAttrs.passthru or { } // {
inherit sourceFilesWithDefaultPaths;
tests = { tests = {
image-hello-cowsay = singularity-tools.buildImage { image-hello-cowsay = singularity-tools.buildImage {
name = "hello-cowsay"; name = "hello-cowsay";

View file

@ -35,6 +35,12 @@ let
# when building on a system with disabled unprivileged namespace. # when building on a system with disabled unprivileged namespace.
# See https://github.com/NixOS/nixpkgs/pull/215690#issuecomment-1426954601 # See https://github.com/NixOS/nixpkgs/pull/215690#issuecomment-1426954601
defaultToSuid = null; defaultToSuid = null;
sourceFilesWithDefaultPaths = {
"cmd/internal/cli/actions.go" = [ "/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin:/usr/local/sbin" ];
"e2e/env/env.go" = [ "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" ];
"internal/pkg/util/env/env.go" = [ "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" ];
};
}; };
singularity = singularity =
@ -71,6 +77,14 @@ let
# on UNIX-like platforms, # on UNIX-like platforms,
# and only have --without-suid but not --with-suid. # and only have --without-suid but not --with-suid.
defaultToSuid = true; defaultToSuid = true;
sourceFilesWithDefaultPaths = {
"cmd/internal/cli/actions.go" = [ "/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin:/usr/local/sbin" ];
"e2e/env/env.go" = [ "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" ];
"internal/pkg/util/env/clean.go" = [
"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
];
};
}; };
genOverridenNixos = genOverridenNixos =

View file

@ -1,14 +1,15 @@
{ stdenv { stdenv
, buildFHSEnv , buildFHSEnv
, fetchurl , fetchurl
, fetchzip
, lib , lib
, zlib , zlib
, gdbm , gdbm
, bzip2
, libxslt , libxslt
, libxml2 , libxml2
, libuuid , libuuid
, readline , readline
, readline70
, xz , xz
, cups , cups
, glibc , glibc
@ -25,23 +26,51 @@
, python3 , python3
, autoPatchelfHook , autoPatchelfHook
, makeWrapper , makeWrapper
, sqlite , symlinkJoin
, enableInstaller ? false , enableInstaller ? false, bzip2, sqlite
, enableMacOSGuests ? false, fetchFromGitHub, gnutar, unzip , enableMacOSGuests ? false, fetchFromGitHub, unzip
, enableGuestTools ? true,
}: }:
let let
# base - versions
version = "17.5.2";
build = "23775571";
baseUrl = "https://softwareupdate.vmware.com/cds/vmw-desktop/ws/${version}/${build}/linux";
# tools - versions
toolsVersion = "12.4.0";
toolsBuild = "23259341";
# macOS - versions # macOS - versions
fusionVersion = "13.5.1"; fusionVersion = "13.5.2";
fusionBuild = "23298085"; fusionBuild = "23775688";
unlockerVersion = "3.0.5"; unlockerVersion = "3.0.5";
# macOS - ISOs guestToolsSrc =
darwinIsoSrc = fetchurl { let
url = "https://softwareupdate.vmware.com/cds/vmw-desktop/fusion/${fusionVersion}/${fusionBuild}/universal/core/com.vmware.fusion.zip.tar"; fetchComponent = (system: hash: fetchzip {
sha256 = "sha256-bn6hoicby2YVj1pZTBzBhabNhKefzVQTm5vIrdTO2K4="; inherit hash;
url = "${baseUrl}/packages/vmware-tools-${system}-${toolsVersion}-${toolsBuild}.x86_64.component.tar";
stripRoot = false;
} + "/vmware-tools-${system}-${toolsVersion}-${toolsBuild}.x86_64.component");
in lib.mapAttrsToList fetchComponent {
linux = "sha256-vT08mR6cCXZjiQgb9jy+MaqYzS0hFbNUM7xGAHIJ8Ao=";
linuxPreGlibc25 = "sha256-BodN1lxuhxyLlxIQSlVhGKItJ10VPlti/sEyxcRF2SA=";
netware = "sha256-o/S4wAYLR782Fn20fTQ871+rzsa1twnAxb9laV16XIk=";
solaris = "sha256-3LdFoI4TD5zxlohDGR3DRGbF6jwDZAoSMEpHWU4vSGU=";
winPre2k = "sha256-+QcvWfY3aCDxUwAfSuj7Wf9sxIO+ztWBrRolMim8Dfw=";
winPreVista = "sha256-3NgO/GdRFTpKNo45TMet0msjzxduuoF4nVLtnOUTHUA=";
windows = "sha256-2F7UPjNvtibmWAJxpB8IOnol12aMOGMy+403WeCTXw8=";
}; };
# macOS - ISOs
darwinIsoSrc = fetchzip {
url = "https://softwareupdate.vmware.com/cds/vmw-desktop/fusion/${fusionVersion}/${fusionBuild}/universal/core/com.vmware.fusion.zip.tar";
sha256 = "sha256-DDLRWAVRI3ZeXV5bUXWwput9mEC1qsJUsjojI0CJYMI=";
stripRoot = false;
} + "/com.vmware.fusion.zip";
# macOS - Unlocker # macOS - Unlocker
unlockerSrc = fetchFromGitHub { unlockerSrc = fetchFromGitHub {
owner = "paolo-projects"; owner = "paolo-projects";
@ -68,11 +97,18 @@ let
name = "vmware-unpack-env"; name = "vmware-unpack-env";
targetPkgs = pkgs: [ zlib ]; targetPkgs = pkgs: [ zlib ];
}; };
readline70_compat63 = symlinkJoin {
name = "readline70_compat63";
paths = [ readline70 ];
postBuild = ''
ln -s $out/lib/libreadline.so $out/lib/libreadline.so.6
'';
};
in in
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "vmware-workstation"; pname = "vmware-workstation";
version = "17.5.1"; inherit version build;
build = "23298084";
buildInputs = [ buildInputs = [
libxslt libxslt
@ -96,21 +132,24 @@ stdenv.mkDerivation rec {
]; ];
nativeBuildInputs = [ python3 vmware-unpack-env autoPatchelfHook makeWrapper ] nativeBuildInputs = [ python3 vmware-unpack-env autoPatchelfHook makeWrapper ]
++ lib.optionals enableInstaller [ sqlite bzip2 ] ++ lib.optionals enableInstaller [ bzip2 sqlite readline70_compat63 ]
++ lib.optionals enableMacOSGuests [ gnutar unzip ]; ++ lib.optionals enableMacOSGuests [ unzip ];
src = fetchurl { src = fetchzip {
url = "https://download3.vmware.com/software/WKST-${builtins.replaceStrings ["."] [""] version}-LX/VMware-Workstation-Full-${version}-${build}.x86_64.bundle"; url = "${baseUrl}/core/VMware-Workstation-${version}-${build}.x86_64.bundle.tar";
sha256 = "sha256-qmC3zvKoes77z3x6UkLHsJ17kQrL1a/rxe9mF+UMdJY="; sha256 = "sha256-5PZZpXN/V687TXjqeTm8MEays4/QTf02jVfdpi9C7GI=";
}; stripRoot = false;
} + "/VMware-Workstation-${version}-${build}.x86_64.bundle";
unpackPhase = '' unpackPhase = let
${vmware-unpack-env}/bin/vmware-unpack-env -c "sh ${src} --extract unpacked" guestTools = lib.optionalString enableGuestTools (lib.concatMapStringsSep " " (src: "--install-component ${src}") guestToolsSrc);
in
''
${vmware-unpack-env}/bin/vmware-unpack-env -c "sh ${src} ${guestTools} --extract unpacked"
${lib.optionalString enableMacOSGuests '' ${lib.optionalString enableMacOSGuests ''
mkdir -p fusion/ mkdir -p fusion/
tar -xvpf "${darwinIsoSrc}" -C fusion/ unzip "${darwinIsoSrc}" \
unzip "fusion/com.vmware.fusion.zip" \
"payload/VMware Fusion.app/Contents/Library/isoimages/x86_x64/darwin.iso" \ "payload/VMware Fusion.app/Contents/Library/isoimages/x86_x64/darwin.iso" \
"payload/VMware Fusion.app/Contents/Library/isoimages/x86_x64/darwinPre15.iso" \ "payload/VMware Fusion.app/Contents/Library/isoimages/x86_x64/darwinPre15.iso" \
-d fusion/ -d fusion/
@ -173,7 +212,7 @@ stdenv.mkDerivation rec {
component_version=$(cat unpacked/$component/manifest.xml | grep -oPm1 "(?<=<version>)[^<]+") component_version=$(cat unpacked/$component/manifest.xml | grep -oPm1 "(?<=<version>)[^<]+")
component_core_id=$([ "$component" == "vmware-installer" ] && echo "-1" || echo "1") component_core_id=$([ "$component" == "vmware-installer" ] && echo "-1" || echo "1")
type=$([ "$component" == "vmware-workstation" ] && echo "0" || echo "1") type=$([ "$component" == "vmware-workstation" ] && echo "0" || echo "1")
sqlite3 "$database_filename" "INSERT INTO components(name,version,buildNumber,component_core_id,longName,description,type) VALUES(\"$component\",\"$component_version\",\"${build}\",$component_core_id,\"$component\",\"$component\",$type);" sqlite3 "$database_filename" "INSERT INTO components(name,version,buildNumber,component_core_id,longName,description,type) VALUES('$component','$component_version',${build},$component_core_id,'$component','$component',$type);"
mkdir -p $out/etc/vmware-installer/components/$component mkdir -p $out/etc/vmware-installer/components/$component
cp -r $folder/* $out/etc/vmware-installer/components/$component cp -r $folder/* $out/etc/vmware-installer/components/$component
done done
@ -255,9 +294,10 @@ stdenv.mkDerivation rec {
unpacked="unpacked/vmware-network-editor" unpacked="unpacked/vmware-network-editor"
cp -r $unpacked/lib $out/lib/vmware/ cp -r $unpacked/lib $out/lib/vmware/
## VMware Tools
echo "Installing VMware Tools"
mkdir -p $out/lib/vmware/isoimages/ mkdir -p $out/lib/vmware/isoimages/
${lib.optionalString enableGuestTools ''
echo "Installing VMware Tools"
cp unpacked/vmware-tools-linux/linux.iso \ cp unpacked/vmware-tools-linux/linux.iso \
unpacked/vmware-tools-linuxPreGlibc25/linuxPreGlibc25.iso \ unpacked/vmware-tools-linuxPreGlibc25/linuxPreGlibc25.iso \
unpacked/vmware-tools-netware/netware.iso \ unpacked/vmware-tools-netware/netware.iso \
@ -266,6 +306,7 @@ stdenv.mkDerivation rec {
unpacked/vmware-tools-winPreVista/winPreVista.iso \ unpacked/vmware-tools-winPreVista/winPreVista.iso \
unpacked/vmware-tools-windows/windows.iso \ unpacked/vmware-tools-windows/windows.iso \
$out/lib/vmware/isoimages/ $out/lib/vmware/isoimages/
''}
${lib.optionalString enableMacOSGuests '' ${lib.optionalString enableMacOSGuests ''
echo "Installing VMWare Tools for MacOS" echo "Installing VMWare Tools for MacOS"

View file

@ -45,7 +45,7 @@ rec {
, diskSize ? 1024 , diskSize ? 1024
, runScript ? "#!${stdenv.shell}\nexec /bin/sh" , runScript ? "#!${stdenv.shell}\nexec /bin/sh"
, runAsRoot ? null , runAsRoot ? null
, memSize ? 512 , memSize ? 1024
, singularity ? defaultSingularity , singularity ? defaultSingularity
}: }:
let let

View file

@ -9,11 +9,11 @@
stdenvNoCC.mkDerivation (finalAttrs: { stdenvNoCC.mkDerivation (finalAttrs: {
pname = "arc-browser"; pname = "arc-browser";
version = "1.44.2-50412"; version = "1.44.3-50502";
src = fetchurl { src = fetchurl {
url = "https://releases.arc.net/release/Arc-${finalAttrs.version}.dmg"; url = "https://releases.arc.net/release/Arc-${finalAttrs.version}.dmg";
hash = "sha256-0UrvCTGnbt+jQ4UpEt5vsgKZ/UDJz3I1obK4GPshNjg="; hash = "sha256-nu/52vUEp4Fa5Z11r8CGQAl31UOkwCLnFcMwR7n35wU=";
}; };
nativeBuildInputs = [ undmg ]; nativeBuildInputs = [ undmg ];

View file

@ -0,0 +1,56 @@
{
stdenvNoCC,
lib,
fetchFromGitHub,
unstableGitUpdater,
variant ? "macchiato",
}:
let
pname = "catppuccin-plymouth";
validVariants = [
"latte"
"frappe"
"macchiato"
"mocha"
];
in
lib.checkListOfEnum "${pname}: color variant" validVariants [ variant ]
stdenvNoCC.mkDerivation
(finalAttrs: {
inherit pname;
version = "0-unstable-2024-05-28";
src = fetchFromGitHub {
owner = "catppuccin";
repo = "plymouth";
rev = "e13c348a0f47772303b2da1e9396027d8cda160d";
hash = "sha256-6DliqhRncvdPuKzL9LJec3PJWmK/jo9BrrML7g6YcH0=";
};
sourceRoot = "${finalAttrs.src.name}/themes/catppuccin-${variant}";
installPhase = ''
runHook preInstall
sed -i 's:\(^ImageDir=\)/usr:\1'"$out"':' catppuccin-${variant}.plymouth
mkdir -p $out/share/plymouth/themes/catppuccin-${variant}
cp * $out/share/plymouth/themes/catppuccin-${variant}
runHook postInstall
'';
passthru.updateScript = unstableGitUpdater { };
meta = {
description = "Soothing pastel theme for Plymouth";
homepage = "https://github.com/catppuccin/plymouth";
license = lib.licenses.mit;
platforms = lib.platforms.linux;
maintainers = with lib.maintainers; [
johnrtitor
spectre256
];
};
})

View file

@ -26,7 +26,20 @@ stdenv.mkDerivation (finalAttrs: {
owner = "ccache"; owner = "ccache";
repo = "ccache"; repo = "ccache";
rev = "refs/tags/v${finalAttrs.version}"; rev = "refs/tags/v${finalAttrs.version}";
sha256 = "sha256-0T9iJXnDX8LffhB/5hsfBNyZQ211f0lL/7dvTrjmiE0="; # `git archive` replaces `$Format:%H %D$` in cmake/CcacheVersion.cmake
# we need to replace it with something reproducible
# see https://github.com/NixOS/nixpkgs/pull/316524
postFetch = ''
sed -i -E \
's/version_info "([0-9a-f]{40}) .*(tag: v[^,]+).*"/version_info "\1 \2"/g w match' \
$out/cmake/CcacheVersion.cmake
if [ -s match ]; then
rm match
else # pattern didn't match
exit 1
fi
'';
hash = "sha256-YHSr2pnk17QEdrIHInXX2eBFN9OGjdleaB41VLaqlnA=";
}; };
outputs = [ outputs = [

View file

@ -14,16 +14,16 @@ let
in in
buildGoModule rec { buildGoModule rec {
pname = "centrifugo"; pname = "centrifugo";
version = "5.3.2"; version = "5.4.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "centrifugal"; owner = "centrifugal";
repo = "centrifugo"; repo = "centrifugo";
rev = "v${version}"; rev = "v${version}";
hash = "sha256-h1aI+dAVL/ToHeSdI41i74Kq2JnvGgv2fI5ffhBIfRM="; hash = "sha256-sSEainZXgZ26u4J0FXVM8Je1uwDrAOkzLMgrCUtOx74=";
}; };
vendorHash = "sha256-mtIRbW8aN1PJs/43aaAa141l2VmVdVHY8bnvfV+r0e8="; vendorHash = "sha256-kPnkuBOcTDuAWD51JGJvgHLj9jn9kHZOfPw/DF64Mn8=";
ldflags = [ ldflags = [
"-s" "-s"

View file

@ -0,0 +1,44 @@
{
lib,
appimageTools,
fetchurl,
}:
let
pname = "clickup";
version = "3.3.79";
src = fetchurl {
# Using archive.org because the website doesn't store older versions of the software.
url = "https://web.archive.org/web/20240601173958/https%3A%2F%2Fdesktop.clickup.com%2Flinux";
hash = "sha256-jAOYDX9j+ZTqWsSg0rEckKZnErgsIV6+CtUv3M3wNqM=";
};
appimageContents = appimageTools.extractType2 { inherit pname version src; };
in
appimageTools.wrapType2 {
inherit pname version src;
extraPkgs = pkgs: [ pkgs.xorg.libxkbfile ];
extraInstallCommands = ''
install -m 444 -D ${appimageContents}/desktop.desktop $out/share/applications/clickup.desktop
substituteInPlace $out/share/applications/clickup.desktop \
--replace-fail 'Exec=AppRun --no-sandbox %U' 'Exec=clickup' \
--replace-fail 'Icon=desktop' 'Icon=clickup'
for size in 16 32 64 128 256 512 1024; do
install -Dm444 ${appimageContents}/usr/share/icons/hicolor/''${size}x''${size}/apps/desktop.png \
-t $out/share/icons/hicolor/''${size}x''${size}/apps/clickup.png
done
'';
meta = {
description = "All in one project management solution";
homepage = "https://clickup.com";
license = lib.licenses.unfree;
mainProgram = "clickup";
maintainers = with lib.maintainers; [ heisfer ];
platforms = [ "x86_64-linux" ];
};
}

View file

@ -13,10 +13,10 @@ let
}.${system} or throwSystem; }.${system} or throwSystem;
hash = { hash = {
x86_64-linux = "sha256-zyKC/6BNCgMHSWmoGgt+nSsm91xUZw59giJW5L9e0ko="; x86_64-linux = "sha256-+fRxPZ/exESeHzTi3x6959fzpkuVEMqeqeiKjuaLP1k=";
aarch64-linux = "sha256-WCm969+gHZ5RisaBnPcE+4FXmACzNWE+uSDf42mKFP8="; aarch64-linux = "sha256-XYA7jL2cQPH8Tj1uE+8aSZq3V+4559ILaq+6gvikQ+M=";
x86_64-darwin = "sha256-OTuh6Sgxam2AluI+wqo1x7VEq/9G8WLWf5gvMtMhIsg="; x86_64-darwin = "sha256-WqWmQKicxgXJQXFgWl3ePzXUbsfJgmR1bbf2fYfD1l4=";
aarch64-darwin = "sha256-b0iPgQGODEQi8pC9+kLlS9HgS29lTFQlfVsIoC5GVaM="; aarch64-darwin = "sha256-FCEZeZ8GI3bkUSe8LGkNhi5uP5TAJDqJv0dJBNl7BOY=";
}.${system} or throwSystem; }.${system} or throwSystem;
bin = "$out/bin/codeium_language_server"; bin = "$out/bin/codeium_language_server";
@ -24,7 +24,7 @@ let
in in
stdenv.mkDerivation (finalAttrs: { stdenv.mkDerivation (finalAttrs: {
pname = "codeium"; pname = "codeium";
version = "1.8.42"; version = "1.8.51";
src = fetchurl { src = fetchurl {
name = "${finalAttrs.pname}-${finalAttrs.version}.gz"; name = "${finalAttrs.pname}-${finalAttrs.version}.gz";
url = "https://github.com/Exafunction/codeium/releases/download/language-server-v${finalAttrs.version}/language_server_${plat}.gz"; url = "https://github.com/Exafunction/codeium/releases/download/language-server-v${finalAttrs.version}/language_server_${plat}.gz";

View file

@ -8,16 +8,16 @@
buildGoModule rec { buildGoModule rec {
pname = "crossplane-cli"; pname = "crossplane-cli";
version = "1.15.2"; version = "1.16.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "crossplane"; owner = "crossplane";
repo = "crossplane"; repo = "crossplane";
rev = "v${version}"; rev = "v${version}";
hash = "sha256-jNaWedK9h4pP+0u1UDHoZ/7l6kVXA2g9Vs0036itk9Q="; hash = "sha256-1067l3DM6/kW6d35+9nfMdFtu8jIzw/QJaHFKzOTbSc=";
}; };
vendorHash = "sha256-vYbTkdX3L/AZN9vWUw8NzkPk16BwUzP8zJb22fnsoRo="; vendorHash = "sha256-Ccc7hEsHkHw2P5cgMB06VVlHur5DCPclaEMoFCwoSrA=";
ldflags = [ ldflags = [
"-s" "-s"
@ -33,7 +33,7 @@ buildGoModule rec {
passthru.tests.version = testers.testVersion { passthru.tests.version = testers.testVersion {
package = crossplane-cli; package = crossplane-cli;
command = "crossplane --version"; command = "crossplane version || true";
version = "v${version}"; version = "v${version}";
}; };

View file

@ -0,0 +1,73 @@
{
lib,
stdenv,
fetchurl,
undmg,
appimageTools,
}:
let
pname = "dbgate";
version = "5.2.8";
src =
fetchurl
{
aarch64-linux = {
url = "https://github.com/dbgate/dbgate/releases/download/v${version}/dbgate-${version}-linux_arm64.AppImage";
hash = "sha256-gxojSSk7prhnd9fy56B9H+Cj6COBLc7xPfV8dTvSO0c=";
};
x86_64-linux = {
url = "https://github.com/dbgate/dbgate/releases/download/v${version}/dbgate-${version}-linux_x86_64.AppImage";
hash = "sha256-/Vfd0R+Mzx1CJKkC7dj99pbuuyh8PJtbYlH3wtwVxSM=";
};
x86_64-darwin = {
url = "https://github.com/dbgate/dbgate/releases/download/v${version}/dbgate-${version}-mac_x64.dmg";
hash = "sha256-1kC5CNgD3KGR3nd14cBHhYKCThualLKR3CE4KGKh/Hs=";
};
}
.${stdenv.system} or (throw "dbgate: ${stdenv.system} is unsupported.");
meta = with lib; {
description = "Database manager for MySQL, PostgreSQL, SQL Server, MongoDB, SQLite and others.";
homepage = "https://github.com/dbgate/dbgate";
license = licenses.mit;
maintainers = with maintainers; [ luftmensch-luftmensch ];
changelog = "https://github.com/dbgate/dbgate/blob/master/CHANGELOG.md";
mainProgram = "dbgate";
platforms = [
"x86_64-linux"
"x86_64-darwin"
"aarch64-linux"
];
sourceProvenance = [ sourceTypes.binaryNativeCode ];
};
in
if stdenv.isDarwin then
stdenv.mkDerivation {
inherit
pname
version
src
meta
;
sourceRoot = ".";
nativeBuildInputs = [ undmg ];
installPhase = ''
runHook preInstall
mkdir -p $out/Applications
cp -r *.app $out/Applications
runHook postInstall
'';
}
else
appimageTools.wrapType2 {
inherit
pname
version
src
meta
;
}

View file

@ -13,11 +13,11 @@
stdenv.mkDerivation (finalAttrs: { stdenv.mkDerivation (finalAttrs: {
name = "dorion"; name = "dorion";
version = "4.2.1"; version = "4.3.0";
src = fetchurl { src = fetchurl {
url = "https://github.com/SpikeHD/Dorion/releases/download/v${finalAttrs.version }/Dorion_${finalAttrs.version}_amd64.deb"; url = "https://github.com/SpikeHD/Dorion/releases/download/v${finalAttrs.version }/Dorion_${finalAttrs.version}_amd64.deb";
hash = "sha256-ki1cNrMUSO9JX8HCm4lFKid3Jq6pwKJcb4bVPaha+IA="; hash = "sha256-bVanhJqHQxe3imP07EsRuDu0Isj9rf4VoIjmoAPfaQk=";
}; };
unpackCmd = '' unpackCmd = ''

View file

@ -0,0 +1,25 @@
{ lib, fetchCrate, rustPlatform }:
rustPlatform.buildRustPackage rec {
pname = "dotenvy";
version = "0.15.7";
src = fetchCrate {
inherit pname version;
hash = "sha256-virK/TpYBmwTf5UCQCqC/df8iKYAzPBfsQ1nQkFKF2Y=";
};
cargoHash = "sha256-qjFTv15FSvgYgQ4nTEIo0KUqaCbg6E+W5B2B5BH6sp4=";
cargoBuildFlags = [ "--bin=dotenvy" "--features=cli" ];
# just run unittests and skip doc-tests
cargoTestFlags = [ "--lib" ];
meta = {
description = "Loads environment variables from a .env file";
homepage = "https://github.com/allan2/dotenvy";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ phlip9 ];
};
}

View file

@ -0,0 +1,36 @@
{
fetchFromGitHub,
lib,
stdenv,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "eta";
version = "1.0.1";
src = fetchFromGitHub {
owner = "aioobe";
repo = "eta";
rev = "v${finalAttrs.version}";
hash = "sha256-UQ8ZoxFAy5dKtXTLwPolPMd7YJeEjsK639RkGCMY6rU=";
};
outputs = [
"out"
"man"
];
makeFlags = [
"PREFIX=$(out)"
"CC=${stdenv.cc.targetPrefix}cc"
];
meta = {
description = "Tool for monitoring progress and ETA of an arbitrary process";
homepage = "https://github.com/aioobe/eta";
license = lib.licenses.gpl3Only;
mainProgram = "eta";
maintainers = with lib.maintainers; [ heisfer ];
platforms = lib.platforms.linux;
};
})

View file

@ -0,0 +1,77 @@
{
lib,
stdenv,
fetchFromGitHub,
meson,
ninja,
pkg-config,
vala,
glib,
libevdev,
libgee,
udev,
testers,
nix-update-script,
}:
let
# https://github.com/v1993/evdevhook2/blob/main/subprojects/gcemuhook.wrap
gcemuhook = fetchFromGitHub {
name = "gcemuhook";
owner = "v1993";
repo = "gcemuhook";
rev = "91ef61cca809f5f3b9fa6e5304aba284a56c06dc";
hash = "sha256-CPjSuKtoqSDKd+vEBgFy3qh33TkCVbxBEnwiBAkaADs=";
};
in
stdenv.mkDerivation (finalAttrs: {
pname = "evdevhook2";
version = "1.0.2";
src = fetchFromGitHub {
owner = "v1993";
repo = "evdevhook2";
rev = "v${finalAttrs.version}";
hash = "sha256-6CnUYLgrGUM1ndGpbn/T7wkREUzQ1LsLMpkRRxyUZ50=";
};
nativeBuildInputs = [
meson
ninja
pkg-config
vala
];
buildInputs = [
glib
libevdev
libgee
udev
];
postUnpack = ''
ln -sf ${gcemuhook} source/subprojects/gcemuhook
'';
mesonBuildType = "release";
passthru = {
tests.version = testers.testVersion {
package = finalAttrs.finalPackage;
version = "Evdevhook ${finalAttrs.version}";
};
updateScript = nix-update-script { };
};
meta = {
changelog = "https://github.com/v1993/evdevhook2/releases/tag/v${finalAttrs.version}";
description = "Cemuhook UDP server for devices with modern Linux drivers";
homepage = "https://github.com/v1993/evdevhook2";
license = lib.licenses.gpl3Only;
mainProgram = "evdevhook2";
maintainers = with lib.maintainers; [ azuwis ];
platforms = lib.platforms.linux;
};
})

View file

@ -0,0 +1,34 @@
{
appimageTools,
lib,
fetchurl,
}: let
pname = "everdo";
version = "1.9.0";
src = fetchurl {
url = "https://release.everdo.net/${version}/Everdo-${version}.AppImage";
hash = "sha256-0yxAzM+qmgm4E726QDYS9QwMdp6dUcuvjZzWYEZx7kU=";
};
appimageContents = appimageTools.extractType2 {inherit pname version src;};
in
appimageTools.wrapType2 {
inherit pname version src;
extraInstallCommands = ''
install -Dm444 ${appimageContents}/everdo.desktop -t $out/share/applications
substituteInPlace $out/share/applications/everdo.desktop \
--replace-fail 'Exec=AppRun --no-sandbox %U' 'Exec=everdo %u'
cp -r ${appimageContents}/usr/share/icons $out/share
'';
meta = {
description = "A cross-platform GTD app with focus on privacy";
homepage = "https://everdo.net/";
license = lib.licenses.unfree;
maintainers = [lib.maintainers.luftmensch-luftmensch];
mainProgram = "everdo";
platforms = ["x86_64-linux"];
};
}

View file

@ -0,0 +1,44 @@
{ lib
, stdenvNoCC
, fetchFromGitHub
, gnome-themes-extra
, gtk-engine-murrine
}:
stdenvNoCC.mkDerivation {
pname = "everforest-gtk-theme";
version = "0-unstable-2023-03-20";
src = fetchFromGitHub {
owner = "Fausto-Korpsvart";
repo = "Everforest-GTK-Theme";
rev = "8481714cf9ed5148694f1916ceba8fe21e14937b";
sha256 = "sha256-NO12ku8wnW/qMHKxi5TL/dqBxH0+cZbe+fU0iicb9JU=";
};
propagatedUserEnvPkgs = [
gtk-engine-murrine
];
buildInputs = [
gnome-themes-extra
];
dontBuild = true;
installPhase = ''
runHook preInstall
mkdir -p "$out/share/"{themes,icons}
cp -a icons/* "$out/share/icons/"
cp -a themes/* "$out/share/themes/"
runHook postInstall
'';
meta = with lib; {
description = "Everforest colour palette for GTK";
homepage = "https://github.com/Fausto-Korpsvart/Everforest-GTK-Theme";
license = licenses.gpl3Only;
maintainers = with maintainers; [ jn-sena ];
platforms = platforms.unix;
};
}

View file

@ -0,0 +1,39 @@
{
lib,
stdenvNoCC,
fetchFromGitHub,
unstableGitUpdater,
}:
stdenvNoCC.mkDerivation {
pname = "fcitx5-catppuccin";
version = "0-unstable-2022-10-05";
src = fetchFromGitHub {
owner = "catppuccin";
repo = "fcitx5";
rev = "ce244cfdf43a648d984719fdfd1d60aab09f5c97";
hash = "sha256-uFaCbyrEjv4oiKUzLVFzw+UY54/h7wh2cntqeyYwGps=";
};
dontConfigure = true;
dontBuild = true;
installPhase = ''
runHook preInstall
mkdir -p $out/share/fcitx5/themes
cp -r src/catppuccin-* $out/share/fcitx5/themes
runHook postInstall
'';
passthru.updateScript = unstableGitUpdater { };
meta = with lib; {
description = "Soothing pastel theme for Fcitx5";
homepage = "https://github.com/catppuccin/fcitx5";
license = licenses.mit;
maintainers = with maintainers; [ Guanran928 ];
platforms = platforms.all;
};
}

View file

@ -0,0 +1,44 @@
{
lib,
stdenvNoCC,
fetchFromGitHub,
unstableGitUpdater,
}:
stdenvNoCC.mkDerivation {
pname = "fcitx5-tokyonight";
version = "0-unstable-2024-01-28";
src = fetchFromGitHub {
owner = "ch3n9w";
repo = "fcitx5-Tokyonight";
rev = "f7454ab387d6b071ee12ff7ee819f0c7030fdf2c";
hash = "sha256-swOy0kDZUdqtC2sPSZEBLnHSs8dpQ/QfFMObI6BARfo=";
};
dontConfigure = true;
dontBuild = true;
installPhase = ''
runHook preInstall
install -Dm644 Tokyonight-Day/{arrow.png,panel.png,radio.png} -t $out/share/fcitx5-tokyonight/
for _variant in Tokyonight-Day Tokyonight-Storm; do
mkdir -p $out/share/fcitx5/themes/$_variant/
ln -s $out/share/fcitx5-tokyonight/arrow.png $out/share/fcitx5/themes/$_variant/arrow.png
ln -s $out/share/fcitx5-tokyonight/radio.png $out/share/fcitx5/themes/$_variant/radio.png
install -Dm644 $_variant/theme.conf $out/share/fcitx5/themes/$_variant/theme.conf
done
runHook postInstall
'';
passthru.updateScript = unstableGitUpdater { };
meta = with lib; {
description = "Fcitx5 theme based on Tokyo Night color";
homepage = "https://github.com/ch3n9w/fcitx5-Tokyonight";
license = licenses.gpl3Only;
maintainers = with maintainers; [ Guanran928 ];
platforms = platforms.all;
};
}

View file

@ -6,7 +6,7 @@
, perl , perl
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation (finalAttrs: {
pname = "foomatic-db-nonfree"; pname = "foomatic-db-nonfree";
version = "unstable-2015-06-05"; version = "unstable-2015-06-05";
@ -60,7 +60,7 @@ stdenv.mkDerivation rec {
''; '';
meta = { meta = {
changelog = "https://github.com/OpenPrinting/foomatic-db-nonfree/blob/${src.rev}/ChangeLog"; changelog = "https://github.com/OpenPrinting/foomatic-db-nonfree/blob/${finalAttrs.src.rev}/ChangeLog";
description = "OpenPrinting printer support database (unfree content)"; description = "OpenPrinting printer support database (unfree content)";
downloadPage = "https://www.openprinting.org/download/foomatic/"; downloadPage = "https://www.openprinting.org/download/foomatic/";
homepage = "https://openprinting.github.io/projects/02-foomatic/"; homepage = "https://openprinting.github.io/projects/02-foomatic/";
@ -84,4 +84,4 @@ stdenv.mkDerivation rec {
Dell, Genicom, Lexmark, Oce and Xerox. Dell, Genicom, Lexmark, Oce and Xerox.
''; '';
}; };
} })

View file

@ -11,17 +11,17 @@
, patchPpdFilesHook , patchPpdFilesHook
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation (finalAttrs: {
pname = "foomatic-db"; pname = "foomatic-db";
version = "unstable-2024-02-09"; version = "unstable-2024-05-04";
src = fetchFromGitHub { src = fetchFromGitHub {
# there is also a daily snapshot at the `downloadPage`, # there is also a daily snapshot at the `downloadPage`,
# but it gets deleted quickly and would provoke 404 errors # but it gets deleted quickly and would provoke 404 errors
owner = "OpenPrinting"; owner = "OpenPrinting";
repo = "foomatic-db"; repo = "foomatic-db";
rev = "f8b43644771612f854fecda969440511de784bf0"; rev = "eaad4c0d2406d4cd38a6d15e5dc93d1bc8358c30";
hash = "sha256-8Pui83Z7g5aHBJk46AYeKil/0++I6zcc5S/BWRuy1WM="; hash = "sha256-A+Op1E16woNl/ppVj0QfdV4XgT1M8sbrpTXtdOz3PYk=";
}; };
buildInputs = [ cups cups-filters ghostscript gnused perl ]; buildInputs = [ cups cups-filters ghostscript gnused perl ];
@ -79,7 +79,7 @@ stdenv.mkDerivation rec {
''; '';
meta = { meta = {
changelog = "https://github.com/OpenPrinting/foomatic-db/blob/${src.rev}/ChangeLog"; changelog = "https://github.com/OpenPrinting/foomatic-db/blob/${finalAttrs.src.rev}/ChangeLog";
description = "OpenPrinting printer support database (free content)"; description = "OpenPrinting printer support database (free content)";
downloadPage = "https://www.openprinting.org/download/foomatic/"; downloadPage = "https://www.openprinting.org/download/foomatic/";
homepage = "https://openprinting.github.io/projects/02-foomatic/"; homepage = "https://openprinting.github.io/projects/02-foomatic/";
@ -100,4 +100,4 @@ stdenv.mkDerivation rec {
Oce, Oki, Ricoh, Samsung, Savin, Sharp, Toshiba and Utax. Oce, Oki, Ricoh, Samsung, Savin, Sharp, Toshiba and Utax.
''; '';
}; };
} })

View file

@ -64,11 +64,11 @@ let
in stdenv.mkDerivation (finalAttrs: { in stdenv.mkDerivation (finalAttrs: {
pname = "google-chrome"; pname = "google-chrome";
version = "125.0.6422.112"; version = "125.0.6422.141";
src = fetchurl { src = fetchurl {
url = "https://dl.google.com/linux/chrome/deb/pool/main/g/google-chrome-stable/google-chrome-stable_${finalAttrs.version}-1_amd64.deb"; url = "https://dl.google.com/linux/chrome/deb/pool/main/g/google-chrome-stable/google-chrome-stable_${finalAttrs.version}-1_amd64.deb";
hash = "sha256-Tx9SGob0b4mndk+zIhSL8MAuCUdwz2HrbnhfXYYfEUo="; hash = "sha256-nIdzl3DkvGy9EsNS8nvPi8yK0gvx9mFaxYSxuYZZzxI=";
}; };
nativeBuildInputs = [ patchelf makeWrapper ]; nativeBuildInputs = [ patchelf makeWrapper ];

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