From 63e43aaa9f8a1b370130495c3f4c2d1c8428b391 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Tue, 5 Sep 2023 02:55:46 +0000 Subject: open-vm-tools: 12.2.5 -> 12.3.0 --- pkgs/applications/virtualization/open-vm-tools/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/virtualization/open-vm-tools/default.nix b/pkgs/applications/virtualization/open-vm-tools/default.nix index 286a6f74c97..14f712a8f64 100644 --- a/pkgs/applications/virtualization/open-vm-tools/default.nix +++ b/pkgs/applications/virtualization/open-vm-tools/default.nix @@ -41,13 +41,13 @@ stdenv.mkDerivation rec { pname = "open-vm-tools"; - version = "12.2.5"; + version = "12.3.0"; src = fetchFromGitHub { owner = "vmware"; repo = "open-vm-tools"; rev = "stable-${version}"; - hash = "sha256-Aa2OzY3x8yRn/uFaCbbKihpsPueup7doPp5i8I04iaQ="; + hash = "sha256-YVpWomLED5sBKXKdJtuDjb7/aKB2flVIm2ED3xSsccE="; }; sourceRoot = "${src.name}/open-vm-tools"; -- cgit 1.4.1 From e480fdf4a388f413fd4b57e9ff159562e9cc5b2f Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Thu, 7 Sep 2023 03:55:53 +0000 Subject: ghidra: 10.3.2 -> 10.3.3 --- pkgs/tools/security/ghidra/build.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/security/ghidra/build.nix b/pkgs/tools/security/ghidra/build.nix index 8f2a9f05fd3..16bc1dbe5cd 100644 --- a/pkgs/tools/security/ghidra/build.nix +++ b/pkgs/tools/security/ghidra/build.nix @@ -15,13 +15,13 @@ let pkg_path = "$out/lib/ghidra"; pname = "ghidra"; - version = "10.3.2"; + version = "10.3.3"; src = fetchFromGitHub { owner = "NationalSecurityAgency"; repo = "Ghidra"; rev = "Ghidra_${version}_build"; - hash = "sha256-CVnEHtSF3DVTH+8qwUsABJq/lRkg6xulEWU+Q5C9ajo="; + hash = "sha256-KDSiZ/JwAqX6Obg9UD8ZQut01l/eMXbioJy//GluXn0="; }; gradle = gradle_7; -- cgit 1.4.1 From 1940468c6febc0cbb465dfb1e91c84a78335970c Mon Sep 17 00:00:00 2001 From: Aaron Jheng Date: Wed, 13 Sep 2023 21:30:20 +0800 Subject: routinator: 0.12.1 -> 0.12.2 --- pkgs/servers/routinator/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/servers/routinator/default.nix b/pkgs/servers/routinator/default.nix index b971d2def92..a56a5e491a0 100644 --- a/pkgs/servers/routinator/default.nix +++ b/pkgs/servers/routinator/default.nix @@ -7,16 +7,16 @@ rustPlatform.buildRustPackage rec { pname = "routinator"; - version = "0.12.1"; + version = "0.12.2"; src = fetchFromGitHub { owner = "NLnetLabs"; repo = pname; rev = "v${version}"; - sha256 = "sha256-QH4M6Kr6UiDJAaDtEn2GXQT9oSSz3lqkf+VE0GfOqeg="; + hash = "sha256-fblUr2gtlGMRAFbpWYDafskLmIls56e9b2GFD7ASZHM="; }; - cargoSha256 = "sha256-lzw26aat+Zk0E70H7/xwZ6azRMkknfQmTrE4wOJRwfo="; + cargoHash = "sha256-pvb/tZW4jqNSLgp+Ktakd3J1KVfCRtPgE0bgNst6ImQ="; buildInputs = lib.optionals stdenv.isDarwin [ Security ]; -- cgit 1.4.1 From 698c640e7751f538ae009c8f559b0408bbfec5b2 Mon Sep 17 00:00:00 2001 From: Maximilian Bosch Date: Thu, 14 Sep 2023 22:12:53 +0200 Subject: nixos/grafana: remove hacky deprecation helper from dashbaords & datasources The problem we had back then was that `mkRenamedOptionModule` doesn't work if an option will be moved a level depper, i.e. services.grafana.provision.dashboards became services.grafana.provision.dashboards.settings.provider I actually planned to remove this before 23.05 (since the change was already released in 22.11), but as you can see that didn't happen ;-) I think the grace-period was quite long already. And if someone is migrating from <22.11 to a current NixOS now, there are very precise instructions on how to upgrade in the 22.11 release notes. --- nixos/modules/services/monitoring/grafana.nix | 24 ++---------------------- 1 file changed, 2 insertions(+), 22 deletions(-) diff --git a/nixos/modules/services/monitoring/grafana.nix b/nixos/modules/services/monitoring/grafana.nix index 571b9a3aeeb..e90a0e9d16d 100644 --- a/nixos/modules/services/monitoring/grafana.nix +++ b/nixos/modules/services/monitoring/grafana.nix @@ -88,26 +88,6 @@ let # Get a submodule without any embedded metadata: _filter = x: filterAttrs (k: v: k != "_module") x; - # FIXME(@Ma27) remove before 23.05. This is just a helper-type - # because `mkRenamedOptionModule` doesn't work if `foo.bar` is renamed - # to `foo.bar.baz`. - submodule' = module: types.coercedTo - (mkOptionType { - name = "grafana-provision-submodule"; - description = "Wrapper-type for backwards compat of Grafana's declarative provisioning"; - check = x: - if builtins.isList x then - throw '' - Provisioning dashboards and datasources declaratively by - setting `dashboards` or `datasources` to a list is not supported - anymore. Use `services.grafana.provision.datasources.settings.datasources` - (or `services.grafana.provision.dashboards.settings.providers`) instead. - '' - else isAttrs x || isFunction x; - }) - id - (types.submodule module); - # http://docs.grafana.org/administration/provisioning/#datasources grafanaTypes.datasourceConfig = types.submodule { freeformType = provisioningSettingsFormat.type; @@ -1160,7 +1140,7 @@ in Declaratively provision Grafana's datasources. ''; default = { }; - type = submodule' { + type = types.submodule { options.settings = mkOption { description = lib.mdDoc '' Grafana datasource configuration in Nix. Can't be used with @@ -1235,7 +1215,7 @@ in Declaratively provision Grafana's dashboards. ''; default = { }; - type = submodule' { + type = types.submodule { options.settings = mkOption { description = lib.mdDoc '' Grafana dashboard configuration in Nix. Can't be used with -- cgit 1.4.1 From 5ace194d5de989e86e38ebc12923c3d6f77acf2f Mon Sep 17 00:00:00 2001 From: spacefault <74156492+spacefault@users.noreply.github.com> Date: Fri, 15 Sep 2023 02:47:15 -0600 Subject: osu-lazer-bin: 2023.815.0 -> 2023.914.0 This commit upgrades the osu-lazer-bin package from version 2023.815.0 to 2023.914.0. The release notes for this upgrade can be viewed here: https://github.com/ppy/osu/releases/tag/2023.914.0 --- pkgs/games/osu-lazer/bin.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/games/osu-lazer/bin.nix b/pkgs/games/osu-lazer/bin.nix index 0854b386117..c1c9a61430e 100644 --- a/pkgs/games/osu-lazer/bin.nix +++ b/pkgs/games/osu-lazer/bin.nix @@ -7,21 +7,21 @@ let pname = "osu-lazer-bin"; - version = "2023.815.0"; + version = "2023.914.0"; name = "${pname}-${version}"; osu-lazer-bin-src = { aarch64-darwin = { url = "https://github.com/ppy/osu/releases/download/${version}/osu.app.Apple.Silicon.zip"; - sha256 = "sha256-lijX8UOSWZPzQdA+DOPcgKW3PxKFbNtBSUrq903zx7E="; + sha256 = "sha256-F+KQmr6XQAwo/QXhRog5bH2pYmP47jBZ5+x/ehD0E3Y="; }; x86_64-darwin = { url = "https://github.com/ppy/osu/releases/download/${version}/osu.app.Intel.zip"; - sha256 = "sha256-XuQ82h/ebo7oWcWq4vUOguh6FUsWO+xFpz7Z++DjkzY="; + sha256 = "sha256-gdLL8awOJ29kyabKQ1qRuhIbtUFpVxo3Posg8WjTPJA="; }; x86_64-linux = { url = "https://github.com/ppy/osu/releases/download/${version}/osu.AppImage"; - sha256 = "sha256-wRWJQQ4rn3A8Dd53gPt62pOtd9KRmYXxuejd8RGOAdw="; + sha256 = "sha256-5hrzR1HkWjKpB8JmaOpc+hFg9o4bE+WXMKPBGdMWIFw="; }; }.${stdenv.system} or (throw "${pname}-${version}: ${stdenv.system} is unsupported."); -- cgit 1.4.1 From 99f70f9717e69a50548369f4864e75af99d3c100 Mon Sep 17 00:00:00 2001 From: Maximilian Bosch Date: Fri, 15 Sep 2023 14:09:52 +0200 Subject: roundcube: 1.6.2 -> 1.6.3 ChangeLog: https://github.com/roundcube/roundcubemail/releases/tag/1.6.3 --- pkgs/servers/roundcube/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/servers/roundcube/default.nix b/pkgs/servers/roundcube/default.nix index ee9fff23074..26dab595381 100644 --- a/pkgs/servers/roundcube/default.nix +++ b/pkgs/servers/roundcube/default.nix @@ -2,11 +2,11 @@ stdenv.mkDerivation rec { pname = "roundcube"; - version = "1.6.2"; + version = "1.6.3"; src = fetchurl { url = "https://github.com/roundcube/roundcubemail/releases/download/${version}/roundcubemail-${version}-complete.tar.gz"; - sha256 = "sha256-yJgwfZXMSEGM+VUX71K1sAiMUAFPZ6bvgVdjQoqAQ/A="; + sha256 = "sha256-XmDM1Q9i+wDEPTNewIqb2vvyvdAlUiVsxACZCLOa2Y8="; }; patches = [ ./0001-Don-t-resolve-symlinks-when-trying-to-find-INSTALL_P.patch ]; -- cgit 1.4.1 From af420b010a4e3b52d2b515b2b2d12b7cdba35629 Mon Sep 17 00:00:00 2001 From: Gaël Reyrol Date: Fri, 15 Sep 2023 14:15:51 +0200 Subject: sozu: 0.15.3 -> 0.15.4 --- pkgs/servers/sozu/default.nix | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/pkgs/servers/sozu/default.nix b/pkgs/servers/sozu/default.nix index fbf11cacbec..13031f72aa9 100644 --- a/pkgs/servers/sozu/default.nix +++ b/pkgs/servers/sozu/default.nix @@ -11,16 +11,16 @@ rustPlatform.buildRustPackage rec { pname = "sozu"; - version = "0.15.3"; + version = "0.15.4"; src = fetchFromGitHub { owner = "sozu-proxy"; repo = pname; rev = version; - hash = "sha256-hZQ5pRzQy+BMGnxCl0Mw3hqCHZJcZ30vhqt6gWyLXWU="; + hash = "sha256-kyD4MXk6MajAJb0k7jDquPFodq7NLPsaZbGHcZMojC4="; }; - cargoHash = "sha256-KFOsKyZZOWvkkTuLqVeLmHlk6HscEJi0sI2hJS6UnOU="; + cargoHash = "sha256-qfuTkf31b5rHdYbTraFDw1FtZ0jGdQaM2V3idVHk/u4="; nativeBuildInputs = [ protobuf ]; @@ -45,6 +45,7 @@ rustPlatform.buildRustPackage rec { changelog = "https://github.com/sozu-proxy/sozu/releases/tag/${version}"; license = licenses.agpl3; maintainers = with maintainers; [ Br1ght0ne gaelreyrol ]; + mainProgram = "sozu"; # error[E0432]: unresolved import `std::arch::x86_64` broken = !stdenv.isx86_64; }; -- cgit 1.4.1 From 676f94431d82d0ccc408a4534fa6e22f03aca5ab Mon Sep 17 00:00:00 2001 From: figsoda Date: Fri, 15 Sep 2023 10:04:00 -0400 Subject: fh: 0.1.3 -> 0.1.4 Diff: https://github.com/DeterminateSystems/fh/compare/v0.1.3...v0.1.4 --- pkgs/tools/nix/fh/default.nix | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/nix/fh/default.nix b/pkgs/tools/nix/fh/default.nix index e4368e58012..cc1cb886129 100644 --- a/pkgs/tools/nix/fh/default.nix +++ b/pkgs/tools/nix/fh/default.nix @@ -1,6 +1,7 @@ { lib , rustPlatform , fetchFromGitHub +, installShellFiles , stdenv , darwin , gcc @@ -9,18 +10,19 @@ rustPlatform.buildRustPackage rec { pname = "fh"; - version = "0.1.3"; + version = "0.1.4"; src = fetchFromGitHub { owner = "DeterminateSystems"; repo = "fh"; rev = "v${version}"; - hash = "sha256-9dWd0syDzoyjnhVoOCazRVA4pAAXud+cxggVlxXzJFg="; + hash = "sha256-Fxwy+PagG9FYeURQxM0rV1Lx9T+SFt58d2HfiFD5XTc="; }; - cargoHash = "sha256-GzS/grxiMlrpJ2OG5BSne4RmSMUXXjKiwYyW4Aj69gc="; + cargoHash = "sha256-WbwAW9+c9cemog5Mlb/Czc5VZwFkGLJZzSVckgomiDw="; nativeBuildInputs = [ + installShellFiles rustPlatform.bindgenHook ]; @@ -33,6 +35,13 @@ rustPlatform.buildRustPackage rec { NIX_CFLAGS_COMPILE = "-I${lib.getDev libcxx}/include/c++/v1"; }; + postInstall = '' + installShellCompletion --cmd fh \ + --bash <($out/bin/fh completion bash) \ + --fish <($out/bin/fh completion fish) \ + --zsh <($out/bin/fh completion zsh) + ''; + meta = with lib; { description = "The official FlakeHub CLI"; homepage = "https://github.com/DeterminateSystems/fh"; -- cgit 1.4.1 From 95913978a4efebfe7867f69469cf8cb7733cfc8c Mon Sep 17 00:00:00 2001 From: figsoda Date: Fri, 15 Sep 2023 10:59:56 -0400 Subject: cargo-mutants: 23.6.0 -> 23.9.0 Diff: https://github.com/sourcefrog/cargo-mutants/compare/cargo-mutants-23.6.0...cargo-mutants-23.9.0 Changelog: https://github.com/sourcefrog/cargo-mutants/releases/tag/cargo-mutants-23.9.0 --- pkgs/development/tools/rust/cargo-mutants/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/tools/rust/cargo-mutants/default.nix b/pkgs/development/tools/rust/cargo-mutants/default.nix index 49865324d7b..c675462d2ef 100644 --- a/pkgs/development/tools/rust/cargo-mutants/default.nix +++ b/pkgs/development/tools/rust/cargo-mutants/default.nix @@ -7,16 +7,16 @@ rustPlatform.buildRustPackage rec { pname = "cargo-mutants"; - version = "23.6.0"; + version = "23.9.0"; src = fetchFromGitHub { owner = "sourcefrog"; repo = "cargo-mutants"; rev = "cargo-mutants-${version}"; - hash = "sha256-qgsranCZnorEZuCgUj0LmkL0dcfarWa0q/9Uupsf4jQ="; + hash = "sha256-Yy10rsPeDzfDItniqotC0mvl9e4uIcLezR2zAIq9u+o="; }; - cargoHash = "sha256-BW9itNgVOiaKMzaRl3d60BIV5V82+5D0+QKSnGcvFnI="; + cargoHash = "sha256-NM75CBmHzSdrWkFHSzLPnmshtgj9MnUgDR4BJY0j9iA="; buildInputs = lib.optionals stdenv.isDarwin [ darwin.apple_sdk.frameworks.SystemConfiguration -- cgit 1.4.1 From 81ece58802e8dbdfe6fe031fe37c444b2c554345 Mon Sep 17 00:00:00 2001 From: "P. R. d. O" Date: Fri, 15 Sep 2023 12:35:40 -0600 Subject: tutanota-desktop: 3.115.2 -> 3.118.7 --- .../networking/mailreaders/tutanota-desktop/default.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/networking/mailreaders/tutanota-desktop/default.nix b/pkgs/applications/networking/mailreaders/tutanota-desktop/default.nix index f5a2139b532..1a7eaf22ae0 100644 --- a/pkgs/applications/networking/mailreaders/tutanota-desktop/default.nix +++ b/pkgs/applications/networking/mailreaders/tutanota-desktop/default.nix @@ -3,12 +3,12 @@ electron, libsecret }: stdenv.mkDerivation rec { pname = "tutanota-desktop"; - version = "3.115.2"; + version = "3.118.7"; src = fetchurl { url = "https://github.com/tutao/tutanota/releases/download/tutanota-desktop-release-${version}/${pname}-${version}-unpacked-linux.tar.gz"; name = "tutanota-desktop-${version}.tar.gz"; - sha256 = "sha256-PdVvrb+sC8LF4tZXAHt2CevyoXhxTXJB01Fe64YI6BI="; + hash = "sha256-e62Wn8rfjX5HmlA3+D6NkZNw2jzx1fYEHC9R1tioQhc="; }; nativeBuildInputs = [ @@ -54,8 +54,10 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Tutanota official desktop client"; homepage = "https://tutanota.com/"; + changelog = "https://github.com/tutao/tutanota/releases/tag/tutanota-desktop-release-${version}"; license = licenses.gpl3Only; maintainers = with maintainers; [ wolfangaukang ]; + mainProgram = "tutanota-desktop"; platforms = [ "x86_64-linux" ]; }; } -- cgit 1.4.1 From 7cfef206542d65dfbdef3c663e989a699bcd455f Mon Sep 17 00:00:00 2001 From: GenericNerdyUsername Date: Wed, 23 Aug 2023 23:15:53 +0100 Subject: abaddon: 0.1.10 -> 0.1.11 --- .../networking/instant-messengers/abaddon/default.nix | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/networking/instant-messengers/abaddon/default.nix b/pkgs/applications/networking/instant-messengers/abaddon/default.nix index 601720345eb..d749e350962 100644 --- a/pkgs/applications/networking/instant-messengers/abaddon/default.nix +++ b/pkgs/applications/networking/instant-messengers/abaddon/default.nix @@ -9,20 +9,24 @@ , curl , gtkmm3 , libhandy +, libopus , libsecret +, libsodium , nlohmann_json +, pcre2 +, spdlog , sqlite }: stdenv.mkDerivation rec { pname = "abaddon"; - version = "0.1.10"; + version = "0.1.11"; src = fetchFromGitHub { owner = "uowuo"; repo = "abaddon"; rev = "v${version}"; - hash = "sha256-84DrPx0e3pZjg87dHZO4y/z7KfIYNyAibE7/J7oYwXA="; + hash = "sha256-KrBZESYab7QFwUfpTl40cgKn/if31oqA9oCe0PwoYbs="; fetchSubmodules = true; }; @@ -37,8 +41,12 @@ stdenv.mkDerivation rec { curl gtkmm3 libhandy + libopus libsecret + libsodium nlohmann_json + pcre2 + spdlog sqlite ]; -- cgit 1.4.1 From 2f573c4839320f09a1a401b8a6315c951ae1b516 Mon Sep 17 00:00:00 2001 From: Thomas Gerbet Date: Fri, 15 Sep 2023 23:30:09 +0200 Subject: vault-ssh-plus: 0.7.1 -> 0.7.2 Changes: https://github.com/isometry/vault-ssh-plus/releases/tag/v0.7.2 --- pkgs/tools/security/vault-ssh-plus/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/security/vault-ssh-plus/default.nix b/pkgs/tools/security/vault-ssh-plus/default.nix index 4979f914143..44be0d6e014 100644 --- a/pkgs/tools/security/vault-ssh-plus/default.nix +++ b/pkgs/tools/security/vault-ssh-plus/default.nix @@ -8,16 +8,16 @@ }: buildGoModule rec { pname = "vault-ssh-plus"; - version = "0.7.1"; + version = "0.7.2"; src = fetchFromGitHub { owner = "isometry"; repo = pname; rev = "v${version}"; - hash = "sha256-J2fb1sRjBxLegFVwyEIRVolaLnXvziPrlidd/n/+tU8="; + hash = "sha256-t987QIMXrG+p+mmRnVrYnhvsmkqCFe/qe1AEtzKArnY="; }; - vendorHash = "sha256-Casouw2fNg/hywx7A37VCVzQ8Gfnvf5qm6upOTUQZvA="; + vendorHash = "sha256-VUsy4z1kIK6TDb5RYNwgDsoqjO6bsTNrXVMO7IXkjO4="; nativeBuildInputs = [ makeWrapper ]; -- cgit 1.4.1 From 41ea5b3609dd28974beda9b660ac5ab84b7ac4f7 Mon Sep 17 00:00:00 2001 From: Anderson Torres Date: Fri, 15 Sep 2023 22:00:11 -0300 Subject: debianutils: migrate to by-name --- pkgs/by-name/de/debianutils/package.nix | 33 +++++++++++++++++++++++++++++++++ pkgs/tools/misc/debianutils/default.nix | 33 --------------------------------- pkgs/top-level/all-packages.nix | 2 -- 3 files changed, 33 insertions(+), 35 deletions(-) create mode 100644 pkgs/by-name/de/debianutils/package.nix delete mode 100644 pkgs/tools/misc/debianutils/default.nix diff --git a/pkgs/by-name/de/debianutils/package.nix b/pkgs/by-name/de/debianutils/package.nix new file mode 100644 index 00000000000..4f5055cdc15 --- /dev/null +++ b/pkgs/by-name/de/debianutils/package.nix @@ -0,0 +1,33 @@ +{ lib +, stdenv +, fetchurl +}: + +stdenv.mkDerivation (finalAttrs: { + pname = "debianutils"; + version = "5.8"; + + src = fetchurl { + url = "mirror://debian/pool/main/d/debianutils/debianutils_${finalAttrs.version}.orig.tar.gz"; + hash = "sha256-WwhtJ+uQY95NdGdg0PrrQNlGT7hV/IqOf7k7A+/OxiI="; + }; + + outputs = [ "out" "man" ]; + + meta = { + homepage = "https://packages.debian.org/sid/debianutils"; + description = "Miscellaneous utilities specific to Debian"; + longDescription = '' + This package provides a number of small utilities which are used + primarily by the installation scripts of Debian packages, although you + may use them directly. + + The specific utilities included are: add-shell installkernel ischroot + remove-shell run-parts savelog tempfile which + ''; + license = with lib.licenses; [ gpl2Plus publicDomain smail ]; + mainProgram = "ischroot"; + maintainers = with lib.maintainers; [ AndersonTorres ]; + platforms = lib.platforms.all; + }; +}) diff --git a/pkgs/tools/misc/debianutils/default.nix b/pkgs/tools/misc/debianutils/default.nix deleted file mode 100644 index 4f5055cdc15..00000000000 --- a/pkgs/tools/misc/debianutils/default.nix +++ /dev/null @@ -1,33 +0,0 @@ -{ lib -, stdenv -, fetchurl -}: - -stdenv.mkDerivation (finalAttrs: { - pname = "debianutils"; - version = "5.8"; - - src = fetchurl { - url = "mirror://debian/pool/main/d/debianutils/debianutils_${finalAttrs.version}.orig.tar.gz"; - hash = "sha256-WwhtJ+uQY95NdGdg0PrrQNlGT7hV/IqOf7k7A+/OxiI="; - }; - - outputs = [ "out" "man" ]; - - meta = { - homepage = "https://packages.debian.org/sid/debianutils"; - description = "Miscellaneous utilities specific to Debian"; - longDescription = '' - This package provides a number of small utilities which are used - primarily by the installation scripts of Debian packages, although you - may use them directly. - - The specific utilities included are: add-shell installkernel ischroot - remove-shell run-parts savelog tempfile which - ''; - license = with lib.licenses; [ gpl2Plus publicDomain smail ]; - mainProgram = "ischroot"; - maintainers = with lib.maintainers; [ AndersonTorres ]; - platforms = lib.platforms.all; - }; -}) diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 19462204a11..30a439a2fd1 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -7358,8 +7358,6 @@ with pkgs; dcfldd = callPackage ../tools/system/dcfldd { }; - debianutils = callPackage ../tools/misc/debianutils { }; - debian-devscripts = callPackage ../tools/misc/debian-devscripts { }; debian-goodies = callPackage ../applications/misc/debian-goodies { }; -- cgit 1.4.1 From a7393a3f58a47c8eb7526ee5ad36b197ad312928 Mon Sep 17 00:00:00 2001 From: Anderson Torres Date: Fri, 15 Sep 2023 22:32:35 -0300 Subject: debianutils: 5.8 -> 5.13 --- pkgs/by-name/de/debianutils/package.nix | 32 ++++++++++++++++++++++---------- 1 file changed, 22 insertions(+), 10 deletions(-) diff --git a/pkgs/by-name/de/debianutils/package.nix b/pkgs/by-name/de/debianutils/package.nix index 4f5055cdc15..053c667d2ad 100644 --- a/pkgs/by-name/de/debianutils/package.nix +++ b/pkgs/by-name/de/debianutils/package.nix @@ -1,29 +1,41 @@ { lib , stdenv -, fetchurl +, fetchFromGitLab +, autoreconfHook +, po4a }: stdenv.mkDerivation (finalAttrs: { pname = "debianutils"; - version = "5.8"; + version = "5.13"; - src = fetchurl { - url = "mirror://debian/pool/main/d/debianutils/debianutils_${finalAttrs.version}.orig.tar.gz"; - hash = "sha256-WwhtJ+uQY95NdGdg0PrrQNlGT7hV/IqOf7k7A+/OxiI="; + src = fetchFromGitLab { + domain = "salsa.debian.org"; + owner = "debian"; + repo = "debianutils"; + rev = "debian/${finalAttrs.version}"; + hash = "sha256-h6swRil0sldRaZT7/LMEmV6Ah3zoppiHeGO3xTJlrac="; }; + nativeBuildInputs = [ + autoreconfHook + po4a + ]; + + strictDeps = true; + outputs = [ "out" "man" ]; meta = { homepage = "https://packages.debian.org/sid/debianutils"; description = "Miscellaneous utilities specific to Debian"; longDescription = '' - This package provides a number of small utilities which are used - primarily by the installation scripts of Debian packages, although you - may use them directly. + This package provides a number of small utilities which are used primarily + by the installation scripts of Debian packages, although you may use them + directly. - The specific utilities included are: add-shell installkernel ischroot - remove-shell run-parts savelog tempfile which + The specific utilities included are: add-shell installkernel ischroot + remove-shell run-parts savelog tempfile which ''; license = with lib.licenses; [ gpl2Plus publicDomain smail ]; mainProgram = "ischroot"; -- cgit 1.4.1 From 2bbea49cb228741681734dd19628c53b26b10176 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 16 Sep 2023 22:09:05 +0200 Subject: python311Packages.sense-energy: 0.12.1 -> 0.12.2 Changelog: https://github.com/scottbonline/sense/releases/tag/0.12.2 --- pkgs/development/python-modules/sense-energy/default.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/sense-energy/default.nix b/pkgs/development/python-modules/sense-energy/default.nix index 36317a10bfb..35c0b4b6f4f 100644 --- a/pkgs/development/python-modules/sense-energy/default.nix +++ b/pkgs/development/python-modules/sense-energy/default.nix @@ -2,6 +2,7 @@ , buildPythonPackage , fetchFromGitHub , aiohttp +, ciso8601 , async-timeout , kasa-crypt , orjson @@ -13,7 +14,7 @@ buildPythonPackage rec { pname = "sense-energy"; - version = "0.12.1"; + version = "0.12.2"; format = "setuptools"; disabled = pythonOlder "3.7"; @@ -22,7 +23,7 @@ buildPythonPackage rec { owner = "scottbonline"; repo = "sense"; rev = "refs/tags/${version}"; - hash = "sha256-6zhbchCRHyltJ/EP9Hnj4LoRn7/0PDJCmWNjF+IsQdM="; + hash = "sha256-OVFRM31LwHNeJUx+s/TN/1o4wvjMQEKaZEPI+y+S64s="; }; postPatch = '' @@ -35,6 +36,7 @@ buildPythonPackage rec { async-timeout kasa-crypt orjson + ciso8601 requests websocket-client websockets -- cgit 1.4.1 From 228c6b16082133cb6f32f912b23d98b6d4e4e6ef Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 16 Sep 2023 22:13:07 +0200 Subject: python311Packages.pywaze: 0.4.0 -> 0.5.0 Diff: https://github.com/eifinger/pywaze/compare/refs/tags/v0.4.0...v0.5.0 Changelog: https://github.com/eifinger/pywaze/releases/tag/v0.5.0 --- pkgs/development/python-modules/pywaze/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/pywaze/default.nix b/pkgs/development/python-modules/pywaze/default.nix index 02ae6ac07ab..5a5ef4abf3c 100644 --- a/pkgs/development/python-modules/pywaze/default.nix +++ b/pkgs/development/python-modules/pywaze/default.nix @@ -11,7 +11,7 @@ buildPythonPackage rec { pname = "pywaze"; - version = "0.4.0"; + version = "0.5.0"; format = "pyproject"; disabled = pythonOlder "3.8"; @@ -20,7 +20,7 @@ buildPythonPackage rec { owner = "eifinger"; repo = "pywaze"; rev = "refs/tags/v${version}"; - hash = "sha256-m3erAODTBR0LrZIKzP2Kw5dSaFKP7ehnrO9z5ILvUw8="; + hash = "sha256-iuI/tfU2nEX+Y9pWEsm0Nvu6pModHh/5g2eyud8TnB0="; }; postPatch = '' -- cgit 1.4.1 From ceafdc92d53629c0570582f859db1336aa09ec46 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 16 Sep 2023 22:15:14 +0200 Subject: python311Packages.yolink-api: 0.3.0 -> 0.3.1 Diff: https://github.com/YoSmart-Inc/yolink-api/compare/refs/tags/v0.3.0...v0.3.1 Changelog: https://github.com/YoSmart-Inc/yolink-api/releases/tag/v0.3.1 --- pkgs/development/python-modules/yolink-api/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/yolink-api/default.nix b/pkgs/development/python-modules/yolink-api/default.nix index a2ac657c9d6..8b27812166a 100644 --- a/pkgs/development/python-modules/yolink-api/default.nix +++ b/pkgs/development/python-modules/yolink-api/default.nix @@ -11,7 +11,7 @@ buildPythonPackage rec { pname = "yolink-api"; - version = "0.3.0"; + version = "0.3.1"; format = "pyproject"; disabled = pythonOlder "3.7"; @@ -20,7 +20,7 @@ buildPythonPackage rec { owner = "YoSmart-Inc"; repo = pname; rev = "refs/tags/v${version}"; - hash = "sha256-t/e3DSpmrH48I6ZAmDljL5YblsY2/UWgPCcodi2A7Ro="; + hash = "sha256-bxaxjUKmhScku9mBjtuwiaT4TLTsRlro3y/XatyAfs0="; }; nativeBuildInputs = [ -- cgit 1.4.1 From 698805491cf76d681c05b1f9394179b9594f018f Mon Sep 17 00:00:00 2001 From: figsoda Date: Sat, 16 Sep 2023 16:27:54 -0400 Subject: changie: 1.13.0 -> 1.13.1 Diff: https://github.com/miniscruff/changie/compare/v1.13.0...v1.13.1 Changelog: https://github.com/miniscruff/changie/blob/v1.13.1/CHANGELOG.md --- pkgs/development/tools/changie/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/tools/changie/default.nix b/pkgs/development/tools/changie/default.nix index 4b7696e1fd6..eaad0131f97 100644 --- a/pkgs/development/tools/changie/default.nix +++ b/pkgs/development/tools/changie/default.nix @@ -6,16 +6,16 @@ buildGoModule rec { pname = "changie"; - version = "1.13.0"; + version = "1.13.1"; src = fetchFromGitHub { owner = "miniscruff"; repo = "changie"; rev = "v${version}"; - hash = "sha256-Ck86zgAtDm/hlz2kDvTRVcH4NS1LaxtseChOdcYE48g="; + hash = "sha256-euwOATFDY+5kwNLhdNbpIv5p3zoJtuoh5JzzIRj2MyM="; }; - vendorHash = "sha256-kSV4ruvPcDyqt+LgKkcAGMUJy8CGG6xpFneK+vKdI0Q="; + vendorHash = "sha256-giOL4/ZofaylhX+s7y75RR7d3WDxNCmr25JHBZZkH9s="; nativeBuildInputs = [ installShellFiles -- cgit 1.4.1 From fc1120418433e2bbbbb8ff320652c692c386ba2a Mon Sep 17 00:00:00 2001 From: Weijia Wang <9713184+wegank@users.noreply.github.com> Date: Sun, 17 Sep 2023 00:17:47 +0200 Subject: freedv: 1.9.1 -> 1.9.2 --- pkgs/applications/radio/freedv/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/radio/freedv/default.nix b/pkgs/applications/radio/freedv/default.nix index 836bce7f463..cd4e69529eb 100644 --- a/pkgs/applications/radio/freedv/default.nix +++ b/pkgs/applications/radio/freedv/default.nix @@ -25,13 +25,13 @@ stdenv.mkDerivation rec { pname = "freedv"; - version = "1.9.1"; + version = "1.9.2"; src = fetchFromGitHub { owner = "drowe67"; repo = "freedv-gui"; rev = "v${version}"; - hash = "sha256-4bkT853MZL6v0/PRh0RJBhqdFBXgWFSPDtIPLgcKR8A="; + hash = "sha256-SBWwAmIsa9HfaZpH8TioMm9IaoZ+x4HNHaOBps0vA0A="; }; postPatch = lib.optionalString stdenv.isDarwin '' -- cgit 1.4.1 From 97bf3058c967faa4c3d06be61d9759ef56c517ee Mon Sep 17 00:00:00 2001 From: Misaka13514 Date: Sun, 17 Sep 2023 08:29:06 +0800 Subject: nuclei: 2.9.14 -> 2.9.15 Diff: https://github.com/projectdiscovery/nuclei/compare/v2.9.14...v2.9.15 Changelog: https://github.com/projectdiscovery/nuclei/releases/tag/v2.9.15 --- pkgs/tools/security/nuclei/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/security/nuclei/default.nix b/pkgs/tools/security/nuclei/default.nix index 33df3a04656..1f6dd8baeeb 100644 --- a/pkgs/tools/security/nuclei/default.nix +++ b/pkgs/tools/security/nuclei/default.nix @@ -5,16 +5,16 @@ buildGoModule rec { pname = "nuclei"; - version = "2.9.14"; + version = "2.9.15"; src = fetchFromGitHub { owner = "projectdiscovery"; repo = pname; rev = "refs/tags/v${version}"; - hash = "sha256-73MOUzIWA2sO6Y+Xku7f7DlUtsoa0GpfaqJzpEHCV/M="; + hash = "sha256-/7013cf9nnDiKqcwFOYZUF1D+wkQKXPBcwz3YhpBUK0="; }; - vendorHash = "sha256-H4QBt00WSvCJi7P6gh4JBDCLSZwt/H5LWcahusdQoRE="; + vendorHash = "sha256-b5CY66c2vfGaqlFENw2lnK47Cf2+buh/LtbJyPSAbOA="; modRoot = "./v2"; subPackages = [ -- cgit 1.4.1 From 157c2a0bcb9fb6ccf16ea81d63ded2c895dbe924 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sun, 17 Sep 2023 00:45:31 +0000 Subject: python310Packages.ttls: 1.6.1 -> 1.7.0 --- pkgs/development/python-modules/ttls/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/ttls/default.nix b/pkgs/development/python-modules/ttls/default.nix index dfdb676d6fb..c47b9203fd4 100644 --- a/pkgs/development/python-modules/ttls/default.nix +++ b/pkgs/development/python-modules/ttls/default.nix @@ -10,7 +10,7 @@ buildPythonPackage rec { pname = "ttls"; - version = "1.6.1"; + version = "1.7.0"; format = "pyproject"; disabled = pythonOlder "3.8"; @@ -19,7 +19,7 @@ buildPythonPackage rec { owner = "jschlyter"; repo = pname; rev = "refs/tags/v${version}"; - hash = "sha256-W7r2XgH8SloL9l/Lw1xWLmjF8aMBHWFe2DQ3tkqu+JQ="; + hash = "sha256-Gsr1ww/00/N1YyK9U0iryBfdio2niUP8TboyB13B6H8="; }; nativeBuildInputs = [ -- cgit 1.4.1 From 89c9ba0c81316ab16a76fdfb7ddd40946a56d1a2 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sun, 17 Sep 2023 01:42:13 +0000 Subject: python310Packages.flake8-bugbear: 23.7.10 -> 23.9.16 --- pkgs/development/python-modules/flake8-bugbear/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/flake8-bugbear/default.nix b/pkgs/development/python-modules/flake8-bugbear/default.nix index 2e8935b078c..f2455cf2161 100644 --- a/pkgs/development/python-modules/flake8-bugbear/default.nix +++ b/pkgs/development/python-modules/flake8-bugbear/default.nix @@ -11,7 +11,7 @@ buildPythonPackage rec { pname = "flake8-bugbear"; - version = "23.7.10"; + version = "23.9.16"; format = "setuptools"; disabled = pythonOlder "3.7"; @@ -20,7 +20,7 @@ buildPythonPackage rec { owner = "PyCQA"; repo = pname; rev = "refs/tags/${version}"; - hash = "sha256-pObZ3HvXuc9MabxY5XK2DPaGZXicH6zQ4RtfGpGdGBE="; + hash = "sha256-fGrefEoyEgJE3danv9hG+Os79ixPzurEzLc3Dnj2M3k="; }; propagatedBuildInputs = [ -- cgit 1.4.1 From c092d9aa95f2e4f26938a7a2ab59218320854a0d Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sun, 17 Sep 2023 04:17:21 +0000 Subject: python310Packages.pyswitchbot: 0.39.1 -> 0.40.0 --- pkgs/development/python-modules/pyswitchbot/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/pyswitchbot/default.nix b/pkgs/development/python-modules/pyswitchbot/default.nix index 5ea2ebb9840..73a7a012c79 100644 --- a/pkgs/development/python-modules/pyswitchbot/default.nix +++ b/pkgs/development/python-modules/pyswitchbot/default.nix @@ -14,7 +14,7 @@ buildPythonPackage rec { pname = "pyswitchbot"; - version = "0.39.1"; + version = "0.40.0"; format = "setuptools"; disabled = pythonOlder "3.7"; @@ -23,7 +23,7 @@ buildPythonPackage rec { owner = "Danielhiversen"; repo = "pySwitchbot"; rev = "refs/tags/${version}"; - hash = "sha256-wrn57mluIvUYBXOxw4NTFuq0UuOQwtC/WRWhfQpyRTA="; + hash = "sha256-ST1UwgmlKhnLqr/cIvZRpNEYjxv9URInmkVbi6GA7/c="; }; propagatedBuildInputs = [ -- cgit 1.4.1 From e8c237263b7ec78e1d7fbecb972ce239595efc16 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sun, 17 Sep 2023 04:45:35 +0000 Subject: python310Packages.textual: 0.36.0 -> 0.37.1 --- pkgs/development/python-modules/textual/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/textual/default.nix b/pkgs/development/python-modules/textual/default.nix index 72999fc6184..e4be329b0a9 100644 --- a/pkgs/development/python-modules/textual/default.nix +++ b/pkgs/development/python-modules/textual/default.nix @@ -22,7 +22,7 @@ buildPythonPackage rec { pname = "textual"; - version = "0.36.0"; + version = "0.37.1"; format = "pyproject"; disabled = pythonOlder "3.7"; @@ -31,7 +31,7 @@ buildPythonPackage rec { owner = "Textualize"; repo = pname; rev = "refs/tags/v${version}"; - hash = "sha256-GH5GhXHA/6r3UNeM4YW+khyh1HnyUQBFcSNFaJwFz9c="; + hash = "sha256-4ehq36j2n2wRMgos5x4LQ0QeELpWAOgpgTxEWjqFLJs="; }; nativeBuildInputs = [ -- cgit 1.4.1 From 9310150944051a6e01be13a24b991092403be86f Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sun, 17 Sep 2023 05:44:58 +0000 Subject: python310Packages.apycula: 0.8.3 -> 0.9.0 --- pkgs/development/python-modules/apycula/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/apycula/default.nix b/pkgs/development/python-modules/apycula/default.nix index 4ec3b1f0250..2d985b8786f 100644 --- a/pkgs/development/python-modules/apycula/default.nix +++ b/pkgs/development/python-modules/apycula/default.nix @@ -12,7 +12,7 @@ buildPythonPackage rec { pname = "apycula"; - version = "0.8.3"; + version = "0.9.0"; format = "setuptools"; disabled = pythonOlder "3.8"; @@ -20,7 +20,7 @@ buildPythonPackage rec { src = fetchPypi { inherit version; pname = "Apycula"; - hash = "sha256-QGBWNWAEe6KbfYIoW3FScEL7b4TTcK1YZQoNkfxDNMo="; + hash = "sha256-M62RgNUxn14o8w+vIJjDrMpYnfvwcU4jw05PPvPvR8A="; }; nativeBuildInputs = [ -- cgit 1.4.1 From 6cd38e43cdaf1bd02013186bbb201f5c62132a77 Mon Sep 17 00:00:00 2001 From: zaldnoay Date: Wed, 13 Sep 2023 00:13:15 +0800 Subject: nixos/frp: init --- nixos/doc/manual/release-notes/rl-2311.section.md | 2 + nixos/modules/module-list.nix | 1 + nixos/modules/services/networking/frp.nix | 93 +++++++++++++++++++++++ 3 files changed, 96 insertions(+) create mode 100644 nixos/modules/services/networking/frp.nix diff --git a/nixos/doc/manual/release-notes/rl-2311.section.md b/nixos/doc/manual/release-notes/rl-2311.section.md index 9b30a20da16..82dbe187d95 100644 --- a/nixos/doc/manual/release-notes/rl-2311.section.md +++ b/nixos/doc/manual/release-notes/rl-2311.section.md @@ -16,6 +16,8 @@ - [acme-dns](https://github.com/joohoi/acme-dns), a limited DNS server to handle ACME DNS challenges easily and securely. Available as [services.acme-dns](#opt-services.acme-dns.enable). +- [frp](https://github.com/fatedier/frp), a fast reverse proxy to help you expose a local server behind a NAT or firewall to the Internet. Available as [services.frp](#opt-services.frp.enable). + - [river](https://github.com/riverwm/river), A dynamic tiling wayland compositor. Available as [programs.river](#opt-programs.river.enable). diff --git a/nixos/modules/module-list.nix b/nixos/modules/module-list.nix index 84bc189bd55..811a46563fb 100644 --- a/nixos/modules/module-list.nix +++ b/nixos/modules/module-list.nix @@ -899,6 +899,7 @@ ./services/networking/flannel.nix ./services/networking/freenet.nix ./services/networking/freeradius.nix + ./services/networking/frp.nix ./services/networking/frr.nix ./services/networking/gateone.nix ./services/networking/gdomap.nix diff --git a/nixos/modules/services/networking/frp.nix b/nixos/modules/services/networking/frp.nix new file mode 100644 index 00000000000..09d2b773630 --- /dev/null +++ b/nixos/modules/services/networking/frp.nix @@ -0,0 +1,93 @@ +{ config, lib, pkgs, ... }: + +with lib; + +let + cfg = config.services.frp; + settingsFormat = pkgs.formats.ini { }; + configFile = settingsFormat.generate "frp.ini" cfg.settings; + isClient = (cfg.role == "client"); + isServer = (cfg.role == "server"); +in +{ + options = { + services.frp = { + enable = mkEnableOption (mdDoc "frp"); + + package = mkPackageOptionMD pkgs "frp" { }; + + role = mkOption { + type = types.enum [ "server" "client" ]; + description = mdDoc '' + The frp consists of `client` and `server`. The server is usually + deployed on the machine with a public IP address, and + the client is usually deployed on the machine + where the Intranet service to be penetrated resides. + ''; + }; + + settings = mkOption { + type = settingsFormat.type; + default = { }; + description = mdDoc '' + Frp configuration, for configuration options + see the example of [client](https://github.com/fatedier/frp/blob/dev/conf/frpc_full.ini) + or [server](https://github.com/fatedier/frp/blob/dev/conf/frps_full.ini) on github. + ''; + example = literalExpression '' + { + common = { + server_addr = "x.x.x.x"; + server_port = 7000; + }; + } + ''; + }; + }; + }; + + config = + let + serviceCapability = optionals isServer [ "CAP_NET_BIND_SERVICE" ]; + executableFile = if isClient then "frpc" else "frps"; + in + mkIf cfg.enable { + systemd.services = { + frp = { + wants = optionals isClient [ "network-online.target" ]; + after = if isClient then [ "network-online.target" ] else [ "network.target" ]; + wantedBy = [ "multi-user.target" ]; + description = "A fast reverse proxy frp ${cfg.role}"; + serviceConfig = { + Type = "simple"; + Restart = "on-failure"; + RestartSec = 15; + ExecStart = "${cfg.package}/bin/${executableFile} -c ${configFile}"; + StateDirectoryMode = optionalString isServer "0700"; + DynamicUser = true; + # Hardening + UMask = optionalString isServer "0007"; + CapabilityBoundingSet = serviceCapability; + AmbientCapabilities = serviceCapability; + PrivateDevices = true; + ProtectHostname = true; + ProtectClock = true; + ProtectKernelTunables = true; + ProtectKernelModules = true; + ProtectKernelLogs = true; + ProtectControlGroups = true; + RestrictAddressFamilies = [ "AF_INET" "AF_INET6" ] ++ optionals isClient [ "AF_UNIX" ]; + LockPersonality = true; + MemoryDenyWriteExecute = true; + RestrictRealtime = true; + RestrictSUIDSGID = true; + PrivateMounts = true; + SystemCallArchitectures = "native"; + SystemCallFilter = [ "@system-service" ]; + }; + }; + }; + }; + + meta.maintainers = with maintainers; [ zaldnoay ]; +} -- cgit 1.4.1 From b53e5a64791d77aef7d8d644b14acc1048cbbf8a Mon Sep 17 00:00:00 2001 From: zaldnoay Date: Wed, 13 Sep 2023 21:24:47 +0800 Subject: nixos/frp: add test and link to package --- nixos/tests/all-tests.nix | 1 + nixos/tests/frp.nix | 86 +++++++++++++++++++++++++++++++++++ pkgs/tools/networking/frp/default.nix | 6 ++- 3 files changed, 92 insertions(+), 1 deletion(-) create mode 100644 nixos/tests/frp.nix diff --git a/nixos/tests/all-tests.nix b/nixos/tests/all-tests.nix index 30ea7c70026..2d9674e69b6 100644 --- a/nixos/tests/all-tests.nix +++ b/nixos/tests/all-tests.nix @@ -290,6 +290,7 @@ in { freshrss-sqlite = handleTest ./freshrss-sqlite.nix {}; freshrss-pgsql = handleTest ./freshrss-pgsql.nix {}; frigate = handleTest ./frigate.nix {}; + frp = handleTest ./frp.nix {}; frr = handleTest ./frr.nix {}; fsck = handleTest ./fsck.nix {}; fsck-systemd-stage-1 = handleTest ./fsck.nix { systemdStage1 = true; }; diff --git a/nixos/tests/frp.nix b/nixos/tests/frp.nix new file mode 100644 index 00000000000..2f5c0f8ec93 --- /dev/null +++ b/nixos/tests/frp.nix @@ -0,0 +1,86 @@ +import ./make-test-python.nix ({ pkgs, lib, ... }: { + name = "frp"; + meta.maintainers = with lib.maintainers; [ zaldnoay janik ]; + nodes = { + frps = { + networking = { + useNetworkd = true; + useDHCP = false; + firewall.enable = false; + }; + + systemd.network.networks."01-eth1" = { + name = "eth1"; + networkConfig.Address = "10.0.0.1/24"; + }; + + services.frp = { + enable = true; + role = "server"; + settings = { + common = { + bind_port = 7000; + vhost_http_port = 80; + }; + }; + }; + }; + + + frpc = { + networking = { + useNetworkd = true; + useDHCP = false; + }; + + systemd.network.networks."01-eth1" = { + name = "eth1"; + networkConfig.Address = "10.0.0.2/24"; + }; + + services.httpd = { + enable = true; + adminAddr = "admin@example.com"; + virtualHosts."test-appication" = + let + testdir = pkgs.writeTextDir "web/index.php" " Date: Sat, 16 Sep 2023 23:44:41 +0200 Subject: entr: fix cross compilation --- pkgs/tools/misc/entr/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/tools/misc/entr/default.nix b/pkgs/tools/misc/entr/default.nix index a44a30a6dd7..b46b9403708 100644 --- a/pkgs/tools/misc/entr/default.nix +++ b/pkgs/tools/misc/entr/default.nix @@ -18,6 +18,8 @@ stdenv.mkDerivation rec { checkTarget = "test"; installFlags = [ "PREFIX=$(out)" ]; + TARGET_OS = stdenv.hostPlatform.uname.system; + meta = with lib; { homepage = "https://eradman.com/entrproject/"; description = "Run arbitrary commands when files change"; -- cgit 1.4.1 From b668b2d4e89edc24700b14f4f992575209e58344 Mon Sep 17 00:00:00 2001 From: Jörg Thalheim Date: Thu, 14 Sep 2023 22:56:25 +0200 Subject: nixos-anywhere: init at 1.0.0 nixos-anywhere: init at 1.0.0 --- pkgs/by-name/ni/nixos-anywhere/package.nix | 55 ++++++++++++++++++++++++++++++ 1 file changed, 55 insertions(+) create mode 100644 pkgs/by-name/ni/nixos-anywhere/package.nix diff --git a/pkgs/by-name/ni/nixos-anywhere/package.nix b/pkgs/by-name/ni/nixos-anywhere/package.nix new file mode 100644 index 00000000000..e08d9196781 --- /dev/null +++ b/pkgs/by-name/ni/nixos-anywhere/package.nix @@ -0,0 +1,55 @@ +{ stdenv +, fetchFromGitHub +, openssh +, gitMinimal +, rsync +, nix +, coreutils +, curl +, gnugrep +, gawk +, findutils +, gnused +, lib +, makeWrapper +}: +let + runtimeDeps = [ + gitMinimal # for git flakes + rsync + nix + coreutils + curl # when uploading tarballs + gnugrep + gawk + findutils + gnused # needed by ssh-copy-id + ]; +in +stdenv.mkDerivation rec { + pname = "nixos-anywhere"; + version = "1.0.0"; + src = fetchFromGitHub { + owner = "numtide"; + repo = "nixos-anywhere"; + rev = version; + hash = "sha256-zM+N7+XDR34DuTrVLJd7Ggq1JPlURddsqNOjXY/rcQM="; + }; + nativeBuildInputs = [ makeWrapper ]; + installPhase = '' + install -D -m 0755 src/nixos-anywhere.sh $out/bin/nixos-anywhere + + # We prefer the system's openssh over our own, since it might come with features not present in ours: + # https://github.com/numtide/nixos-anywhere/issues/62 + wrapProgram $out/bin/nixos-anywhere \ + --prefix PATH : ${lib.makeBinPath runtimeDeps} --suffix PATH : ${lib.makeBinPath [ openssh ]} + ''; + + meta = with lib; { + description = "Install nixos everywhere via ssh"; + homepage = "https://github.com/numtide/nixos-anywhere"; + license = licenses.mit; + platforms = platforms.all; + maintainers = [ maintainers.mic92 maintainers.lassulus maintainers.phaer ]; + }; +} -- cgit 1.4.1 From 1c6d1907ac7284da2d371f05973cccf812dbdb02 Mon Sep 17 00:00:00 2001 From: Jan Tojnar Date: Wed, 5 Jul 2023 18:52:59 +0200 Subject: gegl: 0.4.44 → 0.4.46 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit https://gitlab.gnome.org/GNOME/gegl/-/compare/GEGL_0_4_44...GEGL_0_4_46 --- pkgs/development/libraries/gegl/default.nix | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/pkgs/development/libraries/gegl/default.nix b/pkgs/development/libraries/gegl/default.nix index bd4aea3210f..914d72a7fe8 100644 --- a/pkgs/development/libraries/gegl/default.nix +++ b/pkgs/development/libraries/gegl/default.nix @@ -1,6 +1,7 @@ { lib , stdenv , fetchurl +, fetchpatch2 , pkg-config , vala , gobject-introspection @@ -37,16 +38,25 @@ stdenv.mkDerivation rec { pname = "gegl"; - version = "0.4.44"; + version = "0.4.46"; outputs = [ "out" "dev" "devdoc" ]; outputBin = "dev"; src = fetchurl { - url = "https://download.gimp.org/pub/gegl/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; - sha256 = "CkzbQWNeQGoISc0NPwPK99l8q4qhPShwfVMtAInVYSY="; + url = "https://download.gimp.org/pub/gegl/${lib.versions.majorMinor version}/gegl-${version}.tar.xz"; + hash = "sha256-0LOySBvId0xfPQpIdhGRAWbRju+COoWfuR54Grex6JI="; }; + patches = [ + # https://gitlab.gnome.org/GNOME/gegl/-/merge_requests/136 + # Fix missing libm dependency. + (fetchpatch2 { + url = "https://gitlab.gnome.org/GNOME/gegl/-/commit/ee970f10f4fe442cbf8a4f5cb94049deab33e786.patch"; + hash = "sha256-0LLKH+Gg+1H83kN7hJGK2u+oLrw7Hxed7R4tTwT3C5s="; + }) + ]; + nativeBuildInputs = [ pkg-config gettext @@ -104,10 +114,6 @@ stdenv.mkDerivation rec { "-Djasper=disabled" ]; - # TODO: Fix missing math symbols in gegl seamless clone. - # It only appears when we use packaged poly2tri-c instead of vendored one. - env.NIX_CFLAGS_COMPILE = "-lm"; - postPatch = '' chmod +x tests/opencl/opencl_test.sh patchShebangs tests/ff-load-save/tests_ff_load_save.sh tests/opencl/opencl_test.sh tools/xml_insert.sh -- cgit 1.4.1 From ae56b64b7168cfedd314eb59bbada72244cb4210 Mon Sep 17 00:00:00 2001 From: Aidan Gauland Date: Fri, 15 Sep 2023 08:00:53 +1200 Subject: vulkan-helper: init at 2023-08-09 --- pkgs/tools/graphics/vulkan-helper/default.nix | 37 +++++++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 39 insertions(+) create mode 100644 pkgs/tools/graphics/vulkan-helper/default.nix diff --git a/pkgs/tools/graphics/vulkan-helper/default.nix b/pkgs/tools/graphics/vulkan-helper/default.nix new file mode 100644 index 00000000000..8cf1a598f38 --- /dev/null +++ b/pkgs/tools/graphics/vulkan-helper/default.nix @@ -0,0 +1,37 @@ +{ lib +, rustPlatform +, fetchFromGitHub +, vulkan-loader +, addOpenGLRunpath +}: + +rustPlatform.buildRustPackage rec { + pname = "vulkan-helper"; + version = "unstable-2023-09-16"; + + src = fetchFromGitHub { + owner = "imLinguin"; + repo = "vulkan-helper-rs"; + rev = "d65b1a17a11ec20670c77d8da02e68d388ed0888"; + hash = "sha256-usbYNalA0r09LXR6eV2e/T1eMNV4LnhzYLzPJQ6XNKQ="; + }; + + cargoSha256 = "sha256-s5QytuNhjZQhIDJtpeAW3J4op1t4nC+xD2i7Zf5mzfw="; + + nativeBuildInputs = [ + addOpenGLRunpath + ]; + + postFixup = '' + patchelf --add-rpath ${vulkan-loader}/lib $out/bin/vulkan-helper + addOpenGLRunpath $out/bin/vulkan-helper + ''; + + meta = with lib; { + description = "A simple CLI app used to interface with basic Vulkan APIs"; + homepage = "https://github.com/imLinguin/vulkan-helper-rs"; + license = licenses.mit; + maintainers = with maintainers; [ aidalgol ]; + platforms = platforms.linux; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 7605a84a2bc..c7c8c95f428 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -25714,6 +25714,8 @@ with pkgs; vulkan-cts = callPackage ../tools/graphics/vulkan-cts { }; + vulkan-helper = callPackage ../tools/graphics/vulkan-helper { }; + vulkan-extension-layer = callPackage ../tools/graphics/vulkan-extension-layer { }; vulkan-headers = callPackage ../development/libraries/vulkan-headers { }; vulkan-loader = callPackage ../development/libraries/vulkan-loader { inherit (darwin) moltenvk; }; -- cgit 1.4.1 From b9547bc21cc6814da5b9d02a2a2476f6d0911535 Mon Sep 17 00:00:00 2001 From: Aidan Gauland Date: Fri, 15 Sep 2023 08:01:16 +1200 Subject: heroic: 2.9.1 -> 2.9.2 --- pkgs/games/heroic/default.nix | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/pkgs/games/heroic/default.nix b/pkgs/games/heroic/default.nix index ca9d5799596..eca08602070 100644 --- a/pkgs/games/heroic/default.nix +++ b/pkgs/games/heroic/default.nix @@ -8,6 +8,7 @@ , python3 , makeWrapper , electron +, vulkan-helper , gogdl , legendary-gl , nile @@ -16,18 +17,18 @@ let appName = "heroic"; in stdenv.mkDerivation rec { pname = "heroic-unwrapped"; - version = "2.9.1"; + version = "2.9.2"; src = fetchFromGitHub { owner = "Heroic-Games-Launcher"; repo = "HeroicGamesLauncher"; rev = "v${version}"; - hash = "sha256-1FtAcp6cG2qRfWrAgCOQ87DzMvszqqhObfSzepezBGc="; + hash = "sha256-kCvMUhN1kjGb5rV+lkKm1FFYBJUSQGOKTY1DQdiAWLU="; }; offlineCache = fetchYarnDeps { yarnLock = "${src}/yarn.lock"; - hash = "sha256-KEzTjtoBcHNJxC/7W/Bft75JZuZUSHieOOAwhbr5d3s="; + hash = "sha256-kHZL7TENVK58dvr8PBFtWYZ2PSKEYESX4e1xYmMA5+Y="; }; nativeBuildInputs = [ @@ -86,7 +87,8 @@ in stdenv.mkDerivation rec { ln -s \ "${gogdl}/bin/gogdl" \ "${legendary-gl}/bin/legendary" \ - "${nile}"/bin/nile \ + "${nile}/bin/nile" \ + "${lib.optionalString stdenv.isLinux "${vulkan-helper}/bin/vulkan-helper"}" \ "$out/share/${appName}/build/bin/${binPlatform}" makeWrapper "${electron}/bin/electron" "$out/bin/heroic" \ -- cgit 1.4.1 From c18d373a00b8937c4bf7f7356c9a1e01278d8291 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sun, 17 Sep 2023 08:58:44 +0000 Subject: oauth2c: 1.10.0 -> 1.11.0 --- pkgs/tools/security/oauth2c/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/security/oauth2c/default.nix b/pkgs/tools/security/oauth2c/default.nix index 4f9c3218391..5ecfb111f2a 100644 --- a/pkgs/tools/security/oauth2c/default.nix +++ b/pkgs/tools/security/oauth2c/default.nix @@ -5,13 +5,13 @@ buildGoModule rec { pname = "oauth2c"; - version = "1.10.0"; + version = "1.11.0"; src = fetchFromGitHub { owner = "cloudentity"; repo = pname; rev = "v${version}"; - hash = "sha256-IOZjZgZk6upeFgQ0/KqrNKM15/EggvCSrSCSCTFNGVA="; + hash = "sha256-fNd/fGW/0TXI7c3/Sy9Pxdnh6N/AOHr0LT8aKSj79YM="; }; vendorHash = "sha256-euEmslrSbXPVDNZkIguq+ukt74Um4H0+lIXEyCBorjE="; -- cgit 1.4.1