broot: 1.18.0 -> 1.19.0

https://github.com/Canop/broot/releases/tag/v1.19.0

Fetch the source from GitHub because the newest version has not yet
been released on crates.io.
This commit is contained in:
kilianar 2023-01-04 17:04:15 +01:00 committed by Bjørn Forsman
parent 6b7c5ac098
commit 2f0f80b7fe

View File

@ -1,7 +1,7 @@
{ lib
, stdenv
, rustPlatform
, fetchCrate
, fetchFromGitHub
, installShellFiles
, makeWrapper
, pkg-config
@ -15,14 +15,16 @@
rustPlatform.buildRustPackage rec {
pname = "broot";
version = "1.18.0";
version = "1.19.0";
src = fetchCrate {
inherit pname version;
sha256 = "sha256-GR0a5NDJBcRLoNOeG6S+fP3Fr7r5fVB9oEcjANRYJt4=";
src = fetchFromGitHub {
owner = "Canop";
repo = pname;
rev = "v${version}";
hash = "sha256-pg+eHmClDd04tWljQUS0IRyMzkHnkpkofuhz/KyQbWo=";
};
cargoHash = "sha256-Hk9bc1mo8GxcPICKXc9zDq18S5TZElDncxJ+w2fC2do=";
cargoHash = "sha256-+RUYC39L7yyh1xYPfZn7tDIf1cmmBuGcqTNibFk7s6M=";
nativeBuildInputs = [
installShellFiles