mbedsock: Init
This commit is contained in:
15
packages/mbedsock.nix
Normal file
15
packages/mbedsock.nix
Normal file
@@ -0,0 +1,15 @@
|
||||
{
|
||||
stdenv, cmake, pkg-config
|
||||
, mbedtls
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
pname = "mbedsock";
|
||||
version = "0.1.1";
|
||||
|
||||
src = ./mbedsock;
|
||||
|
||||
cmakeFlags = [ "-DMBEDTLS_ROOT_DIR=${mbedtls}" ];
|
||||
|
||||
buildInputs = [ cmake mbedtls pkg-config ];
|
||||
}
|
||||
Reference in New Issue
Block a user