3
0
Fork 0
forked from mirrors/nixpkgs

broot: use fetchCrate

This commit is contained in:
Daniël de Kok 2020-08-26 14:59:14 +02:00
parent 923c9f62c4
commit 613627978a

View file

@ -1,6 +1,6 @@
{ stdenv
, rustPlatform
, fetchFromGitHub
, fetchCrate
, installShellFiles
, makeWrapper
, coreutils
@ -12,11 +12,9 @@ rustPlatform.buildRustPackage rec {
pname = "broot";
version = "0.20.3";
src = fetchFromGitHub {
owner = "Canop";
repo = pname;
rev = "v${version}";
sha256 = "0hbz7cslngl77qka8sl84fjhijbqbw69dj058ghhsgaxw06nypg2";
src = fetchCrate {
inherit pname version;
sha256 = "0vw956c5xpjsbd9b0ardvgi9jjqb230m2x5n4h9ai0yiwizc8rh6";
};
cargoSha256 = "1zl4p3n327iq7nm7hi79zjxv2gvw9f3lwgkg1qp52kycv1af5gqp";