2018-12-02 11:41:15 +00:00
|
|
|
{ lib, python3Packages, gtk3, gobject-introspection, ffmpeg, wrapGAppsHook }:
|
2018-07-15 18:42:44 +00:00
|
|
|
|
|
|
|
with python3Packages;
|
|
|
|
buildPythonApplication rec {
|
|
|
|
pname = "gnomecast";
|
2018-09-22 22:31:07 +00:00
|
|
|
version = "1.4.1";
|
2018-07-15 18:42:44 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-09-22 22:31:07 +00:00
|
|
|
sha256 = "0mn03gqbwmhch0055bzgdwkzsl304qdyqwrgyiq0k5c5d2gyala5";
|
2018-07-15 18:42:44 +00: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 18:42:44 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
preFixup = ''
|
|
|
|
gappsWrapperArgs+=(--prefix PATH : ${lib.makeBinPath [ ffmpeg ]})
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "A native Linux GUI for Chromecasting local files";
|
|
|
|
homepage = https://github.com/keredson/gnomecast;
|
|
|
|
license = with licenses; [ gpl3 ];
|
|
|
|
};
|
|
|
|
}
|