Skip to content

Commit c04b2e9

Browse files
committed
sbb-tui: init at 1.13.4
1 parent 63382f9 commit c04b2e9

File tree

1 file changed

+37
-0
lines changed

1 file changed

+37
-0
lines changed
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
{ lib
2+
, buildGoModule
3+
, fetchFromGitHub
4+
, nix-update-script
5+
}:
6+
7+
buildGoModule rec {
8+
pname = "sbb-tui";
9+
version = "1.13.4";
10+
11+
src = fetchFromGitHub {
12+
owner = "Necrom4";
13+
repo = "sbb-tui";
14+
rev = "v${version}";
15+
sha256 = "sha256-JLjAhs5UbqgNYqpA3cDucrAS6ell+0JiDJNf7G33Nhs=";
16+
};
17+
18+
vendorHash = "sha256-K4DOu3rfSlKAa5JNKCzWWpnWZlXXxtN5Po7p1Spqe1w=";
19+
20+
ldflags = [
21+
"-s"
22+
"-w"
23+
];
24+
25+
doCheck = true;
26+
27+
passthru.updateScript = nix-update-script { };
28+
29+
meta = with lib; {
30+
description = "TUI client for Switzerland's public transport timetables, inspired by SBB/CFF/FFS app";
31+
homepage = "https://github.com/Necrom4/sbb-tui";
32+
license = licenses.mit;
33+
platforms = platforms.unix;
34+
maintainers = with maintainers; [ tomasrivera ];
35+
mainProgram = "sbb-tui";
36+
};
37+
}

0 commit comments

Comments
 (0)