obliv-c: 0.0pre20161001 -> 0.0pre20170827
This commit is contained in:
parent
ccd255776e
commit
371a2ee707
@ -1,15 +1,20 @@
|
|||||||
{stdenv, fetchurl, ocaml, libgcrypt, fetchFromGitHub, ocamlPackages, perl}:
|
{stdenv, fetchurl, ocaml, libgcrypt, fetchFromGitHub, ocamlPackages, perl}:
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "obliv-c-${version}";
|
name = "obliv-c-${version}";
|
||||||
version = "0.0pre20161001";
|
version = "0.0pre20170827";
|
||||||
buildInputs = [ ocaml ocamlPackages.findlib perl ];
|
buildInputs = [ ocaml ocamlPackages.findlib perl ];
|
||||||
propagatedBuildInputs = [ libgcrypt ];
|
propagatedBuildInputs = [ libgcrypt ];
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "samee";
|
owner = "samee";
|
||||||
repo = "obliv-c";
|
repo = "obliv-c";
|
||||||
rev = "32d71fb46983aded604045e8cda7874d8fb160a2";
|
rev = "9a6be5a5f44d341bc357055e11922f6a4c4c3b65";
|
||||||
sha256 = "05bicvalsfabngvf41q02bcyzkibmyihj7naqd53kdq75xa1yf37";
|
sha256 = "0jz2ayadx62zv2b5ji947bkvw63axl4a2q70lwli86zgmcl390gf";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
preBuild = ''
|
||||||
|
patchShebangs .
|
||||||
|
'';
|
||||||
|
|
||||||
preInstall = ''
|
preInstall = ''
|
||||||
mkdir -p "$out/bin"
|
mkdir -p "$out/bin"
|
||||||
cp bin/* "$out/bin"
|
cp bin/* "$out/bin"
|
||||||
@ -23,6 +28,7 @@ stdenv.mkDerivation rec {
|
|||||||
gcc $(ar t _build/libobliv.a | sed -e 's@^@_build/@') --shared -o _build/libobliv.so
|
gcc $(ar t _build/libobliv.a | sed -e 's@^@_build/@') --shared -o _build/libobliv.so
|
||||||
cp _build/lib*.a _build/lib*.so* "$out/lib"
|
cp _build/lib*.a _build/lib*.so* "$out/lib"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
inherit version;
|
inherit version;
|
||||||
description = ''A GCC wrapper that makes it easy to embed secure computation protocols inside regular C programs'';
|
description = ''A GCC wrapper that makes it easy to embed secure computation protocols inside regular C programs'';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user