rust-traverse: init at 2.0.0

https://github.com/dmcg310/Rust-Traverse

figsoda 1792924a 6ddd81bf

+49
+47
pkgs/applications/misc/rust-traverse/default.nix
···
··· 1 + { lib 2 + , rustPlatform 3 + , fetchFromGitHub 4 + , pkg-config 5 + , bzip2 6 + , zstd 7 + , stdenv 8 + , darwin 9 + }: 10 + 11 + rustPlatform.buildRustPackage rec { 12 + pname = "rust-traverse"; 13 + version = "2.0.0"; 14 + 15 + src = fetchFromGitHub { 16 + owner = "dmcg310"; 17 + repo = "Rust-Traverse"; 18 + rev = "v${version}"; 19 + hash = "sha256-OcCWmBNDo4AA5Pk5TQqb8hen9LlHaY09Wrm4BkrU7qA="; 20 + }; 21 + 22 + cargoHash = "sha256-aZ0KewzeC6o+wW2EejodHnOPbuTLjRufEYGWDyoqkq0="; 23 + 24 + nativeBuildInputs = [ 25 + pkg-config 26 + ]; 27 + 28 + buildInputs = [ 29 + bzip2 30 + zstd 31 + ] ++ lib.optionals stdenv.isDarwin [ 32 + darwin.apple_sdk_11_0.frameworks.Foundation 33 + ]; 34 + 35 + env = { 36 + ZSTD_SYS_USE_PKG_CONFIG = true; 37 + }; 38 + 39 + meta = with lib; { 40 + description = "Terminal based file explorer"; 41 + homepage = "https://github.com/dmcg310/Rust-Traverse"; 42 + changelog = "https://github.com/dmcg310/Rust-Traverse/releases/tag/${src.rev}"; 43 + license = licenses.mit; 44 + maintainers = with maintainers; [ figsoda ]; 45 + mainProgram = "rt"; 46 + }; 47 + }
+2
pkgs/top-level/all-packages.nix
··· 35272 35273 runc = callPackage ../applications/virtualization/runc { }; 35274 35275 rusty-psn = callPackage ../applications/misc/rusty-psn { }; 35276 35277 rusty-psn-gui = rusty-psn.override { withGui = true; };
··· 35272 35273 runc = callPackage ../applications/virtualization/runc { }; 35274 35275 + rust-traverse = callPackage ../applications/misc/rust-traverse { }; 35276 + 35277 rusty-psn = callPackage ../applications/misc/rusty-psn { }; 35278 35279 rusty-psn-gui = rusty-psn.override { withGui = true; };