2023-02-09 11:40:11 +00:00
|
|
|
{ lib
|
|
|
|
, rustPlatform
|
|
|
|
, fetchFromGitHub
|
|
|
|
}:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "erdtree";
|
2023-07-15 17:15:38 +00:00
|
|
|
version = "3.1.2";
|
2023-02-09 11:40:11 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "solidiquis";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2023-07-15 17:15:38 +00:00
|
|
|
hash = "sha256-rm3j1exvdlJtMXgFeRmzr3YU/sLpQFL3PCa8kLVlinM=";
|
2023-02-09 11:40:11 +00:00
|
|
|
};
|
|
|
|
|
2023-07-15 17:15:38 +00:00
|
|
|
cargoHash = "sha256-rHrdGL/2diBwsWJyg7gaa6UmcUdvGhUPhLNESSBvDDg=";
|
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
|
|
|
};
|
|
|
|
}
|