diff options
author | zendo <linzway@qq.com> | 2023-05-03 07:37:25 +0800 |
---|---|---|
committer | zendo <linzway@qq.com> | 2023-05-05 13:25:23 +0800 |
commit | 52fdb8a669b3adb8332df10053ac636b6b6989a4 (patch) | |
tree | db107ec7c400f4c029636a6b652caa8e67512491 /pkgs/applications/graphics/gnome-obfuscate | |
parent | f5c3f099a79f24033223005579fc41d3f87b06b5 (diff) |
gnome-obfuscate: 0.0.7 -> 0.0.9
Diffstat (limited to 'pkgs/applications/graphics/gnome-obfuscate')
-rw-r--r-- | pkgs/applications/graphics/gnome-obfuscate/default.nix | 24 |
1 files changed, 9 insertions, 15 deletions
diff --git a/pkgs/applications/graphics/gnome-obfuscate/default.nix b/pkgs/applications/graphics/gnome-obfuscate/default.nix index 4dc186c5f8436..6f228e26a05ce 100644 --- a/pkgs/applications/graphics/gnome-obfuscate/default.nix +++ b/pkgs/applications/graphics/gnome-obfuscate/default.nix @@ -1,73 +1,67 @@ { stdenv , lib , fetchFromGitLab - , gettext , meson , ninja , pkg-config -, python3 , rustPlatform , wrapGAppsHook4 - , appstream-glib , desktop-file-utils , glib , gtk4 +, gdk-pixbuf , libadwaita , Foundation }: stdenv.mkDerivation rec { pname = "gnome-obfuscate"; - version = "0.0.7"; + version = "0.0.9"; src = fetchFromGitLab { domain = "gitlab.gnome.org"; owner = "World"; repo = "Obfuscate"; rev = version; - sha256 = "sha256-jEMOg2yHi6K57XhA/7hkwwvedmikoB8pGV3ka+jixq8="; + hash = "sha256-aUhzact437V/bSsG2Ddu2mC03LbyXFg+hJiuGy5NQfQ="; }; cargoDeps = rustPlatform.fetchCargoTarball { inherit src; name = "${pname}-${version}"; - sha256 = "sha256-P04BeidLXouPLzT/vsa4VC5AOENF0W4gqXqzdmRFhmE="; + hash = "sha256-HUQvdCmzjdmuJGDLtC/86yzbRimLzx+XbW29f+Ua48w="; }; nativeBuildInputs = [ gettext - glib meson ninja pkg-config - python3 rustPlatform.cargoSetupHook rustPlatform.rust.cargo rustPlatform.rust.rustc wrapGAppsHook4 + appstream-glib + desktop-file-utils ]; buildInputs = [ - appstream-glib - desktop-file-utils glib gtk4 + gdk-pixbuf libadwaita ] ++ lib.optionals stdenv.isDarwin [ Foundation ]; - postPatch = '' - patchShebangs build-aux/meson_post_install.py - ''; - meta = with lib; { description = "Censor private information"; homepage = "https://gitlab.gnome.org/World/obfuscate"; license = licenses.gpl3Plus; - maintainers = with maintainers; [ fgaz ]; platforms = platforms.all; + mainProgram = "obfuscate"; + maintainers = with maintainers; [ fgaz ]; }; } |