diff options
author | Will Dietz <w@wdtz.org> | 2018-07-15 13:42:44 -0500 |
---|---|---|
committer | Will Dietz <w@wdtz.org> | 2018-07-15 17:45:16 -0500 |
commit | 4626d0b2556a5cab8f6ff7fd7cd9966a7ab5a36b (patch) | |
tree | 5d6b24633730715b7c9dc487f98734d0b467ffa0 /pkgs/applications/video/gnomecast/default.nix | |
parent | ed23255c5a26a2f1bdd6f0cc12fe10c69558cea2 (diff) |
gnomecast: init at 1.4.0
also pycaption, required dep.
Diffstat (limited to 'pkgs/applications/video/gnomecast/default.nix')
-rw-r--r-- | pkgs/applications/video/gnomecast/default.nix | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/pkgs/applications/video/gnomecast/default.nix b/pkgs/applications/video/gnomecast/default.nix new file mode 100644 index 000000000000..a2faaf39f082 --- /dev/null +++ b/pkgs/applications/video/gnomecast/default.nix @@ -0,0 +1,28 @@ +{ lib, python3Packages, gtk3, gobjectIntrospection, ffmpeg, wrapGAppsHook }: + +with python3Packages; +buildPythonApplication rec { + pname = "gnomecast"; + version = "1.4.0"; + + src = fetchPypi { + inherit pname version; + sha256 = "17hxqpisw6j6caw6bzp0wd0p3idqy6a78wwwk8kms6hpxasirwyk"; + }; + + nativeBuildInputs = [ wrapGAppsHook ]; + propagatedBuildInputs = [ + PyChromecast bottle pycaption paste html5lib pygobject3 dbus-python + gtk3 gobjectIntrospection + ]; + + 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 ]; + }; +} |