1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-04 03:25:02 +00:00
nixpkgs/pkgs/applications/video/gnomecast/default.nix

37 lines
1,013 B
Nix
Raw Normal View History

{ stdenv, lib, python3Packages, gtk3, gobject-introspection, ffmpeg, wrapGAppsHook }:
with python3Packages;
buildPythonApplication rec {
pname = "gnomecast";
2020-11-14 06:41:04 +00:00
version = "1.9.11";
src = fetchPypi {
inherit pname version;
2020-11-14 06:41:04 +00:00
sha256 = "4d8cd7a71f352137252c5a9ee13475bd67fb99594560ecff1efb0f718d8bbaac";
};
nativeBuildInputs = [ wrapGAppsHook ];
propagatedBuildInputs = [
PyChromecast bottle pycaption paste html5lib pygobject3 dbus-python
gtk3 gobject-introspection
];
# NOTE: gdk-pixbuf setup hook does not run with strictDeps
# https://nixos.org/manual/nixpkgs/stable/#ssec-gnome-hooks-gobject-introspection
strictDeps = false;
preFixup = ''
gappsWrapperArgs+=(--prefix PATH : ${lib.makeBinPath [ ffmpeg ]})
'';
2021-01-09 16:08:31 +00:00
# no tests
doCheck = false;
meta = with lib; {
description = "A native Linux GUI for Chromecasting local files";
homepage = "https://github.com/keredson/gnomecast";
license = with licenses; [ gpl3 ];
2021-01-05 23:14:41 +00:00
broken = stdenv.isDarwin;
};
}