grab-site: init at 2.1.11

This commit is contained in:
Ivan Kozik 2018-12-14 02:20:17 +00:00
parent cb3e6e72b9
commit 66f59ee1ad
2 changed files with 32 additions and 0 deletions

View file

@ -0,0 +1,30 @@
{ stdenv, python3Packages, fetchFromGitHub }:
python3Packages.buildPythonApplication rec {
version = "2.1.11";
name = "grab-site-${version}";
src = fetchFromGitHub {
rev = "${version}";
owner = "ludios";
repo = "grab-site";
sha256 = "0w24ngr2b7nipqiwkxpql2467b5aq2vbknkb0sry6a457kb5ppsl";
};
propagatedBuildInputs = with python3Packages; [
click ludios_wpull manhole lmdb autobahn fb-re2 websockets cchardet
];
checkPhase = ''
export PATH=$PATH:$out/bin
bash ./tests/offline-tests
'';
meta = with stdenv.lib; {
description = "Crawler for web archiving with WARC output";
homepage = https://github.com/ludios/grab-site;
license = licenses.mit;
maintainers = with maintainers; [ ivan ];
platforms = platforms.all;
};
}

View file

@ -10004,6 +10004,8 @@ in
gperftools = callPackage ../development/libraries/gperftools { };
grab-site = callPackage ../tools/backup/grab-site { };
grib-api = callPackage ../development/libraries/grib-api { };
grpc = callPackage ../development/libraries/grpc { };