nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 39 lines 880 B view raw
1{ 2 lib, 3 buildGoModule, 4 fetchFromGitHub, 5 nix-update-script, 6}: 7 8buildGoModule (finalAttrs: { 9 pname = "bit-logo"; 10 version = "0.3.0"; 11 12 src = fetchFromGitHub { 13 owner = "superstarryeyes"; 14 repo = "bit"; 15 tag = "v${finalAttrs.version}"; 16 hash = "sha256-iLwWKn8csoRkr5H8R2kpZVZCxsL0LDWHNvNoxyM6y98="; 17 }; 18 19 vendorHash = "sha256-Zxw0NyZfM42ytn+vDExLwRgNLWsdGVLC3iNVpQd8VMw="; 20 21 ldflags = [ 22 "-s" 23 "-w" 24 ]; 25 26 passthru.updateScript = nix-update-script { }; 27 28 meta = { 29 description = "Terminal ANSI Logo Designer & Font Library"; 30 longDescription = '' 31 CLI/TUI logo designer + ANSI font library with gradient colors, 32 shadows, and multi-format export. 33 ''; 34 homepage = "https://github.com/superstarryeyes/bit"; 35 license = lib.licenses.mit; 36 maintainers = with lib.maintainers; [ yiyu ]; 37 mainProgram = "bit-logo"; 38 }; 39})