2020-06-07 13:39:09 +01:00
|
|
|
{ lib, python3Packages, gtk3, gobject-introspection, ffmpeg_3, wrapGAppsHook }:
|
2018-07-15 19:42:44 +01:00
|
|
|
|
|
|
|
with python3Packages;
|
|
|
|
buildPythonApplication rec {
|
|
|
|
pname = "gnomecast";
|
2020-11-14 06:41:04 +00:00
|
|
|
version = "1.9.11";
|
2018-07-15 19:42:44 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-11-14 06:41:04 +00:00
|
|
|
sha256 = "4d8cd7a71f352137252c5a9ee13475bd67fb99594560ecff1efb0f718d8bbaac";
|
2018-07-15 19:42:44 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ wrapGAppsHook ];
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
PyChromecast bottle pycaption paste html5lib pygobject3 dbus-python
|
2018-12-02 11:41:15 +00:00
|
|
|
gtk3 gobject-introspection
|
2018-07-15 19:42:44 +01:00
|
|
|
];
|
|
|
|
|
|
|
|
preFixup = ''
|
2020-06-07 13:39:09 +01:00
|
|
|
gappsWrapperArgs+=(--prefix PATH : ${lib.makeBinPath [ ffmpeg_3 ]})
|
2018-07-15 19:42:44 +01:00
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "A native Linux GUI for Chromecasting local files";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/keredson/gnomecast";
|
2018-07-15 19:42:44 +01:00
|
|
|
license = with licenses; [ gpl3 ];
|
|
|
|
};
|
|
|
|
}
|