feat: Scaffold the nixos modules
The modules themselves don't work yet, but the flake does ! Yay ! (that was way too complicated wtf)
This commit is contained in:
parent
795019f467
commit
6fbd9b2a6c
6 changed files with 282 additions and 42 deletions
22
packages/wings.nix
Normal file
22
packages/wings.nix
Normal file
|
@ -0,0 +1,22 @@
|
|||
{ pkgs }:
|
||||
|
||||
let
|
||||
version = "1.11.13";
|
||||
in pkgs.buildGoModule rec {
|
||||
pname = "pterodactyl-wings";
|
||||
version = "1.11.13";
|
||||
|
||||
src = pkgs.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}"
|
||||
];
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue