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 Dec 13, 2022
2 parents a93fa5b + 9159658 commit eddcc4a
Show file tree
Hide file tree
Showing 24 changed files with 81 additions and 54 deletions.
4 changes: 2 additions & 2 deletions pkgs/applications/networking/cluster/kyverno/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@

buildGoModule rec {
pname = "kyverno";
version = "1.8.3";
version = "1.8.4";

src = fetchFromGitHub {
owner = "kyverno";
repo = "kyverno";
rev = "v${version}";
sha256 = "sha256-AsUgjGoDoT/GN+Z2tXd0KjVFcVI1KF3nVRsLDWkY9HM=";
sha256 = "sha256-VAKT1gw8wkfde/rQVvRzq4HH0mKcLczR5EHtxy3zULg=";
};

ldflags = [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@

buildGoModule rec {
pname = "git-team";
version = "1.8.0";
version = "1.8.1";

src = fetchFromGitHub {
owner = "hekmekk";
repo = "git-team";
rev = "v${version}";
hash = "sha256-LZR30zqwit/xydQbpGm1LXd/tno/sTCaftgjVkVS6ZY=";
hash = "sha256-+j5d1tImVHaTx63uzLdh2YNCFa1ErAVv4OMwxOutBQ4=";
};

vendorHash = "sha256-NTOUL1oE2IhgLyYYHwRCMW5yCxIRxUwqkfuhSSBXf6A=";
Expand Down
2 changes: 1 addition & 1 deletion pkgs/desktops/gnome/games/five-or-more/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,6 @@ stdenv.mkDerivation rec {
description = "Remove colored balls from the board by forming lines";
maintainers = teams.gnome.members;
license = licenses.gpl2;
platforms = platforms.linux;
platforms = platforms.unix;
};
}
2 changes: 1 addition & 1 deletion pkgs/desktops/gnome/games/four-in-a-row/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,6 @@ stdenv.mkDerivation rec {
description = "Make lines of the same color to win";
maintainers = teams.gnome.members;
license = licenses.gpl2;
platforms = platforms.linux;
platforms = platforms.unix;
};
}
2 changes: 1 addition & 1 deletion pkgs/desktops/gnome/games/gnome-chess/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,6 @@ stdenv.mkDerivation rec {
description = "Play the classic two-player boardgame of chess";
maintainers = teams.gnome.members;
license = licenses.gpl3Plus;
platforms = platforms.linux;
platforms = platforms.unix;
};
}
2 changes: 1 addition & 1 deletion pkgs/desktops/gnome/games/gnome-klotski/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,6 @@ stdenv.mkDerivation rec {
description = "Slide blocks to solve the puzzle";
maintainers = teams.gnome.members;
license = licenses.gpl2;
platforms = platforms.linux;
platforms = platforms.unix;
};
}
2 changes: 1 addition & 1 deletion pkgs/desktops/gnome/games/gnome-mahjongg/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,6 @@ stdenv.mkDerivation rec {
description = "Disassemble a pile of tiles by removing matching pairs";
maintainers = teams.gnome.members;
license = licenses.gpl3Plus;
platforms = platforms.linux;
platforms = platforms.unix;
};
}
2 changes: 1 addition & 1 deletion pkgs/desktops/gnome/games/gnome-mines/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,6 @@ stdenv.mkDerivation rec {
description = "Clear hidden mines from a minefield";
maintainers = teams.gnome.members;
license = licenses.gpl3;
platforms = platforms.linux;
platforms = platforms.unix;
};
}
2 changes: 1 addition & 1 deletion pkgs/desktops/gnome/games/gnome-robots/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,6 @@ stdenv.mkDerivation rec {
description = "Avoid the robots and make them crash into each other";
maintainers = teams.gnome.members;
license = licenses.gpl3Plus;
platforms = platforms.linux;
platforms = platforms.unix;
};
}
2 changes: 1 addition & 1 deletion pkgs/desktops/gnome/games/gnome-sudoku/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,6 @@ stdenv.mkDerivation rec {
description = "Test your logic skills in this number grid puzzle";
maintainers = teams.gnome.members;
license = licenses.gpl3Plus;
platforms = platforms.linux;
platforms = platforms.unix;
};
}
2 changes: 1 addition & 1 deletion pkgs/desktops/gnome/games/gnome-taquin/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,6 @@ stdenv.mkDerivation rec {
description = "Move tiles so that they reach their places";
maintainers = teams.gnome.members;
license = licenses.gpl3Plus;
platforms = platforms.linux;
platforms = platforms.unix;
};
}
2 changes: 1 addition & 1 deletion pkgs/desktops/gnome/games/gnome-tetravex/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,6 @@ stdenv.mkDerivation rec {
description = "Complete the puzzle by matching numbered tiles";
maintainers = teams.gnome.members;
license = licenses.gpl2;
platforms = platforms.linux;
platforms = platforms.unix;
};
}
2 changes: 1 addition & 1 deletion pkgs/desktops/gnome/games/iagno/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,6 @@ stdenv.mkDerivation rec {
description = "Computer version of the game Reversi, more popularly called Othello";
maintainers = teams.gnome.members;
license = licenses.gpl3Plus;
platforms = platforms.linux;
platforms = platforms.unix;
};
}
2 changes: 1 addition & 1 deletion pkgs/desktops/gnome/games/lightsoff/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,6 @@ stdenv.mkDerivation rec {
description = "Puzzle game, where the objective is to turn off all of the tiles on the board";
maintainers = teams.gnome.members;
license = licenses.gpl2;
platforms = platforms.linux;
platforms = platforms.unix;
};
}
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

