nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at netboot-syslinux-multiplatform 22 lines 568 B view raw
1{ lib, rustPlatform, fetchFromGitHub }: 2 3rustPlatform.buildRustPackage rec { 4 pname = "fblog"; 5 version = "4.4.0"; 6 7 src = fetchFromGitHub { 8 owner = "brocode"; 9 repo = pname; 10 rev = "v${version}"; 11 hash = "sha256-f4iJ9Fp6Rd1jv2ywRCjvFHjbdCGb116NiQ42fvQUE8A="; 12 }; 13 14 cargoHash = "sha256-dt8OMlqNxd78sDxMPHG6jHEmF4LuFIMSo0BuQDWOM6o="; 15 16 meta = with lib; { 17 description = "A small command-line JSON log viewer"; 18 homepage = "https://github.com/brocode/fblog"; 19 license = licenses.wtfpl; 20 maintainers = with maintainers; [ figsoda ]; 21 }; 22}