nixpkgs/pkgs/development/libraries/kronosnet/default.nix
2023-01-06 18:10:37 +00:00

34 lines
770 B
Nix

{ lib, stdenv, fetchFromGitHub
, autoreconfHook, pkg-config
, libqb, libxml2, libnl, lksctp-tools
, nss, openssl, bzip2, lzo, lz4, xz, zlib, zstd
, doxygen
}:
stdenv.mkDerivation rec {
pname = "kronosnet";
version = "1.25";
src = fetchFromGitHub {
owner = pname;
repo = pname;
rev = "v${version}";
sha256 = "sha256-NEmkgKTm+R4lzqjbQTyQ6TDpjoTQtMKiTpzn25HUfYk=";
};
nativeBuildInputs = [ autoreconfHook pkg-config doxygen ];
buildInputs = [
libqb libxml2 libnl lksctp-tools
nss openssl
bzip2 lzo lz4 xz zlib zstd
];
meta = with lib; {
description = "VPN on steroids";
homepage = "https://kronosnet.org/";
license = with licenses; [ lgpl21Plus gpl2Plus ];
maintainers = with maintainers; [ ryantm ];
};
}