about summary refs log tree commit diff
path: root/pkgs/tools/networking/waitron/default.nix
blob: 4f2f634d4942dd40279f1502b269f05d8ffee464 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
{ lib, buildGoPackage, fetchFromGitHub, fetchhg, fetchbzr, fetchsvn }:

buildGoPackage rec {
  pname = "waitron";
  version = "unstable-2020-01-24";

  goPackagePath = "github.com/ns1/waitron";

  src = fetchFromGitHub {
    owner = "ns1";
    repo = "waitron";
    rev = "c96833619cbb0cf2bc71b1d7b534101e139cc6e6";
    sha256 = "sha256-ZkGhEOckIOYGb6Yjr4I4e9cjAHDfksRwHW+zgOMZ/FE=";
  };

  patches = [
    ./staticfiles-directory.patch
  ];

  goDeps = ./deps.nix;

  meta = {
    description = "A tool to manage network booting of machines";
    homepage = "https://github.com/ns1/waitron";
    license =  lib.licenses.asl20;
    maintainers = with lib.maintainers; [ guibert ];
    platforms = lib.platforms.linux;
  };
}