From 162ca510540b7b1a599ae0ef88d45c32a8f45b8d Mon Sep 17 00:00:00 2001 From: figsoda Date: Tue, 4 Apr 2023 16:58:51 -0400 Subject: [PATCH] scraper: 0.15.0 -> 0.16.0 Changelog: https://github.com/causal-agent/scraper/releases/tag/v0.16.0 --- pkgs/tools/text/scraper/default.nix | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/pkgs/tools/text/scraper/default.nix b/pkgs/tools/text/scraper/default.nix index e1ee0ae2ab57..fd8324217f05 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 ];