37 lines
975 B
Nix
37 lines
975 B
Nix
{
|
|
lib,
|
|
buildDubPackage,
|
|
fetchFromGitHub,
|
|
zlib,
|
|
openssl_1_1,
|
|
}:
|
|
|
|
buildDubPackage rec {
|
|
pname = "anisette-v3-server";
|
|
version = "unstable-2026-08-01";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "Dadoum";
|
|
repo = "anisette-v3-server";
|
|
rev = "2ef18d7da2abe3a6d070aa478f774538b947aaa2";
|
|
hash = "sha256-G8loi2BTIRKamLeY8DiN4BLSrRxh13BNvs8bC2l9zNo=";
|
|
};
|
|
|
|
dubLock = ./dub-lock.json;
|
|
|
|
# openssl_1_1 is EOL and marked insecure in nixpkgs, but it's only a
|
|
# build-time link dependency (vibe-d 0.9.8 TLS needs symbols removed in
|
|
# OpenSSL 3). The resulting binary statically links it.
|
|
permittedInsecurePackages = [ "openssl-1.1.1w" ];
|
|
|
|
buildInputs = [ zlib openssl_1_1 ];
|
|
|
|
meta = {
|
|
description = "Anisette server implementing SideStore's anisette v3 protocol";
|
|
homepage = "https://github.com/Dadoum/anisette-v3-server";
|
|
license = lib.licenses.agpl3Only;
|
|
mainProgram = "anisette-v3-server";
|
|
platforms = lib.platforms.linux;
|
|
};
|
|
}
|