nixpkgs/pkgs/tools/misc/broot/default.nix

24 lines
673 B
Nix
Raw Normal View History

2019-02-13 03:39:22 -08:00
{ stdenv, rustPlatform, fetchFromGitHub }:
rustPlatform.buildRustPackage rec {
2019-03-15 14:38:44 -07:00
pname = "broot";
2019-09-14 03:01:48 -07:00
version = "0.9.4";
2019-02-13 03:39:22 -08:00
src = fetchFromGitHub {
owner = "Canop";
2019-03-15 14:38:44 -07:00
repo = pname;
2019-02-13 03:39:22 -08:00
rev = "v${version}";
2019-09-14 03:01:48 -07:00
sha256 = "1im04vlhmjdwzp19pizk4bmzvybgjg40ig833qx5lbisfs74xyxw";
2019-02-13 03:39:22 -08:00
};
2019-09-14 03:01:48 -07:00
cargoSha256 = "0675995zh9nn690kdha3zfsa157173rxwcqz0kasbl9byjczi6sm";
2019-02-13 03:39:22 -08:00
meta = with stdenv.lib; {
description = "An interactive tree view, a fuzzy search, a balanced BFS descent and customizable commands";
2019-03-15 14:38:44 -07:00
homepage = "https://dystroy.org/broot/";
2019-02-13 03:39:22 -08:00
maintainers = with maintainers; [ magnetophon ];
license = with licenses; [ mit ];
platforms = platforms.all;
};
}