figsoda
2023-02-28 15:45:20 -05:00
parent 4389f86425
commit bb7879af92
+9 -6
View File
@@ -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 ];
};