2021-01-17 09:17:16 +00:00
|
|
|
{ lib, stdenv, fetchurl, boost, pkg-config, scons, util-linux, fuse, libevent, openssl, zlib }:
|
2014-05-14 18:01:31 +00:00
|
|
|
|
2019-08-13 21:52:01 +00:00
|
|
|
stdenv.mkDerivation {
|
2014-05-14 18:01:31 +00:00
|
|
|
version = "0.8.1";
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "ori";
|
2014-05-14 18:01:31 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://bitbucket.org/orifs/ori/downloads/ori-0.8.1.tar.xz";
|
|
|
|
sha256 = "8ce1a3dfbb6d1538885e993616bdfe71be44711d48f7f6798ff6bc0a39b3deca";
|
|
|
|
};
|
|
|
|
|
2021-01-19 21:20:11 +00:00
|
|
|
buildInputs = [
|
2021-01-17 09:17:16 +00:00
|
|
|
boost pkg-config scons util-linux fuse libevent openssl zlib
|
2014-05-14 18:01:31 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
buildPhase = ''
|
2014-05-15 21:00:18 +00:00
|
|
|
scons PREFIX=$out WITH_ORILOCAL=1 install
|
2014-05-14 18:01:31 +00:00
|
|
|
'';
|
|
|
|
|
|
|
|
installPhase = ":";
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2014-05-14 18:01:31 +00:00
|
|
|
description = "A secure distributed file system";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "http://ori.scs.stanford.edu/";
|
2014-05-14 18:01:31 +00:00
|
|
|
license = licenses.mit;
|
|
|
|
platforms = platforms.unix;
|
2018-04-11 09:36:35 +00:00
|
|
|
broken = true; # 2018-04-11
|
2014-05-14 18:01:31 +00:00
|
|
|
};
|
|
|
|
}
|