Personal Monorepo ❄️
at main 48 lines 861 B view raw
1{ 2 lib, 3 rustPlatform, 4 fetchFromGitHub, 5 pkg-config, 6 bzip2, 7 fontconfig, 8 freetype, 9 xz, 10 zstd, 11}: 12rustPlatform.buildRustPackage (finalAttrs: { 13 pname = "datui"; 14 version = "0.2.49"; 15 16 src = fetchFromGitHub { 17 owner = "derekwisong"; 18 repo = "datui"; 19 tag = "v${finalAttrs.version}"; 20 hash = "sha256-j9Hk+HkGS6Y2v2kLlusAEUrZLoHs5xHZwViFW7p4cQY="; 21 }; 22 23 cargoHash = "sha256-eeD0dTRgIkjtUPna2kLwhI9vKqb4mxbBWQj2hEXoIiI="; 24 25 nativeBuildInputs = [ 26 pkg-config 27 ]; 28 29 buildInputs = [ 30 bzip2 31 fontconfig 32 freetype 33 xz 34 zstd 35 ]; 36 37 env = { 38 ZSTD_SYS_USE_PKG_CONFIG = true; 39 }; 40 41 meta = { 42 description = "Data Exploration in the Terminal"; 43 homepage = "https://github.com/derekwisong/datui"; 44 license = lib.licenses.mit; 45 maintainers = with lib.maintainers; [noverby]; 46 mainProgram = "datui"; 47 }; 48})