File tree Expand file tree Collapse file tree 1 file changed +37
-0
lines changed
Expand file tree Collapse file tree 1 file changed +37
-0
lines changed Original file line number Diff line number Diff line change 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+ }
You can’t perform that action at this time.
0 commit comments