nixpkgs/pkgs/tools/system/tre-command/default.nix
Daniel Duan 72d867a120 tre-command: 0.2.3 -> 0.3.1
Also, change `pname` to match the actual desired name. Avoid name
conflict with the other (older) package named `tre`.
2020-06-15 21:30:11 -07:00

24 lines
591 B
Nix

{ rustPlatform, fetchFromGitHub, stdenv }:
rustPlatform.buildRustPackage rec {
pname = "tre-command";
version = "0.3.1";
src = fetchFromGitHub {
owner = "dduan";
repo = "tre";
rev = "v${version}";
sha256 = "1fm3fszy7fd0dgf5dwm35nb0ym0waw92iyx128lr2vlbyzln6ija";
};
cargoSha256 = "0sk4dn5rrqhkaxm76y1d7rsjsw6pdjdhb2xv7qqrlivfk6y5k31x";
meta = with stdenv.lib; {
description = "Tree command, improved";
homepage = "https://github.com/dduan/tre";
license = licenses.mit;
maintainers = [ maintainers.dduan ];
platforms = platforms.all;
};
}