depot/third_party/nixpkgs/pkgs/by-name/lk/lksctp-tools/package.nix

32 lines
666 B
Nix

{
lib,
stdenv,
fetchFromGitHub,
autoreconfHook,
}:
stdenv.mkDerivation rec {
pname = "lksctp-tools";
version = "1.0.21";
src = fetchFromGitHub {
owner = "sctp";
repo = "lksctp-tools";
rev = "v${version}";
hash = "sha256-+vbdNvHuJLYp901QgtBzMejlbzMyr9Z1eXxR3Zy7eAE=";
};
nativeBuildInputs = [ autoreconfHook ];
enableParallelBuilding = true;
meta = with lib; {
description = "Linux Kernel Stream Control Transmission Protocol Tools";
homepage = "https://github.com/sctp/lksctp-tools/wiki";
license = with licenses; [
gpl2Plus
lgpl21
]; # library is lgpl21
platforms = platforms.linux;
};
}