mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-24 22:53:42 +00:00
77de627636
Diff: https://github.com/solidiquis/erdtree/compare/v3.1.1...v3.1.2 Changelog: https://github.com/solidiquis/erdtree/releases/tag/v3.1.2
28 lines
698 B
Nix
28 lines
698 B
Nix
{ lib
|
|
, rustPlatform
|
|
, fetchFromGitHub
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "erdtree";
|
|
version = "3.1.2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "solidiquis";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
hash = "sha256-rm3j1exvdlJtMXgFeRmzr3YU/sLpQFL3PCa8kLVlinM=";
|
|
};
|
|
|
|
cargoHash = "sha256-rHrdGL/2diBwsWJyg7gaa6UmcUdvGhUPhLNESSBvDDg=";
|
|
|
|
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";
|
|
};
|
|
}
|