chromium,chromedriver: 129.0.6668.91 -> 129.0.6668.100
[NixPkgs.git] / pkgs / by-name / di / discover-overlay / package.nix
blob4488c4953336fcbdcdbcfbd7a3411fc28dcbd9a2
1 { lib, python3, fetchFromGitHub, gtk3, gobject-introspection, gtk-layer-shell, wrapGAppsHook3 }:
2 python3.pkgs.buildPythonApplication rec {
3   pname = "discover-overlay";
4   version = "0.7.8";
5   pyproject = true;
7   src = fetchFromGitHub {
8     owner = "trigg";
9     repo = "Discover";
10     rev = "refs/tags/v${version}";
11     hash = "sha256-0b0uZDa9Q3pQ6X65C+E31dMpdTPt4vvHDEqFEtRoedg=";
12   };
14   buildInputs = [ gtk3 gtk-layer-shell ];
16   nativeBuildInputs = [
17     gobject-introspection
18     wrapGAppsHook3
19   ];
21   dontWrapGApps = true;
23   makeWrapperArgs = [ "\${gappsWrapperArgs[@]}" "--set DISPLAY ':0.0'" ];
25   propagatedBuildInputs = with python3.pkgs; [
26     pulsectl-asyncio
27     pycairo
28     pygobject3
29     websocket-client
30     pyxdg
31     requests
32     pillow
33     setuptools
34     xlib
35   ];
36   postPatch = ''
37     substituteInPlace discover_overlay/image_getter.py \
38       --replace-fail /usr $out
39   '';
40   doCheck = false;
42   meta = {
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;
49   };