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