Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at netboot-syslinux-multiplatform 33 lines 766 B view raw
1{ lib, stdenv, fetchFromGitHub, meson, ninja, python3Packages }: 2 3stdenv.mkDerivation rec { 4 pname = "boxfort"; 5 version = "0.1.4"; 6 7 src = fetchFromGitHub { 8 owner = "Snaipe"; 9 repo = "BoxFort"; 10 rev = "v${version}"; 11 sha256 = "jmtWTOkOlqVZ7tFya3IrQjr714Y8TzAVY5Cq+RzDuRs="; 12 }; 13 14 nativeBuildInputs = [ meson ninja ]; 15 16 preConfigure = '' 17 patchShebangs ci/isdir.py 18 ''; 19 20 nativeCheckInputs = with python3Packages; [ cram ]; 21 22 doCheck = true; 23 24 outputs = [ "dev" "out" ]; 25 26 meta = with lib; { 27 description = "Convenient & cross-platform sandboxing C library"; 28 homepage = "https://github.com/Snaipe/BoxFort"; 29 license = licenses.mit; 30 maintainers = with maintainers; [ thesola10 Yumasi ]; 31 platforms = platforms.unix; 32 }; 33}