1
0
Fork 0

usrsctp: init at 0.9.5.0

master
Andreas Wiese 2021-03-13 21:38:33 +01:00
parent 4886938bc3
commit 0045ea5d02
3 changed files with 31 additions and 4 deletions

View File

@ -5,4 +5,6 @@ let
in rec { in rec {
usrsctp = callPackage ./pkgs/usrsctp { };
} }

View File

@ -27,10 +27,9 @@
overlay = next: prev: overlay = next: prev:
let localPkgs = import ./. { pkgs = next; }; let localPkgs = import ./. { pkgs = next; };
in { in {
#inherit (localPkgs) inherit (localPkgs)
# foo usrsctp
# bar ;
# ;
}; };
}; };

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

@ -0,0 +1,26 @@
{ lib, stdenv, fetchFromGitHub, which, libtool, autoconf, automake }:
stdenv.mkDerivation rec {
pname = "usrsctp";
version = "0.9.5.0";
src = fetchFromGitHub {
owner = "sctplab";
repo = pname;
rev = version;
sha256 = "sha256-Sengtkg4UoA03cPy5+dRSr5qKIttWHEKn48udOP8zYI=";
};
nativeBuildInputs = [ which libtool autoconf automake ];
NIX_CFLAGS_COMPILE = "-O2";
preConfigure = "./bootstrap";
meta = with lib; {
description = "A userland SCTP stack supporting FreeBSD, Linux, Mac OS X and Windows";
homepage = src.meta.homepage;
maintainers = with maintainers; [ aw ];
license = licenses.bsd3;
};
}