2014-10-28 16:42:12 +00:00
|
|
|
{ stdenv, fetchFromGitHub, openssl, which }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "mbox-20140526";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "tsgates";
|
|
|
|
repo = "mbox";
|
|
|
|
rev = "a131424b6cb577e1c916bd0e8ffb2084a5f73048";
|
|
|
|
sha256 = "06qggqxnzcxnc34m6sbafxwr2p64x65m9zm5wp7pwyarcckhh2hd";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ openssl which ];
|
|
|
|
|
|
|
|
preConfigure = ''
|
|
|
|
cd src
|
|
|
|
cp {.,}configsbox.h
|
|
|
|
'';
|
|
|
|
|
|
|
|
doCheck = true;
|
|
|
|
checkPhase = ''
|
|
|
|
rm tests/test-*vim.sh tests/test-pip.sh
|
|
|
|
|
2015-01-08 09:26:49 +00:00
|
|
|
patchShebangs ./; dontPatchShebags=1
|
2014-10-28 16:42:12 +00:00
|
|
|
sed -i 's|^/bin/||' tests/test-fileops.sh
|
|
|
|
|
|
|
|
./testall.sh
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with stdenv.lib;
|
|
|
|
{ description = "Lightweight sandboxing mechanism that any user can use without special privileges";
|
|
|
|
homepage = http://pdos.csail.mit.edu/mbox/;
|
2015-12-05 21:41:25 +00:00
|
|
|
maintainers = with maintainers; [ ehmry ];
|
2014-10-28 16:42:12 +00:00
|
|
|
license = licenses.bsd3;
|
2014-10-31 15:48:55 +00:00
|
|
|
platforms = [ "x86_64-linux" ];
|
2019-10-07 16:20:23 +01:00
|
|
|
broken = true;
|
2014-10-28 16:42:12 +00:00
|
|
|
};
|
|
|
|
|
2014-10-31 15:48:55 +00:00
|
|
|
}
|