mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-04 05:50:00 +00:00
64 lines
898 B
Nix
64 lines
898 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchFromGitHub,
|
|
autoreconfHook,
|
|
pkg-config,
|
|
libqb,
|
|
libxml2,
|
|
libnl,
|
|
lksctp-tools,
|
|
nss,
|
|
openssl,
|
|
bzip2,
|
|
lzo,
|
|
lz4,
|
|
xz,
|
|
zlib,
|
|
zstd,
|
|
doxygen,
|
|
}:
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "kronosnet";
|
|
version = "1.33";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "kronosnet";
|
|
repo = "kronosnet";
|
|
tag = "v${finalAttrs.version}";
|
|
hash = "sha256-mLpHV54BqYmWNjkoNt2v/lu/QfMwkHeMgMUCDEGeUPI=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
autoreconfHook
|
|
pkg-config
|
|
doxygen
|
|
];
|
|
|
|
buildInputs = [
|
|
libqb
|
|
libxml2
|
|
libnl
|
|
lksctp-tools
|
|
nss
|
|
openssl
|
|
bzip2
|
|
lzo
|
|
lz4
|
|
xz
|
|
zlib
|
|
zstd
|
|
];
|
|
|
|
meta = {
|
|
description = "VPN on steroids";
|
|
homepage = "https://kronosnet.org/";
|
|
license = with lib.licenses; [
|
|
lgpl21Plus
|
|
gpl2Plus
|
|
];
|
|
maintainers = with lib.maintainers; [ ryantm ];
|
|
};
|
|
})
|