nix-config/overlays/trainbot.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

24 lines
463 B
Nix
Raw Normal View History

{ lib
2023-05-05 19:27:16 +02:00
, stdenv
, 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 ];
2023-05-05 19:27:16 +02:00
doCheck = stdenv.isx86_64;
vendorHash = "sha256-DphXCfPW4w0aGI1e3aKQ9pDAMJ8wioPCDqRUR5gJ+Q4=";
}