nixpkgs/pkgs/development/libraries/boxfort/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

34 lines
760 B
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub, meson, ninja, python3Packages }:
stdenv.mkDerivation rec {
pname = "boxfort";
2022-07-17 08:49:58 +00:00
version = "0.1.4";
src = fetchFromGitHub {
owner = "Snaipe";
repo = "BoxFort";
2022-07-17 08:49:58 +00:00
rev = "v${version}";
sha256 = "jmtWTOkOlqVZ7tFya3IrQjr714Y8TzAVY5Cq+RzDuRs=";
};
nativeBuildInputs = [ meson ninja ];
preConfigure = ''
patchShebangs ci/isdir.py
'';
checkInputs = with python3Packages; [ cram ];
doCheck = true;
outputs = [ "dev" "out" ];
meta = with 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;
};
}