mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
grab-site: init at 2.1.11
This commit is contained in:
parent
cb3e6e72b9
commit
66f59ee1ad
2 changed files with 32 additions and 0 deletions
30
pkgs/tools/backup/grab-site/default.nix
Normal file
30
pkgs/tools/backup/grab-site/default.nix
Normal 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;
|
||||
};
|
||||
}
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue