2022-03-30 09:31:56 +00:00
|
|
|
{ lib, buildGoPackage, fetchFromGitHub, fetchhg, fetchbzr, fetchsvn }:
|
2020-10-19 23:25:03 +00:00
|
|
|
|
|
|
|
buildGoPackage rec {
|
2021-12-06 16:07:01 +00:00
|
|
|
pname = "waitron";
|
|
|
|
version = "unstable-2020-01-24";
|
2020-10-19 23:25:03 +00:00
|
|
|
|
|
|
|
goPackagePath = "github.com/ns1/waitron";
|
|
|
|
|
2022-03-30 09:31:56 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "ns1";
|
|
|
|
repo = "waitron";
|
|
|
|
rev = "c96833619cbb0cf2bc71b1d7b534101e139cc6e6";
|
|
|
|
sha256 = "sha256-ZkGhEOckIOYGb6Yjr4I4e9cjAHDfksRwHW+zgOMZ/FE=";
|
2020-10-19 23:25:03 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
patches = [
|
|
|
|
./staticfiles-directory.patch
|
|
|
|
];
|
|
|
|
|
|
|
|
goDeps = ./deps.nix;
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "A tool to manage network booting of machines";
|
|
|
|
homepage = "https://github.com/ns1/waitron";
|
2021-01-15 22:18:51 +00:00
|
|
|
license = lib.licenses.asl20;
|
|
|
|
maintainers = with lib.maintainers; [ guibert ];
|
|
|
|
platforms = lib.platforms.linux;
|
2020-10-19 23:25:03 +00:00
|
|
|
};
|
|
|
|
}
|