Skip to content

Commit

Permalink
Merge staging-next into staging
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] authored Feb 21, 2024
2 parents 1b0e18a + bd56ae5 commit 897e2da
Show file tree
Hide file tree
Showing 73 changed files with 469 additions and 298 deletions.
34 changes: 23 additions & 11 deletions nixos/modules/services/networking/sabnzbd.nix
Original file line number Diff line number Diff line change
Expand Up @@ -36,24 +36,31 @@ in
default = "sabnzbd";
description = lib.mdDoc "Group to run the service as";
};

openFirewall = mkOption {
type = types.bool;
default = false;
description = lib.mdDoc ''
Open ports in the firewall for the sabnzbd web interface
'';
};
};
};


###### implementation

config = mkIf cfg.enable {

users.users.sabnzbd = {
uid = config.ids.uids.sabnzbd;
group = "sabnzbd";
description = "sabnzbd user";
home = "/var/lib/sabnzbd/";
createHome = true;
users.users = mkIf (cfg.user == "sabnzbd") {
sabnzbd = {
uid = config.ids.uids.sabnzbd;
group = cfg.group;
description = "sabnzbd user";
};
};

users.groups.sabnzbd = {
gid = config.ids.gids.sabnzbd;
users.groups = mkIf (cfg.group == "sabnzbd") {
sabnzbd.gid = config.ids.gids.sabnzbd;
};

systemd.services.sabnzbd = {
Expand All @@ -63,10 +70,15 @@ in
serviceConfig = {
Type = "forking";
GuessMainPID = "no";
User = "${cfg.user}";
Group = "${cfg.group}";
User = cfg.user;
Group = cfg.group;
StateDirectory = "sabnzbd";
ExecStart = "${lib.getBin cfg.package}/bin/sabnzbd -d -f ${cfg.configFile}";
};
};

networking.firewall = mkIf cfg.openFirewall {
allowedTCPPorts = [ 8080 ];
};
};
}
4 changes: 3 additions & 1 deletion nixos/tests/nextcloud/with-postgresql-and-redis.nix
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ in {
};
extraAppsEnable = true;
extraApps = {
inherit (pkgs."nextcloud${lib.versions.major config.services.nextcloud.package.version}Packages".apps) notify_push;
inherit (pkgs."nextcloud${lib.versions.major config.services.nextcloud.package.version}Packages".apps) notify_push notes;
};
settings.trusted_proxies = [ "::1" ];
};
Expand Down Expand Up @@ -92,5 +92,7 @@ in {
# redis cache should not be empty
nextcloud.fail('test "[]" = "$(redis-cli --json KEYS "*")"')
nextcloud.fail("curl -f http://nextcloud/nix-apps/notes/lib/AppInfo/Application.php")
'';
})) args
1 change: 0 additions & 1 deletion pkgs/applications/gis/grass/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,6 @@ stdenv.mkDerivation (finalAttrs: {
"--with-proj-share=${proj}/share/proj"
"--with-pthread"
"--with-readline"
"--with-wxwidgets"
"--with-zstd"
"--without-opengl"
] ++ lib.optionals stdenv.isLinux [
Expand Down
20 changes: 10 additions & 10 deletions pkgs/applications/networking/browsers/chromium/upstream-info.nix
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
{
stable = {
chromedriver = {
hash_darwin = "sha256-IDPdjq3FpLy6Y9xkR15mzbIal8wjeQzzWtWuZ4uKmzA=";
hash_darwin = "sha256-Mdm+aOd8czNX7oJcNCSdu5TFwIlh5Y37OLdiPpOD+mk=";
hash_darwin_aarch64 =
"sha256-3Mol45MrvrSqrpkKy2Trt0JFNfV4ekXTxEveUUGmJm4=";
hash_linux = "sha256-O8U4pZ76/N7q9bV7d0A+wlIqqaoz6WyfZQO4cIV2CIM=";
version = "121.0.6167.85";
"sha256-ZF8nfAXX99I4x6RUEvQkiXZ/SMugXYYyzgC1SzcE1OE=";
hash_linux = "sha256-DIC7Ew7aCvtYMVXVXsnMItdeLPDdkNZXZH35I0ZdWEs=";
version = "122.0.6261.57";
};
deps = {
gn = {
hash = "sha256-eD3KORYYuIH+94+BgL+yFD5lTQFvj/MqPU9DPiHc98s=";
rev = "7367b0df0a0aa25440303998d54045bda73935a5";
hash = "sha256-UhdDsq9JyP0efGpAaJ/nLp723BbjM6pkFPcAnQbgMKY=";
rev = "f99e015ac35f689cfdbf46e4eb174e5d2da78d8e";
url = "https://gn.googlesource.com/gn";
version = "2023-11-28";
version = "2024-01-22";
};
};
hash = "sha256-mLXBaW4KBieOiz2gRXfgA/KPdmUnNlpUIOqdj7CywcY=";
hash_deb_amd64 = "sha256-UDgO1sJ7bggFTe7C36CnHYXjG9rM+ZqFCOzNyIDpQ0Y=";
version = "121.0.6167.184";
hash = "sha256-VvurD1r89dI0ahaVDQ3yinGlHOfzzm7TkL09tF4nebE=";
hash_deb_amd64 = "sha256-Q3AUKzUsRzW00+WLhuri86QzBGk/rlq5Hk+NdoRbbM4=";
version = "122.0.6261.57";
};
ungoogled-chromium = {
deps = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,16 @@

buildGoModule rec {
pname = "kube-capacity";
version = "0.7.4";
version = "0.8.0";

src = fetchFromGitHub {
rev = "v${version}";
owner = "robscott";
repo = pname;
sha256 = "sha256-zf6e8+jkgJns1c71QLL1gd0zK34X7gJo1gS38A1DPJo=";
sha256 = "sha256-zAwCz4Qs1OF/CdSmy9p4X9hL9iNkAH/EeSU2GgekzV8=";
};

vendorHash = "sha256-qfSya42wZEmJCC7o8zJQEv0BWrxTuBT2Jzcq/AfI+OE=";
vendorHash = "sha256-YME4AXpHvr1bNuc/HoHxam+7ZkwLzjhIvFSfD4hga1A=";

meta = with lib; {
description =
Expand Down
4 changes: 2 additions & 2 deletions pkgs/applications/radio/cloudlog/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@

stdenvNoCC.mkDerivation rec {
pname = "cloudlog";
version = "2.6.4";
version = "2.6.5";

src = fetchFromGitHub {
owner = "magicbug";
repo = "Cloudlog";
rev = version;
hash = "sha256-5QY3llgI2wUp7xQssLMgU5CDx42rNLm77/vNnPv15r4=";
hash = "sha256-RxA0joF+hqIL+eElVVwG0kxvzxkt3YsFaomf9GIHtCw=";
};

postPatch = ''
Expand Down
6 changes: 3 additions & 3 deletions pkgs/applications/version-management/gitui/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,16 @@

rustPlatform.buildRustPackage rec {
pname = "gitui";
version = "0.24.3";
version = "0.25.0";

src = fetchFromGitHub {
owner = "extrawurst";
repo = pname;
rev = "v${version}";
hash = "sha256-mT5toF4mKRP0dlwlfKHjmFFQJ/cWSb2vwg1uZbhZRhI=";
hash = "sha256-1sr/7Um+qp3HZ5jUKlSnjqkDJGVtnztCsyFplWEs/Wg=";
};

cargoHash = "sha256-8j0NtJB2ErrpljPHSMRD/4IGZuqA8wLuzPnuQqxaXRg=";
cargoHash = "sha256-EATj4UQUEZxkGY7sKKxUuWi5cA+IOjHnICUi3Fk3v9M=";

nativeBuildInputs = [ pkg-config ];

Expand Down
4 changes: 2 additions & 2 deletions pkgs/applications/video/streamlink/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@

python3Packages.buildPythonApplication rec {
pname = "streamlink";
version = "6.6.1";
version = "6.6.2";
format = "pyproject";

src = fetchPypi {
inherit pname version;
hash = "sha256-MfHiBgUHjTEUGfYVMOZ9R/7bWg8HOLt8/QQw2vGRA7E=";
hash = "sha256-0UF8fFmG3BQ7xxHIqZ97iEsQ0lg/RLHD2t6n3wp15NU=";
};

nativeCheckInputs = with python3Packages; [
Expand Down
6 changes: 3 additions & 3 deletions pkgs/applications/virtualization/nixpacks/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,16 @@

rustPlatform.buildRustPackage rec {
pname = "nixpacks";
version = "1.21.1";
version = "1.21.2";

src = fetchFromGitHub {
owner = "railwayapp";
repo = pname;
rev = "v${version}";
sha256 = "sha256-7mW/75Bkss7mtYXfnwKH0YHASv6YAxuM8Ww4ur7VwpU=";
sha256 = "sha256-GY5fwmwr2FAJB9SjTaghlC4GD6ECnect21VInTXseRE=";
};

cargoHash = "sha256-uo9cMVBRv9HEgICIpJomRKRInDXqnDaGCqnKIsBImBM=";
cargoHash = "sha256-kXfNWAloMwpykv6zJS5g6ng8RGn+NBNgYJmUg/I7dBg=";

# skip test due FHS dependency
doCheck = false;
Expand Down
4 changes: 2 additions & 2 deletions pkgs/by-name/ap/apt/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,11 @@

stdenv.mkDerivation (finalAttrs: {
pname = "apt";
version = "2.7.11";
version = "2.7.12";

src = fetchurl {
url = "mirror://debian/pool/main/a/apt/apt_${finalAttrs.version}.tar.xz";
hash = "sha256-ZD5skWsyQSmGc5yStEwijMmQv0c/ikHWm5m1RdEMMqc=";
hash = "sha256-5G0Wa1/Ih8LZvKet1+DM2lR7lit2LhJyoIwEJrqpnK8=";
};

# cycle detection; lib can't be split
Expand Down
4 changes: 2 additions & 2 deletions pkgs/by-name/hu/hugo/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@

buildGoModule rec {
pname = "hugo";
version = "0.123.0";
version = "0.123.1";

src = fetchFromGitHub {
owner = "gohugoio";
repo = "hugo";
rev = "refs/tags/v${version}";
hash = "sha256-VGp+B+a4nX5oIc+YjslQHzXgC76MvMObKS6EXll1C3E=";
hash = "sha256-hT4yFyf6j3KW9e8rYEbd2h9HtflGmPv0C44YDUkuHZw=";
};

vendorHash = "sha256-1cd0w9eIPSlhznOQaIiaPoIBnQ4DycVUbZwLOlJ+t8o=";
Expand Down
4 changes: 2 additions & 2 deletions pkgs/by-name/lo/louvre/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@
}:
stdenv.mkDerivation (self: {
pname = "louvre";
version = "1.2.0-2";
version = "1.2.1-2";
rev = "v${self.version}";
hash = "sha256-0l465kcGzfxnoTkfMCDFyU0Z4mFTjUHtKCN23ONQNoA=";
hash = "sha256-jHMgn6EwWt9GMT8JvIUtUPbn9o1DZCzxiYC7RnoGZv0=";

src = fetchFromGitHub {
inherit (self) rev hash;
Expand Down
4 changes: 2 additions & 2 deletions pkgs/by-name/no/nom/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
}:
buildGoModule rec {
pname = "nom";
version = "2.1.1";
version = "2.1.3";

src = fetchFromGitHub {
owner = "guyfedwards";
repo = "nom";
rev = "v${version}";
hash = "sha256-yemEq61oUzoOrBZ7e6djNxbw/QqR5Fuhi1Y12n/AdrU=";
hash = "sha256-PBhwIyGzWbXRTmp+IvFPqae4cbb6l6nIYcFheYkHlFI=";
};

vendorHash = "sha256-fP6yxfIQoVaBC9hYcrCyo3YP3ntEVDbDTwKMO9TdyDI=";
Expand Down
4 changes: 2 additions & 2 deletions pkgs/by-name/oe/oelint-adv/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@

python3.pkgs.buildPythonApplication rec {
pname = "oelint-adv";
version = "4.3.0";
version = "4.3.1";
format = "setuptools";

src = fetchPypi {
inherit version;
pname = "oelint_adv";
hash = "sha256-G2wBy1nx05WiAtnNXp7Kvio4dA3rYJRVfdKm3a2ZF/g=";
hash = "sha256-N8QNX6JuHVDKBLwGNwBROH8f+tcLrc1Mk21CiiOVHkI=";
};

propagatedBuildInputs = with python3.pkgs; [
Expand Down
6 changes: 3 additions & 3 deletions pkgs/by-name/re/renode-dts2repl/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@

python3.pkgs.buildPythonApplication {
pname = "renode-dts2repl";
version = "unstable-2024-02-16";
version = "unstable-2024-02-19";
pyproject = true;

src = fetchFromGitHub {
owner = "antmicro";
repo = "dts2repl";
rev = "83c35ebd87c000f37a0b873e7c82134da7daa7a2";
hash = "sha256-ga9D/5MkAso9NVK7cv2JryOoDF+a2ORN4MVQ3uns/zk=";
rev = "d0bf509a04327bfe5a8542fdbcc71cf368bb9ac7";
hash = "sha256-era8iyKOk5JzemSWk20ojjtoRsjSA43uzQC1ZFXUkZc=";
};

nativeBuildInputs = [
Expand Down
Loading

0 comments on commit 897e2da

Please sign in to comment.