nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at devShellTools-shell 49 lines 815 B view raw
1{ 2 lib, 3 stdenv, 4 fetchFromGitHub, 5 meson, 6 ninja, 7 python3Packages, 8}: 9 10stdenv.mkDerivation rec { 11 pname = "boxfort"; 12 version = "0.1.4"; 13 14 src = fetchFromGitHub { 15 owner = "Snaipe"; 16 repo = "BoxFort"; 17 rev = "v${version}"; 18 sha256 = "jmtWTOkOlqVZ7tFya3IrQjr714Y8TzAVY5Cq+RzDuRs="; 19 }; 20 21 nativeBuildInputs = [ 22 meson 23 ninja 24 ]; 25 26 preConfigure = '' 27 patchShebangs ci/isdir.py 28 ''; 29 30 nativeCheckInputs = with python3Packages; [ cram ]; 31 32 doCheck = true; 33 34 outputs = [ 35 "dev" 36 "out" 37 ]; 38 39 meta = with lib; { 40 description = "Convenient & cross-platform sandboxing C library"; 41 homepage = "https://github.com/Snaipe/BoxFort"; 42 license = licenses.mit; 43 maintainers = with maintainers; [ 44 thesola10 45 Yumasi 46 ]; 47 platforms = platforms.unix; 48 }; 49}