lol

bic: 1.0.0 -> 1.0.0-unstable-2022-02-16

+22 -7
+22 -7
pkgs/by-name/bi/bic/package.nix
··· 5 5 readline, 6 6 autoreconfHook, 7 7 autoconf-archive, 8 + gcc, 8 9 gmp, 9 10 flex, 10 11 bison, 12 + libffi, 13 + makeWrapper, 14 + pkg-config, 11 15 }: 12 16 13 17 stdenv.mkDerivation rec { 14 18 pname = "bic"; 15 - version = "1.0.0"; 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 - rev = "v${version}"; 21 - sha256 = "1ws46h1ngzk14dspmsggj9535yl04v9wh8v4gb234n34rdkdsyyw"; 24 + rev = "b224d2776fdfe84d02eb96a21880a9e4ceeb3065"; 25 + hash = "sha256-6na7/kCXhHN7utbvXvTWr3QG4YhDww9AkilyKf71HlM="; 22 26 }; 23 27 24 28 buildInputs = [ 25 29 readline 30 + gcc 26 31 gmp 27 32 ]; 33 + 28 34 nativeBuildInputs = [ 29 35 autoreconfHook 30 36 autoconf-archive 31 37 bison 32 38 flex 39 + gcc 40 + libffi 41 + makeWrapper 42 + pkg-config 33 43 ]; 34 44 35 - meta = with lib; { 45 + postInstall = '' 46 + wrapProgram $out/bin/bic \ 47 + --prefix PATH : ${lib.makeBinPath [ gcc ]} 48 + ''; 49 + 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 - license = with licenses; [ gpl2Plus ]; 57 + license = with lib.licenses; [ gpl2Plus ]; 43 58 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 ]; 46 61 # never built on aarch64-darwin since first introduction in nixpkgs 47 62 broken = stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64; 48 63 };