mirror of
https://github.com/dunyakirkali/letterpress.git
synced 2026-08-25 12:58:56 +00:00
- flake.nix pins the full toolchain (asciidoctor + pdf/epub3/diagram/ mathematical, plantuml, graphviz, jre, vale, epubcheck) via bundlerEnv - Gemfile/Gemfile.lock/gemset.nix lock the Ruby gems; work around the vendored mtex2MML cmake_minimum_required incompatibility - 'nix build' produces book.pdf + book.epub; 'nix develop' gives a shell where all existing make targets work - CI/CD workflows now install Nix and build/lint/validate through the flake - devcontainer uses Nix; add .envrc for direnv; document in README Co-authored-by: Shelley <shelley@exe.dev>
475 lines
12 KiB
Nix
475 lines
12 KiB
Nix
{
|
|
addressable = {
|
|
dependencies = ["public_suffix"];
|
|
groups = ["default"];
|
|
platforms = [];
|
|
source = {
|
|
remotes = ["https://rubygems.org"];
|
|
sha256 = "1by7h2lwziiblizpd5yx87jsq8ppdhzvwf08ga34wzqgcv1nmpvz";
|
|
type = "gem";
|
|
};
|
|
version = "2.9.0";
|
|
};
|
|
afm = {
|
|
groups = ["default"];
|
|
platforms = [];
|
|
source = {
|
|
remotes = ["https://rubygems.org"];
|
|
sha256 = "0ia5iw9xvvy1igaxsa08vvv4b5ry9ipyr18917pi8w0y4kvddm2v";
|
|
type = "gem";
|
|
};
|
|
version = "1.0.0";
|
|
};
|
|
Ascii85 = {
|
|
groups = ["default"];
|
|
platforms = [];
|
|
source = {
|
|
remotes = ["https://rubygems.org"];
|
|
sha256 = "0nmyxpngg5rycyryhq9l9hapz1y3iqyflskyksxkqm0832a5vjqm";
|
|
type = "gem";
|
|
};
|
|
version = "2.0.1";
|
|
};
|
|
asciidoctor = {
|
|
groups = ["default"];
|
|
platforms = [];
|
|
source = {
|
|
remotes = ["https://rubygems.org"];
|
|
sha256 = "1hbin3j8wynl2fpqa3d6vb932pyngyfn8j2q6gbbn1n23z7srqqn";
|
|
type = "gem";
|
|
};
|
|
version = "2.0.26";
|
|
};
|
|
asciidoctor-diagram = {
|
|
dependencies = ["asciidoctor" "rexml"];
|
|
groups = ["default"];
|
|
platforms = [];
|
|
source = {
|
|
remotes = ["https://rubygems.org"];
|
|
sha256 = "113658j129myfg5y41zf94pkkfy8ysqvxdr2da2gf9x6y98x0cp4";
|
|
type = "gem";
|
|
};
|
|
version = "3.2.1";
|
|
};
|
|
asciidoctor-epub3 = {
|
|
dependencies = ["asciidoctor" "gepub" "mime-types" "sass"];
|
|
groups = ["default"];
|
|
platforms = [];
|
|
source = {
|
|
remotes = ["https://rubygems.org"];
|
|
sha256 = "0n4c7silsc37gapsvkzm2l7fwa9gi28cif7mzd27lkzbkdsv4k0i";
|
|
type = "gem";
|
|
};
|
|
version = "2.3.0";
|
|
};
|
|
asciidoctor-mathematical = {
|
|
dependencies = ["asciidoctor" "asciimath" "mathematical"];
|
|
groups = ["default"];
|
|
platforms = [];
|
|
source = {
|
|
remotes = ["https://rubygems.org"];
|
|
sha256 = "1lxfq7qn3ql642pva6jh3h1abm9j9daxg5icfn1h73k6cjsmcisp";
|
|
type = "gem";
|
|
};
|
|
version = "0.3.5";
|
|
};
|
|
asciidoctor-pdf = {
|
|
dependencies = ["asciidoctor" "concurrent-ruby" "matrix" "prawn" "prawn-icon" "prawn-svg" "prawn-table" "prawn-templates" "treetop" "ttfunk"];
|
|
groups = ["default"];
|
|
platforms = [];
|
|
source = {
|
|
remotes = ["https://rubygems.org"];
|
|
sha256 = "0ldh43ps15dpnrgqaybyq2py9cn1m14q2z6djgg22fyl698yaxih";
|
|
type = "gem";
|
|
};
|
|
version = "2.3.24";
|
|
};
|
|
asciimath = {
|
|
groups = ["default"];
|
|
platforms = [];
|
|
source = {
|
|
remotes = ["https://rubygems.org"];
|
|
sha256 = "0b5h65vas9fj4k85gw18cf6pgqbdxfjzj63632rdkngabar67zlq";
|
|
type = "gem";
|
|
};
|
|
version = "2.0.6";
|
|
};
|
|
coderay = {
|
|
groups = ["default"];
|
|
platforms = [];
|
|
source = {
|
|
remotes = ["https://rubygems.org"];
|
|
sha256 = "0jvxqxzply1lwp7ysn94zjhh57vc14mcshw1ygw14ib8lhc00lyw";
|
|
type = "gem";
|
|
};
|
|
version = "1.1.3";
|
|
};
|
|
concurrent-ruby = {
|
|
groups = ["default"];
|
|
platforms = [];
|
|
source = {
|
|
remotes = ["https://rubygems.org"];
|
|
sha256 = "1qfi2ns3zwkgq616fc127xiqhan7g7m7gqpwriwcr34nds1vxwdj";
|
|
type = "gem";
|
|
};
|
|
version = "1.3.8";
|
|
};
|
|
css_parser = {
|
|
dependencies = ["addressable"];
|
|
groups = ["default"];
|
|
platforms = [];
|
|
source = {
|
|
remotes = ["https://rubygems.org"];
|
|
sha256 = "1ha0bcz71z48ahdvc0dp71apnbqnnpgffq0dac2q65y68259hx7j";
|
|
type = "gem";
|
|
};
|
|
version = "1.22.0";
|
|
};
|
|
ffi = {
|
|
groups = ["default"];
|
|
platforms = [];
|
|
source = {
|
|
remotes = ["https://rubygems.org"];
|
|
sha256 = "1kqasqvy8d7r09ri4n6bkdwbk63j7afd9ilsw34nzlgh0qp69ldw";
|
|
type = "gem";
|
|
};
|
|
version = "1.17.4";
|
|
};
|
|
gepub = {
|
|
dependencies = ["nokogiri" "rubyzip"];
|
|
groups = ["default"];
|
|
platforms = [];
|
|
source = {
|
|
remotes = ["https://rubygems.org"];
|
|
sha256 = "0fiwnfgvyrhgywnqvfvr3ird8p4xda6nvvqwvvfpnhvsyhrxswlc";
|
|
type = "gem";
|
|
};
|
|
version = "1.0.17";
|
|
};
|
|
hashery = {
|
|
groups = ["default"];
|
|
platforms = [];
|
|
source = {
|
|
remotes = ["https://rubygems.org"];
|
|
sha256 = "0qj8815bf7q6q7llm5rzdz279gzmpqmqqicxnzv066a020iwqffj";
|
|
type = "gem";
|
|
};
|
|
version = "2.1.2";
|
|
};
|
|
logger = {
|
|
groups = ["default"];
|
|
platforms = [];
|
|
source = {
|
|
remotes = ["https://rubygems.org"];
|
|
sha256 = "00q2zznygpbls8asz5knjvvj2brr3ghmqxgr83xnrdj4rk3xwvhr";
|
|
type = "gem";
|
|
};
|
|
version = "1.7.0";
|
|
};
|
|
mathematical = {
|
|
dependencies = ["ruby-enum"];
|
|
groups = ["default"];
|
|
platforms = [];
|
|
source = {
|
|
remotes = ["https://rubygems.org"];
|
|
sha256 = "0y103dvfjswm5r0xafyjrw6ybvz1qrqfa4lvpk9gdhbzwpaiwy4r";
|
|
type = "gem";
|
|
};
|
|
version = "1.6.20";
|
|
};
|
|
matrix = {
|
|
groups = ["default"];
|
|
platforms = [];
|
|
source = {
|
|
remotes = ["https://rubygems.org"];
|
|
sha256 = "0nscas3a4mmrp1rc07cdjlbbpb2rydkindmbj3v3z5y1viyspmd0";
|
|
type = "gem";
|
|
};
|
|
version = "0.4.3";
|
|
};
|
|
mime-types = {
|
|
dependencies = ["logger" "mime-types-data"];
|
|
groups = ["default"];
|
|
platforms = [];
|
|
source = {
|
|
remotes = ["https://rubygems.org"];
|
|
sha256 = "0mjyxl7c0xzyqdqa8r45hqg7jcw2prp3hkp39mdf223g4hfgdsyw";
|
|
type = "gem";
|
|
};
|
|
version = "3.7.0";
|
|
};
|
|
mime-types-data = {
|
|
groups = ["default"];
|
|
platforms = [];
|
|
source = {
|
|
remotes = ["https://rubygems.org"];
|
|
sha256 = "03vkd9g09jnxsp8mdacvjbplrrqfl5l26n50kd4kdn49zghi326d";
|
|
type = "gem";
|
|
};
|
|
version = "3.2026.0701";
|
|
};
|
|
mini_portile2 = {
|
|
groups = ["default"];
|
|
platforms = [];
|
|
source = {
|
|
remotes = ["https://rubygems.org"];
|
|
sha256 = "12f2830x7pq3kj0v8nz0zjvaw02sv01bqs1zwdrc04704kwcgmqc";
|
|
type = "gem";
|
|
};
|
|
version = "2.8.9";
|
|
};
|
|
nokogiri = {
|
|
dependencies = ["mini_portile2" "racc"];
|
|
groups = ["default"];
|
|
platforms = [];
|
|
source = {
|
|
remotes = ["https://rubygems.org"];
|
|
sha256 = "1d9safb4dly6qmc2g06444l0zifby52yy6j1a5fa1g4j3ihm3jah";
|
|
type = "gem";
|
|
};
|
|
version = "1.19.4";
|
|
};
|
|
pdf-core = {
|
|
groups = ["default"];
|
|
platforms = [];
|
|
source = {
|
|
remotes = ["https://rubygems.org"];
|
|
sha256 = "1fz0yj4zrlii2j08kaw11j769s373ayz8jrdhxwwjzmm28pqndjg";
|
|
type = "gem";
|
|
};
|
|
version = "0.9.0";
|
|
};
|
|
pdf-reader = {
|
|
dependencies = ["Ascii85" "afm" "hashery" "ruby-rc4" "ttfunk"];
|
|
groups = ["default"];
|
|
platforms = [];
|
|
source = {
|
|
remotes = ["https://rubygems.org"];
|
|
sha256 = "1kk8f1f5kkdwsbskv0vikcwx5xaivv19y9zl97x1fcaam23akihq";
|
|
type = "gem";
|
|
};
|
|
version = "2.15.1";
|
|
};
|
|
polyglot = {
|
|
groups = ["default"];
|
|
platforms = [];
|
|
source = {
|
|
remotes = ["https://rubygems.org"];
|
|
sha256 = "1bqnxwyip623d8pr29rg6m8r0hdg08fpr2yb74f46rn1wgsnxmjr";
|
|
type = "gem";
|
|
};
|
|
version = "0.3.5";
|
|
};
|
|
prawn = {
|
|
dependencies = ["pdf-core" "ttfunk"];
|
|
groups = ["default"];
|
|
platforms = [];
|
|
source = {
|
|
remotes = ["https://rubygems.org"];
|
|
sha256 = "1g9avv2rprsjisdk137s9ljr05r7ajhm78hxa1vjsv0jyx22f1l2";
|
|
type = "gem";
|
|
};
|
|
version = "2.4.0";
|
|
};
|
|
prawn-icon = {
|
|
dependencies = ["prawn"];
|
|
groups = ["default"];
|
|
platforms = [];
|
|
source = {
|
|
remotes = ["https://rubygems.org"];
|
|
sha256 = "1xdnjik5zinnkjavmybbh2s52wzcpb8hzaqckiv0mxp0vs0x9j6s";
|
|
type = "gem";
|
|
};
|
|
version = "3.0.0";
|
|
};
|
|
prawn-svg = {
|
|
dependencies = ["css_parser" "matrix" "prawn" "rexml"];
|
|
groups = ["default"];
|
|
platforms = [];
|
|
source = {
|
|
remotes = ["https://rubygems.org"];
|
|
sha256 = "143sfwadbdrgi57am8ikalryjijdyl82h2sdc1cns3wl6b9pkzxg";
|
|
type = "gem";
|
|
};
|
|
version = "0.34.2";
|
|
};
|
|
prawn-table = {
|
|
dependencies = ["prawn"];
|
|
groups = ["default"];
|
|
platforms = [];
|
|
source = {
|
|
remotes = ["https://rubygems.org"];
|
|
sha256 = "1nxd6qmxqwl850icp18wjh5k0s3amxcajdrkjyzpfgq0kvilcv9k";
|
|
type = "gem";
|
|
};
|
|
version = "0.2.2";
|
|
};
|
|
prawn-templates = {
|
|
dependencies = ["pdf-reader" "prawn"];
|
|
groups = ["default"];
|
|
platforms = [];
|
|
source = {
|
|
remotes = ["https://rubygems.org"];
|
|
sha256 = "1w9irn3rllm992c6j7fsx81gg539i7yy8zfddyw7q53hnlys0yhi";
|
|
type = "gem";
|
|
};
|
|
version = "0.1.2";
|
|
};
|
|
public_suffix = {
|
|
groups = ["default"];
|
|
platforms = [];
|
|
source = {
|
|
remotes = ["https://rubygems.org"];
|
|
sha256 = "08znfv30pxmdkjyihvbjqbvv874dj3nybmmyscl958dy3f7v12qs";
|
|
type = "gem";
|
|
};
|
|
version = "7.0.5";
|
|
};
|
|
"pygments.rb" = {
|
|
dependencies = ["logger"];
|
|
groups = ["default"];
|
|
platforms = [];
|
|
source = {
|
|
remotes = ["https://rubygems.org"];
|
|
sha256 = "0vpg920w2ic9hqlznzpv8njv0nv8n1av7cnvrq95sjqbvahb1crk";
|
|
type = "gem";
|
|
};
|
|
version = "5.0.0";
|
|
};
|
|
racc = {
|
|
groups = ["default"];
|
|
platforms = [];
|
|
source = {
|
|
remotes = ["https://rubygems.org"];
|
|
sha256 = "0byn0c9nkahsl93y9ln5bysq4j31q8xkf2ws42swighxd4lnjzsa";
|
|
type = "gem";
|
|
};
|
|
version = "1.8.1";
|
|
};
|
|
rb-fsevent = {
|
|
groups = ["default"];
|
|
platforms = [];
|
|
source = {
|
|
remotes = ["https://rubygems.org"];
|
|
sha256 = "1zmf31rnpm8553lqwibvv3kkx0v7majm1f341xbxc0bk5sbhp423";
|
|
type = "gem";
|
|
};
|
|
version = "0.11.2";
|
|
};
|
|
rb-inotify = {
|
|
dependencies = ["ffi"];
|
|
groups = ["default"];
|
|
platforms = [];
|
|
source = {
|
|
remotes = ["https://rubygems.org"];
|
|
sha256 = "0vmy8xgahixcz6hzwy4zdcyn2y6d6ri8dqv5xccgzc1r292019x0";
|
|
type = "gem";
|
|
};
|
|
version = "0.11.1";
|
|
};
|
|
rexml = {
|
|
groups = ["default"];
|
|
platforms = [];
|
|
source = {
|
|
remotes = ["https://rubygems.org"];
|
|
sha256 = "0hninnbvqd2pn40h863lbrn9p11gvdxp928izkag5ysx8b1s5q0r";
|
|
type = "gem";
|
|
};
|
|
version = "3.4.4";
|
|
};
|
|
rouge = {
|
|
dependencies = ["strscan"];
|
|
groups = ["default"];
|
|
platforms = [];
|
|
source = {
|
|
remotes = ["https://rubygems.org"];
|
|
sha256 = "0ljlr1da64kx3mimpzb4x2yczk08b0sg04h2ji3m2zxb88l66z5p";
|
|
type = "gem";
|
|
};
|
|
version = "5.1.0";
|
|
};
|
|
ruby-enum = {
|
|
groups = ["default"];
|
|
platforms = [];
|
|
source = {
|
|
remotes = ["https://rubygems.org"];
|
|
sha256 = "1ds98s00askf8lmmc40w9yp852avmq9f84c7djy15sqpar65x1dx";
|
|
type = "gem";
|
|
};
|
|
version = "1.1.0";
|
|
};
|
|
ruby-rc4 = {
|
|
groups = ["default"];
|
|
platforms = [];
|
|
source = {
|
|
remotes = ["https://rubygems.org"];
|
|
sha256 = "00vci475258mmbvsdqkmqadlwn6gj9m01sp7b5a3zd90knil1k00";
|
|
type = "gem";
|
|
};
|
|
version = "0.1.5";
|
|
};
|
|
rubyzip = {
|
|
groups = ["default"];
|
|
platforms = [];
|
|
source = {
|
|
remotes = ["https://rubygems.org"];
|
|
sha256 = "0grps9197qyxakbpw02pda59v45lfgbgiyw48i0mq9f2bn9y6mrz";
|
|
type = "gem";
|
|
};
|
|
version = "2.3.2";
|
|
};
|
|
sass = {
|
|
dependencies = ["sass-listen"];
|
|
groups = ["default"];
|
|
platforms = [];
|
|
source = {
|
|
remotes = ["https://rubygems.org"];
|
|
sha256 = "0p95lhs0jza5l7hqci1isflxakz83xkj97lkvxl919is0lwhv2w0";
|
|
type = "gem";
|
|
};
|
|
version = "3.7.4";
|
|
};
|
|
sass-listen = {
|
|
dependencies = ["rb-fsevent" "rb-inotify"];
|
|
groups = ["default"];
|
|
platforms = [];
|
|
source = {
|
|
remotes = ["https://rubygems.org"];
|
|
sha256 = "0xw3q46cmahkgyldid5hwyiwacp590zj2vmswlll68ryvmvcp7df";
|
|
type = "gem";
|
|
};
|
|
version = "4.0.0";
|
|
};
|
|
strscan = {
|
|
groups = ["default"];
|
|
platforms = [];
|
|
source = {
|
|
remotes = ["https://rubygems.org"];
|
|
sha256 = "17k75zrwf4ag9yl9wjjkcb90zrm4r5jigdzv3zr5jm9239hxpqma";
|
|
type = "gem";
|
|
};
|
|
version = "3.1.8";
|
|
};
|
|
treetop = {
|
|
dependencies = ["polyglot"];
|
|
groups = ["default"];
|
|
platforms = [];
|
|
source = {
|
|
remotes = ["https://rubygems.org"];
|
|
sha256 = "1nl3q5ai7ikaa5sjdbspfa4njbrdvf7898zkplmalln6y4r3y153";
|
|
type = "gem";
|
|
};
|
|
version = "1.6.18";
|
|
};
|
|
ttfunk = {
|
|
groups = ["default"];
|
|
platforms = [];
|
|
source = {
|
|
remotes = ["https://rubygems.org"];
|
|
sha256 = "15iaxz9iak5643bq2bc0jkbjv8w2zn649lxgvh5wg48q9d4blw13";
|
|
type = "gem";
|
|
};
|
|
version = "1.7.0";
|
|
};
|
|
}
|