1 { stdenv, lib, python3Packages, fetchFromGitHub, gtk3, gobject-introspection, ffmpeg, wrapGAppsHook3 }:
4 buildPythonApplication rec {
6 version = "unstable-2022-04-23";
8 src = fetchFromGitHub {
11 rev = "d42d8915838b01c5cadacb322909e08ffa455d4f";
12 sha256 = "sha256-CJpbBuRzEjWb8hsh3HMW4bZA7nyDAwjrERCS5uGdwn8=";
15 nativeBuildInputs = [ wrapGAppsHook3 ];
16 propagatedBuildInputs = [
28 # NOTE: gdk-pixbuf setup hook does not run with strictDeps
29 # https://nixos.org/manual/nixpkgs/stable/#ssec-gnome-hooks-gobject-introspection
33 gappsWrapperArgs+=(--prefix PATH : ${lib.makeBinPath [ ffmpeg ]})
40 description = "Native Linux GUI for Chromecasting local files";
41 homepage = "https://github.com/keredson/gnomecast";
42 license = with licenses; [ gpl3 ];
43 broken = stdenv.hostPlatform.isDarwin;
44 mainProgram = "gnomecast";