2021-01-15 22:18:51 +00:00
|
|
|
{ lib, stdenv, fetchurl, boost, pkgconfig, scons, util-linux, fuse, libevent, openssl, zlib }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
version = "0.8.1";
|
|
|
|
pname = "ori";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://bitbucket.org/orifs/ori/downloads/ori-0.8.1.tar.xz";
|
|
|
|
sha256 = "8ce1a3dfbb6d1538885e993616bdfe71be44711d48f7f6798ff6bc0a39b3deca";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [
|
2020-11-24 20:58:05 +00:00
|
|
|
boost pkgconfig scons util-linux fuse libevent openssl zlib
|
2020-04-24 23:36:52 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
buildPhase = ''
|
|
|
|
scons PREFIX=$out WITH_ORILOCAL=1 install
|
|
|
|
'';
|
|
|
|
|
|
|
|
installPhase = ":";
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "A secure distributed file system";
|
|
|
|
homepage = "http://ori.scs.stanford.edu/";
|
|
|
|
license = licenses.mit;
|
|
|
|
platforms = platforms.unix;
|
|
|
|
broken = true; # 2018-04-11
|
|
|
|
};
|
|
|
|
}
|