2023-02-09 11:40:11 +00:00
|
|
|
{ lib
|
|
|
|
, rustPlatform
|
|
|
|
, fetchFromGitHub
|
|
|
|
}:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "erdtree";
|
2023-04-29 16:46:19 +00:00
|
|
|
version = "2.0.0";
|
2023-02-09 11:40:11 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "solidiquis";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2023-04-29 16:46:19 +00:00
|
|
|
hash = "sha256-Bn3gW8jfiX7tuANktAKO5ceokFtvURy2UZoL0+IBPaM=";
|
2023-02-09 11:40:11 +00:00
|
|
|
};
|
|
|
|
|
2023-04-29 16:46:19 +00:00
|
|
|
cargoHash = "sha256-Z3R8EmclmEditbGBb1Dd1hgGm34boCSI/fh3TBXxMG0=";
|
2023-02-09 11:40:11 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "File-tree visualizer and disk usage analyzer";
|
|
|
|
homepage = "https://github.com/solidiquis/erdtree";
|
2023-03-24 00:07:29 +00:00
|
|
|
changelog = "https://github.com/solidiquis/erdtree/releases/tag/${src.rev}";
|
2023-02-09 11:40:11 +00:00
|
|
|
license = licenses.mit;
|
2023-03-24 00:07:29 +00:00
|
|
|
maintainers = with maintainers; [ figsoda zendo ];
|
2023-04-29 16:46:19 +00:00
|
|
|
mainProgram = "erd";
|
2023-02-09 11:40:11 +00:00
|
|
|
};
|
|
|
|
}
|