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 22, 2022
2 parents 4b6af00 + 749c2d5 commit 107b604
Show file tree
Hide file tree
Showing 51 changed files with 1,277 additions and 1,593 deletions.
2 changes: 1 addition & 1 deletion .git-blame-ignore-revs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
# To not have to set the option in every repository it is needed in,
# save the following script in your path with the name "git-bblame"
# now you can run
# $ git blame $FILE
# $ git bblame $FILE
# to use the .git-blame-ignore-revs file if it is present.
#
# #!/usr/bin/env bash
Expand Down
19 changes: 19 additions & 0 deletions maintainers/maintainer-list.nix
Original file line number Diff line number Diff line change
Expand Up @@ -1412,6 +1412,12 @@
githubId = 916366;
name = "Brandon Elam Barker";
};
bbenno = {
email = "[email protected]";
github = "bbenno";
githubId = 32938211;
name = "Benno Bielmeier";
};
bbigras = {
email = "[email protected]";
github = "bbigras";
Expand Down Expand Up @@ -4248,6 +4254,13 @@
fingerprint = "2F93 661D AC17 EA98 A104 F780 ECC7 55EE 583C 1672";
}];
};
fleaz = {
email = "[email protected]";
matrix = "@fleaz:rainbownerds.de";
github = "fleaz";
githubId = 2489598;
name = "Felix Breidenstein";
};
flexagoon = {
email = "[email protected]";
github = "flexagoon";
Expand Down Expand Up @@ -5445,6 +5458,12 @@
githubId = 510202;
name = "Ismaël Bouya";
};
imsofi = {
email = "[email protected]";
github = "imsofi";
githubId = 20756843;
name = "Sofi";
};
imuli = {
email = "[email protected]";
github = "imuli";
Expand Down
8 changes: 8 additions & 0 deletions nixos/doc/manual/from_md/release-notes/rl-2205.section.xml
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,14 @@
<link xlink:href="options.html#opt-services.snowflake-proxy.enable">services.snowflake-proxy</link>.
</para>
</listitem>
<listitem>
<para>
<link xlink:href="https://github.com/fleaz/r53-ddns">r53-ddns</link>,
a small tool to run your own DDNS service via AWS Route53.
Available as
<link xlink:href="options.html#opt-services.r53-ddns.enable">services.r53-ddns</link>.
</para>
</listitem>
<listitem>
<para>
<link xlink:href="https://ergo.chat">ergochat</link>, a modern
Expand Down
2 changes: 2 additions & 0 deletions nixos/doc/manual/release-notes/rl-2205.section.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,8 @@ In addition to numerous new and upgraded packages, this release has the followin

- [snowflake-proxy](https://snowflake.torproject.org/), a system to defeat internet censorship. Available as [services.snowflake-proxy](options.html#opt-services.snowflake-proxy.enable).

- [r53-ddns](https://github.com/fleaz/r53-ddns), a small tool to run your own DDNS service via AWS Route53. Available as [services.r53-ddns](options.html#opt-services.r53-ddns.enable).

- [ergochat](https://ergo.chat), a modern IRC with IRCv3 features. Available as [services.ergochat](options.html#opt-services.ergochat.enable).

- [Snipe-IT](https://snipeitapp.com), a free open source IT asset/license management system. Available as [services.snipe-it](options.html#opt-services.snipe-it.enable).
Expand Down
1 change: 1 addition & 0 deletions nixos/modules/module-list.nix
Original file line number Diff line number Diff line change
Expand Up @@ -877,6 +877,7 @@
./services/networking/quassel.nix
./services/networking/quorum.nix
./services/networking/quicktun.nix
./services/networking/r53-ddns.nix
./services/networking/radicale.nix
./services/networking/radvd.nix
./services/networking/rdnssd.nix
Expand Down
16 changes: 15 additions & 1 deletion nixos/modules/services/misc/gollum.nix
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,12 @@ in
description = "Enable uploads of external files";
};

user-icons = mkOption {
type = types.nullOr (types.enum [ "gravatar" "identicon" ]);
default = null;
description = "User icons for history view";
};

emoji = mkOption {
type = types.bool;
default = false;
Expand All @@ -56,6 +62,12 @@ in
description = "Use the first h1 as page title";
};

no-edit = mkOption {
type = types.bool;
default = false;
description = "Disable editing pages";
};

branch = mkOption {
type = types.str;
default = "master";
Expand Down Expand Up @@ -110,12 +122,14 @@ in
${optionalString cfg.mathjax "--mathjax"} \
${optionalString cfg.emoji "--emoji"} \
${optionalString cfg.h1-title "--h1-title"} \
${optionalString cfg.no-edit "--no-edit"} \
${optionalString (cfg.allowUploads != null) "--allow-uploads ${cfg.allowUploads}"} \
${optionalString (cfg.user-icons != null) "--user-icons ${cfg.user-icons}"} \
${cfg.stateDir}
'';
};
};
};

meta.maintainers = with lib.maintainers; [ erictapen ];
meta.maintainers = with lib.maintainers; [ erictapen bbenno ];
}
72 changes: 72 additions & 0 deletions nixos/modules/services/networking/r53-ddns.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
{ config, lib, pkgs, ... }:

with lib;

let
cfg = config.services.r53-ddns;
pkg = pkgs.r53-ddns;
in
{
options = {
services.r53-ddns = {

enable = mkEnableOption "r53-ddyns";

interval = mkOption {
type = types.str;
default = "15min";
description = "How often to update the entry";
};

zoneID = mkOption {
type = types.str;
description = "The ID of your zone in Route53";
};

domain = mkOption {
type = types.str;
description = "The name of your domain in Route53";
};

hostname = mkOption {
type = types.str;
description = ''
Manually specify the hostname. Otherwise the tool will try to use the name
returned by the OS (Call to gethostname)
'';
};

environmentFile = mkOption {
type = types.str;
description = ''
File containing the AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY
in the format of an EnvironmentFile as described by systemd.exec(5)
'';
};

};
};

config = mkIf cfg.enable {

systemd.timers.r53-ddns = {
description = "r53-ddns timer";
wantedBy = [ "timers.target" ];
timerConfig = {
OnBootSec = cfg.interval;
OnUnitActiveSec = cfg.interval;
};
};

systemd.services.r53-ddns = {
description = "r53-ddns service";
serviceConfig = {
ExecStart = "${pkg}/bin/r53-ddns -zone-id ${cfg.zoneID} -domain ${cfg.domain}"
+ lib.optionalString (cfg.hostname != null) " -hostname ${cfg.hostname}";
EnvironmentFile = "${cfg.environmentFile}";
DynamicUser = true;
};
};

};
}
6 changes: 3 additions & 3 deletions pkgs/applications/audio/amberol/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -19,20 +19,20 @@

stdenv.mkDerivation rec {
pname = "amberol";
version = "0.6.2";
version = "0.6.3";

src = fetchFromGitLab {
domain = "gitlab.gnome.org";
owner = "World";
repo = pname;
rev = version;
hash = "sha256-cY4VZRtmDrIgjHa5pMOVO+lpPU+VHhLonpwTxKn834M=";
hash = "sha256-KV3nYJbLaQxpMpC7aCzfpNMe9bYpZKrdoOtYA++eC74=";
};

cargoDeps = rustPlatform.fetchCargoTarball {
inherit src;
name = "${pname}-${version}";
hash = "sha256-z3R2UG31s7lV6c+dNChMvzimXfPbxDvuOL+Nduxwawg=";
hash = "sha256-UjHL/5iVht2jPnOiYjoIKWJdvwQQkNuKfF8rpi48j3c=";
};

postPatch = ''
Expand Down
2 changes: 2 additions & 0 deletions pkgs/applications/blockchains/bitcoin-classic/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@ stdenv.mkDerivation rec {
"--with-qt-bindir=${qtbase.dev}/bin:${qttools.dev}/bin"
];

CXXFLAGS = [ "-std=c++14" ];

enableParallelBuilding = true;

dontWrapQtApps = true;
Expand Down
4 changes: 2 additions & 2 deletions pkgs/applications/editors/neovim/neovim-remote.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@

with python3.pkgs; buildPythonApplication rec {
pname = "neovim-remote";
version = "2.4.0";
version = "2.5.1";

src = fetchFromGitHub {
owner = "mhinz";
repo = "neovim-remote";
rev = "v${version}";
sha256 = "0jlw0qksak4bdzddpsj74pm2f2bgpj3cwrlspdjjy0j9qzg0mpl9";
sha256 = "0lbz4w8hgxsw4k1pxafrl3rhydrvi5jc6vnsmkvnhh6l6rxlmvmq";
};

propagatedBuildInputs = [
Expand Down
36 changes: 36 additions & 0 deletions pkgs/applications/editors/notepad-next/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
{ mkDerivation, lib, fetchFromGitHub, qmake, libsForQt5 }:

mkDerivation rec {
pname = "notepad-next";
version = "0.5.1";

src = fetchFromGitHub {
owner = "dail8859";
repo = "NotepadNext";
rev = "v${version}";
sha256 = "sha256-J7Ngt6YtAAZsza2lN0d1lX3T8gNJHp60sCwwaLMGBHQ=";
# External dependencies - https://github.com/dail8859/NotepadNext/issues/135
fetchSubmodules = true;
};

nativeBuildInputs = [ qmake libsForQt5.qt5.qttools ];
qmakeFlags = [ "src/NotepadNext.pro" ];

# References
# https://github.com/dail8859/NotepadNext/blob/master/doc/Building.md
# https://github.com/dail8859/NotepadNext/pull/124
postPatch = ''
substituteInPlace ./src/NotepadNext/NotepadNext.pro --replace /usr $out
'';

# Upstream suggestion: https://github.com/dail8859/NotepadNext/issues/135
CXXFLAGS = "-std=gnu++1z";

meta = with lib; {
homepage = "https://github.com/dail8859/NotepadNext";
description = "Notepad++-like editor for the Linux desktop";
license = licenses.gpl3Plus;
platforms = platforms.linux;
maintainers = [ maintainers.sebtm ];
};
}
4 changes: 2 additions & 2 deletions pkgs/applications/finance/irpf/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@

stdenvNoCC.mkDerivation rec {
pname = "irpf";
version = "2022-1.4";
version = "2022-1.5";

src = let
year = lib.head (lib.splitVersion version);
in fetchzip {
url = "https://downloadirpf.receita.fazenda.gov.br/irpf/${year}/irpf/arquivos/IRPF${version}.zip";
sha256 = "sha256-AKBcBkoPDBknUOyndf9hNigzDHjjgi2v0n1Rs+//j/8=";
sha256 = "sha256-FJqLjERTVQC6KvLSrCzR9RTIiJEfHvOwX7CRdUmHf/U=";
};

nativeBuildInputs = [ unzip makeWrapper copyDesktopItems ];
Expand Down
4 changes: 2 additions & 2 deletions pkgs/applications/misc/ArchiSteamFarm/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@
buildDotnetModule rec {
pname = "archisteamfarm";
# nixpkgs-update: no auto update
version = "5.2.2.4";
version = "5.2.5.7";

src = fetchFromGitHub {
owner = "justarchinet";
repo = pname;
rev = version;
sha256 = "sha256-Q5gR+CbqoE9QwFjDpnKOzVZuRPUDBukJ0EpqhN5cAws=";
sha256 = "sha256-NXRHLE9Y7j10l8mAUY68+556wcxRXLfdKeCI+b4Xs7I=";
};

dotnet-runtime = dotnetCorePackages.aspnetcore_6_0;
Expand Down
Loading

0 comments on commit 107b604

Please sign in to comment.