biome: 1.9.2 -> 1.9.3
[NixPkgs.git] / pkgs / tools / text / scraper / default.nix
blob7b17d94a05af88aa2737cd8762d49bdc93b996d3
1 { lib, rustPlatform, fetchCrate, installShellFiles }:
3 rustPlatform.buildRustPackage rec {
4   pname = "scraper";
5   version = "0.20.0";
7   src = fetchCrate {
8     inherit pname version;
9     hash = "sha256-ouyhdT6XTuWYBxi8HV0dWt/0dHml8YXjf2kzd90Eax0=";
10   };
12   cargoHash = "sha256-2R8dy9WnEPffkoJfQD8uFL0Ot3D2yibPxIjqRJ+6rMI=";
14   nativeBuildInputs = [ installShellFiles ];
16   postInstall = ''
17     installManPage scraper.1
18   '';
20   meta = with lib; {
21     description = "Tool to query HTML files with CSS selectors";
22     mainProgram = "scraper";
23     homepage = "https://github.com/causal-agent/scraper";
24     changelog = "https://github.com/causal-agent/scraper/releases/tag/v${version}";
25     license = licenses.isc;
26     maintainers = with maintainers; [ figsoda ];
27   };