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