24 lines
652 B
Nix
24 lines
652 B
Nix
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
buildGoModule rec {
|
|
pname = "f1viewer";
|
|
version = "2.7.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "SoMuchForSubtlety";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "sha256-jXC2dENXuqicNQqTHyZKsjibDvjta/npQmf3+uivjX0=";
|
|
};
|
|
|
|
vendorHash = "sha256-UNeH3zxgssXxFpJws6nAL8EgXt0DRyAQfmlJWz/qyDg=";
|
|
|
|
meta = with lib; {
|
|
description =
|
|
"A TUI to view Formula 1 footage using VLC or another media player";
|
|
homepage = "https://github.com/SoMuchForSubtlety/f1viewer";
|
|
license = licenses.gpl3Only;
|
|
maintainers = with maintainers; [ michzappa ];
|
|
mainProgram = "f1viewer";
|
|
};
|
|
}
|