usrsctp: init at 0.9.5.0
parent
4886938bc3
commit
0045ea5d02
|
@ -5,4 +5,6 @@ let
|
|||
|
||||
in rec {
|
||||
|
||||
usrsctp = callPackage ./pkgs/usrsctp { };
|
||||
|
||||
}
|
||||
|
|
|
@ -27,10 +27,9 @@
|
|||
overlay = next: prev:
|
||||
let localPkgs = import ./. { pkgs = next; };
|
||||
in {
|
||||
#inherit (localPkgs)
|
||||
# foo
|
||||
# bar
|
||||
# ;
|
||||
inherit (localPkgs)
|
||||
usrsctp
|
||||
;
|
||||
};
|
||||
|
||||
};
|
||||
|
|
|
@ -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;
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue