nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{ stdenv, fetchurl, boost, pkgconfig, scons, utillinux, fuse, libevent, openssl, zlib }:
2
3stdenv.mkDerivation {
4 version = "0.8.1";
5 pname = "ori";
6
7 src = fetchurl {
8 url = "https://bitbucket.org/orifs/ori/downloads/ori-0.8.1.tar.xz";
9 sha256 = "8ce1a3dfbb6d1538885e993616bdfe71be44711d48f7f6798ff6bc0a39b3deca";
10 };
11
12 buildInputs = [
13 boost pkgconfig scons utillinux fuse libevent openssl zlib
14 ];
15
16 buildPhase = ''
17 scons PREFIX=$out WITH_ORILOCAL=1 install
18 '';
19
20 installPhase = ":";
21
22 meta = with stdenv.lib; {
23 description = "A secure distributed file system";
24 homepage = http://ori.scs.stanford.edu/;
25 license = licenses.mit;
26 platforms = platforms.unix;
27 broken = true; # 2018-04-11
28 };
29}