1
0
Fork 0

usrsctp: init at (unstable-)2020-11-04

main
Andreas Wiese 2020-11-06 13:21:08 +01:00
parent b97a46705d
commit f68320d7cd
2 changed files with 32 additions and 2 deletions

View File

@ -10,8 +10,6 @@ with self; rec {
janus-gateway = callPackage ./pkgs/janus-gateway { };
nextcloud-spreed-signaling = callPackage ./pkgs/nextcloud-spreed-signaling { };
linux_5_9 = callPackage ./pkgs/linux/linux-5.9.nix {
kernelPatches = [
kernelPatches.bridge_stp_helper
@ -22,4 +20,7 @@ with self; rec {
linuxPackages_5_9 = recurseIntoAttrs (linuxPackagesFor linux_5_9);
linuxPackages_latest = linuxPackages_5_9;
nextcloud-spreed-signaling = callPackage ./pkgs/nextcloud-spreed-signaling { };
usrsctp = callPackage ./pkgs/usrsctp { };
}

29
pkgs/usrsctp/default.nix Normal file
View File

@ -0,0 +1,29 @@
{ stdenv, lib, fetchFromGitHub, which, libtool, autoconf, automake }:
let
version = "2020-11-04";
rev = "4098a99f47eb7145f6f7ce0b66a19f6b1b13ebfa";
sha256 = "1mfaz4ya5c2k1cpn5id4312qb9ni5sp9j7c57jxcfjx7bkds6k17";
in stdenv.mkDerivation rec {
pname = "usrsctp-unstable";
inherit version;
src = fetchFromGitHub {
owner = "sctplab";
repo = "usrsctp";
inherit rev sha256;
};
nativeBuildInputs = [
which
libtool
autoconf
automake
];
hardeningDisable = [
"fortify"
];
preConfigure = "./bootstrap";
}