a5adf1ddd8
GitOrigin-RevId: b3616bd96400ce0252c241d76fcafb64389defc6
32 lines
849 B
Nix
32 lines
849 B
Nix
{ stdenv, lib, python3Packages, gtk3, gobject-introspection, ffmpeg_3, wrapGAppsHook }:
|
|
|
|
with python3Packages;
|
|
buildPythonApplication rec {
|
|
pname = "gnomecast";
|
|
version = "1.9.11";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "4d8cd7a71f352137252c5a9ee13475bd67fb99594560ecff1efb0f718d8bbaac";
|
|
};
|
|
|
|
nativeBuildInputs = [ wrapGAppsHook ];
|
|
propagatedBuildInputs = [
|
|
PyChromecast bottle pycaption paste html5lib pygobject3 dbus-python
|
|
gtk3 gobject-introspection
|
|
];
|
|
|
|
preFixup = ''
|
|
gappsWrapperArgs+=(--prefix PATH : ${lib.makeBinPath [ ffmpeg_3 ]})
|
|
'';
|
|
|
|
# no tests
|
|
doCheck = false;
|
|
|
|
meta = with lib; {
|
|
description = "A native Linux GUI for Chromecasting local files";
|
|
homepage = "https://github.com/keredson/gnomecast";
|
|
license = with licenses; [ gpl3 ];
|
|
broken = stdenv.isDarwin;
|
|
};
|
|
}
|