parent
d720e62914
commit
3619fa9065
@ -2,17 +2,21 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "aws-c-common";
|
pname = "aws-c-common";
|
||||||
version = "0.3.11";
|
version = "0.4.63";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "awslabs";
|
owner = "awslabs";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "0a7hi4crnc3j1j39qcnd44zqdfwzw1xghcf80marx5vdf1qdzy6p";
|
sha256 = "16bc6fn1gq3nqcrzgpi2kjphq7xkkr73aljakrg89ysm6hyzyim9";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ cmake ];
|
nativeBuildInputs = [ cmake ];
|
||||||
|
|
||||||
|
cmakeFlags = [
|
||||||
|
"-DBUILD_SHARED_LIBS=ON"
|
||||||
|
];
|
||||||
|
|
||||||
NIX_CFLAGS_COMPILE = lib.optionalString stdenv.isDarwin
|
NIX_CFLAGS_COMPILE = lib.optionalString stdenv.isDarwin
|
||||||
"-Wno-nullability-extension -Wno-typedef-redefinition";
|
"-Wno-nullability-extension -Wno-typedef-redefinition";
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user