gnome-dialect: remove package

It is available in nixpkgs now so...
This commit is contained in:
Gabriel Arazas 2022-07-19 13:54:51 +08:00
parent 79a9bf1374
commit 8afa2b4d52
3 changed files with 1 additions and 65 deletions

View File

@ -65,7 +65,7 @@ in
authenticator # 2-factor codes for 2-factor storages.
blanket # Zen...
gnome.dconf-editor # A saner version of Windows registry.
gnome-dialect # Your gateway to polyglotting.
dialect # Your gateway to polyglotting.
gnome-frog # Graphical OCR with Tesseract that I always wanted.
gnome-solanum # Cute little matodor timers.
shortwave # Yer' humble internet radio.

View File

@ -20,7 +20,6 @@ let
doggo = callPackage ./doggo.nix { };
emulsion-palette = callPackage ./emulsion-palette.nix { };
gol-c = callPackage ./gol-c.nix { };
gnome-dialect = callPackage ./dialect { };
gnome-frog = callPackage ./frog { };
gnome-search-provider-recoll =
callPackage ./gnome-search-provider-recoll.nix { };

View File

@ -1,63 +0,0 @@
{ stdenv
, lib
, fetchFromGitHub
, python3Packages
, wrapGAppsHook4
, gtk4
, gettext
, libadwaita
, gst_all_1
, meson
, pkg-config
, ninja
, gobject-introspection
, glib
, libsoup_3
, blueprint-compiler
, desktop-file-utils
}:
python3Packages.buildPythonApplication rec {
pname = "gnome-dialect";
version = "2.0.1";
src = fetchFromGitHub {
owner = "dialect-app";
repo = "dialect";
rev = version;
fetchSubmodules = true;
sha256 = "sha256-Ke23QnvKpmyuaqkiBQL1cUa0T7lSfYPLFi6wa9G8LYk=";
};
nativeBuildInputs = [
blueprint-compiler
desktop-file-utils
gettext
glib
meson
ninja
pkg-config
wrapGAppsHook4
];
buildInputs =
[ gobject-introspection gst_all_1.gstreamer gtk4 libadwaita libsoup_3 ];
propagatedBuildInputs = with python3Packages; [ pygobject3 gtts dbus-python ];
postPatch = ''
rm -rf subprojects
'';
dontWrapGApps = true;
preFixup = ''
makeWrapperArgs+=("''${gappsWrapperArgs[@]}")
'';
format = "other";
meta = with lib; {
homepage = "https://github.com/dialect-app/dialect";
description = "Translation app for GNOME";
license = licenses.gpl3Only;
};
}