2021-01-25 08:26:54 +00:00
|
|
|
{ lib
|
2018-10-16 22:22:59 +01: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-07 13:39:09 +01:00
|
|
|
propagatedBuildInputs = [ six beautifulsoup4 pkgs.ffmpeg_3 pkgs.swftools pkgs.rtmpdump ];
|
2018-10-16 22:22:59 +01:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2018-10-16 22:22:59 +01: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 ];
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|