3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #192977 from figsoda/scraper

scraper: init at 0.13.0
This commit is contained in:
Fabian Affolter 2022-09-26 08:39:49 +02:00 committed by GitHub
commit 4e912afea9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 28 additions and 0 deletions

View file

@ -0,0 +1,26 @@
{ lib, rustPlatform, fetchCrate, installShellFiles }:
rustPlatform.buildRustPackage rec {
pname = "scraper";
version = "0.13.0";
src = fetchCrate {
inherit pname version;
sha256 = "sha256-5fFO51I6DqH1BBELt9FW2BCwYcsXVXaQLgocMn446Bs=";
};
cargoSha256 = "sha256-Y4m7C7v4ekJfb3BoWwDF+X8uuRH9muaTwPECgu4WaMQ=";
nativeBuildInputs = [ installShellFiles ];
postInstall = ''
installManPage scraper.1
'';
meta = with lib; {
description = "A tool to query HTML files with CSS selectors";
homepage = "https://github.com/causal-agent/scraper";
license = licenses.isc;
maintainers = with maintainers; [ figsoda ];
};
}

View file

@ -10879,6 +10879,8 @@ with pkgs;
scfbuild = python3.pkgs.callPackage ../tools/misc/scfbuild { };
scraper = callPackage ../tools/text/scraper { };
scriptaculous = callPackage ../development/libraries/scriptaculous { };
scrot = callPackage ../tools/graphics/scrot { };