Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

37 lines
995 B
Nix
Raw Permalink Normal View History

{
lib,
fetchFromGitea,
rustPlatform,
dbus,
networkmanager,
pkg-config,
nix-update-script,
}:
rustPlatform.buildRustPackage rec {
name = "nm-file-secret-agent";
2025-04-12 20:12:39 +02:00
version = "1.1.0";
src = fetchFromGitea {
domain = "codeberg.org";
owner = "lilly";
repo = "nm-file-secret-agent";
rev = "v${version}";
2025-04-12 20:12:39 +02:00
hash = "sha256-FZef9qMJeQkoLvCHcsGMqr0riC98WVXntQtbt76Iev4=";
};
2025-04-12 20:12:39 +02:00
cargoHash = "sha256-HYyL0r9YrDL22uQdypJQ7Xep9Uqt4b16bhl0D9kRByU=";
buildInputs = [ dbus ];
nativeBuildInputs = [ pkg-config ];
passthru.updateScript = nix-update-script { };
meta = {
description = "NetworkManager secret agent that responds with the content of preconfigured files";
mainProgram = "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;
};
}