gnome-passwordsafe: 3.99.2 -> 5.0

This commit is contained in:
Matt Votava 2021-03-01 17:59:00 -08:00 committed by tomberek
parent 3bf04ba9bf
commit 0b901e52bf

View file

@ -4,8 +4,8 @@
, pkg-config , pkg-config
, gettext , gettext
, fetchFromGitLab , fetchFromGitLab
, python3 , python3Packages
, libhandy_0 , libhandy
, libpwquality , libpwquality
, wrapGAppsHook , wrapGAppsHook
, gtk3 , gtk3
@ -15,9 +15,9 @@
, desktop-file-utils , desktop-file-utils
, appstream-glib }: , appstream-glib }:
python3.pkgs.buildPythonApplication rec { python3Packages.buildPythonApplication rec {
pname = "gnome-passwordsafe"; pname = "gnome-passwordsafe";
version = "3.99.2"; version = "5.0";
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 @@ python3.pkgs.buildPythonApplication rec {
owner = "World"; owner = "World";
repo = "PasswordSafe"; repo = "PasswordSafe";
rev = version; rev = version;
sha256 = "0pi2l4gwf8paxm858mxrcsk5nr0c0zw5ycax40mghndb6b1qmmhf"; sha256 = "8EFKLNK7rZlYL2g/7FmaC5r5hcdblsnod/aB8NYiBvY=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [
@ -44,26 +44,13 @@ python3.pkgs.buildPythonApplication rec {
gtk3 gtk3
glib glib
gdk-pixbuf gdk-pixbuf
libhandy_0 libhandy
]; ];
propagatedBuildInputs = with python3.pkgs; [ propagatedBuildInputs = with python3Packages; [
pygobject3 pygobject3
construct construct
pykeepass
# pykeepass 3.2.1 changed some exception types, and is not backwards compatible.
# Remove override once the MR is merged upstream.
# https://gitlab.gnome.org/World/PasswordSafe/-/merge_requests/79
(pykeepass.overridePythonAttrs (old: rec {
version = "3.2.0";
src = fetchPypi {
pname = "pykeepass";
inherit version;
sha256 = "1ysjn92bixq8wkwhlbhrjj9z0h80qnlnj7ks5478ndkzdw5gxvm1";
};
propagatedBuildInputs = old.propagatedBuildInputs ++ [ pycryptodome ];
}))
] ++ [ ] ++ [
libpwquality # using the python bindings libpwquality # using the python bindings
]; ];