tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
0
fork
atom
lol
0
fork
atom
overview
issues
pulls
pipelines
bic: 1.0.0 -> 1.0.0-unstable-2022-02-16
liberodark
10 months ago
8c28996b
f7c79ff0
+22
-7
1 changed file
expand all
collapse all
unified
split
pkgs
by-name
bi
bic
package.nix
+22
-7
pkgs/by-name/bi/bic/package.nix
···
5
readline,
6
autoreconfHook,
7
autoconf-archive,
0
8
gmp,
9
flex,
10
bison,
0
0
0
11
}:
12
13
stdenv.mkDerivation rec {
14
pname = "bic";
15
-
version = "1.0.0";
16
17
src = fetchFromGitHub {
18
owner = "hexagonal-sun";
19
repo = "bic";
20
-
rev = "v${version}";
21
-
sha256 = "1ws46h1ngzk14dspmsggj9535yl04v9wh8v4gb234n34rdkdsyyw";
22
};
23
24
buildInputs = [
25
readline
0
26
gmp
27
];
0
28
nativeBuildInputs = [
29
autoreconfHook
30
autoconf-archive
31
bison
32
flex
0
0
0
0
33
];
34
35
-
meta = with lib; {
0
0
0
0
0
36
description = "C interpreter and API explorer";
37
mainProgram = "bic";
38
longDescription = ''
39
bic This a project that allows developers to explore and test C-APIs using a
40
read eval print loop, also known as a REPL.
41
'';
42
-
license = with licenses; [ gpl2Plus ];
43
homepage = "https://github.com/hexagonal-sun/bic";
44
-
platforms = platforms.unix;
45
-
maintainers = with maintainers; [ hexagonal-sun ];
46
# never built on aarch64-darwin since first introduction in nixpkgs
47
broken = stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64;
48
};
···
5
readline,
6
autoreconfHook,
7
autoconf-archive,
8
+
gcc,
9
gmp,
10
flex,
11
bison,
12
+
libffi,
13
+
makeWrapper,
14
+
pkg-config,
15
}:
16
17
stdenv.mkDerivation rec {
18
pname = "bic";
19
+
version = "1.0.0-unstable-2022-02-16";
20
21
src = fetchFromGitHub {
22
owner = "hexagonal-sun";
23
repo = "bic";
24
+
rev = "b224d2776fdfe84d02eb96a21880a9e4ceeb3065";
25
+
hash = "sha256-6na7/kCXhHN7utbvXvTWr3QG4YhDww9AkilyKf71HlM=";
26
};
27
28
buildInputs = [
29
readline
30
+
gcc
31
gmp
32
];
33
+
34
nativeBuildInputs = [
35
autoreconfHook
36
autoconf-archive
37
bison
38
flex
39
+
gcc
40
+
libffi
41
+
makeWrapper
42
+
pkg-config
43
];
44
45
+
postInstall = ''
46
+
wrapProgram $out/bin/bic \
47
+
--prefix PATH : ${lib.makeBinPath [ gcc ]}
48
+
'';
49
+
50
+
meta = {
51
description = "C interpreter and API explorer";
52
mainProgram = "bic";
53
longDescription = ''
54
bic This a project that allows developers to explore and test C-APIs using a
55
read eval print loop, also known as a REPL.
56
'';
57
+
license = with lib.licenses; [ gpl2Plus ];
58
homepage = "https://github.com/hexagonal-sun/bic";
59
+
platforms = lib.platforms.unix;
60
+
maintainers = with lib.maintainers; [ hexagonal-sun ];
61
# never built on aarch64-darwin since first introduction in nixpkgs
62
broken = stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64;
63
};