nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at netboot-syslinux-multiplatform 42 lines 847 B view raw
1{ lib 2, rustPlatform 3, fetchFromGitHub 4, llvmPackages_13 5, libxml2 6, ncurses 7, zlib 8}: 9 10rustPlatform.buildRustPackage { 11 pname = "bfc"; 12 version = "unstable-2023-02-02"; 13 14 src = fetchFromGitHub { 15 owner = "Wilfred"; 16 repo = "bfc"; 17 rev = "647379de6ec36b64ba0a098589c8374d0ce32690"; 18 hash = "sha256-pPx9S7EnrL6aIvLlrCjGDKNYLhzd6ud1RvN+qCiZGXk="; 19 }; 20 21 cargoHash = "sha256-5RPB4biLB2BTmfgOGzvnnQjnGp3cTmJdU1CVTAFRvKE="; 22 23 buildInputs = [ 24 libxml2 25 ncurses 26 zlib 27 ]; 28 29 env = { 30 LLVM_SYS_130_PREFIX = llvmPackages_13.llvm.dev; 31 }; 32 33 # process didn't exit successfully: <...> SIGSEGV 34 doCheck = false; 35 36 meta = with lib; { 37 description = "An industrial-grade brainfuck compiler"; 38 homepage = "https://bfc.wilfred.me.uk"; 39 license = licenses.gpl2Plus; 40 maintainers = with maintainers; [ figsoda ]; 41 }; 42}