mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 14:41:17 +00:00
4626d0b255
also pycaption, required dep.
29 lines
757 B
Nix
29 lines
757 B
Nix
{ 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 ];
|
|
};
|
|
}
|