buildPythonPackage rec {
pname = "appthreat-vulnerability-db";
version = "4.1.11";
version = "4.1.12";
format = "setuptools";

disabled = pythonOlder "3.7";
Expand All @@ -24,7 +24,7 @@ buildPythonPackage rec {
owner = "AppThreat";
repo = "vulnerability-db";
rev = "refs/tags/v${version}";
hash = "sha256-JaHIq1tUMxEaxigT1Z3EpJK4P2Yapki0A53WNrHo4tQ=";
hash = "sha256-DHjB8hT9rP1yyeo9I5D8JGIXq+17RYX+e6H7BBuWTw4=";
};

propagatedBuildInputs = [
Expand Down
24 changes: 15 additions & 9 deletions pkgs/development/python-modules/autopep8/default.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{ lib
, fetchPypi
, fetchFromGitHub
, fetchpatch
, buildPythonPackage
, pycodestyle
, glibcLocales
Expand All @@ -11,23 +12,28 @@ buildPythonPackage rec {
pname = "autopep8";
version = "2.0.0";

src = fetchPypi {
inherit pname version;
sha256 = "sha256-ixZZx/AD5pMZn1LK/9wGWFuwcWkAu8anRC/ZMdZYwHc=";
src = fetchFromGitHub {
owner = "hhatto";
repo = "autopep8";
rev = "v${version}";
sha256 = "sha256-77ZVprACHUP8BmylTtvHvJMjb70E1YFKKdQDigAZG6s=";
};

patches = [
(fetchpatch {
name = "fix-pycodestyle-2.10.0.patch";
url = "https://github.com/hhatto/autopep8/pull/659.patch";
hash = "sha256-ulvQqJ3lUm8/9QZwH+whzrxbz8c11/ntc8zH2zfmXiE=";
})
];

propagatedBuildInputs = [ pycodestyle tomli ];

checkInputs = [
glibcLocales
pytestCheckHook
];

disabledTests = [
# missing tox.ini file from pypi package
"test_e101_skip_innocuous"
];

LC_ALL = "en_US.UTF-8";

meta = with lib; {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,23 +5,29 @@
, pytest-cov
, pytest-doctestplus
, pytestCheckHook
, pythonOlder
, setuptools-scm
}:

buildPythonPackage rec {
pname = "pytest-filter-subpackage";
version = "0.1.1";
version = "0.1.2";
format = "setuptools";

disabled = pythonOlder "3.7";

src = fetchPypi {
inherit pname version;
sha256 = "1s4s2kd31yc65rfvl4xhy8xx806xhy59kc7668h6b6wq88xgrn5p";
hash = "sha256-H66jZxeAPlJFiNbBCdJtINOzRCLo1qloEnWJd9ygF4I=";
};

nativeBuildInputs = [
setuptools-scm
];

buildInputs = [ pytest ];
buildInputs = [
pytest
];

propagatedBuildInputs = [
pytest-doctestplus
Expand All @@ -33,11 +39,15 @@ buildPythonPackage rec {
];

# missing some files
disabledTests = [ "with_rst" ];
disabledTests = [
"with_rst"
];

meta = with lib; {
description = "Meta-package containing dependencies for testing";
homepage = "https://astropy.org";
homepage = "https://github.com/astropy/pytest-filter-subpackage";
changelog = "https://github.com/astropy/pytest-filter-subpackage/blob/v${version}/CHANGES.rst";
license = licenses.bsd3;
maintainers = with maintainers; [ ];
};
}
Original file line number Diff line number Diff line change
@@ -1,17 +1,18 @@
{ lib
, fetchFromGitHub
, buildGoModule
, installShellFiles
}:

buildGoModule rec {
pname = "cirrus-cli";
version = "0.92.0";
version = "0.92.1";

src = fetchFromGitHub {
owner = "cirruslabs";
repo = pname;
rev = "v${version}";
sha256 = "sha256-q6hpsyZZep8IERYh7/oVcCQdgc/s6HufiuE4oNPBaZc=";
sha256 = "sha256-ehJyC5NXB53i7ZpWTKySnMwWiqgbgBbnxIVWhyrXC0A=";
};

vendorSha256 = "sha256-Llq6siZn34sHsZFneT+MLXf2W9cXqi4DZwrH1R5laOY=";
Expand All @@ -21,6 +22,14 @@ buildGoModule rec {
"-X github.com/cirruslabs/cirrus-cli/internal/version.Commit=v${version}"
];

nativeBuildInputs = [ installShellFiles ];
postInstall = ''
installShellCompletion --cmd cirrus \
--bash <($out/bin/cirrus completion bash) \
--zsh <($out/bin/cirrus completion zsh) \
--fish <($out/bin/cirrus completion fish)
'';

# tests fail on read-only filesystem
doCheck = false;

Expand Down
22 changes: 12 additions & 10 deletions pkgs/development/tools/ocaml/merlin/4.x.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
, substituteAll
, fetchurl
, ocaml
, dune_2
, dune_3
, buildDunePackage
, yojson
, csexp
Expand All @@ -15,16 +15,17 @@
}:

let
merlinVersion = "4.6";
merlinVersion = "4.7";

hashes = {
"4.6-412" = "sha256-isiurLeWminJQQR4oHpJPCzVk6cEmtQdX4+n3Pdka5c=";
"4.6-413" = "sha256-8903H4TE6F/v2Kw1XpcpdXEiLIdb9llYgt42zSR9kO4=";
"4.6-414" = "sha256-AuvXCjx32JQBY9vkxAd0pEjtFF6oTgrT1f9TJEEDk84=";
"4.7-412" = "sha256-0U3Ia7EblKULNy8AuXFVKACZvGN0arYJv7BWiBRgT0Y=";
"4.7-413" = "sha256-aVmGWS4bJBLuwsxDKsng/n0A6qlyJ/pnDTcYab/5gyU=";
"4.7-414" = "sha256-bIZ4kwmnit/ujM2//jZA59rweo7Y0QfDb+BpoTxswHs=";
"4.7-500" = "sha256-elYb/0vVvohi9yYFe/54brb6Qh6fyiN1kYPRq5fP1zE=";
};

ocamlVersionShorthand = lib.concatStrings
(lib.take 2 (lib.splitVersion ocaml.version));
ocamlVersionShorthand = lib.substring 0 3
(lib.concatStrings (lib.splitVersion ocaml.version));

version = "${merlinVersion}-${ocamlVersionShorthand}";
in
Expand All @@ -36,6 +37,7 @@ else
buildDunePackage {
pname = "merlin";
inherit version;
duneVersion = "3";

src = fetchurl {
url = "https://github.com/ocaml/merlin/releases/download/v${version}/merlin-${version}.tbz";
Expand All @@ -46,7 +48,7 @@ buildDunePackage {
(substituteAll {
src = ./fix-paths.patch;
dot_merlin_reader = "${dot-merlin-reader}/bin/dot-merlin-reader";
dune = "${dune_2}/bin/dune";
dune = "${dune_3}/bin/dune";
})
];

Expand All @@ -59,14 +61,14 @@ buildDunePackage {
buildInputs = [
dot-merlin-reader
yojson
(if lib.versionAtLeast version "4.6-414"
(if lib.versionAtLeast version "4.7-414"
then merlin-lib
else csexp)
menhirSdk
menhirLib
];

doCheck = true;
doCheck = false;
checkPhase = ''
runHook preCheck
patchShebangs tests/merlin-wrapper
Expand Down
2 changes: 1 addition & 1 deletion pkgs/development/tools/ocaml/merlin/dot-merlin-reader.nix
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ buildDunePackage rec {

minimalOCamlVersion = "4.06";

buildInputs = if lib.versionAtLeast version "4.6-414"
buildInputs = if lib.versionAtLeast version "4.7-414"
then [ merlin-lib ]
else [ yojson csexp ];

Expand Down
2 changes: 1 addition & 1 deletion pkgs/games/qqwing/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ stdenv.mkDerivation rec {
homepage = "https://qqwing.com";
description = "Sudoku generating and solving software";
license = licenses.gpl2;
platforms = platforms.linux;
platforms = platforms.unix;
maintainers = with maintainers; [ ];
};
}
4 changes: 2 additions & 2 deletions pkgs/servers/dns/knot-dns/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@

stdenv.mkDerivation rec {
pname = "knot-dns";
version = "3.2.3";
version = "3.2.4";

src = fetchurl {
url = "https://secure.nic.cz/files/knot-dns/knot-${version}.tar.xz";
sha256 = "f736ef284358923e312f8e1e3c6ce7c97b20965b09eb65705e9f7e3d5e9a9d79";
sha256 = "299e8de918f9fc7ecbe625b41cb085e47cdda542612efbd51cd5ec60deb9dd13";
};

outputs = [ "bin" "out" "dev" ];
Expand Down
6 changes: 3 additions & 3 deletions pkgs/servers/pocketbase/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,16 @@

buildGoModule rec {
pname = "pocketbase";
version = "0.9.0";
version = "0.9.2";

src = fetchFromGitHub {
owner = "pocketbase";
repo = pname;
rev = "v${version}";
sha256 = "sha256-eWYx45k18HDcXkgfKl9G4Q1h/BcCy+NDVhh5ndoW+Fk=";
sha256 = "sha256-Z+FZ5AtxgO+tCB9HHZhyttXt8LXbCi/6tG8WkNRuhgk=";
};

vendorSha256 = "sha256-+wPcCF5AZ1HzNH1egCiK4eUQ0UmPPJzKB45lk7SOuCI=";
vendorSha256 = "sha256-AQX4O25PR0icR0Llz66t+2AdJm58RDimhOO5NBMRu7s=";

# This is the released subpackage from upstream repo
subPackages = [ "examples/base" ];
Expand Down
Loading

0 comments on commit eddcc4a

Please sign in to comment.