1{ lib, buildGoModule, fetchFromGitHub }:
2
3buildGoModule rec {
4 pname = "pixiecore";
5 version = "2020-03-25";
6 rev = "68743c67a60c18c06cd21fd75143e3e069ca3cfc";
7
8 src = fetchFromGitHub {
9 owner = "danderson";
10 repo = "netboot";
11 inherit rev;
12 hash = "sha256-SoD871PaL5/oabKeHFE2TLTTj/CFS4dfggjMN3qlupE=";
13 };
14
15 vendorHash = "sha256-hytMhf7fz4XiRJH7MnGLmNH+iIzPDz9/rRJBPp2pwyI=";
16
17 doCheck = false;
18
19 subPackages = [ "cmd/pixiecore" ];
20
21 meta = {
22 description = "A tool to manage network booting of machines";
23 homepage = "https://github.com/danderson/netboot/tree/master/pixiecore";
24 license = lib.licenses.asl20;
25 maintainers = with lib.maintainers; [ bbigras ];
26 mainProgram = "pixiecore";
27 };
28}