pythonPackages.infoqscaper: refactor move to python-modules
This commit is contained in:
parent
c1f0f33fee
commit
7a35ae188f
34
pkgs/development/python-modules/infoqscraper/default.nix
Normal file
34
pkgs/development/python-modules/infoqscraper/default.nix
Normal file
@ -0,0 +1,34 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, 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 ];
|
||||
propagatedBuildInputs = [ six beautifulsoup4 pkgs.ffmpeg pkgs.swftools pkgs.rtmpdump ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
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 ];
|
||||
};
|
||||
|
||||
}
|
@ -2484,32 +2484,7 @@ in {
|
||||
|
||||
influxdb = callPackage ../development/python-modules/influxdb { };
|
||||
|
||||
infoqscraper = buildPythonPackage rec {
|
||||
name = pname + "-" + version;
|
||||
version = "0.1.0";
|
||||
pname = "infoqscraper";
|
||||
|
||||
src = pkgs.fetchFromGitHub {
|
||||
owner = "cykl";
|
||||
repo = pname;
|
||||
rev = "v" + version;
|
||||
sha256 = "07mxp4mla7fwfc032f3mxrhjarnhkjqdxxibf9ba87c93z3dq8jj";
|
||||
};
|
||||
|
||||
# requires network
|
||||
doCheck = false;
|
||||
|
||||
buildInputs = with self; [ html5lib ];
|
||||
propagatedBuildInputs = (with self; [ six beautifulsoup4 ])
|
||||
++ (with pkgs; [ ffmpeg swftools rtmpdump ]);
|
||||
|
||||
meta = {
|
||||
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 ];
|
||||
};
|
||||
};
|
||||
infoqscraper = callPackage ../development/python-modules/infoqscraper { };
|
||||
|
||||
inifile = buildPythonPackage rec {
|
||||
name = "inifile-0.3";
|
||||
|
Loading…
Reference in New Issue
Block a user