blob: e4fb7eedae432aea55507f2da6f2c9d203578f27 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
{
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 = {
description = "Self-hosted file/code/media sharing website";
homepage = "https://put.icu";
license = lib.licenses.gpl3Only;
maintainers = [ ];
};
}
|