nixpkgs/pkgs/development/libraries/boxfort/default.nix
Guillaume Pagnoux fdba3f6db0 boxfort: unstable-2019-09-19 -> unstable-2019-10-09
Signed-off-by: Guillaume Pagnoux <guillaume.pagnoux@lse.epita.fr>
2020-10-25 10:53:24 -04:00

34 lines
815 B
Nix

{ stdenv, fetchFromGitHub, meson, ninja, python37Packages }:
stdenv.mkDerivation rec {
version = "unstable-2019-10-09";
pname = "boxfort";
src = fetchFromGitHub {
owner = "Snaipe";
repo = "BoxFort";
rev = "356f047db08b7344ea7980576b705e65b9fc8772";
sha256 = "1p0llz7n0p5gzpvqszmra9p88vnr0j88sp5ixhgbfz89bswg62ss";
};
nativeBuildInputs = [ meson ninja ];
preConfigure = ''
patchShebangs ci/isdir.py
'';
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;
maintainers = with maintainers; [ thesola10 Yumasi ];
platforms = platforms.unix;
};
}