2021-02-05 17:12:51 +00:00
|
|
|
{ lib
|
2020-04-24 23:36:52 +00:00
|
|
|
, buildPythonPackage
|
|
|
|
, html5lib
|
|
|
|
, six
|
|
|
|
, beautifulsoup4
|
|
|
|
, pkgs
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
version = "0.1.0";
|
|
|
|
pname = "infoqscraper";
|
|
|
|
|
|
|
|
src = pkgs.fetchFromGitHub {
|
|
|
|
owner = "cykl";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "07mxp4mla7fwfc032f3mxrhjarnhkjqdxxibf9ba87c93z3dq8jj";
|
|
|
|
};
|
|
|
|
|
|
|
|
# requires network
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
buildInputs = [ html5lib ];
|
2020-06-18 07:06:33 +00:00
|
|
|
propagatedBuildInputs = [ six beautifulsoup4 pkgs.ffmpeg_3 pkgs.swftools pkgs.rtmpdump ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Discover presentations and/or create a movie consisting of slides and audio track from an infoq url";
|
|
|
|
homepage = "https://github.com/cykl/infoqscraper/wiki";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ edwtjo ];
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|