nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 buildGoModule,
4 fetchFromGitHub,
5}:
6
7buildGoModule {
8 pname = "tdfgo";
9 version = "0-unstable-2022-08-25";
10
11 src = fetchFromGitHub {
12 owner = "digitallyserviced";
13 repo = "tdfgo";
14 rev = "9f0b3315eed32409639a05aca55d7a0252681193";
15 sha256 = "sha256-Lr4+bXdVxYbCXKVzE+fjeLD559HuABK6lOLJ0sBBGNY=";
16 };
17
18 vendorHash = "sha256-T6PSs5NfXSXvzlq67rIDbzURyA+25df3nMMfufo0fow=";
19
20 meta = with lib; {
21 description = "TheDraw font parser and console text renderer";
22 longDescription = "Supports more fonts than `tdfiglet`, and packs more features.";
23 homepage = "https://github.com/digitallyserviced/tdfgo";
24 license = licenses.cc0;
25 platforms = platforms.linux;
26 maintainers = with maintainers; [ crinklywrappr ];
27 mainProgram = "tdfgo";
28 };
29}