Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
56 changed files
with
782 additions
and
540 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
{ stdenv, fetchzip }: | ||
|
||
let | ||
version = "1.13.3"; | ||
in fetchzip rec { | ||
name = "iosevka-bin-${version}"; | ||
|
||
url = "https://github.com/be5invis/Iosevka/releases/download/v${version}/iosevka-pack-${version}.zip"; | ||
|
||
postFetch = '' | ||
mkdir -p $out/share/fonts | ||
unzip -j $downloadedFile \*.ttc -d $out/share/fonts/iosevka | ||
''; | ||
|
||
sha256 = "0103rjxcp2sis42xp7fh7g8i03h5snvs8n78lgsf79g8ssw0p9d4"; | ||
|
||
meta = with stdenv.lib; { | ||
homepage = https://be5invis.github.io/Iosevka/; | ||
downloadPage = "https://github.com/be5invis/Iosevka/releases"; | ||
description = '' | ||
Slender monospace sans-serif and slab-serif typeface inspired by Pragmata | ||
Pro, M+ and PF DIN Mono, designed to be the ideal font for programming. | ||
''; | ||
license = licenses.ofl; | ||
platforms = platforms.all; | ||
maintainers = [ maintainers.cstrahan ]; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
{ stdenv, fetchFromGitHub, autoreconfHook, fontforge }: | ||
|
||
stdenv.mkDerivation rec { | ||
name = "tlwg-${version}"; | ||
version = "0.6.4"; | ||
|
||
src = fetchFromGitHub { | ||
owner = "tlwg"; | ||
repo = "fonts-tlwg"; | ||
rev = "v${version}"; | ||
sha256 = "13bx98ygyyizb15ybdv3856lkxhx1fss8f7aiqmp0lk9zgw4mqyk"; | ||
}; | ||
|
||
nativeBuildInputs = [ autoreconfHook ]; | ||
|
||
buildInputs = [ fontforge ]; | ||
|
||
preAutoreconf = "echo ${version} > VERSION"; | ||
|
||
meta = with stdenv.lib; { | ||
description = "A collection of Thai scalable fonts available under free licenses"; | ||
homepage = https://linux.thai.net/projects/fonts-tlwg; | ||
license = with licenses; [ gpl2 publicDomain lppl13c free ]; | ||
platforms = platforms.unix; | ||
maintainers = [ maintainers.yrashk ]; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
37 changes: 37 additions & 0 deletions
37
pkgs/development/compilers/obliv-c/ignore-complex-float128.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
--- a/src/frontc/clexer.mll | ||
+++ b/src/frontc/clexer.mll | ||
@@ -134,9 +134,11 @@ let init_lexicon _ = | ||
(* WW: see /usr/include/sys/cdefs.h for why __signed and __volatile | ||
* are accepted GCC-isms *) | ||
("_Bool", fun loc -> BOOL loc); | ||
+ ("_Complex", fun loc -> COMPLEX loc); | ||
("char", fun loc -> CHAR loc); | ||
("int", fun loc -> INT loc); | ||
("float", fun loc -> FLOAT loc); | ||
+ ("__float128", fun loc -> FLOAT128 loc); | ||
("double", fun loc -> DOUBLE loc); | ||
("void", fun loc -> VOID loc); | ||
("enum", fun loc -> ENUM loc); | ||
--- a/src/frontc/cparser.mly | ||
+++ b/src/frontc/cparser.mly | ||
@@ -269,6 +269,8 @@ let oblivState (s:statement): statement = | ||
%token<Cabs.cabsloc> VOLATILE EXTERN STATIC CONST RESTRICT AUTO REGISTER FROZEN | ||
%token<Cabs.cabsloc> THREAD | ||
|
||
+%token<Cabs.cabsloc> COMPLEX FLOAT128 | ||
+ | ||
%token<Cabs.cabsloc> SIZEOF ALIGNOF | ||
|
||
%token EQ PLUS_EQ MINUS_EQ STAR_EQ SLASH_EQ PERCENT_EQ | ||
@@ -1002,7 +1004,11 @@ type_spec: /* ISO 6.7.2 */ | ||
| LONG { Tlong, $1 } | ||
| INT64 { Tint64, $1 } | ||
| FLOAT { Tfloat, $1 } | ||
+| FLOAT128 { Tfloat, $1 } | ||
| DOUBLE { Tdouble, $1 } | ||
+| COMPLEX FLOAT { Tfloat, $2 } | ||
+| COMPLEX FLOAT128{ Tfloat, $2 } | ||
+| COMPLEX DOUBLE { Tdouble, $2 } | ||
| SIGNED { Tsigned, $1 } | ||
| UNSIGNED { Tunsigned, $1 } | ||
| STRUCT id_or_typename |
Oops, something went wrong.