2019-11-08 11:09:13 +00:00
|
|
|
{ stdenv, fetchFromGitHub, meson, ninja, python37Packages }:
|
2019-10-09 13:44:24 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-11-08 11:09:13 +00:00
|
|
|
version = "unstable-2019-10-09";
|
2019-10-09 13:44:24 +01:00
|
|
|
pname = "boxfort";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "Snaipe";
|
|
|
|
repo = "BoxFort";
|
2019-11-08 11:09:13 +00:00
|
|
|
rev = "356f047db08b7344ea7980576b705e65b9fc8772";
|
|
|
|
sha256 = "1p0llz7n0p5gzpvqszmra9p88vnr0j88sp5ixhgbfz89bswg62ss";
|
2019-10-09 13:44:24 +01:00
|
|
|
};
|
|
|
|
|
2019-11-08 11:09:13 +00:00
|
|
|
nativeBuildInputs = [ meson ninja ];
|
2019-10-09 13:44:24 +01:00
|
|
|
|
2019-11-08 11:09:13 +00:00
|
|
|
preConfigure = ''
|
|
|
|
patchShebangs ci/isdir.py
|
|
|
|
'';
|
2019-10-09 13:44:24 +01:00
|
|
|
|
|
|
|
checkInputs = with python37Packages; [ cram ];
|
|
|
|
|
|
|
|
doCheck = true;
|
|
|
|
|
|
|
|
outputs = [ "dev" "out" ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Convenient & cross-platform sandboxing C library";
|
|
|
|
homepage = "https://github.com/Snaipe/BoxFort";
|
|
|
|
license = licenses.mit;
|
2019-11-08 11:09:13 +00:00
|
|
|
maintainers = with maintainers; [ thesola10 Yumasi ];
|
2019-10-09 13:44:24 +01:00
|
|
|
platforms = platforms.unix;
|
|
|
|
};
|
|
|
|
}
|