at v192 28 lines 719 B view raw
1{ stdenv, fetchurl, boost, pkgconfig, scons, utillinux, fuse, libevent, openssl, zlib }: 2 3stdenv.mkDerivation rec { 4 version = "0.8.1"; 5 name = "ori-${version}"; 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 }; 28}