nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 29 lines 760 B view raw
1{ 2 lib, 3 buildNpmPackage, 4 fetchFromGitHub, 5}: 6 7buildNpmPackage rec { 8 pname = "readability-extractor"; 9 version = "0.0.11"; 10 11 src = fetchFromGitHub { 12 owner = "ArchiveBox"; 13 repo = "readability-extractor"; 14 tag = "v${version}"; 15 hash = "sha256-QzxwPonPrCDdVYHZ9rEfw8ok56lVZE82VykrfkdFh5I="; 16 }; 17 18 dontNpmBuild = true; 19 20 npmDepsHash = "sha256-F5lOGkhFlFVB8zTxrebWsPWRNfHgZ4Y2DqKED/z5riw="; 21 22 meta = { 23 homepage = "https://github.com/ArchiveBox/readability-extractor"; 24 description = "Javascript wrapper around Mozilla Readability for ArchiveBox to call as a oneshot CLI to extract article text"; 25 license = lib.licenses.mit; 26 maintainers = with lib.maintainers; [ viraptor ]; 27 mainProgram = "readability-extractor"; 28 }; 29}