Skip to content

Commit

Permalink
Merge master into staging-next
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] authored May 17, 2024
2 parents 9f82fef + 704511c commit 6506918
Show file tree
Hide file tree
Showing 101 changed files with 326 additions and 343 deletions.
2 changes: 1 addition & 1 deletion nixos/modules/misc/version.nix
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ in
};

version = lib.mkOption {
type = types.nullOr (types.strMatching "^[a-z0-9._-]+$");
type = types.nullOr (types.strMatching "^[a-z0-9._-~^]+$");
default = null;
description = ''
Image version.
Expand Down
4 changes: 2 additions & 2 deletions pkgs/applications/audio/qmmp/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,11 @@

stdenv.mkDerivation rec {
pname = "qmmp";
version = "2.1.7";
version = "2.1.8";

src = fetchurl {
url = "https://qmmp.ylsoftware.com/files/qmmp/2.1/${pname}-${version}.tar.bz2";
hash = "sha256-5qdnvGFgFEk+00tjnVhqW29AyyjCfiFQOyYyVmAjHnM=";
hash = "sha256-hGphQ8epqym47C9doiSOQd3yc28XwV2UsNc7ivhaae4=";
};

nativeBuildInputs = [ cmake pkg-config wrapQtAppsHook ];
Expand Down
4 changes: 2 additions & 2 deletions pkgs/applications/blockchains/exodus/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,13 @@

stdenv.mkDerivation (finalAttrs: {
pname = "exodus";
version = "24.19.3";
version = "24.19.4";

src = fetchurl {
name = "exodus-linux-x64-${finalAttrs.version}.zip";
url = "https://downloads.exodus.com/releases/exodus-linux-x64-${finalAttrs.version}.zip";
curlOptsList = [ "--user-agent" "Mozilla/5.0" ];
hash = "sha256-zqi1En22H3b2pD95C747gF9TtyMCX4TzXC10mP7iUoM=";
hash = "sha256-+g7DdDrSVmBl1wCSCoJcO2gmbWQBnJUYqjT+GuDlCYw=";
};

nativeBuildInputs = [ unzip ];
Expand Down
2 changes: 0 additions & 2 deletions pkgs/applications/graphics/dosage/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@ python3Packages.buildPythonApplication rec {
colorama imagesize lxml requests setuptools six
];

disabled = python3Packages.pythonOlder "3.3";

meta = {
description = "A comic strip downloader and archiver";
mainProgram = "dosage";
Expand Down
4 changes: 2 additions & 2 deletions pkgs/applications/misc/qcad/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,14 @@

mkDerivation rec {
pname = "qcad";
version = "3.29.6.4";
version = "3.29.6.5";

src = fetchFromGitHub {
name = "qcad-${version}-src";
owner = "qcad";
repo = "qcad";
rev = "v${version}";
hash = "sha256-/Tz3brcny9wp8DnCvO7GpPczglJpJD0kWzBR6exRlPA=";
hash = "sha256-2x3np1cmjJ/IN/vSqKX6mTQbtFROxPzhXPjeJ6mxe9k=";
};

patches = [
Expand Down
4 changes: 2 additions & 2 deletions pkgs/applications/networking/browsers/polypane/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@

let
pname = "polypane";
version = "18.0.4";
version = "19.0.0";

src = fetchurl {
url = "https://github.com/firstversionist/${pname}/releases/download/v${version}/${pname}-${version}.AppImage";
name = "${pname}-${version}.AppImage";
sha256 = "sha256-FqaXLoFgkKHzOvy7f9R36uIDnv2c6HrVF6T3VK5Aw3c=";
sha256 = "sha256-yRJsyJ4dhPAbqVmUmVnFlGGQ5CUJZ0VG19TMnSW0tJ4=";
};

appimageContents = appimageTools.extractType2 {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@

buildGoModule rec {
pname = "kubectl-gadget";
version = "0.28.0";
version = "0.28.1";

src = fetchFromGitHub {
owner = "inspektor-gadget";
repo = "inspektor-gadget";
rev = "v${version}";
hash = "sha256-iQ+9CN6De2jz3+dZ26jgqbXAx9Fef8ROgVX8kKYMAG0=";
hash = "sha256-+eysHATyAdCN6HVPN2bgc/ICo+XXaef0H0UDW2xCcjc=";
};

vendorHash = "sha256-0XByai7fEnkmEEkH1koVM1+z3UNFLbsUCK3sP4KBe+A=";
Expand Down
6 changes: 3 additions & 3 deletions pkgs/applications/networking/dnscontrol/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,16 @@

buildGoModule rec {
pname = "dnscontrol";
version = "4.10.0";
version = "4.11.0";

src = fetchFromGitHub {
owner = "StackExchange";
repo = "dnscontrol";
rev = "v${version}";
hash = "sha256-7Gmb28/k72wfd2bWDCk7onUBAzNs6b5q52lCn0WB3B8=";
hash = "sha256-TBLxwHiL3knM+GQoTYD2L/deASPpbUsDlGk4VeVmki4=";
};

vendorHash = "sha256-uYClwaFSj03K4YD/jvn67sIko72jDqd5Fv2zoCXZZbw=";
vendorHash = "sha256-kmnV1W0HGlxFZYYUeUd9D/zOabUhM5kDoTZTnRYJ2sM=";

subPackages = [ "." ];

Expand Down
4 changes: 2 additions & 2 deletions pkgs/applications/networking/ids/zeek/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,11 @@ let
in
stdenv.mkDerivation rec {
pname = "zeek";
version = "6.2.0";
version = "6.2.1";

src = fetchurl {
url = "https://download.zeek.org/zeek-${version}.tar.gz";
hash = "sha256-Y1Z+j5+Ffqho5Q2O8uQgNxsxPE7gqHaxe1SZEJDA0oY=";
hash = "sha256-ZOOlK9mfZVrfxvgFREgqcRcSs18EMpADD8Y4Ev391Bw=";
};

strictDeps = true;
Expand Down
4 changes: 2 additions & 2 deletions pkgs/applications/office/mendeley/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@

let
pname = "mendeley";
version = "2.114.0";
version = "2.114.1";

executableName = "${pname}-reference-manager";

src = fetchurl {
url = "https://static.mendeley.com/bin/desktop/mendeley-reference-manager-${version}-x86_64.AppImage";
hash = "sha256-1eLxk+nlgHoe0Gmo/DXlTOnWssrN9cAubvqpV6SqQS8=";
hash = "sha256-bvX5onyTPc4G+9PcrSXhsfkNbU6DZ5T3ljf+r77bjKw=";
};

appimageContents = appimageTools.extractType2 {
Expand Down
3 changes: 1 addition & 2 deletions pkgs/applications/science/logic/prooftree/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ pkg-config ] ++ (with ocamlPackages; [ ocaml findlib camlp5 ]);
buildInputs = [ ncurses ] ++ (with ocamlPackages; [ lablgtk ]);

dontAddPrefix = true;
configureFlags = [ "--prefix" "$(out)" ];
prefixKey = "--prefix ";

meta = with lib; {
description = "A program for proof-tree visualization";
Expand Down
4 changes: 2 additions & 2 deletions pkgs/applications/virtualization/conmon/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@

stdenv.mkDerivation rec {
pname = "conmon";
version = "2.1.11";
version = "2.1.12";

src = fetchFromGitHub {
owner = "containers";
repo = pname;
rev = "v${version}";
hash = "sha256-QQgpvvk7S6ARzBct/4AQP66End30EXcUPqv8a4Udoas=";
hash = "sha256-iSC1Q7fdf+4YH4vLFPOscRWxNv/xygYx872u8msmMmc=";
};

nativeBuildInputs = [ pkg-config ];
Expand Down
4 changes: 2 additions & 2 deletions pkgs/applications/virtualization/ddev/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@

buildGoModule rec {
pname = "ddev";
version = "1.23.0";
version = "1.23.1";

src = fetchFromGitHub {
owner = "ddev";
repo = "ddev";
rev = "v${version}";
hash = "sha256-+CyihuSo/ssX8tX2rYi3c41eAwdG58aagAsYiBBjQ48=";
hash = "sha256-qGuYH2xYmd3CYoYobjoum+zUImcsiaG5No36FG0H0bA=";
};

vendorHash = null;
Expand Down
8 changes: 3 additions & 5 deletions pkgs/applications/virtualization/docker/compose_1.nix
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{ lib, buildPythonApplication, fetchPypi, pythonOlder
{ lib, buildPythonApplication, fetchPypi
, installShellFiles
, mock, pytest, nose
, pyyaml, colorama, docopt
, dockerpty, docker, jsonschema, requests
, six, texttable, websocket-client, cached-property
, enum34, functools32, paramiko, distro, python-dotenv
, paramiko, distro, python-dotenv
}:

buildPythonApplication rec {
Expand All @@ -24,9 +24,7 @@ buildPythonApplication rec {
pyyaml colorama dockerpty docker
jsonschema requests six texttable websocket-client
docopt cached-property paramiko distro python-dotenv
]
++ lib.optional (pythonOlder "3.4") enum34
++ lib.optional (pythonOlder "3.2") functools32;
];

postPatch = ''
# Remove upper bound on requires, see also
Expand Down
4 changes: 2 additions & 2 deletions pkgs/by-name/ci/cimg/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@

stdenv.mkDerivation (finalAttrs: {
pname = "cimg";
version = "3.3.5";
version = "3.3.6";

src = fetchFromGitHub {
owner = "GreycLab";
repo = "CImg";
rev = "v.${finalAttrs.version}";
hash = "sha256-QdQhMEY6Zl3qdvRIeDv/12TL4HMrNJSAQ66vQymOrBU=";
hash = "sha256-yNIHCEiLvoNNsYisAKo/jj6Q2mLrLMttZyj2XzrWFU4=";
};

outputs = [ "out" "doc" ];
Expand Down
20 changes: 20 additions & 0 deletions pkgs/by-name/ha/haredo/001-use-nix-store-sh.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
diff --git a/src/haredo.ha b/src/haredo.ha
index c2e56e6..304c9ad 100644
--- a/src/haredo.ha
+++ b/src/haredo.ha
@@ -280,12 +280,12 @@ fn try_do(
const tmpfilepath = strings::concat(ctx.tmpdir, "/", tmpfilename);

const cmd = if (ctx.verbose) {
- fmt::errorln("* sh -ev", dopaths.do, dopaths.target,
+ fmt::errorln("* @bash@/bin/sh -ev", dopaths.do, dopaths.target,
dopaths.basename, tmpfilepath)?;
- yield exec::cmd("sh", "-ev", dopaths.do, dopaths.target,
+ yield exec::cmd("@bash@/bin/sh", "-ev", dopaths.do, dopaths.target,
dopaths.basename, tmpfilepath)?;
} else {
- yield exec::cmd("sh", "-e", dopaths.do, dopaths.target,
+ yield exec::cmd("@bash@/bin/sh", "-e", dopaths.do, dopaths.target,
dopaths.basename, tmpfilepath)?;
};

36 changes: 22 additions & 14 deletions pkgs/by-name/ha/haredo/package.nix
Original file line number Diff line number Diff line change
@@ -1,17 +1,22 @@
{ stdenv
, lib
, fetchFromSourcehut
, hare
, scdoc
, nix-update-script
, makeWrapper
, bash
{
stdenv,
lib,
fetchFromSourcehut,
hare,
scdoc,
nix-update-script,
makeWrapper,
bash,
substituteAll,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "haredo";
version = "1.0.5";

outputs = [ "out" "man" ];
outputs = [
"out"
"man"
];

src = fetchFromSourcehut {
owner = "~autumnull";
Expand All @@ -20,6 +25,14 @@ stdenv.mkDerivation (finalAttrs: {
hash = "sha256-gpui5FVRw3NKyx0AB/4kqdolrl5vkDudPOgjHc/IE4U=";
};

patches = [
# Use nix store's bash instead of sh. `@bash@/bin/sh` is used, since haredo expects a posix shell.
(substituteAll {
src = ./001-use-nix-store-sh.patch;
inherit bash;
})
];

nativeBuildInputs = [
hare
makeWrapper
Expand Down Expand Up @@ -62,11 +75,6 @@ stdenv.mkDerivation (finalAttrs: {
runHook postInstall
'';

postFixup = ''
wrapProgram $out/bin/haredo \
--prefix PATH : "${lib.makeBinPath [bash]}"
'';

setupHook = ./setup-hook.sh;

passthru.updateScript = nix-update-script { };
Expand Down
6 changes: 3 additions & 3 deletions pkgs/by-name/ma/mautrix-meta/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -8,20 +8,20 @@

buildGoModule rec {
pname = "mautrix-meta";
version = "0.3.0";
version = "0.3.1";

subPackages = [ "." ];

src = fetchFromGitHub {
owner = "mautrix";
repo = "meta";
rev = "v${version}";
hash = "sha256-QyVcy9rqj1n1Nn/+gBufd57LyEaXPyu0KQhAUTgNmBA=";
hash = "sha256-zU8c/ZAKTKd4dbG056gOCiPzvPNS5/KEkJ2fw48oV00=";
};

buildInputs = [ olm ];

vendorHash = "sha256-oQSjP1WY0LuxrMtIrvyKhize91wXJxTzWeH0Y3MsEL4=";
vendorHash = "sha256-uwprj4G7HI87ZGr+6Bqkp77nzW6kgV3S5j4NGjbtOwQ=";

passthru = {
tests = {
Expand Down
12 changes: 9 additions & 3 deletions pkgs/by-name/ne/neovim-unwrapped/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,11 @@ in {

dontFixCmake = true;

inherit lua treesitter-parsers;
inherit lua;
treesitter-parsers = treesitter-parsers //
{ markdown = treesitter-parsers.markdown // { location = "tree-sitter-markdown"; }; } //
{ markdown-inline = treesitter-parsers.markdown // { language = "markdown_inline"; location = "tree-sitter-markdown-inline"; }; }
;

buildInputs = [
gperf
Expand Down Expand Up @@ -169,11 +173,13 @@ in {
'' + ''
mkdir -p $out/lib/nvim/parser
'' + lib.concatStrings (lib.mapAttrsToList
(language: src: ''
(language: grammar: ''
ln -s \
${tree-sitter.buildGrammar {
inherit language src;
inherit (grammar) src;
version = "neovim-${finalAttrs.version}";
language = grammar.language or language;
location = grammar.location or null;
}}/parser \
$out/lib/nvim/parser/${language}.so
'')
Expand Down
Loading

0 comments on commit 6506918

Please sign in to comment.