tbox: init at 1.7.3

rewine f1b6469e 6f2cc0fc

+49
+37
pkgs/development/libraries/tbox/default.nix
··· 1 + { lib 2 + , stdenv 3 + , fetchFromGitHub 4 + }: 5 + 6 + stdenv.mkDerivation rec { 7 + pname = "tbox"; 8 + version = "1.7.3"; 9 + 10 + src = fetchFromGitHub { 11 + owner = "tboox"; 12 + repo = pname; 13 + rev = "v${version}"; 14 + hash = "sha256-6SqMvwxKSiJO7Z33xx7cJoECu5AJ1gWF8ZsiERWx8DU="; 15 + }; 16 + 17 + configureFlags = [ 18 + "--hash=y" 19 + "--charset=y" 20 + "--float=y" 21 + "--demo=n" 22 + ]; 23 + 24 + postInstall = '' 25 + mkdir -p $out/lib/pkgconfig 26 + substituteAll ${./libtbox.pc.in} $out/lib/pkgconfig/libtbox.pc 27 + ''; 28 + 29 + meta = with lib; { 30 + description = "A glib-like multi-platform c library"; 31 + homepage = "https://docs.tboox.org"; 32 + license = licenses.asl20; 33 + platforms = platforms.linux; 34 + maintainers = with maintainers; [ rewine ]; 35 + }; 36 + } 37 +
+10
pkgs/development/libraries/tbox/libtbox.pc.in
··· 1 + prefix=@out@ 2 + exec_prefix=${prefix} 3 + libdir=@out@/lib 4 + includedir=@out@/include 5 + 6 + Name: tbox 7 + Description: A glib-like multi-platform c library 8 + Version: @version@ 9 + Libs: -L${libdir} -ltbox 10 + Cflags: -I${includedir}
+2
pkgs/top-level/all-packages.nix
··· 16616 16616 16617 16617 tinyscheme = callPackage ../development/interpreters/tinyscheme { }; 16618 16618 16619 + tbox = callPackage ../development/libraries/tbox { }; 16620 + 16619 16621 inherit (nodePackages) typescript; 16620 16622 16621 16623 bupc = callPackage ../development/compilers/bupc { };