gnome-passwordsafe: rename to gnome-secrets, 5.0->6.1

This commit is contained in:
Jonas Heinrich 2022-01-19 14:55:04 +01:00
parent 927839fdcb
commit 61b6ed869a
5 changed files with 33 additions and 11 deletions

View file

@ -271,6 +271,13 @@
<literal>writers.writePyPy2</literal> needs to be used. <literal>writers.writePyPy2</literal> needs to be used.
</para> </para>
</listitem> </listitem>
<listitem>
<para>
The <literal>gnome-passwordsafe</literal> package updated to
<link xlink:href="https://gitlab.gnome.org/World/secrets/-/tags/6.0">version
6.x</link> and renamed to <literal>gnome-secrets</literal>.
</para>
</listitem>
<listitem> <listitem>
<para> <para>
If you previously used If you previously used

View file

@ -90,6 +90,8 @@ In addition to numerous new and upgraded packages, this release has the followin
- The `writers.writePython2` and corresponding `writers.writePython2Bin` convenience functions to create executable Python 2 scripts in the store were removed in preparation of removal of the Python 2 interpreter. - The `writers.writePython2` and corresponding `writers.writePython2Bin` convenience functions to create executable Python 2 scripts in the store were removed in preparation of removal of the Python 2 interpreter.
Scripts have to be converted to Python 3 for use with `writers.writePython3` or `writers.writePyPy2` needs to be used. Scripts have to be converted to Python 3 for use with `writers.writePython3` or `writers.writePyPy2` needs to be used.
- The `gnome-passwordsafe` package updated to [version 6.x](https://gitlab.gnome.org/World/secrets/-/tags/6.0) and renamed to `gnome-secrets`.
- If you previously used `/etc/docker/daemon.json`, you need to incorporate the changes into the new option `virtualisation.docker.daemon.settings`. - If you previously used `/etc/docker/daemon.json`, you need to incorporate the changes into the new option `virtualisation.docker.daemon.settings`.
- The backward compatibility in `services.wordpress` to configure sites with - The backward compatibility in `services.wordpress` to configure sites with

View file

@ -5,19 +5,19 @@
, gettext , gettext
, fetchFromGitLab , fetchFromGitLab
, python3Packages , python3Packages
, libhandy
, libpwquality , libpwquality
, wrapGAppsHook , wrapGAppsHook4
, gtk3 , gtk4
, glib , glib
, gdk-pixbuf , gdk-pixbuf
, gobject-introspection , gobject-introspection
, desktop-file-utils , desktop-file-utils
, appstream-glib }: , appstream-glib
, libadwaita }:
python3Packages.buildPythonApplication rec { python3Packages.buildPythonApplication rec {
pname = "gnome-passwordsafe"; pname = "gnome-secrets";
version = "5.1"; version = "6.1";
format = "other"; format = "other";
strictDeps = false; # https://github.com/NixOS/nixpkgs/issues/56943 strictDeps = false; # https://github.com/NixOS/nixpkgs/issues/56943
@ -26,7 +26,7 @@ python3Packages.buildPythonApplication rec {
owner = "World"; owner = "World";
repo = "secrets"; repo = "secrets";
rev = version; rev = version;
sha256 = "sha256-RgpkLoqhwCdaPZxC1Qe0MpLtYLevNCOxbvwEEI0cpE0="; sha256 = "sha256-TBGNiiR0GW8s/Efi4/Qqvwd87Ir0gCLGPfBmmqqSwQ8=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [
@ -34,27 +34,39 @@ python3Packages.buildPythonApplication rec {
ninja ninja
gettext gettext
pkg-config pkg-config
wrapGAppsHook wrapGAppsHook4
desktop-file-utils desktop-file-utils
appstream-glib appstream-glib
gobject-introspection gobject-introspection
]; ];
buildInputs = [ buildInputs = [
gtk3 gtk4
glib glib
gdk-pixbuf gdk-pixbuf
libhandy libadwaita
]; ];
propagatedBuildInputs = with python3Packages; [ propagatedBuildInputs = with python3Packages; [
pygobject3 pygobject3
construct construct
pykeepass pykeepass
pyotp
] ++ [ ] ++ [
libpwquality # using the python bindings libpwquality # using the python bindings
]; ];
postPatch = ''
substituteInPlace meson_post_install.py --replace "gtk-update-icon-cache" "gtk4-update-icon-cache";
'';
# Prevent double wrapping, let the Python wrapper use the args in preFixup.
dontWrapGApps = true;
preFixup = ''
makeWrapperArgs+=("''${gappsWrapperArgs[@]}")
'';
meta = with lib; { meta = with lib; {
broken = stdenv.hostPlatform.isStatic; # libpwquality doesn't provide bindings when static broken = stdenv.hostPlatform.isStatic; # libpwquality doesn't provide bindings when static
description = "Password manager for GNOME which makes use of the KeePass v.4 format"; description = "Password manager for GNOME which makes use of the KeePass v.4 format";

View file

@ -331,6 +331,7 @@ mapAliases ({
gmailieer = lieer; # added 2020-04-19 gmailieer = lieer; # added 2020-04-19
gmvault = throw "gmvault has been removed because it is unmaintained, mostly broken, and insecure"; # added 2021-03-08 gmvault = throw "gmvault has been removed because it is unmaintained, mostly broken, and insecure"; # added 2021-03-08
gnome-mpv = celluloid; # added 2019-08-22 gnome-mpv = celluloid; # added 2019-08-22
gnome-passwordsafe = gnome-secrets; # added 2022-01-30
gnome15 = throw "gnome15 has been removed from nixpkgs, as it's unmaintained and depends on deprecated libraries."; # added 2019-12-10 gnome15 = throw "gnome15 has been removed from nixpkgs, as it's unmaintained and depends on deprecated libraries."; # added 2019-12-10
gmic_krita_qt = gmic-qt-krita; # added 2019-09-07 gmic_krita_qt = gmic-qt-krita; # added 2019-09-07
gnome-themes-standard = gnome-themes-extra; # added 2018-03-14 gnome-themes-standard = gnome-themes-extra; # added 2018-03-14

View file

@ -5914,7 +5914,7 @@ with pkgs;
gnome-keysign = callPackage ../tools/security/gnome-keysign { }; gnome-keysign = callPackage ../tools/security/gnome-keysign { };
gnome-passwordsafe = callPackage ../applications/misc/gnome-passwordsafe { }; gnome-secrets = callPackage ../applications/misc/gnome-secrets { };
gnome-podcasts = callPackage ../applications/audio/gnome-podcasts { }; gnome-podcasts = callPackage ../applications/audio/gnome-podcasts { };