nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 44 lines 838 B view raw
1{ 2 lib, 3 rustPlatform, 4 fetchFromGitHub, 5 pkg-config, 6 bzip2, 7 zstd, 8}: 9 10rustPlatform.buildRustPackage rec { 11 pname = "rust-traverse"; 12 version = "2.0.0"; 13 14 src = fetchFromGitHub { 15 owner = "dmcg310"; 16 repo = "Rust-Traverse"; 17 rev = "v${version}"; 18 hash = "sha256-OcCWmBNDo4AA5Pk5TQqb8hen9LlHaY09Wrm4BkrU7qA="; 19 }; 20 21 cargoHash = "sha256-UGPXV55+0w6QFYxfmmimSX/dleCdtEahveNi8DgSVzQ="; 22 23 nativeBuildInputs = [ 24 pkg-config 25 ]; 26 27 buildInputs = [ 28 bzip2 29 zstd 30 ]; 31 32 env = { 33 ZSTD_SYS_USE_PKG_CONFIG = true; 34 }; 35 36 meta = { 37 description = "Terminal based file explorer"; 38 homepage = "https://github.com/dmcg310/Rust-Traverse"; 39 changelog = "https://github.com/dmcg310/Rust-Traverse/releases/tag/${src.rev}"; 40 license = lib.licenses.mit; 41 maintainers = [ ]; 42 mainProgram = "rt"; 43 }; 44}