Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
83 lines
1.5 KiB
Nix
83 lines
1.5 KiB
Nix
{
|
|
lib,
|
|
meson,
|
|
ninja,
|
|
pkg-config,
|
|
gettext,
|
|
fetchFromGitLab,
|
|
python3Packages,
|
|
wrapGAppsHook4,
|
|
gtk4,
|
|
glib,
|
|
gdk-pixbuf,
|
|
gobject-introspection,
|
|
desktop-file-utils,
|
|
appstream-glib,
|
|
libadwaita,
|
|
nix-update-script,
|
|
}:
|
|
|
|
python3Packages.buildPythonApplication rec {
|
|
pname = "gnome-secrets";
|
|
version = "10.4";
|
|
format = "other";
|
|
|
|
src = fetchFromGitLab {
|
|
domain = "gitlab.gnome.org";
|
|
owner = "World";
|
|
repo = "secrets";
|
|
rev = version;
|
|
hash = "sha256-FyBtw7Gkvd5XONkM7OVGxE+S5FpuUIl7KWLFHoQeoN4=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
meson
|
|
ninja
|
|
gettext
|
|
pkg-config
|
|
wrapGAppsHook4
|
|
desktop-file-utils
|
|
appstream-glib
|
|
gobject-introspection
|
|
];
|
|
|
|
buildInputs = [
|
|
gtk4
|
|
glib
|
|
gdk-pixbuf
|
|
libadwaita
|
|
];
|
|
|
|
propagatedBuildInputs = with python3Packages; [
|
|
pygobject3
|
|
construct
|
|
pykcs11
|
|
pykeepass
|
|
pyotp
|
|
validators
|
|
yubico
|
|
zxcvbn-rs-py
|
|
];
|
|
|
|
# Prevent double wrapping, let the Python wrapper use the args in preFixup.
|
|
dontWrapGApps = true;
|
|
|
|
preFixup = ''
|
|
makeWrapperArgs+=("''${gappsWrapperArgs[@]}")
|
|
'';
|
|
|
|
passthru = {
|
|
updateScript = nix-update-script { };
|
|
};
|
|
|
|
meta = with lib; {
|
|
description = "Password manager for GNOME which makes use of the KeePass v.4 format";
|
|
homepage = "https://gitlab.gnome.org/World/secrets";
|
|
license = licenses.gpl3Only;
|
|
platforms = platforms.linux;
|
|
maintainers = with maintainers; [ mvnetbiz ];
|
|
teams = [ teams.gnome-circle ];
|
|
mainProgram = "secrets";
|
|
};
|
|
}
|