nixpkgs/pkgs/os-specific/linux/lksctp-tools/default.nix

25 lines
641 B
Nix

{ lib, stdenv, fetchFromGitHub, autoreconfHook }:
stdenv.mkDerivation rec {
pname = "lksctp-tools";
version = "1.0.19";
src = fetchFromGitHub {
owner = "sctp";
repo = "lksctp-tools";
rev = "v${version}";
hash = "sha256-QEgk9OPFCI5WknUDkqfswApCFeOF+620frQWMyQq2Mk=";
};
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;
};
}