summary refs log tree commit diff
path: root/pkgs/tools/backup/ori/default.nix
blob: 5e6e6a95ae72a628e093c0e0392e02686d184656 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
{ lib, stdenv, fetchurl, boost, pkg-config, scons, util-linux, fuse, libevent, openssl, zlib }:

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 = [
    boost pkg-config scons util-linux fuse libevent openssl zlib
  ];

  buildPhase = ''
    scons PREFIX=$out WITH_ORILOCAL=1 install
  '';

  installPhase = ":";

  meta = with lib; {
    description = "A secure distributed file system";
    homepage = "http://ori.scs.stanford.edu/";
    license = licenses.mit;
    platforms = platforms.unix;
    broken = true; # 2018-04-11
  };
}