2021-01-09 10:05:03 +00:00
|
|
|
{ stdenv, lib, python3Packages, gtk3, gobject-introspection, ffmpeg_3, wrapGAppsHook }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
with python3Packages;
|
|
|
|
buildPythonApplication rec {
|
|
|
|
pname = "gnomecast";
|
2020-11-24 20:58:05 +00:00
|
|
|
version = "1.9.11";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-11-24 20:58:05 +00:00
|
|
|
sha256 = "4d8cd7a71f352137252c5a9ee13475bd67fb99594560ecff1efb0f718d8bbaac";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ wrapGAppsHook ];
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
PyChromecast bottle pycaption paste html5lib pygobject3 dbus-python
|
|
|
|
gtk3 gobject-introspection
|
|
|
|
];
|
|
|
|
|
|
|
|
preFixup = ''
|
2020-06-18 07:06:33 +00:00
|
|
|
gappsWrapperArgs+=(--prefix PATH : ${lib.makeBinPath [ ffmpeg_3 ]})
|
2020-04-24 23:36:52 +00:00
|
|
|
'';
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
# no tests
|
|
|
|
doCheck = false;
|
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
meta = with lib; {
|
|
|
|
description = "A native Linux GUI for Chromecasting local files";
|
|
|
|
homepage = "https://github.com/keredson/gnomecast";
|
|
|
|
license = with licenses; [ gpl3 ];
|
2021-01-09 10:05:03 +00:00
|
|
|
broken = stdenv.isDarwin;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|