diff options
author | figsoda <figsoda@pm.me> | 2023-02-28 15:45:20 -0500 |
---|---|---|
committer | figsoda <figsoda@pm.me> | 2023-02-28 15:45:20 -0500 |
commit | bb7879af9299476d4b10564ef8d781a691f65f00 (patch) | |
tree | 859c0f89a0d27d77b0c32838c9519c73da286495 /pkgs/tools/text/scraper | |
parent | 4389f864255c7fcde84c58ac25b2cfdb34a2a6cd (diff) |
scraper: 0.14.0 -> 0.15.0
Diff: https://github.com/causal-agent/scraper/compare/v0.14.0...v0.15.0 Changelog: https://github.com/causal-agent/scraper/releases/tag/v0.15.0
Diffstat (limited to 'pkgs/tools/text/scraper')
-rw-r--r-- | pkgs/tools/text/scraper/default.nix | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/pkgs/tools/text/scraper/default.nix b/pkgs/tools/text/scraper/default.nix index ba5c6507fa7ff..e1ee0ae2ab57a 100644 --- a/pkgs/tools/text/scraper/default.nix +++ b/pkgs/tools/text/scraper/default.nix @@ -1,15 +1,17 @@ -{ lib, rustPlatform, fetchCrate, installShellFiles }: +{ lib, rustPlatform, fetchFromGitHub, installShellFiles }: rustPlatform.buildRustPackage rec { pname = "scraper"; - version = "0.14.0"; + version = "0.15.0"; - src = fetchCrate { - inherit pname version; - sha256 = "sha256-ucArD3xElLpOukNYHiErCTKDSlW2aDn00D3gr5L8Sm0="; + src = fetchFromGitHub { + owner = "causal-agent"; + repo = "scraper"; + rev = "v${version}"; + hash = "sha256-K0MeZeS60gxo0/kBCaffNVQrR5S1HDoq77hnC//LMQg="; }; - cargoSha256 = "sha256-62rJWpDi2vPHFnJnIrisyj0sEZTzRra+zoMb06zmxdE="; + cargoHash = "sha256-2IvfJaYyX7ZA1y3TETydb7wXRER4CfH69xEvnxKCFTc="; nativeBuildInputs = [ installShellFiles ]; @@ -20,6 +22,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "A tool to query HTML files with CSS selectors"; homepage = "https://github.com/causal-agent/scraper"; + changelog = "https://github.com/causal-agent/scraper/releases/tag/v${version}"; license = licenses.isc; maintainers = with maintainers; [ figsoda ]; }; |