mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-02-07 12:19:07 +00:00
gnome-dialect: init at unstable-2022-07-11
This commit is contained in:
parent
a81ab6f415
commit
2572ccae12
@ -20,6 +20,7 @@ let
|
|||||||
doggo = callPackage ./doggo.nix { };
|
doggo = callPackage ./doggo.nix { };
|
||||||
emulsion-palette = callPackage ./emulsion-palette.nix { };
|
emulsion-palette = callPackage ./emulsion-palette.nix { };
|
||||||
gol-c = callPackage ./gol-c.nix { };
|
gol-c = callPackage ./gol-c.nix { };
|
||||||
|
gnome-dialect = callPackage ./dialect { };
|
||||||
gnome-search-provider-browser-tabs =
|
gnome-search-provider-browser-tabs =
|
||||||
callPackage ./gnome-search-provider-browser-tabs.nix { };
|
callPackage ./gnome-search-provider-browser-tabs.nix { };
|
||||||
gnome-search-provider-recoll =
|
gnome-search-provider-recoll =
|
||||||
|
50
pkgs/dialect/default.nix
Normal file
50
pkgs/dialect/default.nix
Normal file
@ -0,0 +1,50 @@
|
|||||||
|
{ 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 = "unstable-2022-07-11";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "dialect-app";
|
||||||
|
repo = "dialect";
|
||||||
|
rev = "9dc46a6a52a2b10ce2956e6b48987ca55fa77033";
|
||||||
|
fetchSubmodules = true;
|
||||||
|
sha256 = "sha256-z/KVGdICwR/kuKjy2eEPS5XEwFsUc7jSHS7RLn87EhQ=";
|
||||||
|
};
|
||||||
|
|
||||||
|
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
|
||||||
|
'';
|
||||||
|
|
||||||
|
format = "other";
|
||||||
|
meta = with lib; {
|
||||||
|
homepage = "https://github.com/dialect-app/dialect";
|
||||||
|
description = "Translation app for GNOME";
|
||||||
|
license = licenses.gpl3Only;
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user