mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-28 00:24:18 +00:00
6b362daf75
Diff: https://github.com/solidiquis/erdtree/compare/v1.8.1...v2.0.0 Changelog: https://github.com/solidiquis/erdtree/releases/tag/v2.0.0
28 lines
698 B
Nix
28 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";
|
|
};
|
|
}
|