e7ec2969af
GitOrigin-RevId: 9b19f5e77dd906cb52dade0b7bd280339d2a1f3d
29 lines
791 B
Nix
29 lines
791 B
Nix
{ lib
|
|
, stdenv
|
|
, buildNpmPackage
|
|
, fetchFromGitHub
|
|
}:
|
|
|
|
buildNpmPackage {
|
|
pname = "readability-extractor";
|
|
version = "0.0.10";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "ArchiveBox";
|
|
repo = "readability-extractor";
|
|
rev = "be5c3222990d4f0459b21e74802565309bdd1d52";
|
|
hash = "sha256-KX9mtvwDUIV2XsH6Hgx5/W34AlM4QtZuzxp4QofPcyg=";
|
|
};
|
|
|
|
dontNpmBuild = true;
|
|
|
|
npmDepsHash = "sha256-bQHID9c2Ioyectx6t/GjTR/4cCyfwDfpT0aEQZoYCiU=";
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/ArchiveBox/readability-extractor";
|
|
description = "Javascript wrapper around Mozilla Readability for ArchiveBox to call as a oneshot CLI to extract article text";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ viraptor ];
|
|
mainProgram = "readability-extractor";
|
|
};
|
|
}
|