From 52fdb8a669b3adb8332df10053ac636b6b6989a4 Mon Sep 17 00:00:00 2001 From: zendo Date: Wed, 3 May 2023 07:37:25 +0800 Subject: [PATCH] gnome-obfuscate: 0.0.7 -> 0.0.9 --- .../graphics/gnome-obfuscate/default.nix | 24 +++++++------------ 1 file changed, 9 insertions(+), 15 deletions(-) diff --git a/pkgs/applications/graphics/gnome-obfuscate/default.nix b/pkgs/applications/graphics/gnome-obfuscate/default.nix index 4dc186c5f843..6f228e26a05c 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 ]; }; }