overlays/trainbot: init at unstable-2023-05-04

This commit is contained in:
Astro 2023-05-05 00:46:21 +02:00
parent 87d4e94e8f
commit 1b7191563a
2 changed files with 23 additions and 0 deletions

View File

@ -114,4 +114,6 @@ with final; {
if true
then throw "tracer-game: haddock runs on affection for 10 hours and more"
else tracer.packages.${system}.tracer-game;
trainbot = callPackage ./trainbot.nix { };
}

21
overlays/trainbot.nix Normal file
View File

@ -0,0 +1,21 @@
{ lib
, buildGoModule
, fetchFromGitHub
, ffmpeg
}:
buildGoModule {
pname = "trainbot";
version = "unstable-2023-05-04";
src = fetchFromGitHub {
owner = "jo-m";
repo = "trainbot";
rev = "70cfe6aea483dc8c9936a006efe3c0b3ed271209";
sha256 = "sha256-T6IrSfRiEQJ4mUdsvBpp+9Q6hb74eRnphxDTXH9ui0k=";
};
checkInputs = [ ffmpeg ];
vendorHash = "sha256-DphXCfPW4w0aGI1e3aKQ9pDAMJ8wioPCDqRUR5gJ+Q4=";
}