nixpkgs/pkgs/tools/system/erdtree/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

28 lines
698 B
Nix
Raw Normal View History

2023-02-06 11:34:50 +00:00
{ lib
, rustPlatform
, fetchFromGitHub
}:
rustPlatform.buildRustPackage rec {
pname = "erdtree";
version = "3.1.2";
2023-02-06 11:34:50 +00:00
src = fetchFromGitHub {
owner = "solidiquis";
repo = pname;
rev = "v${version}";
hash = "sha256-rm3j1exvdlJtMXgFeRmzr3YU/sLpQFL3PCa8kLVlinM=";
2023-02-06 11:34:50 +00:00
};
cargoHash = "sha256-rHrdGL/2diBwsWJyg7gaa6UmcUdvGhUPhLNESSBvDDg=";
2023-02-06 11:34:50 +00:00
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}";
2023-02-06 11:34:50 +00:00
license = licenses.mit;
maintainers = with maintainers; [ figsoda zendo ];
mainProgram = "erd";
2023-02-06 11:34:50 +00:00
};
}