f34ce41345
GitOrigin-RevId: b73c2221a46c13557b1b3be9c2070cc42cf01eb3
28 lines
767 B
Nix
28 lines
767 B
Nix
{ lib
|
|
, buildNpmPackage
|
|
, fetchFromGitHub
|
|
}:
|
|
|
|
buildNpmPackage rec {
|
|
pname = "readability-extractor";
|
|
version = "0.0.11";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "ArchiveBox";
|
|
repo = "readability-extractor";
|
|
rev = "refs/tags/v${version}";
|
|
hash = "sha256-QzxwPonPrCDdVYHZ9rEfw8ok56lVZE82VykrfkdFh5I=";
|
|
};
|
|
|
|
dontNpmBuild = true;
|
|
|
|
npmDepsHash = "sha256-F5lOGkhFlFVB8zTxrebWsPWRNfHgZ4Y2DqKED/z5riw=";
|
|
|
|
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";
|
|
};
|
|
}
|