Merge master into staging-next

This commit is contained in:
github-actions[bot] 2024-02-09 12:01:11 +00:00 committed by GitHub
commit a7f4ae0644
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
73 changed files with 899 additions and 238 deletions

View File

@ -4371,6 +4371,12 @@
githubId = 49904992;
name = "Dawid Sowa";
};
daylinmorgan = {
email = "daylinmorgan@gmail.com";
github = "daylinmorgan";
githubId = 47667941;
name = "Daylin Morgan";
};
dbalan = {
email = "nix@dbalan.in";
github = "dbalan";

View File

@ -39,4 +39,5 @@ and non-critical by adding `options = [ "nofail" ];`.
```{=include=} sections
luks-file-systems.section.md
sshfs-file-systems.section.md
overlayfs.section.md
```

View File

@ -0,0 +1,27 @@
# Overlayfs {#sec-overlayfs}
NixOS offers a convenient abstraction to create both read-only as well writable
overlays.
```nix
fileSystems = {
"/writable-overlay" = {
overlay = {
lowerdir = [ writableOverlayLowerdir ];
upperdir = "/.rw-writable-overlay/upper";
workdir = "/.rw-writable-overlay/work";
};
# Mount the writable overlay in the initrd.
neededForBoot = true;
};
"/readonly-overlay".overlay.lowerdir = [
writableOverlayLowerdir
writableOverlayLowerdir2
];
};
```
If `upperdir` and `workdir` are not null, they will be created before the
overlay is mounted.
To mount an overlay as read-only, you need to provide at least two `lowerdir`s.

View File

@ -278,6 +278,11 @@ The pre-existing [services.ankisyncd](#opt-services.ankisyncd.enable) has been m
- The option [`services.nextcloud.config.dbport`] of the Nextcloud module was removed to match upstream.
The port can be specified in [`services.nextcloud.config.dbhost`](#opt-services.nextcloud.config.dbhost).
- A new abstraction to create both read-only as well as writable overlay file
systems was added. Available via
[fileSystems.overlay](#opt-fileSystems._name_.overlay.lowerdir). See also the
[NixOS docs](#sec-overlayfs).
- `stdenv`: The `--replace` flag in `substitute`, `substituteInPlace`, `substituteAll`, `substituteAllStream`, and `substituteStream` is now deprecated if favor of the new `--replace-fail`, `--replace-warn` and `--replace-quiet`. The deprecated `--replace` equates to `--replace-warn`.
- A new hardening flag, `zerocallusedregs` was made available, corresponding to the gcc/clang option `-fzero-call-used-regs=used-gpr`.

View File

@ -1527,6 +1527,7 @@
./tasks/filesystems/jfs.nix
./tasks/filesystems/nfs.nix
./tasks/filesystems/ntfs.nix
./tasks/filesystems/overlayfs.nix
./tasks/filesystems/reiserfs.nix
./tasks/filesystems/sshfs.nix
./tasks/filesystems/squashfs.nix

View File

@ -64,8 +64,7 @@ in
example = "--max-freed $((64 * 1024**3))";
type = lib.types.singleLineStr;
description = lib.mdDoc ''
Options given to {file}`nix-collect-garbage` when the
garbage collector is run automatically.
Options given to [`nix-collect-garbage`](https://nixos.org/manual/nix/stable/command-ref/nix-collect-garbage) when the garbage collector is run automatically.
'';
};

View File

@ -0,0 +1,144 @@
{ config, lib, pkgs, utils, ... }:
let
# The scripted initrd contains some magic to add the prefix to the
# paths just in time, so we don't add it here.
sysrootPrefix = fs:
if config.boot.initrd.systemd.enable && (utils.fsNeededForBoot fs) then
"/sysroot"
else
"";
# Returns a service that creates the required directories before the mount is
# created.
preMountService = _name: fs:
let
prefix = sysrootPrefix fs;
escapedMountpoint = utils.escapeSystemdPath (prefix + fs.mountPoint);
mountUnit = "${escapedMountpoint}.mount";
upperdir = prefix + fs.overlay.upperdir;
workdir = prefix + fs.overlay.workdir;
in
lib.mkIf (fs.overlay.upperdir != null)
{
"rw-${escapedMountpoint}" = {
requiredBy = [ mountUnit ];
before = [ mountUnit ];
unitConfig = {
DefaultDependencies = false;
RequiresMountsFor = "${upperdir} ${workdir}";
};
serviceConfig = {
Type = "oneshot";
ExecStart = "${pkgs.coreutils}/bin/mkdir -p -m 0755 ${upperdir} ${workdir}";
};
};
};
overlayOpts = { config, ... }: {
options.overlay = {
lowerdir = lib.mkOption {
type = with lib.types; nullOr (nonEmptyListOf (either str pathInStore));
default = null;
description = lib.mdDoc ''
The list of path(s) to the lowerdir(s).
To create a writable overlay, you MUST provide an upperdir and a
workdir.
You can create a read-only overlay when you provide multiple (at
least 2!) lowerdirs and neither an upperdir nor a workdir.
'';
};
upperdir = lib.mkOption {
type = lib.types.nullOr lib.types.str;
default = null;
description = lib.mdDoc ''
The path to the upperdir.
If this is null, a read-only overlay is created using the lowerdir.
If you set this to some value you MUST also set `workdir`.
'';
};
workdir = lib.mkOption {
type = lib.types.nullOr lib.types.str;
default = null;
description = lib.mdDoc ''
The path to the workdir.
This MUST be set if you set `upperdir`.
'';
};
};
config = lib.mkIf (config.overlay.lowerdir != null) {
fsType = "overlay";
device = lib.mkDefault "overlay";
options =
let
prefix = sysrootPrefix config;
lowerdir = map (s: prefix + s) config.overlay.lowerdir;
upperdir = prefix + config.overlay.upperdir;
workdir = prefix + config.overlay.workdir;
in
[
"lowerdir=${lib.concatStringsSep ":" lowerdir}"
] ++ lib.optionals (config.overlay.upperdir != null) [
"upperdir=${upperdir}"
"workdir=${workdir}"
] ++ (map (s: "x-systemd.requires-mounts-for=${s}") lowerdir);
};
};
in
{
options = {
# Merge the overlay options into the fileSystems option.
fileSystems = lib.mkOption {
type = lib.types.attrsOf (lib.types.submodule [ overlayOpts ]);
};
};
config =
let
overlayFileSystems = lib.filterAttrs (_name: fs: (fs.overlay.lowerdir != null)) config.fileSystems;
initrdFileSystems = lib.filterAttrs (_name: utils.fsNeededForBoot) overlayFileSystems;
userspaceFileSystems = lib.filterAttrs (_name: fs: (!utils.fsNeededForBoot fs)) overlayFileSystems;
in
{
boot.initrd.availableKernelModules = lib.mkIf (initrdFileSystems != { }) [ "overlay" ];
assertions = lib.concatLists (lib.mapAttrsToList
(_name: fs: [
{
assertion = (fs.overlay.upperdir == null) == (fs.overlay.workdir == null);
message = "You cannot define a `lowerdir` without a `workdir` and vice versa for mount point: ${fs.mountPoint}";
}
{
assertion = (fs.overlay.lowerdir != null && fs.overlay.upperdir == null) -> (lib.length fs.overlay.lowerdir) >= 2;
message = "A read-only overlay (without an `upperdir`) requires at least 2 `lowerdir`s: ${fs.mountPoint}";
}
])
config.fileSystems);
boot.initrd.systemd.services = lib.mkMerge (lib.mapAttrsToList preMountService initrdFileSystems);
systemd.services = lib.mkMerge (lib.mapAttrsToList preMountService userspaceFileSystems);
};
}

View File

@ -1066,10 +1066,18 @@ in
''}
'';
systemd.tmpfiles.rules = lib.mkIf config.boot.initrd.systemd.enable [
"f /etc/NIXOS 0644 root root -"
"d /boot 0644 root root -"
];
systemd.tmpfiles.settings."10-qemu-vm" = lib.mkIf config.boot.initrd.systemd.enable {
"/etc/NIXOS".f = {
mode = "0644";
user = "root";
group = "root";
};
"${config.boot.loader.efi.efiSysMountPoint}".d = {
mode = "0644";
user = "root";
group = "root";
};
};
# After booting, register the closure of the paths in
# `virtualisation.additionalPaths' in the Nix database in the VM. This

View File

@ -301,6 +301,7 @@ in {
fenics = handleTest ./fenics.nix {};
ferm = handleTest ./ferm.nix {};
ferretdb = handleTest ./ferretdb.nix {};
filesystems-overlayfs = runTest ./filesystems-overlayfs.nix;
firefox = handleTest ./firefox.nix { firefoxPackage = pkgs.firefox; };
firefox-beta = handleTest ./firefox.nix { firefoxPackage = pkgs.firefox-beta; };
firefox-devedition = handleTest ./firefox.nix { firefoxPackage = pkgs.firefox-devedition; };

View File

@ -0,0 +1,89 @@
{ lib, pkgs, ... }:
let
initrdLowerdir = pkgs.runCommand "initrd-lowerdir" { } ''
mkdir -p $out
echo "initrd" > $out/initrd.txt
'';
initrdLowerdir2 = pkgs.runCommand "initrd-lowerdir-2" { } ''
mkdir -p $out
echo "initrd2" > $out/initrd2.txt
'';
userspaceLowerdir = pkgs.runCommand "userspace-lowerdir" { } ''
mkdir -p $out
echo "userspace" > $out/userspace.txt
'';
userspaceLowerdir2 = pkgs.runCommand "userspace-lowerdir-2" { } ''
mkdir -p $out
echo "userspace2" > $out/userspace2.txt
'';
in
{
name = "writable-overlays";
meta.maintainers = with lib.maintainers; [ nikstur ];
nodes.machine = { config, pkgs, ... }: {
boot.initrd.systemd.enable = true;
boot.initrd.availableKernelModules = [ "overlay" ];
virtualisation.fileSystems = {
"/initrd-overlay" = {
overlay = {
lowerdir = [ initrdLowerdir ];
upperdir = "/.rw-initrd-overlay/upper";
workdir = "/.rw-initrd-overlay/work";
};
neededForBoot = true;
};
"/userspace-overlay" = {
overlay = {
lowerdir = [ userspaceLowerdir ];
upperdir = "/.rw-userspace-overlay/upper";
workdir = "/.rw-userspace-overlay/work";
};
};
"/ro-initrd-overlay" = {
overlay.lowerdir = [
initrdLowerdir
initrdLowerdir2
];
neededForBoot = true;
};
"/ro-userspace-overlay" = {
overlay.lowerdir = [
userspaceLowerdir
userspaceLowerdir2
];
};
};
};
testScript = ''
machine.wait_for_unit("default.target")
with subtest("Initrd overlay"):
machine.wait_for_file("/initrd-overlay/initrd.txt", 5)
machine.succeed("touch /initrd-overlay/writable.txt")
machine.succeed("findmnt --kernel --types overlay /initrd-overlay")
with subtest("Userspace overlay"):
machine.wait_for_file("/userspace-overlay/userspace.txt", 5)
machine.succeed("touch /userspace-overlay/writable.txt")
machine.succeed("findmnt --kernel --types overlay /userspace-overlay")
with subtest("Read only initrd overlay"):
machine.wait_for_file("/ro-initrd-overlay/initrd.txt", 5)
machine.wait_for_file("/ro-initrd-overlay/initrd2.txt", 5)
machine.fail("touch /ro-initrd-overlay/not-writable.txt")
machine.succeed("findmnt --kernel --types overlay /ro-initrd-overlay")
with subtest("Read only userspace overlay"):
machine.wait_for_file("/ro-userspace-overlay/userspace.txt", 5)
machine.wait_for_file("/ro-userspace-overlay/userspace2.txt", 5)
machine.fail("touch /ro-userspace-overlay/not-writable.txt")
machine.succeed("findmnt --kernel --types overlay /ro-userspace-overlay")
'';
}

View File

@ -50,7 +50,6 @@ stdenv.mkDerivation rec {
meta = with lib; {
description = "Collection of audio level meters with GUI in LV2 plugin format";
homepage = "https://x42.github.io/meters.lv2/";
maintainers = with maintainers; [ ehmry ];
license = licenses.gpl2;
platforms = platforms.linux;
};

View File

@ -77,7 +77,6 @@ pythonPackages.buildPythonApplication rec {
homepage = "https://picard.musicbrainz.org";
changelog = "https://picard.musicbrainz.org/changelog";
description = "The official MusicBrainz tagger";
maintainers = with maintainers; [ ehmry ];
license = licenses.gpl2Plus;
platforms = platforms.all;
};

View File

@ -1,5 +1,21 @@
{ lib, buildGoModule, fetchFromGitHub, installShellFiles, callPackage }:
{ lib
, stdenv
, buildGoModule
, fetchFromGitHub
, installShellFiles
, callPackage
, wl-clipboard
, xclip
, makeWrapper
, withXclip ? true
, withWlclip ? true
}:
let
clipboardPkgs = if stdenv.isLinux then
lib.optional withXclip xclip ++
lib.optional withWlclip wl-clipboard
else [ ];
in
buildGoModule rec {
pname = "micro";
version = "2.0.13";
@ -13,7 +29,7 @@ buildGoModule rec {
vendorHash = "sha256-ePhObvm3m/nT+7IyT0W6K+y+9UNkfd2kYjle2ffAd9Y=";
nativeBuildInputs = [ installShellFiles ];
nativeBuildInputs = [ installShellFiles makeWrapper ];
subPackages = [ "cmd/micro" ];
@ -34,6 +50,11 @@ buildGoModule rec {
install -Dm644 assets/micro-logo-mark.svg $out/share/icons/hicolor/scalable/apps/micro.svg
'';
postFixup = ''
wrapProgram "$out/bin/micro" \
--prefix PATH : "${lib.makeBinPath clipboardPkgs}"
'';
passthru.tests.expect = callPackage ./test-with-expect.nix { };
meta = with lib; {

View File

@ -28,7 +28,6 @@ stdenv.mkDerivation rec {
meta = with lib; {
description = "The slrn (S-Lang read news) newsreader";
homepage = "https://slrn.sourceforge.net/index.html";
maintainers = with maintainers; [ ehmry ];
license = licenses.gpl2;
platforms = with platforms; linux;
};

View File

@ -79,7 +79,6 @@ rustPlatform.buildRustPackage {
'';
homepage = "https://nymtech.net";
license = licenses.asl20;
maintainers = [ maintainers.ehmry ];
platforms = platforms.all;
};
}

View File

@ -51,6 +51,6 @@ python3Packages.buildPythonApplication rec {
'';
homepage = "https://www.nicotine-plus.org";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ ehmry klntsky ];
maintainers = with maintainers; [ klntsky ];
};
}

View File

@ -19,14 +19,14 @@
let
pname = "qownnotes";
appname = "QOwnNotes";
version = "24.1.5";
version = "24.2.0";
in
stdenv.mkDerivation {
inherit pname version;
src = fetchurl {
url = "https://github.com/pbek/QOwnNotes/releases/download/v${version}/qownnotes-${version}.tar.xz";
hash = "sha256-iw3MdsS1i7B8RXZk2GXwiOReSUC1IX5z0MTEk9B4nMM=";
hash = "sha256-mk7yFlL+NiTZ0JtSY3y/Y1NrN1QYcBxveMImv1zB1l8=";
};
nativeBuildInputs = [

View File

@ -234,6 +234,10 @@ buildFHSEnv {
zlib
];
extraPreBwrapCmds = lib.optionalString studioVariant ''
mkdir -p ~/.local/share/DaVinciResolve/license || exit 1
'';
extraBwrapArgs = lib.optionals studioVariant [
"--bind \"$HOME\"/.local/share/DaVinciResolve/license ${davinci}/.license"
];

View File

@ -135,6 +135,7 @@ let
# symlink ALSA stuff
ln -s /host/etc/asound.conf asound.conf
ln -s /host/etc/alsa alsa
# symlink SSL certs
mkdir -p ssl

View File

@ -1,8 +1,10 @@
{ fetchFromGitLab, lib, python3Packages, qt5 }:
{ copyDesktopItems, fetchFromGitLab, lib, makeDesktopItem, python3Packages, qt5
}:
let
pname = "amphetype";
version = "1.0.0";
description = "An advanced typing practice program";
in python3Packages.buildPythonApplication {
inherit pname version;
@ -21,10 +23,21 @@ in python3Packages.buildPythonApplication {
doCheck = false;
nativeBuildInputs = [ qt5.wrapQtAppsHook ];
nativeBuildInputs = [ copyDesktopItems qt5.wrapQtAppsHook ];
desktopItems = [
(makeDesktopItem {
name = pname;
desktopName = "Amphetype";
genericName = "Typing Practice";
categories = [ "Education" "Qt" ];
exec = pname;
comment = description;
})
];
meta = with lib; {
description = "An advanced typing practice program";
inherit description;
homepage = "https://gitlab.com/franksh/amphetype";
license = licenses.gpl3Only;
maintainers = with maintainers; [ rycee ];

View File

@ -1,66 +0,0 @@
{
lib,
buildNpmPackage,
fetchFromGitHub,
buildPackages,
python3,
pkg-config,
libsecret,
nodejs_18,
}:
buildNpmPackage rec {
pname = "bitwarden-directory-connector-cli";
version = "2023.10.0";
nodejs = nodejs_18;
src = fetchFromGitHub {
owner = "bitwarden";
repo = "directory-connector";
rev = "v${version}";
hash = "sha256-PlOtTh+rpTxAv8ajHBDHZuL7yeeLVpbAfKEDPQlejIg=";
};
postPatch = ''
${lib.getExe buildPackages.jq} 'del(.scripts.preinstall)' package.json > package.json.tmp
mv -f package.json{.tmp,}
'';
npmDepsHash = "sha256-jBAWWY12qeX2EDhUvT3TQpnQvYXRsIilRrXGpVzxYvw=";
env.ELECTRON_SKIP_BINARY_DOWNLOAD = "1";
makeCacheWritable = true;
npmBuildScript = "build:cli:prod";
installPhase = ''
runHook preInstall
mkdir -p $out/libexec/bitwarden-directory-connector
cp -R {build-cli,node_modules} $out/libexec/bitwarden-directory-connector
runHook postInstall
'';
# needs to be wrapped with nodejs so that it can be executed
postInstall = ''
chmod +x $out/libexec/bitwarden-directory-connector/build-cli/bwdc.js
mkdir -p $out/bin
ln -s $out/libexec/bitwarden-directory-connector/build-cli/bwdc.js $out/bin/bitwarden-directory-connector-cli
'';
buildInputs = [
libsecret
];
nativeBuildInputs = [
python3
pkg-config
];
meta = with lib; {
description = "LDAP connector for Bitwarden";
homepage = "https://github.com/bitwarden/directory-connector";
license = licenses.gpl3Only;
maintainers = with maintainers; [Silver-Golden];
platforms = platforms.linux;
mainProgram = "bitwarden-directory-connector-cli";
};
}

View File

@ -17,16 +17,16 @@
rustPlatform.buildRustPackage rec {
pname = "eza";
version = "0.18.1";
version = "0.18.2";
src = fetchFromGitHub {
owner = "eza-community";
repo = "eza";
rev = "v${version}";
hash = "sha256-8n8U8t2hr4CysjXMPRUVKFQlNpTQL8K6Utd1BCtYOfE=";
hash = "sha256-gVpgI/I91ounqSrEIM7BWJKR4NyRuEU2iK+g8T9L6YY=";
};
cargoHash = "sha256-QNZSF+93JDOt6PknZDy3xOBgeIJbyYHKgM4nM5Xh27c=";
cargoHash = "sha256-q2xVSB3lpsur8P8KF7jDVrEj24q6FRVJbh7bL4teOqQ=";
nativeBuildInputs = [ cmake pkg-config installShellFiles pandoc ];
buildInputs = [ zlib ]

View File

@ -11,11 +11,11 @@
stdenv.mkDerivation (finalAttrs: {
pname = "gpt4all-chat";
version = "2.6.2";
version = "2.7.0";
src = fetchFromGitHub {
fetchSubmodules = true;
hash = "sha256-BQE4UQEOOUAh0uGwQf7Q9D30s+aoGFyyMH6EI/WVIkc=";
hash = "sha256-l9Do58Cld9n89J+px8RPjyioIa0Bo3qGSQe7QEGcZr8=";
owner = "nomic-ai";
repo = "gpt4all";
rev = "v${finalAttrs.version}";

View File

@ -60,15 +60,15 @@ let
in
stdenv.mkDerivation (finalAttrs: {
pname = "hare";
version = "0-unstable-2024-02-01";
version = "unstable-2024-02-05";
outputs = [ "out" "man" ];
src = fetchFromSourcehut {
owner = "~sircmpwn";
repo = "hare";
rev = "4d387ed61968f468e43571d15485b498e28acaec";
hash = "sha256-vVL8e+P/lnp0/jO+lQ/q0CehwxAvXh+FPOMJ8r+2Ftk=";
rev = "d0c057dbbb0f1ee9179769e187c0fbd3b00327d4";
hash = "sha256-3zpUqdxoKMwezRfMgnpY3KfMB5/PFfRYtGPZxWfNDtA=";
};
patches = [

View File

@ -29,7 +29,7 @@ stdenv.mkDerivation (finalAttrs: {
homepage = "https://www.musicpd.org/libs/libmpdclient/";
changelog = "https://raw.githubusercontent.com/MusicPlayerDaemon/libmpdclient/${finalAttrs.src.rev}/NEWS";
license = with lib.licenses; [ bsd2 ];
maintainers = with lib.maintainers; [ AndersonTorres ehmry ];
maintainers = with lib.maintainers; [ AndersonTorres ];
platforms = lib.platforms.unix;
};
})

View File

@ -1,15 +1,16 @@
{ lib, stdenv, fetchurl, texinfo, lzip }:
stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
pname = "lzlib";
version = "1.13";
version = "1.14";
outputs = [ "out" "info" ];
nativeBuildInputs = [ texinfo lzip ];
src = fetchurl {
url = "mirror://savannah/lzip/${pname}/${pname}-${version}.tar.lz";
sha256 = "sha256-3ea9WzJTXxeyjJrCS2ZgfgJQUGrBQypBEso8c/XWYsM=";
url = "mirror://savannah/lzip/lzlib/lzlib-${finalAttrs.version}.tar.lz";
sha256 = "e362ecccd82d4dd297df6a51b952c65d2172f9bf41a5c4590d3604d83aa519d3";
# hash from release email
};
postPatch = lib.optionalString stdenv.isDarwin ''
@ -21,12 +22,12 @@ stdenv.mkDerivation rec {
configureFlags = [ "--enable-shared" ];
meta = with lib; {
homepage = "https://www.nongnu.org/lzip/${pname}.html";
meta = {
homepage = "https://www.nongnu.org/lzip/lzlib.html";
description =
"Data compression library providing in-memory LZMA compression and decompression functions, including integrity checking of the decompressed data";
license = licenses.bsd2;
platforms = platforms.all;
maintainers = with maintainers; [ ehmry ];
license = lib.licenses.bsd2;
platforms = lib.platforms.all;
maintainers = with lib.maintainers; [ ehmry ];
};
}
})

View File

@ -0,0 +1,224 @@
{
"depends": [
{
"method": "fetchzip",
"packages": [
"asynctools"
],
"path": "/nix/store/51nf7pb5cwg2n441ka6w6g6c4hdjsdj4-source",
"rev": "bb01d965a2ad0f08eaff6a53874f028ddbab4909",
"sha256": "0v4n7maskd07qsx8rsr9v0bs7nzbncmvxsn7j9jsk9azcy803v49",
"srcDir": "",
"url": "https://github.com/nickysn/asynctools/archive/bb01d965a2ad0f08eaff6a53874f028ddbab4909.tar.gz"
},
{
"method": "fetchzip",
"packages": [
"asynctools"
],
"path": "/nix/store/86w001hvppm2xfmqzb3733rnd5s1dmc2-source",
"rev": "non-blocking",
"sha256": "1iyr2k3vrbqfwm70w9bsyhis799lm9rin8j5pkjxgrpshm1znpbd",
"srcDir": "",
"url": "https://github.com/yyoncho/asynctools/archive/non-blocking.tar.gz"
},
{
"method": "fetchzip",
"packages": [
"bearssl"
],
"path": "/nix/store/drj65wylnxdbv4jqhymf7biiyjfb75v8-source",
"rev": "9372f27a25d0718d3527afad6cc936f6a853f86e",
"sha256": "152zbyqx12fmmjl4wn6kqqk1jzp1ywm4xvjd28ll9037f1pyd5ic",
"srcDir": "",
"url": "https://github.com/status-im/nim-bearssl/archive/9372f27a25d0718d3527afad6cc936f6a853f86e.tar.gz"
},
{
"method": "fetchzip",
"packages": [
"chronicles"
],
"path": "/nix/store/ffz78k6z9wf8vj2kv1jdj5dq2rxf61j7-source",
"rev": "2a2681b60289aaf7895b7056f22616081eb1a882",
"sha256": "0n8awgrmn9f6vd7ibv1jlyxk61lrs7hc51fghilrw6g6xq5w9rxq",
"srcDir": "",
"url": "https://github.com/status-im/nim-chronicles/archive/2a2681b60289aaf7895b7056f22616081eb1a882.tar.gz"
},
{
"method": "fetchzip",
"packages": [
"chronos"
],
"path": "/nix/store/l4zs1l1yw4yhf1f8q7r5x5z2szjygr6d-source",
"rev": "ba143e029f35fd9b4cd3d89d007cc834d0d5ba3c",
"sha256": "1lv3l9c4ifqzlfgpwpvpq2z3994zz1nirg8f59xrnfb7zgbv8l3i",
"srcDir": "",
"url": "https://github.com/status-im/nim-chronos/archive/ba143e029f35fd9b4cd3d89d007cc834d0d5ba3c.tar.gz"
},
{
"method": "fetchzip",
"packages": [
"faststreams"
],
"path": "/nix/store/4nj341ypj07hjvxv0462wpnywhkj02b5-source",
"rev": "422971502bd641703bf78a27cb20429e77fcfb8b",
"sha256": "0snzh904f8f3wn33liy6817q9ccx8mvsl88blhr49qh69mzbgnba",
"srcDir": "",
"url": "https://github.com/status-im/nim-faststreams/archive/422971502bd641703bf78a27cb20429e77fcfb8b.tar.gz"
},
{
"method": "fetchzip",
"packages": [
"httputils"
],
"path": "/nix/store/jmgpadmdabybhij1srd81xfr873zgfmm-source",
"rev": "5065d2cf18dcb9812e25cc0e2c50eb357bde04cf",
"sha256": "069fw3h9cjn0hab9vhfri8ibld7yihb8ggyg1nv5vxz6i3x026m5",
"srcDir": "",
"url": "https://github.com/status-im/nim-http-utils/archive/5065d2cf18dcb9812e25cc0e2c50eb357bde04cf.tar.gz"
},
{
"method": "fetchzip",
"packages": [
"json_rpc"
],
"path": "/nix/store/szg3jxcg0bf6zv224nyisqhnibkd2pxw-source",
"rev": "c8a5cbe26917e6716b1597dae2d08166f3ce789a",
"sha256": "1l1y4psbcd5w68j1zz172rlwsk7jxbwlr14r2kwnkj7xc7lfwlnx",
"srcDir": "",
"url": "https://github.com/yyoncho/nim-json-rpc/archive/c8a5cbe26917e6716b1597dae2d08166f3ce789a.tar.gz"
},
{
"method": "fetchzip",
"packages": [
"json_serialization"
],
"path": "/nix/store/h0xl7qnw7bh513rb24k1n805x3n1rimw-source",
"rev": "d9394dc7286064902d825bbc1203d03d7218633a",
"sha256": "102m7jaxjip24a6hrnk0nvfb0vmdx5zq4m9i4xyzq8m782xyqp94",
"srcDir": "",
"url": "https://github.com/status-im/nim-json-serialization/archive/d9394dc7286064902d825bbc1203d03d7218633a.tar.gz"
},
{
"method": "fetchzip",
"packages": [
"news"
],
"path": "/nix/store/siwfngb840kcdjdviy5rhlpvdpkw14sk-source",
"rev": "8bfd753649aa7e870ec45e93f1453d3bfcf66733",
"sha256": "0hvs4kfr4aais7ixvh9d7na2r2zjnvaw3m3rpklafn9qld2wpaav",
"srcDir": "src",
"url": "https://github.com/status-im/news/archive/8bfd753649aa7e870ec45e93f1453d3bfcf66733.tar.gz"
},
{
"method": "fetchzip",
"packages": [
"news"
],
"path": "/nix/store/siwfngb840kcdjdviy5rhlpvdpkw14sk-source",
"rev": "status",
"sha256": "0hvs4kfr4aais7ixvh9d7na2r2zjnvaw3m3rpklafn9qld2wpaav",
"srcDir": "src",
"url": "https://github.com/status-im/news/archive/status.tar.gz"
},
{
"method": "fetchzip",
"packages": [
"nimcrypto"
],
"path": "/nix/store/dnj20qh97ylf57nka9wbxs735wbw7yxv-source",
"rev": "4014ef939b51e02053c2e16dd3481d47bc9267dd",
"sha256": "1kgqr2lqaffglc1fgbanwcvhkqcbbd20d5b6w4lf0nksfl9c357a",
"srcDir": "",
"url": "https://github.com/cheatfate/nimcrypto/archive/4014ef939b51e02053c2e16dd3481d47bc9267dd.tar.gz"
},
{
"method": "fetchzip",
"packages": [
"serialization"
],
"path": "/nix/store/ss096qz8svm5my0mjhk3imyrc2nm2x0y-source",
"rev": "4d541ec43454809904fc4c3c0a7436410ad597d2",
"sha256": "1a5x0fsxxkqpambz9q637dz0jrzv9q1jb3cya12k6106vc65lyf8",
"srcDir": "",
"url": "https://github.com/status-im/nim-serialization/archive/4d541ec43454809904fc4c3c0a7436410ad597d2.tar.gz"
},
{
"method": "fetchzip",
"packages": [
"stew"
],
"path": "/nix/store/90rwcr71bq13cid74v4aazikv2s924r1-source",
"rev": "d9400ddea08341a65102cffdb693d3a7131efef4",
"sha256": "0gkmh63izhp0bxyfmwfvyp81bxnzwnc3r7nxr5a05xpl8crk85w2",
"srcDir": "",
"url": "https://github.com/status-im/nim-stew/archive/d9400ddea08341a65102cffdb693d3a7131efef4.tar.gz"
},
{
"method": "fetchzip",
"packages": [
"stint"
],
"path": "/nix/store/q42j4w2f70qfihcrpzgl3fspxihfsadb-source",
"rev": "c0ae9e10a9238883d18226fa28a5435c4d305e45",
"sha256": "0dxhjg5nf4sc4ga2zrxqcmr1v3ki9irkl603x0y3pz5sd8jdi731",
"srcDir": "",
"url": "https://github.com/status-im/nim-stint/archive/c0ae9e10a9238883d18226fa28a5435c4d305e45.tar.gz"
},
{
"method": "fetchzip",
"packages": [
"testutils"
],
"path": "/nix/store/hn5r1ywl4qzzjl9zj62w5m6f8bqkjn8q-source",
"rev": "dfc4c1b39f9ded9baf6365014de2b4bfb4dafc34",
"sha256": "0fi59m8yvayzlh1ajbl98ddy43i3ikjqh3s5px16y0s3cidg4fai",
"srcDir": "",
"url": "https://github.com/status-im/nim-testutils/archive/dfc4c1b39f9ded9baf6365014de2b4bfb4dafc34.tar.gz"
},
{
"method": "fetchzip",
"packages": [
"unittest2"
],
"path": "/nix/store/wdj38hf9hdyb1skgb6v0z00kxkdmnq04-source",
"rev": "b178f47527074964f76c395ad0dfc81cf118f379",
"sha256": "1ir20z9m4wmm0bs2dd2qiq75w0x3skv0yj7sqp6bqfh98ni44xdc",
"srcDir": "",
"url": "https://github.com/status-im/nim-unittest2/archive/b178f47527074964f76c395ad0dfc81cf118f379.tar.gz"
},
{
"method": "fetchzip",
"packages": [
"websock"
],
"path": "/nix/store/yad26q3iv3r2lw9xs655kyx3hvflxi1p-source",
"rev": "2c3ae3137f3c9cb48134285bd4a47186fa51f0e8",
"sha256": "09pkxzsnahljkqyp540v1wwiqcnbkz5ji5bz9q9cwn3axpmqc3v7",
"srcDir": "",
"url": "https://github.com/status-im/nim-websock/archive/2c3ae3137f3c9cb48134285bd4a47186fa51f0e8.tar.gz"
},
{
"method": "fetchzip",
"packages": [
"with"
],
"path": "/nix/store/qkwz2w5haw8px691c6gkklvxxp38j9d3-source",
"rev": "2f95909c767605e06670dc70f5cffd6b9284f192",
"sha256": "1qdq9wpm6xahqczmvdn3a7yvvrw5x42ylvzmbybdwjzd8vmgg0zv",
"srcDir": "",
"url": "https://github.com/zevv/with/archive/2f95909c767605e06670dc70f5cffd6b9284f192.tar.gz"
},
{
"method": "fetchzip",
"packages": [
"zlib"
],
"path": "/nix/store/br78rad2jnl6zka2q89qi6pkfiyn10fv-source",
"rev": "f34ca261efd90f118dc1647beefd2f7a69b05d93",
"sha256": "1k8y7m1ry1z8jm8hj8pa3vlqprshaa59cdwq2a4acrfw9ks5w482",
"srcDir": "",
"url": "https://github.com/status-im/nim-zlib/archive/f34ca261efd90f118dc1647beefd2f7a69b05d93.tar.gz"
}
]
}

View File

@ -0,0 +1,34 @@
{
lib,
buildNimPackage,
fetchFromGitHub,
}:
buildNimPackage (final: prev: {
pname = "nimlangserver";
version = "1.2.0";
# lock.json was generated by converting
# nimble.lock into requires "<gitUrl>#revSha" in a dummy.nimble
# for all packages and then running nim_lk on said dummy package
# default nim_lk output fails because it attempts
# to use branches that will not work instead of HEAD for packages
lockFile = ./lock.json;
src = fetchFromGitHub {
owner = "nim-lang";
repo = "langserver";
rev = "71b59bfa77dabf6b8b381f6e18a1d963a1a658fc";
hash = "sha256-dznegEhRHvztrNhBcUhW83RYgJpduwdGLWj/tJ//K8c=";
};
doCheck = false;
meta = with lib;
final.src.meta
// {
description = "The Nim language server implementation (based on nimsuggest)";
license = licenses.mit;
mainProgram = "nimlangserver";
maintainers = with maintainers; [daylinmorgan];
};
})

View File

@ -1,13 +1,14 @@
{ lib, stdenv, fetchurl, lzip, lzlib, texinfo }:
stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
pname = "plzip";
version = "1.10";
version = "1.11";
outputs = [ "out" "man" "info" ];
src = fetchurl {
url = "mirror://savannah/lzip/plzip/plzip-${version}.tar.lz";
sha256 = "62f16a67be0dabf0da7fd1cb7889fe5bfae3140cea6cafa1c39e7e35a5b3c661";
url = "mirror://savannah/lzip/plzip/plzip-${finalAttrs.version}.tar.lz";
sha256 = "51f48d33df659bb3e1e7e418275e922ad752615a5bc984139da08f1e6d7d10fd";
# hash from release email
};
nativeBuildInputs = [ lzip texinfo ];
@ -15,12 +16,14 @@ stdenv.mkDerivation rec {
enableParallelBuilding = true;
meta = with lib; {
doCheck = true;
meta = {
homepage = "https://www.nongnu.org/lzip/plzip.html";
description = "A massively parallel lossless data compressor based on the lzlib compression library";
license = licenses.gpl2Plus;
platforms = platforms.all;
maintainers = with maintainers; [ _360ied ];
license = lib.licenses.gpl2Plus;
platforms = lib.platforms.all;
maintainers = with lib.maintainers; [ _360ied ehmry ];
mainProgram = "plzip";
};
}
})

View File

@ -1,9 +1,9 @@
{ lib, stdenv
{ lib, stdenvNoCC
, fetchurl
, unzip
}:
stdenv.mkDerivation rec {
stdenvNoCC.mkDerivation rec {
pname = "unicode-character-database";
version = "15.1.0";
@ -23,6 +23,7 @@ stdenv.mkDerivation rec {
mkdir -p $out/share/unicode
cp -r * $out/share/unicode
rm $out/share/unicode/env-vars
runHook postInstall
'';

View File

@ -19,7 +19,6 @@ stdenv.mkDerivation rec {
meta = with lib; {
homepage = "https://acoustid.org/chromaprint";
description = "AcoustID audio fingerprinting library";
maintainers = with maintainers; [ ehmry ];
license = licenses.lgpl21Plus;
platforms = platforms.unix;
};

View File

@ -17,7 +17,6 @@ mkDerivation {
meta = with lib; {
license = [ licenses.lgpl2 ];
maintainers = [ maintainers.ehmry ];
platforms = platforms.linux;
};

View File

@ -2,13 +2,13 @@
buildPecl rec {
pname = "phalcon";
version = "5.6.0";
version = "5.6.1";
src = fetchFromGitHub {
owner = "phalcon";
repo = "cphalcon";
rev = "v${version}";
hash = "sha256-EtwhWRBqJOMndmsy+Rgc4MVjFZg/Fm97qkSuTGxqHhI=";
hash = "sha256-1dCtj3pJGOY7sRe6xx8JgPPLSj/6qMemUnqrt9guPIk=";
};
internalDeps = [ php.extensions.session php.extensions.pdo ];

View File

@ -1,7 +1,14 @@
{ lib, stdenv, buildPecl, php, valgrind, pcre2, fetchFromGitHub }:
{ lib
, stdenv
, buildPecl
, php
, valgrind
, pcre2
, fetchFromGitHub
}:
let
version = "5.0.3";
version = "5.1.2";
in buildPecl {
inherit version;
pname = "swoole";
@ -10,19 +17,19 @@ in buildPecl {
owner = "swoole";
repo = "swoole-src";
rev = "v${version}";
sha256 = "sha256-xadseYMbA+llzTf9JFIitJK2iR0dN8vAjv3n9/e7FGs=";
hash = "sha256-WTsntvauiooj081mOoFcK6CVpnCCR/cEQtJbsOIJ/wo=";
};
buildInputs = [ pcre2 ] ++ lib.optionals (!stdenv.isDarwin) [ valgrind ];
doCheck = true;
checkTarget = "tests";
# tests require internet access
doCheck = false;
meta = with lib; {
meta = {
changelog = "https://github.com/swoole/swoole-src/releases/tag/v${version}";
description = "Coroutine-based concurrency library for PHP";
license = licenses.asl20;
homepage = "https://www.swoole.co.uk/";
maintainers = teams.php.members;
homepage = "https://www.swoole.com";
license = lib.licenses.asl20;
maintainers = lib.teams.php.members;
};
}

View File

@ -29,11 +29,11 @@
buildPythonPackage rec {
pname = "ansible-core";
version = "2.16.2";
version = "2.16.3";
src = fetchPypi {
inherit pname version;
hash = "sha256-5KtVnn5SWxxvmQhPyoc7sBR3XV7L6EW3wHuOnWycBIs=";
hash = "sha256-dqh2WoWGBk7wc6KZVi4wj6LBgKdbX3Vpu9D2HUFxzbM=";
};
# ansible_connection is already wrapped, so don't pass it through

View File

@ -21,7 +21,7 @@
let
pname = "ansible";
version = "9.1.0";
version = "9.2.0";
in
buildPythonPackage {
inherit pname version;
@ -31,7 +31,7 @@ buildPythonPackage {
src = fetchPypi {
inherit pname version;
hash = "sha256-WtlJkfsODlOncKn/zxtoBH9hsigtlIp9JoLs2PuPob8=";
hash = "sha256-ogekoApF5c0Xin+UykKv4m8jydJ75JkB6oxF0YoHt8Y=";
};
postPatch = ''

View File

@ -365,14 +365,14 @@
buildPythonPackage rec {
pname = "boto3-stubs";
version = "1.34.37";
version = "1.34.38";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-xmGMcSa6wDN8BeFh6cQo/rxX1qJNf/Yt5G5ndh9ALFc=";
hash = "sha256-0eS0vVozFiDs3yXKEParV3EUrTxUoPSLHziz+GJ1eZA=";
};
nativeBuildInputs = [

View File

@ -9,7 +9,7 @@
buildPythonPackage rec {
pname = "botocore-stubs";
version = "1.34.37";
version = "1.34.38";
format = "pyproject";
disabled = pythonOlder "3.7";
@ -17,7 +17,7 @@ buildPythonPackage rec {
src = fetchPypi {
pname = "botocore_stubs";
inherit version;
hash = "sha256-1rzqimhyqkbTiQJ9xcAiJB/QogR6i4WKpQBeYVHtMKc=";
hash = "sha256-2oA3lMD3BMZuQI/oCaFDzMnH6p4zXpBmKtp9AfweUgg=";
};
nativeBuildInputs = [

View File

@ -20,7 +20,7 @@
buildPythonPackage rec {
pname = "deebot-client";
version = "5.1.0";
version = "5.1.1";
pyproject = true;
disabled = pythonOlder "3.11";
@ -29,7 +29,7 @@ buildPythonPackage rec {
owner = "DeebotUniverse";
repo = "client.py";
rev = "refs/tags/${version}";
hash = "sha256-XKsS0Ty3n6rQW+f+4lLCc4i9DBqs3b6R5FEIr8L11UE=";
hash = "sha256-axz31GboqaWAcBU8DtG700Se6rX7VV7eBrQBDazG+Ig=";
};
nativeBuildInputs = [

View File

@ -10,7 +10,7 @@
buildPythonPackage rec {
pname = "evohome-async";
version = "0.4.17";
version = "0.4.18";
pyproject = true;
disabled = pythonOlder "3.11";
@ -19,7 +19,7 @@ buildPythonPackage rec {
owner = "zxdavb";
repo = "evohome-async";
rev = "refs/tags/${version}";
hash = "sha256-8Dl23U0LynNPxDpo79CmA4H8o2knU2rrtNYwDPZBVRQ=";
hash = "sha256-EXgq74/RfQ9AHlyZlDLfXtKFgYg37WA1Q3x3g+W9lz0=";
};
nativeBuildInputs = [

View File

@ -5,21 +5,31 @@
, packaging
, pytestCheckHook
, pythonOlder
, setuptools
}:
buildPythonPackage rec {
pname = "faraday-agent-parameters-types";
version = "1.3.1";
format = "setuptools";
version = "1.4.0";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchPypi {
pname = "faraday_agent_parameters_types";
inherit version;
hash = "sha256-yWDZPa9+DZh2Bj9IIeIVFpAt9nhQOk2tTZh02difsCs=";
hash = "sha256-pene97VKOX8mZEQgHkOBDu72Dpww2D9nDjA94s5F9rM=";
};
postPatch = ''
substituteInPlace setup.py \
--replace-warn '"pytest-runner",' ""
'';
nativeBuildInputs = [
setuptools
];
propagatedBuildInputs = [
marshmallow
packaging
@ -29,11 +39,6 @@ buildPythonPackage rec {
pytestCheckHook
];
postPatch = ''
substituteInPlace setup.py \
--replace '"pytest-runner",' ""
'';
pythonImportsCheck = [
"faraday_agent_parameters_types"
"faraday_agent_parameters_types.utils"

View File

@ -12,14 +12,15 @@
, pythonOlder
, pytz
, requests
, setuptools
, simplejson
, tabulate
}:
buildPythonPackage rec {
pname = "faraday-plugins";
version = "1.15.1";
format = "setuptools";
version = "1.16.0";
pyproject = true;
disabled = pythonOlder "3.7";
@ -27,14 +28,18 @@ buildPythonPackage rec {
owner = "infobyte";
repo = "faraday_plugins";
rev = "refs/tags/${version}";
hash = "sha256-cJ7gFE8zTN+7fp4EY8ZRwjS8i0r+8WaIH/EdY89nZew=";
hash = "sha256-1haWRuWK9WCgdR4geT2w3E95+CapBYDohGowUmnJ2H4=";
};
postPatch = ''
substituteInPlace setup.py \
--replace "version=version," "version='${version}',"
--replace-warn "version=version," "version='${version}',"
'';
nativeBuildInputs = [
setuptools
];
propagatedBuildInputs = [
beautifulsoup4
click

View File

@ -3,22 +3,27 @@
, fetchFromGitHub
, python
, pythonOlder
, setuptools
}:
buildPythonPackage rec {
pname = "findimports";
version = "2.3.0";
format = "setuptools";
version = "2.4.0";
pyproject = true;
disabled = pythonOlder "3.6";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "mgedmin";
repo = pname;
repo = "findimports";
rev = "refs/tags/${version}";
hash = "sha256-yA1foeGhgOXZArc/nZfS1tbGyONXJZ9lW+Zcx7hCedM=";
hash = "sha256-ar05DYSc/raYC1RJyLCxDYnd7Zjx20aczywlb6wc67Y=";
};
nativeBuildInputs = [
setuptools
];
pythonImportsCheck = [
"findimports"
];

View File

@ -12,7 +12,7 @@
buildPythonPackage rec {
pname = "flask-marshmallow";
version = "1.1.0";
version = "1.2.0";
pyproject = true;
disabled = pythonOlder "3.8";
@ -21,7 +21,7 @@ buildPythonPackage rec {
owner = "marshmallow-code";
repo = "flask-marshmallow";
rev = "refs/tags/${version}";
hash = "sha256-+5L4OfBRMkS6WRXT7dI/uuqloc/PZgu+DFvOCinByh8=";
hash = "sha256-QoktZcyVJXkHr8fCVYt3ZkYq52nxCsZu+AgaDyrZHWs=";
};
nativeBuildInputs = [

View File

@ -13,7 +13,7 @@
buildPythonPackage rec {
pname = "geoalchemy2";
version = "0.14.3";
version = "0.14.4";
pyproject = true;
disabled = pythonOlder "3.7";
@ -22,7 +22,7 @@ buildPythonPackage rec {
owner = "geoalchemy";
repo = "geoalchemy2";
rev = "refs/tags/${version}";
hash = "sha256-L3/gLbiEF2VEqyhfVPnREMUPFbf9cD3tqGJ+AbThPkQ=";
hash = "sha256-zMd/hHobFBPre0bZA1e2S9gPWnIkeImZhSySlIDxYsg=";
};
nativeBuildInputs = [

View File

@ -9,20 +9,25 @@
, pytest-asyncio
, pytestCheckHook
, pythonOlder
, setuptools
}:
buildPythonPackage rec {
pname = "google-cloud-appengine-logging";
version = "1.4.0";
format = "setuptools";
version = "1.4.1";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-/nT0GNCwHr6+g64hKr8FGtQmkqY2Z345fePUWeANe2Q=";
hash = "sha256-mQXHwww8K77dCxMuKycfyCRzM+vJMdLSOvG7vRG0Nf4=";
};
nativeBuildInputs = [
setuptools
];
propagatedBuildInputs = [
google-api-core
grpc-google-iam-v1

View File

@ -15,14 +15,14 @@
buildPythonPackage rec {
pname = "google-cloud-datacatalog";
version = "3.18.0";
version = "3.18.1";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-rqWuOJlyB2EN3+qydRMJHLwK7RAFxUT7eEUZiAfOseE=";
hash = "sha256-xjf6yWXgfJFEHw1lYSryfe86UMsM1Y4fGRffDTne20U=";
};
nativeBuildInputs = [

View File

@ -12,7 +12,7 @@
buildPythonPackage rec {
pname = "griffe";
version = "0.40.0";
version = "0.40.1";
format = "pyproject";
disabled = pythonOlder "3.8";
@ -21,7 +21,7 @@ buildPythonPackage rec {
owner = "mkdocstrings";
repo = pname;
rev = "refs/tags/${version}";
hash = "sha256-VUQmyNO2e4SoXzGbd751l7TtRgvaiWOr75gSGwKGPUI=";
hash = "sha256-DaLxGEwR2Z9IEkKbLkOy7Q3dvvmwTNBNMzYxNoeZMJE=";
};
nativeBuildInputs = [

View File

@ -9,7 +9,7 @@
buildPythonPackage rec {
pname = "meilisearch";
version = "0.29.0";
version = "0.30.0";
pyproject = true;
disabled = pythonOlder "3.7";
@ -18,7 +18,7 @@ buildPythonPackage rec {
owner = "meilisearch";
repo = "meilisearch-python";
rev = "refs/tags/v${version}";
hash = "sha256-jquaxJ+4/yaPsPqer+v2UY1N60U71ig4nowqm/KRIeA=";
hash = "sha256-gcDJUTg84JugytbUzQzvm3I9YAIboiyvcHe4AcBmpFM=";
};
nativeBuildInputs = [

View File

@ -9,12 +9,12 @@
buildPythonPackage rec {
pname = "molecule-plugins";
version = "23.5.0";
version = "23.5.3";
format = "pyproject";
src = fetchPypi {
inherit pname version;
hash = "sha256-8T6gR7hlDIkmBLgbdjgryAu0riXqULI/MOgf2dWAKv8=";
hash = "sha256-orFDfVMtc24/vG23pp7FM+IzSyEV/5JFoLJ3LtlzjSM=";
};
# reverse the dependency

View File

@ -22,6 +22,5 @@ buildPythonPackage rec {
description = "Matplotlib utilities for the visualization, and visual analysis, of financial data";
homepage = "https://github.com/matplotlib/mplfinance";
license = [ licenses.bsd3 ];
maintainers = [ maintainers.ehmry ];
};
}

View File

@ -10,12 +10,13 @@
, pytest-asyncio
, requests
, pythonOlder
, setuptools
}:
buildPythonPackage rec {
pname = "pubnub";
version = "7.3.2";
format = "setuptools";
version = "7.4.0";
pyproject = true;
disabled = pythonOlder "3.7";
@ -23,9 +24,13 @@ buildPythonPackage rec {
owner = pname;
repo = "python";
rev = "refs/tags/v${version}";
hash = "sha256-J6vwdOI/GM/K0TxRwIgkXibNAc+n9wVCpmMkzMhBepw=";
hash = "sha256-XYovKAk2GEMi7GE/DVtLjMbww7guGkZzDOHC7Z6ZpJo=";
};
nativeBuildInputs = [
setuptools
];
propagatedBuildInputs = [
aiohttp
cbor2

View File

@ -1,14 +1,15 @@
{ lib
, aiohttp
, buildPythonPackage
, pythonOlder
, fetchFromGitHub
, poetry-core
, aiohttp
, pythonOlder
, tenacity
}:
buildPythonPackage rec {
pname = "py-aosmith";
version = "1.0.6";
version = "1.0.8";
pyproject = true;
disabled = pythonOlder "3.10";
@ -17,7 +18,7 @@ buildPythonPackage rec {
owner = "bdr99";
repo = "py-aosmith";
rev = "refs/tags/${version}";
hash = "sha256-4KODe+urqYMbN0+tNwQnvO3A9Zc/Xdo4uhJErn3BYS4=";
hash = "sha256-TjBjyWxBPrZEY/o1DZ+GiFTHTW37WwFN0oyJSyGru28=";
};
nativeBuildInputs = [
@ -26,6 +27,7 @@ buildPythonPackage rec {
propagatedBuildInputs = [
aiohttp
tenacity
];
pythonImportsCheck = [ "py_aosmith" ];
@ -36,6 +38,7 @@ buildPythonPackage rec {
meta = {
description = "Python client library for A. O. Smith water heaters";
homepage = "https://github.com/bdr99/py-aosmith";
changelog = "https://github.com/bdr99/py-aosmith/releases/tag/${version}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ dotlambda ];
};

View File

@ -2,7 +2,7 @@
, buildPythonPackage
, fetchFromGitHub
, httpx
, pydantic
, pydantic_1
, pytestCheckHook
, pythonOlder
, setuptools
@ -10,7 +10,7 @@
buildPythonPackage rec {
pname = "pycfmodel";
version = "0.21.2";
version = "0.22.0";
pyproject = true;
disabled = pythonOlder "3.7";
@ -19,7 +19,7 @@ buildPythonPackage rec {
owner = "Skyscanner";
repo = "pycfmodel";
rev = "refs/tags/v${version}";
hash = "sha256-nQIZ9fwk8CdqJawYsU5qiu9xxhi9X0IxhlPohHUDTL8=";
hash = "sha256-NLi94W99LhrBXNFItMfJczV9EZlgvmvkavrfDQJs0YU=";
};
nativeBuildInputs = [
@ -27,7 +27,7 @@ buildPythonPackage rec {
];
propagatedBuildInputs = [
pydantic
pydantic_1
];
nativeCheckInputs = [
@ -54,6 +54,5 @@ buildPythonPackage rec {
changelog = "https://github.com/Skyscanner/pycfmodel/releases/tag/v${version}";
license = licenses.asl20;
maintainers = with maintainers; [ fab ];
broken = versionAtLeast pydantic.version "2";
};
}

View File

@ -9,7 +9,7 @@
buildPythonPackage rec {
pname = "pymicrobot";
version = "0.0.10";
version = "0.0.12";
pyproject = true;
disabled = pythonOlder "3.9";
@ -17,7 +17,7 @@ buildPythonPackage rec {
src = fetchPypi {
pname = "PyMicroBot";
inherit version;
hash = "sha256-A7qfRl958x0vsr/sxvK50M7fGUBFhdGiA+tbHOdk8gE=";
hash = "sha256-Ysg97ApwbraRn19Mn5pJsg91dzf/njnNZiBJQKZqIbQ=";
};
nativeBuildInputs = [

View File

@ -19,7 +19,7 @@
buildPythonPackage rec {
pname = "pymodbus";
version = "3.5.4";
version = "3.6.4";
pyproject = true;
disabled = pythonOlder "3.8";
@ -28,7 +28,7 @@ buildPythonPackage rec {
owner = "pymodbus-dev";
repo = pname;
rev = "refs/tags/v${version}";
hash = "sha256-IgGDYNIRS39t8vHkJSGnDGCTKxpeIYZyedLzyS5pOI0=";
hash = "sha256-SYdjM3wFZD+bAOd0vRFe6N5UwF+1Wv97ooihJjKV8K0=";
};
nativeBuildInputs = [

View File

@ -12,7 +12,7 @@
buildPythonPackage rec {
pname = "rflink";
version = "0.0.65";
version = "0.0.66";
format = "setuptools";
disabled = pythonOlder "3.7";
@ -21,7 +21,7 @@ buildPythonPackage rec {
owner = "aequitas";
repo = "python-rflink";
rev = "refs/tags/${version}";
hash = "sha256-DUnhuA84nkmYkREa7vUiyLg7JUdEEeLewg3vFFlcar8=";
hash = "sha256-n6VLa0xX1qewMS7Kv+kiitezWRbRvDJRNuOmA7IV6u0=";
};
propagatedBuildInputs = [

View File

@ -38,7 +38,7 @@
buildPythonPackage rec {
pname = "sentry-sdk";
version = "1.39.2";
version = "1.40.0";
pyproject = true;
disabled = pythonOlder "3.7";
@ -47,7 +47,7 @@ buildPythonPackage rec {
owner = "getsentry";
repo = "sentry-python";
rev = "refs/tags/${version}";
hash = "sha256-MC+9w53fsC5XB7CR9SS+z4bu2GgxkqdeYWERhk8lhcA=";
hash = "sha256-cVBqSFMBSRoIIv2RmkSLhlQ+jrofJVT9QoAPyjyX0ms=";
};
nativeBuildInputs = [

View File

@ -2,16 +2,16 @@
buildGoModule rec {
pname = "yq-go";
version = "4.40.5";
version = "4.40.7";
src = fetchFromGitHub {
owner = "mikefarah";
repo = "yq";
rev = "v${version}";
hash = "sha256-CCgertXgnA6q259Ngmy4EBD6GDuvSb0bREDddR2ht8E=";
hash = "sha256-VvA6PYJYRejGlYDb/gyHDQSNOwDWSE7vXPqYGrVLtko=";
};
vendorHash = "sha256-SQGJj5syay4LllqmK/cRoZbprgDQhLGdQM3T1m/dZsI=";
vendorHash = "sha256-5jc9AQ1T4818kvAF6SU6JEdCQWt1gRJnESXRMGvqrB0=";
nativeBuildInputs = [ installShellFiles ];

View File

@ -11,6 +11,7 @@
, libGL
, libpng
, physfs
, unstableGitUpdater
}:
let
@ -22,13 +23,13 @@ let
in
stdenv.mkDerivation rec {
pname = "dxx-rebirth";
version = "unstable-2023-03-23";
version = "0-unstable-2024-01-13";
src = fetchFromGitHub {
owner = "dxx-rebirth";
repo = "dxx-rebirth";
rev = "841ebcc11d249febe48911bc239606ade3bd78b3";
hash = "sha256-cr5QdkKO/HNvtc2w4ynJixuLauhPCwtsSC3UEV7+C1A=";
rev = "5c710857a9312e1b2f3249c51c12b55f9390a2b1";
hash = "sha256-nEPMJiTeePAmourAksUNqyy5whs+8+qy/qrycfNw2lo=";
};
nativeBuildInputs = [ pkg-config scons ];
@ -49,6 +50,8 @@ stdenv.mkDerivation rec {
install -Dm644 -t $out/share/doc/dxx-rebirth *.txt
'';
passthru.updateScript = unstableGitUpdater {};
meta = with lib; {
description = "Source Port of the Descent 1 and 2 engines";
homepage = "https://www.dxx-rebirth.com/";

View File

@ -188,7 +188,7 @@ let
description = "A flexible, powerful daemon for playing music";
homepage = "https://www.musicpd.org/";
license = licenses.gpl2Only;
maintainers = with maintainers; [ astsmtl ehmry tobim ];
maintainers = with maintainers; [ astsmtl tobim ];
platforms = platforms.unix;
mainProgram = "mpd";

View File

@ -22,13 +22,13 @@ let
in
perlPackages.buildPerlPackage rec {
pname = "slimserver";
version = "8.3.1";
version = "8.4.0";
src = fetchFromGitHub {
owner = "Logitech";
repo = "slimserver";
rev = version;
hash = "sha256-yMFOwh/oPiJnUsKWBGvd/GZLjkWocMAUK0r+Hx/SUPo=";
hash = "sha256-92mKchgAWRIrNOeK/zXUYRqIAk6THdtz1zQe3fg2kE0=";
};
nativeBuildInputs = [ makeWrapper ];
@ -150,8 +150,9 @@ perlPackages.buildPerlPackage rec {
meta = with lib; {
homepage = "https://github.com/Logitech/slimserver";
changelog = "https://github.com/Logitech/slimserver/blob/${version}/Changelog${lib.versions.major version}.html";
description = "Server for Logitech Squeezebox players. This server is also called Logitech Media Server";
# the firmware is not under a free license, but not included in the default package
# the firmware is not under a free license, so we do not include firmware in the default package
# https://github.com/Logitech/slimserver/blob/public/8.3/License.txt
license = if enableUnfreeFirmware then licenses.unfree else licenses.gpl2Only;
mainProgram = "slimserver";

View File

@ -2,7 +2,7 @@
stdenv.mkDerivation rec {
pname = "timescaledb${lib.optionalString (!enableUnfree) "-apache"}";
version = "2.13.1";
version = "2.14.0";
nativeBuildInputs = [ cmake ];
buildInputs = [ postgresql openssl libkrb5 ];
@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
owner = "timescale";
repo = "timescaledb";
rev = version;
hash = "sha256-7OMeH818f/wu55jQS/6pP+hl7ph2Ul5LiLrSDA47SeM=";
hash = "sha256-CtuJSLhrgvUAyJDnPvCNH2Rizl0W6SuMjWA6wpDqRtE=";
};
cmakeFlags = [ "-DSEND_TELEMETRY_DEFAULT=OFF" "-DREGRESS_CHECKS=OFF" "-DTAP_CHECKS=OFF" ]

View File

@ -55,7 +55,7 @@ stdenv.mkDerivation (finalAttrs: {
homepage = "https://www.rarlab.com/";
license = licenses.unfreeRedistributable;
mainProgram = "unrar";
maintainers = with maintainers; [ ehmry wegank ];
maintainers = with maintainers; [ wegank ];
platforms = platforms.all;
};
})

View File

@ -2,16 +2,16 @@
buildGoModule rec {
name = "sigtop";
version = "0.8.0";
version = "0.9.0";
src = fetchFromGitHub {
owner = "tbvdm";
repo = "sigtop";
rev = "v${version}";
sha256 = "sha256-vFs6/b2ypwMXDgmkZDgfKPqW0GRh9A2t4QQvkUdhYQw=";
sha256 = "sha256-+TV3mlFW3SxgLyXyOPWKhMdkPf/ZTK2/EMWaZHC82YM=";
};
vendorHash = "sha256-H43XOupVicLpYfkWNjArpSxQWcFqh9h2Zb6zGZ5xtfs=";
vendorHash = "sha256-kkRmyWYrWDq96fECe2YMsDjRZPX2K0jKFitMJycaVVA=";
makeFlags = [
"PREFIX=\${out}"

View File

@ -107,7 +107,6 @@ stdenv.mkDerivation rec {
{ description = "Network boot firmware";
homepage = "https://ipxe.org/";
license = licenses.gpl2Only;
maintainers = with maintainers; [ ehmry ];
platforms = platforms.linux;
};
}

View File

@ -1,7 +1,7 @@
{ callPackage, lib, stdenv, fetchurl, jre, makeWrapper }:
let this = stdenv.mkDerivation (finalAttrs: {
version = "7.2.0";
version = "7.3.0";
pname = "openapi-generator-cli";
jarfilename = "${finalAttrs.pname}-${finalAttrs.version}.jar";
@ -12,7 +12,7 @@ let this = stdenv.mkDerivation (finalAttrs: {
src = fetchurl {
url = "mirror://maven/org/openapitools/${finalAttrs.pname}/${finalAttrs.version}/${finalAttrs.jarfilename}";
sha256 = "sha256-HPDIDeEsD9yFlCicGeQUtAIQjvELjdC/2hlTFRNBq10=";
sha256 = "sha256-h5wVNAp1oZp+cg78JCwyI+DkIHsGlNbRzqXH3YfPHM4=";
};
dontUnpack = true;

View File

@ -5,16 +5,16 @@
buildGoModule rec {
pname = "proxify";
version = "0.0.12";
version = "0.0.13";
src = fetchFromGitHub {
owner = "projectdiscovery";
repo = "proxify";
rev = "refs/tags/v${version}";
hash = "sha256-j2FuyoTCc9mcoI683xZkMCL6QXy0dGEheNaormlgUvY=";
hash = "sha256-5sicN/Z26nkxtU/6vDkEMBxyRNHIP7hQ+BvzHuQqBhw=";
};
vendorHash = "sha256-kPj3KBi8Mbsj4BW7Vf1w4mW8EN07FuqgFhAkkLCl8Bc=";
vendorHash = "sha256-90wNln2C5/K1WfX8rv6kKQpHMpxW3hv5zpZpCSHy8ys=";
meta = with lib; {
description = "Proxy tool for HTTP/HTTPS traffic capture";

View File

@ -0,0 +1,103 @@
{
lib,
buildNpmPackage,
electron,
fetchFromGitHub,
buildPackages,
python3,
pkg-config,
libsecret,
nodejs_18,
}:
let
common = { name, npmBuildScript, installPhase }: buildNpmPackage rec {
pname = name;
version = "2023.10.0";
nodejs = nodejs_18;
src = fetchFromGitHub {
owner = "bitwarden";
repo = "directory-connector";
rev = "v${version}";
hash = "sha256-PlOtTh+rpTxAv8ajHBDHZuL7yeeLVpbAfKEDPQlejIg=";
};
postPatch = ''
${lib.getExe buildPackages.jq} 'del(.scripts.preinstall)' package.json > package.json.tmp
mv -f package.json{.tmp,}
substituteInPlace electron-builder.json \
--replace-fail '"afterSign": "scripts/notarize.js",' "" \
--replace-fail "AppImage" "dir"
'';
npmDepsHash = "sha256-jBAWWY12qeX2EDhUvT3TQpnQvYXRsIilRrXGpVzxYvw=";
env.ELECTRON_SKIP_BINARY_DOWNLOAD = "1";
makeCacheWritable = true;
inherit npmBuildScript installPhase;
buildInputs = [
libsecret
];
nativeBuildInputs = [
python3
pkg-config
];
meta = with lib; {
description = "LDAP connector for Bitwarden";
homepage = "https://github.com/bitwarden/directory-connector";
license = licenses.gpl3Only;
maintainers = with maintainers; [ Silver-Golden SuperSandro2000 ];
platforms = platforms.linux;
mainProgram = name;
};
};
in {
bitwarden-directory-connector = common {
name = "bitwarden-directory-connector";
npmBuildScript = "build:dist";
installPhase = ''
runHook preInstall
npm exec electron-builder -- \
--dir \
-c.electronDist=${electron}/libexec/electron \
-c.electronVersion=${electron.version} \
-c.npmRebuild=false
mkdir -p $out/share/bitwarden-directory-connector $out/bin
cp -r dist/*-unpacked/{locales,resources{,.pak}} $out/share/bitwarden-directory-connector
makeWrapper ${lib.getExe electron} $out/bin/bitwarden-directory-connector \
--add-flags $out/share/bitwarden-directory-connector/resources/app.asar \
--add-flags "\''${NIXOS_OZONE_WL:+\''${WAYLAND_DISPLAY:+--ozone-platform-hint=auto --enable-features=WaylandWindowDecorations}}" \
--set-default ELECTRON_IS_DEV 0 \
--inherit-argv0
runHook postInstall
'';
};
bitwarden-directory-connector-cli = common {
name = "bitwarden-directory-connector-cli";
npmBuildScript = "build:cli:prod";
installPhase = ''
runHook preInstall
mkdir -p $out/libexec/bitwarden-directory-connector
cp -R build-cli node_modules $out/libexec/bitwarden-directory-connector
# needs to be wrapped with nodejs so that it can be executed
chmod +x $out/libexec/bitwarden-directory-connector/build-cli/bwdc.js
mkdir -p $out/bin
ln -s $out/libexec/bitwarden-directory-connector/build-cli/bwdc.js $out/bin/bitwarden-directory-connector-cli
runHook postInstall
'';
};
}

View File

@ -2,33 +2,43 @@
, stdenv
, fetchFromGitHub
, cmake
, nix-update-script
}:
stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
pname = "bkcrack";
version = "1.6.0";
version = "1.6.1";
src = fetchFromGitHub {
owner = "kimci86";
repo = pname;
rev = "v${version}";
hash = "sha256-VfPRX9lOPyen8CujiBtTCbD5e7xd9X2OQ1uZ6JWKwtY=";
repo = "bkcrack";
rev = "v${finalAttrs.version}";
hash = "sha256-x7JK7+DcD2uSWZRTJQPGCcF2mHBlu6FwYUbuYzbvD+s=";
};
passthru.updateScript = nix-update-script { };
nativeBuildInputs = [ cmake ];
cmakeFlags = [
"-DBKCRACK_BUILD_TESTING=${if finalAttrs.doCheck then "ON" else "OFF"}"
];
postInstall = ''
mkdir -p $out/bin $out/share/licenses/bkcrack
mkdir -p $out/bin $out/share/doc/bkcrack $out/share/licenses/bkcrack
mv $out/bkcrack $out/bin/
mv $out/license.txt $out/share/licenses/bkcrack
rm -r $out/example $out/tools $out/readme.md
mv $out/example $out/tools $out/readme.md $out/share/doc/bkcrack
'';
doCheck = true;
meta = with lib; {
description = "Crack legacy zip encryption with Biham and Kocher's known plaintext attack";
homepage = "https://github.com/kimci86/bkcrack";
license = licenses.zlib;
platforms = platforms.unix;
maintainers = with maintainers; [ erdnaxe ];
mainProgram = "bkcrack";
};
}
})

View File

@ -5,15 +5,25 @@
python3.pkgs.buildPythonApplication rec {
pname = "cfripper";
version = "1.15.2";
version = "1.15.3";
pyproject = true;
src = fetchFromGitHub {
owner = "Skyscanner";
repo = pname;
rev = "refs/tags/${version}";
repo = "cfripper";
rev = "refs/tags/v${version}";
hash = "sha256-SmD3Dq5LicPRe3lWFsq4zqM/yDZ1LsgRwSUA5/RbN9I=";
};
postPatch = ''
substituteInPlace setup.py \
--replace "pluggy~=0.13.1" "pluggy" \
'';
nativeBuildInputs = with python3.pkgs; [
setuptools
];
propagatedBuildInputs = with python3.pkgs; [
boto3
cfn-flip
@ -30,13 +40,6 @@ python3.pkgs.buildPythonApplication rec {
pytestCheckHook
];
postPatch = ''
substituteInPlace setup.py \
--replace "click~=7.1.1" "click" \
--replace "pluggy~=0.13.1" "pluggy" \
--replace "pydash~=4.7.6" "pydash"
'';
disabledTestPaths = [
# Tests are failing
"tests/test_boto3_client.py"
@ -55,6 +58,7 @@ python3.pkgs.buildPythonApplication rec {
meta = with lib; {
description = "Tool for analysing CloudFormation templates";
homepage = "https://github.com/Skyscanner/cfripper";
changelog = "https://github.com/Skyscanner/cfripper/releases/tag/v${version}";
license = with licenses; [ asl20 ];
maintainers = with maintainers; [ fab ];
};

View File

@ -22,7 +22,6 @@ stdenv.mkDerivation (finalAttrs: {
{ description = "Intel AMT® SoL client + tools";
homepage = "https://www.kraxel.org/cgit/amtterm/";
license = licenses.gpl2;
maintainers = [ maintainers.ehmry ];
platforms = platforms.linux;
};
})

View File

@ -3553,6 +3553,8 @@ with pkgs;
bitwarden-cli = callPackage ../tools/security/bitwarden/cli.nix { };
inherit (callPackages ../tools/security/bitwarden-directory-connector { }) bitwarden-directory-connector-cli bitwarden-directory-connector;
bitwarden-menu = python3Packages.callPackage ../applications/misc/bitwarden-menu { };
inherit (nodePackages) concurrently;
@ -10683,8 +10685,6 @@ with pkgs;
lzip = callPackage ../tools/compression/lzip { };
plzip = callPackage ../tools/compression/plzip { };
lziprecover = callPackage ../tools/compression/lziprecover { };
xz = callPackage ../tools/compression/xz { };
@ -23761,8 +23761,6 @@ with pkgs;
lyra = callPackage ../development/libraries/lyra { };
lzlib = callPackage ../development/libraries/lzlib { };
lzo = callPackage ../development/libraries/lzo { };
opencl-clang = callPackage ../development/libraries/opencl-clang { };