From 445e2046d60a937713d4257edf889287d4a01d32 Mon Sep 17 00:00:00 2001
From: lilly
Date: Sat, 12 Apr 2025 20:15:29 +0200
Subject: [PATCH] nm-file-secret-agent: update canonical repo location
The canonical location of this repository has been changed to
codeberg.org.
---
pkgs/by-name/nm/nm-file-secret-agent/package.nix | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/pkgs/by-name/nm/nm-file-secret-agent/package.nix b/pkgs/by-name/nm/nm-file-secret-agent/package.nix
index e3f448c3dad8..5cce4afde6cd 100644
--- a/pkgs/by-name/nm/nm-file-secret-agent/package.nix
+++ b/pkgs/by-name/nm/nm-file-secret-agent/package.nix
@@ -1,6 +1,6 @@
{
lib,
- fetchFromGitHub,
+ fetchFromGitea,
rustPlatform,
dbus,
networkmanager,
@@ -11,8 +11,9 @@ rustPlatform.buildRustPackage rec {
name = "nm-file-secret-agent";
version = "1.1.0";
- src = fetchFromGitHub {
- owner = "lilioid";
+ src = fetchFromGitea {
+ domain = "codeberg.org";
+ owner = "lilly";
repo = "nm-file-secret-agent";
rev = "v${version}";
hash = "sha256-FZef9qMJeQkoLvCHcsGMqr0riC98WVXntQtbt76Iev4=";
@@ -27,7 +28,7 @@ rustPlatform.buildRustPackage rec {
meta = {
description = "NetworkManager secret agent that responds with the content of preconfigured files";
mainProgram = "nm-file-secret-agent";
- homepage = "https://github.com/lilioid/nm-file-secret-agent/";
+ homepage = "https://codeberg.org/lilly/nm-file-secret-agent";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ lilioid ];
platforms = lib.lists.intersectLists dbus.meta.platforms networkmanager.meta.platforms;