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