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

24 lines
673 B
Nix
Raw Normal View History

2019-02-13 12:39:22 +01:00
{ stdenv, rustPlatform, fetchFromGitHub }:
rustPlatform.buildRustPackage rec {
2019-03-15 22:38:44 +01:00
pname = "broot";
2019-04-05 20:34:32 +02:00
version = "0.7.5";
2019-02-13 12:39:22 +01:00
src = fetchFromGitHub {
owner = "Canop";
2019-03-15 22:38:44 +01:00
repo = pname;
2019-02-13 12:39:22 +01:00
rev = "v${version}";
2019-04-05 20:34:32 +02:00
sha256 = "1pwbz4ac2zb40g6q6ykzhzfbn0jr5xarkvgw9wxv455mbi67rd6y";
2019-02-13 12:39:22 +01:00
};
cargoSha256 = "0yph5mwxn6arfbxbvri5qa7wzwj1q0s675j6vblia9akn02fyqd9";
2019-02-13 12:39:22 +01:00
meta = with stdenv.lib; {
description = "An interactive tree view, a fuzzy search, a balanced BFS descent and customizable commands";
2019-03-15 22:38:44 +01:00
homepage = "https://dystroy.org/broot/";
2019-02-13 12:39:22 +01:00
maintainers = with maintainers; [ magnetophon ];
license = with licenses; [ mit ];
platforms = platforms.all;
};
}