21 lines
471 B
Nix
21 lines
471 B
Nix
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
buildGoModule rec {
|
|
pname = "pterodactyl-wings";
|
|
version = "1.11.13";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "pterodactyl";
|
|
repo = "wings";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-UpYUHWM2J8nH+srdKSpFQEaPx2Rj2+YdphV8jJXcoBU=";
|
|
};
|
|
|
|
vendorHash = "sha256-eWfQE9cQ7zIkITWwnVu9Sf9vVFjkQih/ZW77d6p/Iw0=";
|
|
#subPackages = [ "." ];
|
|
|
|
ldflags = [
|
|
"-X github.com/pterodactyl/wings/system.Version=${version}"
|
|
];
|
|
}
|