readability-extractor: init at 0.0.10

This commit is contained in:
Stanisław Pitucha 2023-12-29 15:42:36 +11:00
parent e38737469b
commit 0b375dbe8d

View file

@ -0,0 +1,29 @@
{ 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";
};
}