mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-04 14:00:04 +00:00
43 lines
1.2 KiB
Nix
43 lines
1.2 KiB
Nix
{
|
|
lib,
|
|
buildDotnetModule,
|
|
fetchFromGitHub,
|
|
dotnetCorePackages,
|
|
}:
|
|
buildDotnetModule (finalAttrs: {
|
|
pname = "technitium-dns-server-library";
|
|
version = "15.5.1";
|
|
|
|
__structuredAttrs = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "TechnitiumSoftware";
|
|
repo = "TechnitiumLibrary";
|
|
tag = "dns-server-v${finalAttrs.version}";
|
|
hash = "sha256-GkHHAXfmT1MUSIG8zsPHBxtpKVSV7KMONLHy00lk10Y=";
|
|
};
|
|
|
|
dotnet-sdk = dotnetCorePackages.sdk_10_0;
|
|
|
|
nugetDeps = ./nuget-deps.json;
|
|
|
|
projectFile = [
|
|
"TechnitiumLibrary.ByteTree/TechnitiumLibrary.ByteTree.csproj"
|
|
"TechnitiumLibrary.Net/TechnitiumLibrary.Net.csproj"
|
|
"TechnitiumLibrary.Security.OTP/TechnitiumLibrary.Security.OTP.csproj"
|
|
];
|
|
|
|
meta = {
|
|
changelog = "https://github.com/TechnitiumSoftware/DnsServer/blob/master/CHANGELOG.md";
|
|
description = "Library for Authoritative and Recursive DNS server for Privacy and Security";
|
|
homepage = "https://github.com/TechnitiumSoftware/DnsServer";
|
|
license = lib.licenses.gpl3Only;
|
|
mainProgram = "technitium-dns-server-library";
|
|
maintainers = with lib.maintainers; [
|
|
fabianrig
|
|
awildleon
|
|
];
|
|
platforms = lib.platforms.linux;
|
|
};
|
|
})
|