Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
35 lines
784 B
Nix
35 lines
784 B
Nix
{
|
|
buildGoModule,
|
|
fetchFromGitHub,
|
|
go-rice,
|
|
lib,
|
|
}:
|
|
|
|
buildGoModule {
|
|
pname = "linx-server";
|
|
version = "unstable-2021-12-24";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "zizzydizzymc";
|
|
repo = "linx-server";
|
|
rev = "3f503442f10fca68a3212975b23cf74d92c9988c";
|
|
hash = "sha256-tTHw/rIb2Gs5i5vZKsSgbUePIY7Np6HofBXu4TTjKbw=";
|
|
};
|
|
|
|
# upstream tests are broken, see zizzydizzymc/linx-server#34
|
|
patches = [ ./test.patch ];
|
|
|
|
vendorHash = "sha256-/N3AXrPyENp3li4X86LNXsfBYbjJulk+0EAyogPNIpc=";
|
|
|
|
nativeBuildInputs = [ go-rice ];
|
|
|
|
preBuild = "rice embed-go";
|
|
|
|
meta = with lib; {
|
|
description = "Self-hosted file/code/media sharing website";
|
|
homepage = "https://put.icu";
|
|
license = licenses.gpl3Only;
|
|
maintainers = with maintainers; [ urandom ];
|
|
};
|
|
}
|