Merge pull request #177404 from azahi/waitron
waitron: unstable-2020-01-24 -> unstable-2020-08-04main
commit
5b40d7994d
@ -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; |
||||
}; |
||||
} |
||||
|
@ -1,57 +0,0 @@ |
||||
# This file was generated by https://github.com/kamilchm/go2nix v1.3.0 |
||||
[ |
||||
{ |
||||
goPackagePath = "github.com/flosch/pongo2"; |
||||
fetch = { |
||||
type = "git"; |
||||
url = "https://github.com/flosch/pongo2"; |
||||
rev = "bbf5a6c351f4d4e883daa40046a404d7553e0a00"; |
||||
sha256 = "0yqh58phznnxakm64w82gawrpndb0r85vsd1s7h244qqrq7w4avq"; |
||||
}; |
||||
} |
||||
{ |
||||
goPackagePath = "github.com/gorilla/handlers"; |
||||
fetch = { |
||||
type = "git"; |
||||
url = "https://github.com/gorilla/handlers"; |
||||
rev = "f08afc1876ad882db8074bcb8a4cc96107d3a5f4"; |
||||
sha256 = "1ysm6sw3jqa3h8pb5qpqgh44g91c23n3as277sh0vyp7282290jq"; |
||||
}; |
||||
} |
||||
{ |
||||
goPackagePath = "github.com/juju/errors"; |
||||
fetch = { |
||||
type = "git"; |
||||
url = "https://github.com/juju/errors"; |
||||
rev = "d42613fe1ab9e303fc850e7a19fda2e8eeb6516e"; |
||||
sha256 = "0qggzzvh9lzlfk8ixlyw8bw645rh0lrjrd367505hhl6cg18v8yf"; |
||||
}; |
||||
} |
||||
{ |
||||
goPackagePath = "github.com/julienschmidt/httprouter"; |
||||
fetch = { |
||||
type = "git"; |
||||
url = "https://github.com/julienschmidt/httprouter"; |
||||
rev = "8c9f31f047a304abedb5614d4a18a843cd5f4a40"; |
||||
sha256 = "00f5ja1yslrjclx3sf29mzpcsrpfd15kkw5ygv7n4jsyb4v3xgj6"; |
||||
}; |
||||
} |
||||
{ |
||||
goPackagePath = "github.com/satori/go.uuid"; |
||||
fetch = { |
||||
type = "git"; |
||||
url = "https://github.com/satori/go.uuid"; |
||||
rev = "b2ce2384e17bbe0c6d34077efa39dbab3e09123b"; |
||||
sha256 = "1yz4cx02377ijlf8mnn84j1dcmlwh8ncx7y3kw1zg2qw0z4x119c"; |
||||
}; |
||||
} |
||||
{ |
||||
goPackagePath = "gopkg.in/yaml.v2"; |
||||
fetch = { |
||||
type = "git"; |
||||
url = "https://gopkg.in/yaml.v2"; |
||||
rev = "53403b58ad1b561927d19068c655246f2db79d48"; |
||||
sha256 = "1inf7svydzscwv9fcjd2rm61a4xjk6jkswknybmns2n58shimapw"; |
||||
}; |
||||
} |
||||
] |
Loading…
Reference in new issue