at 24.05-pre 44 lines 1.0 kB view raw
1{ lib 2, stdenv 3, fetchFromGitHub 4, readline 5, autoreconfHook 6, autoconf-archive 7, gmp 8, flex 9, bison 10}: 11 12stdenv.mkDerivation rec { 13 pname = "bic"; 14 version = "1.0.0"; 15 16 src = fetchFromGitHub { 17 owner = "hexagonal-sun"; 18 repo = pname; 19 rev = "v${version}"; 20 sha256 = "1ws46h1ngzk14dspmsggj9535yl04v9wh8v4gb234n34rdkdsyyw"; 21 }; 22 23 buildInputs = [ readline gmp ]; 24 nativeBuildInputs = [ 25 autoreconfHook 26 autoconf-archive 27 bison 28 flex 29 ]; 30 31 meta = with lib; { 32 description = "A C interpreter and API explorer"; 33 longDescription = '' 34 bic This a project that allows developers to explore and test C-APIs using a 35 read eval print loop, also known as a REPL. 36 ''; 37 license = with licenses; [ gpl2Plus ]; 38 homepage = "https://github.com/hexagonal-sun/bic"; 39 platforms = platforms.unix; 40 maintainers = with maintainers; [ hexagonal-sun ]; 41 # never built on aarch64-darwin since first introduction in nixpkgs 42 broken = stdenv.isDarwin && stdenv.isAarch64; 43 }; 44}