8 pname = "blocksruntime";
9 version = "unstable-2017-10-28";
11 src = fetchFromGitHub {
13 repo = "blocksruntime";
14 rev = "9cc93ae2b58676c23fd02cf0c686fa15b7a3ff81";
15 sha256 = "sha256-pQMNZBgkF4uADOVCWXB5J3qQt8JMe8vo6ZmbtSVA5Xo=";
20 ./buildlib ${lib.optionalString (!stdenv.hostPlatform.isStatic) "-shared"}
26 prefix="/" DESTDIR=$out ./installlib ${
27 if stdenv.hostPlatform.isStatic then "-static" else "-shared"
38 doCheck = false; # hasdescriptor.c test fails, hrm.
41 description = "Installs the BlocksRuntime library from the compiler-rt";
42 homepage = "https://github.com/mackyle/blocksruntime";
43 license = licenses.mit;