diff options
author | figsoda <figsoda@pm.me> | 2023-04-04 16:58:51 -0400 |
---|---|---|
committer | figsoda <figsoda@pm.me> | 2023-04-04 16:58:51 -0400 |
commit | 162ca510540b7b1a599ae0ef88d45c32a8f45b8d (patch) | |
tree | c40f255a1068feac31ded1eaeb0cb4c5aff2e488 /pkgs/tools/text/scraper | |
parent | 6ab58617f3627c7d23a9ab16fcf500dfd1da99c9 (diff) |
scraper: 0.15.0 -> 0.16.0
Changelog: https://github.com/causal-agent/scraper/releases/tag/v0.16.0
Diffstat (limited to 'pkgs/tools/text/scraper')
-rw-r--r-- | pkgs/tools/text/scraper/default.nix | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/pkgs/tools/text/scraper/default.nix b/pkgs/tools/text/scraper/default.nix index e1ee0ae2ab57a..fd8324217f055 100644 --- a/pkgs/tools/text/scraper/default.nix +++ b/pkgs/tools/text/scraper/default.nix @@ -1,17 +1,15 @@ -{ lib, rustPlatform, fetchFromGitHub, installShellFiles }: +{ lib, rustPlatform, fetchCrate, installShellFiles }: rustPlatform.buildRustPackage rec { pname = "scraper"; - version = "0.15.0"; + version = "0.16.0"; - src = fetchFromGitHub { - owner = "causal-agent"; - repo = "scraper"; - rev = "v${version}"; - hash = "sha256-K0MeZeS60gxo0/kBCaffNVQrR5S1HDoq77hnC//LMQg="; + src = fetchCrate { + inherit pname version; + hash = "sha256-3FxEfrScOetB1raiT9xjq9G2xLrLZqVlkqbVAFCIhZ0="; }; - cargoHash = "sha256-2IvfJaYyX7ZA1y3TETydb7wXRER4CfH69xEvnxKCFTc="; + cargoHash = "sha256-Pf8+vvOvOHpuJ2v7iwdVzHwneqvhk2E4nbGO4TL/FAM="; nativeBuildInputs = [ installShellFiles ]; |