diff options
Diffstat (limited to 'pkgs/tools/networking/waitron/default.nix')
-rw-r--r-- | pkgs/tools/networking/waitron/default.nix | 33 |
1 files changed, 21 insertions, 12 deletions
diff --git a/pkgs/tools/networking/waitron/default.nix b/pkgs/tools/networking/waitron/default.nix index 4f2f634d4942d..7ef984147a322 100644 --- a/pkgs/tools/networking/waitron/default.nix +++ b/pkgs/tools/networking/waitron/default.nix @@ -1,29 +1,38 @@ -{ lib, buildGoPackage, fetchFromGitHub, fetchhg, fetchbzr, fetchsvn }: +{ lib +, buildGoModule +, fetchFromGitHub +}: -buildGoPackage rec { +buildGoModule rec { pname = "waitron"; - version = "unstable-2020-01-24"; - - goPackagePath = "github.com/ns1/waitron"; + version = "unstable-2020-08-04"; + rev = "2315857d94e3d1a1e79ac48f8f6a68d59d0ce300"; src = fetchFromGitHub { owner = "ns1"; repo = "waitron"; - rev = "c96833619cbb0cf2bc71b1d7b534101e139cc6e6"; + inherit rev; sha256 = "sha256-ZkGhEOckIOYGb6Yjr4I4e9cjAHDfksRwHW+zgOMZ/FE="; }; + vendorSha256 = "sha256-grQFLo0BIIa/kNKF4vPw/V1WN9sxOucz6+wET2PBU1I="; + + subPackages = [ "." ]; + patches = [ ./staticfiles-directory.patch ]; - goDeps = ./deps.nix; - - meta = { + meta = with lib; { description = "A tool to manage network booting of machines"; + longDescription = '' + Waitron is used to build machines (primarily bare-metal, but anything that + understands PXE booting will work) based on definitions from any number of + specified inventory sources. + ''; homepage = "https://github.com/ns1/waitron"; - license = lib.licenses.asl20; - maintainers = with lib.maintainers; [ guibert ]; - platforms = lib.platforms.linux; + license = licenses.asl20; + maintainers = with maintainers; [ guibert ]; + platforms = platforms.linux; }; } |