forked from mirrors/nixpkgs
131a32a5af
As mentioned in #79975, the default on `legacyCargoFetcher` if left unspecified is now `false`.
24 lines
583 B
Nix
24 lines
583 B
Nix
{ rustPlatform, fetchFromGitHub, stdenv }:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "tre";
|
|
version = "0.2.2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "dduan";
|
|
repo = "tre";
|
|
rev = "v${version}";
|
|
sha256 = "1fazw2wn738iknbv54gv7qll7d4q2gy9bq1s3f3cv21cdv6bqral";
|
|
};
|
|
|
|
cargoSha256 = "1m3ccp5ncafkifg8sxyxczsg3ja1gvq8wmgni68bgzm2lwxh2qgw";
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "Tree command, improved";
|
|
homepage = "https://github.com/dduan/tre";
|
|
license = licenses.mit;
|
|
maintainers = [ maintainers.dduan ];
|
|
platforms = platforms.all;
|
|
};
|
|
}
|