1 { lib, python3, fetchFromGitHub, gtk3, gobject-introspection, gtk-layer-shell, wrapGAppsHook3 }:
2 python3.pkgs.buildPythonApplication rec {
3 pname = "discover-overlay";
7 src = fetchFromGitHub {
10 rev = "refs/tags/v${version}";
11 hash = "sha256-0b0uZDa9Q3pQ6X65C+E31dMpdTPt4vvHDEqFEtRoedg=";
14 buildInputs = [ gtk3 gtk-layer-shell ];
23 makeWrapperArgs = [ "\${gappsWrapperArgs[@]}" "--set DISPLAY ':0.0'" ];
25 propagatedBuildInputs = with python3.pkgs; [
37 substituteInPlace discover_overlay/image_getter.py \
38 --replace-fail /usr $out
43 description = "Yet another discord overlay for linux";
44 homepage = "https://github.com/trigg/Discover";
45 license = lib.licenses.gpl3Only;
46 maintainers = with lib.maintainers; [ dragonginger ];
47 mainProgram = "discover-overlay";
48 platforms = lib.platforms.linux;