File tree Expand file tree Collapse file tree 1 file changed +22
-7
lines changed Expand file tree Collapse file tree 1 file changed +22
-7
lines changed Original file line number Diff line number Diff line change 55 readline ,
66 autoreconfHook ,
77 autoconf-archive ,
8+ gcc ,
89 gmp ,
910 flex ,
1011 bison ,
12+ libffi ,
13+ makeWrapper ,
14+ pkg-config ,
1115} :
1216
1317stdenv . mkDerivation rec {
1418 pname = "bic" ;
15- version = "1.0.0" ;
19+ version = "1.0.0-unstable-2022-02-16 " ;
1620
1721 src = fetchFromGitHub {
1822 owner = "hexagonal-sun" ;
1923 repo = "bic" ;
20- rev = "v ${ version } " ;
21- sha256 = "1ws46h1ngzk14dspmsggj9535yl04v9wh8v4gb234n34rdkdsyyw " ;
24+ rev = "b224d2776fdfe84d02eb96a21880a9e4ceeb3065 " ;
25+ hash = "sha256-6na7/kCXhHN7utbvXvTWr3QG4YhDww9AkilyKf71HlM= " ;
2226 } ;
2327
2428 buildInputs = [
2529 readline
30+ gcc
2631 gmp
2732 ] ;
33+
2834 nativeBuildInputs = [
2935 autoreconfHook
3036 autoconf-archive
3137 bison
3238 flex
39+ gcc
40+ libffi
41+ makeWrapper
42+ pkg-config
3343 ] ;
3444
35- meta = with lib ; {
45+ postInstall = ''
46+ wrapProgram $out/bin/bic \
47+ --prefix PATH : ${ lib . makeBinPath [ gcc ] }
48+ '' ;
49+
50+ meta = {
3651 description = "C interpreter and API explorer" ;
3752 mainProgram = "bic" ;
3853 longDescription = ''
3954 bic This a project that allows developers to explore and test C-APIs using a
4055 read eval print loop, also known as a REPL.
4156 '' ;
42- license = with licenses ; [ gpl2Plus ] ;
57+ license = with lib . licenses ; [ gpl2Plus ] ;
4358 homepage = "https://github.com/hexagonal-sun/bic" ;
44- platforms = platforms . unix ;
45- maintainers = with maintainers ; [ hexagonal-sun ] ;
59+ platforms = lib . platforms . unix ;
60+ maintainers = with lib . maintainers ; [ hexagonal-sun ] ;
4661 # never built on aarch64-darwin since first introduction in nixpkgs
4762 broken = stdenv . hostPlatform . isDarwin && stdenv . hostPlatform . isAarch64 ;
4863 } ;
You can’t perform that action at this time.
0 commit comments