c7e6337bd0
GitOrigin-RevId: 08e4dc3a907a6dfec8bb3bbf1540d8abbffea22b
27 lines
698 B
Nix
27 lines
698 B
Nix
{ lib
|
|
, rustPlatform
|
|
, fetchFromGitHub
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "erdtree";
|
|
version = "2.0.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "solidiquis";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
hash = "sha256-Bn3gW8jfiX7tuANktAKO5ceokFtvURy2UZoL0+IBPaM=";
|
|
};
|
|
|
|
cargoHash = "sha256-Z3R8EmclmEditbGBb1Dd1hgGm34boCSI/fh3TBXxMG0=";
|
|
|
|
meta = with lib; {
|
|
description = "File-tree visualizer and disk usage analyzer";
|
|
homepage = "https://github.com/solidiquis/erdtree";
|
|
changelog = "https://github.com/solidiquis/erdtree/releases/tag/${src.rev}";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ figsoda zendo ];
|
|
mainProgram = "erd";
|
|
};
|
|
}
|