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