nixpkgs/pkgs/tools/security/mbox/default.nix
Linus Heckemann 5aa4b19946 treewide: mark some broken packages as broken
Refs:
e6754980264fe927320d5ff2dbd24ca4fac9a160
1e9cc5b9844ef603fe160e9f671178f96200774f
793a2fe1e8bb886ca2096c5904e1193dc3268b6d
c19cf65261639f749012454932a532aa7c681e4b
f6544d618f30fae0bc4798c4387a8c7c9c047a7c
2019-10-08 17:14:26 +02:00

40 lines
915 B
Nix

{ 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
patchShebangs ./; dontPatchShebags=1
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/;
maintainers = with maintainers; [ ehmry ];
license = licenses.bsd3;
platforms = [ "x86_64-linux" ];
broken = true;
};
}